Pull request #605 updated 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 95570ab8549e72eba36f8e73f2e278e31097aebf+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (afe6c1568fca3ae85fba52588b4cda2e125cd138) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5488 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 95570ab8549e72eba36f8e73f2e278e31097aebf Merge succeeded, producing 95570ab8549e72eba36f8e73f2e278e31097aebf Checking out Revision 95570ab8549e72eba36f8e73f2e278e31097aebf (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 95570ab8549e72eba36f8e73f2e278e31097aebf # 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 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 Commit message: "refactor(sdk): add TODO comment for fully moving to v2" > git rev-list --no-walk a544bf50c5d948c619930f4b3c273d7df07b4b86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T01:31:25.142Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T01:31:25.473Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T01:31:25.571Z] ========================================================= [2020-10-15T01:31:25.571Z] EdgeX Global Pipelines Version Info [2020-10-15T01:31:25.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:31:27.183Z] ------------------- [2020-10-15T01:31:27.183Z] stable info: [2020-10-15T01:31:27.183Z] ------------------- [2020-10-15T01:31:27.183Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T01:31:27.183Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T01:31:27.183Z] Message: update stable to v1.0.142 [2020-10-15T01:31:28.124Z] ------------------- [2020-10-15T01:31:28.124Z] experimental info: [2020-10-15T01:31:28.124Z] ------------------- [2020-10-15T01:31:28.124Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T01:31:28.124Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T01:31:28.124Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T01:31:28.492Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T01:31:28.606Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T01:31:28.709Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T01:31:28.814Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T01:31:28.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T01:31:29.009Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T01:31:29.117Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T01:31:29.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T01:31:29.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T01:31:29.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T01:31:29.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T01:31:29.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T01:31:29.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T01:31:29.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T01:31:30.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T01:31:30.104Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T01:31:30.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T01:31:30.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T01:31:30.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T01:31:30.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T01:31:30.878Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T01:31:31.006Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T01:31:31.114Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T01:31:31.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T01:31:31.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T01:31:31.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-15T01:31:31.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-15T01:31:31.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-15T01:31:31.730Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95570ab8549e72eba36f8e73f2e278e31097aebf [Pipeline] echo [2020-10-15T01:31:31.820Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95570ab [Pipeline] echo [2020-10-15T01:31:31.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T01:31:32.607Z] + git log --format=format:%s -1 95570ab8549e72eba36f8e73f2e278e31097aebf [Pipeline] echo [2020-10-15T01:31:32.669Z] GIT_COMMIT: 95570ab8549e72eba36f8e73f2e278e31097aebf, Commit Message: refactor(sdk): add TODO comment for fully moving to v2 [Pipeline] echo [2020-10-15T01:31:32.715Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:31:33.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T01:31:33.720Z] [2020-10-15T01:31:33.720Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:31:34.068Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T01:31:34.068Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T01:31:34.068Z] 31603596830f: Pulling fs layer [2020-10-15T01:31:34.068Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T01:31:34.068Z] 6ca5941a6612: Pulling fs layer [2020-10-15T01:31:34.068Z] ecc8261a40a4: Pulling fs layer [2020-10-15T01:31:34.068Z] ecc8261a40a4: Waiting [2020-10-15T01:31:34.068Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T01:31:34.068Z] 2a8b12db71e7: Download complete [2020-10-15T01:31:34.068Z] 31603596830f: Verifying Checksum [2020-10-15T01:31:34.068Z] 31603596830f: Download complete [2020-10-15T01:31:34.334Z] ecc8261a40a4: Verifying Checksum [2020-10-15T01:31:34.334Z] ecc8261a40a4: Download complete [2020-10-15T01:31:34.334Z] 6ca5941a6612: Verifying Checksum [2020-10-15T01:31:34.334Z] 6ca5941a6612: Download complete [2020-10-15T01:31:34.334Z] 31603596830f: Pull complete [2020-10-15T01:31:34.597Z] 2a8b12db71e7: Pull complete [2020-10-15T01:31:35.172Z] 6ca5941a6612: Pull complete [2020-10-15T01:31:35.435Z] ecc8261a40a4: Pull complete [2020-10-15T01:31:35.435Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T01:31:35.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T01:31:35.435Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T01:31:35.530Z] prd-centos7-docker-4c-2g-5488 does not seem to be running inside a container [2020-10-15T01:31:35.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T01:31:38.008Z] $ docker top 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T01:31:38.326Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T01:31:38.326Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T01:31:38.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T01:31:38.521Z] $ docker exec 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c ssh-agent [2020-10-15T01:31:38.667Z] SSH_AUTH_SOCK=/tmp/ssh-M2meg1FLudQc/agent.11 [2020-10-15T01:31:38.667Z] SSH_AGENT_PID=16 [2020-10-15T01:31:38.678Z] Running ssh-add (command line suppressed) [2020-10-15T01:31:38.785Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8946520727132387373.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8946520727132387373.key) [2020-10-15T01:31:38.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T01:31:39.166Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T01:31:39.187Z] $ docker exec --env ******** --env ******** 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c ssh-agent -k [2020-10-15T01:31:39.289Z] unset SSH_AUTH_SOCK; [2020-10-15T01:31:39.290Z] unset SSH_AGENT_PID; [2020-10-15T01:31:39.290Z] echo Agent pid 16 killed; [2020-10-15T01:31:39.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T01:31:39.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T01:31:39.474Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T01:31:39.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T01:31:39.634Z] $ docker exec 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c ssh-agent [2020-10-15T01:31:39.778Z] SSH_AUTH_SOCK=/tmp/ssh-QXykEL6dTpMY/agent.45 [2020-10-15T01:31:39.779Z] SSH_AGENT_PID=50 [2020-10-15T01:31:39.785Z] Running ssh-add (command line suppressed) [2020-10-15T01:31:39.894Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2370638028398835607.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2370638028398835607.key) [2020-10-15T01:31:39.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T01:31:40.274Z] + git semver init [2020-10-15T01:31:40.274Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T01:31:40.274Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-15T01:31:40.274Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-15T01:31:40.274Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T01:31:40.274Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T01:31:40.274Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T01:31:40.274Z] # $SEMVER_BRANCH = PR-605 [2020-10-15T01:31:40.274Z] # $SEMVER_TEMP = /tmp/semver-952595897 [2020-10-15T01:31:40.274Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T01:31:41.222Z] # '/tmp/semver-952595897' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-15T01:31:41.222Z] # -> Force: false [2020-10-15T01:31:41.222Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-15T01:31:41.235Z] $ docker exec --env ******** --env ******** 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c ssh-agent -k [2020-10-15T01:31:41.337Z] unset SSH_AUTH_SOCK; [2020-10-15T01:31:41.337Z] unset SSH_AGENT_PID; [2020-10-15T01:31:41.337Z] echo Agent pid 50 killed; [2020-10-15T01:31:41.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T01:31:41.857Z] + git semver [Pipeline] } [2020-10-15T01:31:41.874Z] $ docker stop --time=1 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c [2020-10-15T01:31:43.241Z] $ docker rm -f 370183da2ea4ad158fa46d04aea4170eca448d61c3b6e72c98ed41e99531899c [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T01:31:43.843Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T01:31:43.847Z] [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-15T01:31:59.412Z] Still waiting to schedule task [2020-10-15T01:31:59.413Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T01:31:59.415Z] Still waiting to schedule task [2020-10-15T01:31:59.415Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-15T01:34:23.760Z] Running on prd-centos7-docker-4c-2g-5489 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-15T01:34:23.815Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-15T01:34:26.500Z] using credential edgex-jenkins-ssh [2020-10-15T01:34:26.549Z] Cloning the remote Git repository [2020-10-15T01:34:26.558Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:34:26.630Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-15T01:34:27.100Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:34:27.101Z] > git --version # timeout=10 [2020-10-15T01:34:27.110Z] > git --version # 'git version 2.16.5' [2020-10-15T01:34:27.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:34:27.134Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T01:34:28.396Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:34:27.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T01:34:27.823Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T01:34:27.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T01:34:27.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:34:27.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:34:27.907Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T01:34:28.506Z] Merge succeeded, producing 95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:34:28.507Z] Checking out Revision 95570ab8549e72eba36f8e73f2e278e31097aebf (PR-605) [2020-10-15T01:34:28.406Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T01:34:28.411Z] > git checkout -f 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 [2020-10-15T01:34:28.465Z] > git remote # timeout=10 [2020-10-15T01:34:28.473Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T01:34:28.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:34:28.488Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T01:34:28.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T01:34:28.511Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T01:34:28.523Z] > git checkout -f 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 [2020-10-15T01:34:32.135Z] Commit message: "refactor(sdk): add TODO comment for fully moving to v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T01:34:32.937Z] ========================================================= [2020-10-15T01:34:32.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T01:34:32.937Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:34:33.591Z] + 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-15T01:34:34.573Z] Sending build context to Docker daemon 2.361MB [2020-10-15T01:34:34.573Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T01:34:34.573Z] Step 2/8 : FROM ${BASE} [2020-10-15T01:34:34.573Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T01:34:34.573Z] df20fa9351a1: Pulling fs layer [2020-10-15T01:34:34.573Z] ed8968b2872e: Pulling fs layer [2020-10-15T01:34:34.573Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T01:34:34.573Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T01:34:34.573Z] e73272ec9a57: Pulling fs layer [2020-10-15T01:34:34.573Z] 1e910a182e73: Pulling fs layer [2020-10-15T01:34:34.573Z] 4e634b169226: Pulling fs layer [2020-10-15T01:34:34.573Z] e73272ec9a57: Waiting [2020-10-15T01:34:34.573Z] 1e910a182e73: Waiting [2020-10-15T01:34:34.573Z] 4e634b169226: Waiting [2020-10-15T01:34:34.573Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T01:34:34.573Z] a92cc7c5fd73: Download complete [2020-10-15T01:34:34.573Z] ed8968b2872e: Verifying Checksum [2020-10-15T01:34:34.573Z] ed8968b2872e: Download complete [2020-10-15T01:34:34.573Z] e73272ec9a57: Verifying Checksum [2020-10-15T01:34:34.573Z] e73272ec9a57: Download complete [2020-10-15T01:34:34.573Z] 1e910a182e73: Download complete [2020-10-15T01:34:34.573Z] df20fa9351a1: Verifying Checksum [2020-10-15T01:34:34.573Z] df20fa9351a1: Download complete [2020-10-15T01:34:34.856Z] df20fa9351a1: Pull complete [2020-10-15T01:34:35.118Z] ed8968b2872e: Pull complete [2020-10-15T01:34:35.380Z] a92cc7c5fd73: Pull complete [2020-10-15T01:34:37.303Z] 4e634b169226: Verifying Checksum [2020-10-15T01:34:37.303Z] 4e634b169226: Download complete [2020-10-15T01:34:37.882Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T01:34:37.882Z] e871e8e8d7a9: Download complete [2020-10-15T01:34:44.526Z] e871e8e8d7a9: Pull complete [2020-10-15T01:34:44.526Z] e73272ec9a57: Pull complete [2020-10-15T01:34:44.526Z] 1e910a182e73: Pull complete [2020-10-15T01:34:47.866Z] 4e634b169226: Pull complete [2020-10-15T01:34:47.866Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T01:34:47.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T01:34:47.866Z] ---> f7629b54cfaa [2020-10-15T01:34:47.866Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:34:48.133Z] ---> Running in 6083fcd6505b [2020-10-15T01:34:48.396Z] Removing intermediate container 6083fcd6505b [2020-10-15T01:34:48.396Z] ---> 314652a03757 [2020-10-15T01:34:48.396Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T01:34:48.396Z] ---> Running in 195b324d73d7 [2020-10-15T01:34:50.334Z] Removing intermediate container 195b324d73d7 [2020-10-15T01:34:50.334Z] ---> 1fc34e262c77 [2020-10-15T01:34:50.334Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T01:34:50.334Z] ---> Running in 27b05609ef35 [2020-10-15T01:34:50.603Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T01:34:51.993Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T01:34:53.385Z] OK: 166 MiB in 39 packages [2020-10-15T01:34:53.649Z] Removing intermediate container 27b05609ef35 [2020-10-15T01:34:53.649Z] ---> 956a096c1053 [2020-10-15T01:34:53.649Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T01:34:53.649Z] ---> Running in 218a5bcdafd3 [2020-10-15T01:34:53.649Z] Removing intermediate container 218a5bcdafd3 [2020-10-15T01:34:53.649Z] ---> e838de38cc5f [2020-10-15T01:34:53.649Z] Step 7/8 : COPY . . [2020-10-15T01:34:55.043Z] ---> b5b176c976da [2020-10-15T01:34:55.043Z] Step 8/8 : RUN go mod download [2020-10-15T01:34:55.043Z] ---> Running in fb41d96a9def [2020-10-15T01:35:17.077Z] Removing intermediate container fb41d96a9def [2020-10-15T01:35:17.077Z] ---> 76e1abad0094 [2020-10-15T01:35:17.077Z] Successfully built 76e1abad0094 [2020-10-15T01:35:17.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:35:17.430Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T01:35:17.430Z] . [Pipeline] withDockerContainer [2020-10-15T01:35:17.540Z] prd-centos7-docker-4c-2g-5489 does not seem to be running inside a container [2020-10-15T01:35:17.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-10-15T01:35:18.340Z] $ docker top 0d06dcb7b64adcf43cc286240760f7460651aae1d1bdf402da63aa000ecb3944 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T01:35:18.839Z] + go version [2020-10-15T01:35:18.839Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T01:35:18.855Z] $ docker stop --time=1 0d06dcb7b64adcf43cc286240760f7460651aae1d1bdf402da63aa000ecb3944 [2020-10-15T01:35:20.212Z] $ docker rm -f 0d06dcb7b64adcf43cc286240760f7460651aae1d1bdf402da63aa000ecb3944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:35:21.119Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T01:35:21.119Z] . [Pipeline] withDockerContainer [2020-10-15T01:35:21.217Z] prd-centos7-docker-4c-2g-5489 does not seem to be running inside a container [2020-10-15T01:35:21.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2020-10-15T01:35:21.952Z] $ docker top dce3a0673dffd9c393be432318597261a220e55918c2a504cc4ed7243c39fe1f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T01:35:22.590Z] + make test [2020-10-15T01:35:22.590Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T01:35:26.625Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5490 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-15T01:35:26.675Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-15T01:35:30.814Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T01:35:32.252Z] using credential edgex-jenkins-ssh [2020-10-15T01:35:32.305Z] Cloning the remote Git repository [2020-10-15T01:35:32.360Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:35:32.472Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-15T01:35:32.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:35:32.558Z] > git --version # timeout=10 [2020-10-15T01:35:32.581Z] > git --version # 'git version 2.17.1' [2020-10-15T01:35:32.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:35:32.652Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T01:35:33.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T01:35:33.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T01:35:34.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T01:35:34.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T01:35:34.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:35:34.163Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T01:35:34.889Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:35:35.130Z] Merge succeeded, producing 95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:35:35.131Z] Checking out Revision 95570ab8549e72eba36f8e73f2e278e31097aebf (PR-605) [2020-10-15T01:35:34.905Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T01:35:34.920Z] > git checkout -f 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 [2020-10-15T01:35:35.026Z] > git remote # timeout=10 [2020-10-15T01:35:35.047Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T01:35:35.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T01:35:35.082Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T01:35:35.111Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T01:35:35.134Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T01:35:35.154Z] > git checkout -f 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 [2020-10-15T01:35:39.376Z] Commit message: "refactor(sdk): add TODO comment for fully moving to v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T01:35:40.304Z] ========================================================= [2020-10-15T01:35:40.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T01:35:40.304Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:35:41.360Z] + 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-15T01:35:42.352Z] Sending build context to Docker daemon 2.359MB [2020-10-15T01:35:42.352Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T01:35:42.352Z] Step 2/8 : FROM ${BASE} [2020-10-15T01:35:42.627Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T01:35:42.627Z] b538f80385f9: Pulling fs layer [2020-10-15T01:35:42.627Z] 74f711af9a0d: Pulling fs layer [2020-10-15T01:35:42.627Z] 99f96fe45779: Pulling fs layer [2020-10-15T01:35:42.627Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T01:35:42.627Z] 45590311c82a: Pulling fs layer [2020-10-15T01:35:42.627Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T01:35:42.627Z] 209524e5b208: Pulling fs layer [2020-10-15T01:35:42.627Z] 8529a6b9a6be: Waiting [2020-10-15T01:35:42.627Z] 45590311c82a: Waiting [2020-10-15T01:35:42.627Z] 69ca0ff8b7b3: Waiting [2020-10-15T01:35:42.627Z] 209524e5b208: Waiting [2020-10-15T01:35:42.627Z] 99f96fe45779: Download complete [2020-10-15T01:35:42.627Z] 74f711af9a0d: Verifying Checksum [2020-10-15T01:35:42.627Z] 74f711af9a0d: Download complete [2020-10-15T01:35:42.627Z] 45590311c82a: Verifying Checksum [2020-10-15T01:35:42.627Z] 45590311c82a: Download complete [2020-10-15T01:35:42.627Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-15T01:35:42.627Z] 69ca0ff8b7b3: Download complete [2020-10-15T01:35:42.627Z] b538f80385f9: Verifying Checksum [2020-10-15T01:35:42.627Z] b538f80385f9: Download complete [2020-10-15T01:35:43.191Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T01:35:43.191Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T01:35:43.191Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T01:35:43.191Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 21.6% of statements [2020-10-15T01:35:43.624Z] b538f80385f9: Pull complete [2020-10-15T01:35:44.226Z] 74f711af9a0d: Pull complete [2020-10-15T01:35:44.502Z] 99f96fe45779: Pull complete [2020-10-15T01:35:45.485Z] 209524e5b208: Verifying Checksum [2020-10-15T01:35:45.485Z] 209524e5b208: Download complete [2020-10-15T01:35:45.777Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.442s coverage: 97.1% of statements [2020-10-15T01:35:46.462Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T01:35:46.462Z] 8529a6b9a6be: Download complete [2020-10-15T01:35:56.649Z] 8529a6b9a6be: Pull complete [2020-10-15T01:35:56.923Z] 45590311c82a: Pull complete [2020-10-15T01:35:57.198Z] 69ca0ff8b7b3: Pull complete [2020-10-15T01:36:01.530Z] 209524e5b208: Pull complete [2020-10-15T01:36:01.530Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T01:36:01.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T01:36:01.530Z] ---> 5bddaf1c2fca [2020-10-15T01:36:01.530Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:36:04.163Z] ---> Running in 7dee83f5bdbb [2020-10-15T01:36:04.443Z] Removing intermediate container 7dee83f5bdbb [2020-10-15T01:36:04.443Z] ---> 91003e19624f [2020-10-15T01:36:04.443Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T01:36:04.443Z] ---> Running in 237fad5fac0b [2020-10-15T01:36:07.062Z] Removing intermediate container 237fad5fac0b [2020-10-15T01:36:07.062Z] ---> 9ddb8c7bbc98 [2020-10-15T01:36:07.062Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T01:36:07.335Z] ---> Running in 15354419b853 [2020-10-15T01:36:08.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T01:36:10.212Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T01:36:11.186Z] OK: 142 MiB in 39 packages [2020-10-15T01:36:12.166Z] Removing intermediate container 15354419b853 [2020-10-15T01:36:12.166Z] ---> 57ccfc5ce32c [2020-10-15T01:36:12.166Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T01:36:12.439Z] ---> Running in 60c674c65225 [2020-10-15T01:36:12.715Z] Removing intermediate container 60c674c65225 [2020-10-15T01:36:12.715Z] ---> 20658d9bb7a3 [2020-10-15T01:36:12.715Z] Step 7/8 : COPY . . [2020-10-15T01:36:14.155Z] ---> 2a917036c5d3 [2020-10-15T01:36:14.155Z] Step 8/8 : RUN go mod download [2020-10-15T01:36:14.428Z] ---> Running in 38dd2fff3536 [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.215s coverage: 41.9% of statements [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T01:36:17.936Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.402s coverage: 68.9% of statements [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T01:36:17.936Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T01:36:17.936Z] GO111MODULE=on go vet ./... [2020-10-15T01:36:23.311Z] gofmt -l . [2020-10-15T01:36:23.311Z] [ "`gofmt -l .`" = "" ] [2020-10-15T01:36:23.575Z] ./bin/test-attribution-txt.sh [2020-10-15T01:36:24.150Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T01:36:24.729Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T01:36:24.736Z] $ docker stop --time=1 dce3a0673dffd9c393be432318597261a220e55918c2a504cc4ed7243c39fe1f [2020-10-15T01:36:26.681Z] $ docker rm -f dce3a0673dffd9c393be432318597261a220e55918c2a504cc4ed7243c39fe1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T01:36:29.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T01:36:30.050Z] + ls -al . [2020-10-15T01:36:30.050Z] total 188 [2020-10-15T01:36:30.050Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 01:36 . [2020-10-15T01:36:30.050Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 01:34 .. [2020-10-15T01:36:30.050Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 01:34 bin [2020-10-15T01:36:30.050Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 15 01:36 coverage.out [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 01:34 Dockerfile.build [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 01:34 .dockerignore [2020-10-15T01:36:30.050Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 01:34 example [2020-10-15T01:36:30.050Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 01:34 .git [2020-10-15T01:36:30.050Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 01:34 .github [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 01:34 .gitignore [2020-10-15T01:36:30.050Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 01:36 go.mod [2020-10-15T01:36:30.050Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 01:36 go.sum [2020-10-15T01:36:30.050Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 01:34 internal [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 01:34 Jenkinsfile [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 01:34 LICENSE [2020-10-15T01:36:30.050Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 01:34 Makefile [2020-10-15T01:36:30.050Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 01:34 openapi [2020-10-15T01:36:30.050Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 01:34 pkg [2020-10-15T01:36:30.051Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 01:34 README.md [2020-10-15T01:36:30.051Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 01:34 RELEASE-NOTES.txt [2020-10-15T01:36:30.051Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 01:34 snap [2020-10-15T01:36:30.051Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 01:31 VERSION [2020-10-15T01:36:30.051Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 01:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:36:30.358Z] + 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=95570ab8549e72eba36f8e73f2e278e31097aebf --label arch=amd64 --label version=0.0.0 . [2020-10-15T01:36:30.620Z] Sending build context to Docker daemon 2.472MB [2020-10-15T01:36:30.620Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T01:36:30.620Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T01:36:30.620Z] ---> 76e1abad0094 [2020-10-15T01:36:30.620Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T01:36:31.194Z] ---> Running in c9c0bed64e2e [2020-10-15T01:36:31.194Z] Removing intermediate container c9c0bed64e2e [2020-10-15T01:36:31.194Z] ---> 03c4e3dc9dd4 [2020-10-15T01:36:31.194Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T01:36:31.456Z] ---> Running in 53cffc4b421d [2020-10-15T01:36:31.456Z] Removing intermediate container 53cffc4b421d [2020-10-15T01:36:31.456Z] ---> 33759d01563a [2020-10-15T01:36:31.456Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:36:31.722Z] ---> Running in d0b148af35dc [2020-10-15T01:36:31.722Z] Removing intermediate container d0b148af35dc [2020-10-15T01:36:31.722Z] ---> ec2f88c60391 [2020-10-15T01:36:31.722Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T01:36:31.722Z] ---> Running in b63a151f70a7 [2020-10-15T01:36:32.669Z] Removing intermediate container b63a151f70a7 [2020-10-15T01:36:32.669Z] ---> 6dc7adeda917 [2020-10-15T01:36:32.669Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T01:36:32.932Z] ---> Running in b730ba931f0a [2020-10-15T01:36:33.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T01:36:34.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T01:36:35.092Z] OK: 166 MiB in 39 packages [2020-10-15T01:36:35.664Z] Removing intermediate container b730ba931f0a [2020-10-15T01:36:35.664Z] ---> a4c560757922 [2020-10-15T01:36:35.664Z] Step 8/24 : COPY . . [2020-10-15T01:36:36.608Z] Removing intermediate container 38dd2fff3536 [2020-10-15T01:36:36.608Z] ---> e97112787bd2 [2020-10-15T01:36:36.608Z] Successfully built e97112787bd2 [2020-10-15T01:36:36.608Z] Successfully tagged ci-base-image-arm64:latest [2020-10-15T01:36:36.610Z] ---> 3dfe1e75281c [2020-10-15T01:36:36.610Z] Step 9/24 : RUN ${MAKE} [2020-10-15T01:36:36.610Z] ---> Running in 156ec52b5a39 [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:36:37.006Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T01:36:37.006Z] . [Pipeline] withDockerContainer [2020-10-15T01:36:37.186Z] 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-15T01:36:37.236Z] prd-ubuntu18.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container [2020-10-15T01:36:37.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-15T01:36:39.014Z] $ docker top ee665b6e7d9e2941575e1d3f228c338b1f1a894e6511e98806bcd0c122c11fb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T01:36:40.390Z] + go version [2020-10-15T01:36:40.390Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T01:36:40.416Z] $ docker stop --time=1 ee665b6e7d9e2941575e1d3f228c338b1f1a894e6511e98806bcd0c122c11fb0 [2020-10-15T01:36:42.291Z] $ docker rm -f ee665b6e7d9e2941575e1d3f228c338b1f1a894e6511e98806bcd0c122c11fb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:36:43.297Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T01:36:43.297Z] . [Pipeline] withDockerContainer [2020-10-15T01:36:43.556Z] prd-ubuntu18.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container [2020-10-15T01:36:43.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-15T01:36:45.393Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T01:36:45.489Z] $ docker top 6a3b736ca40abd58ca796c85f42367881b191ee6987f4d60b57f2adf6e0bf578 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T01:36:46.833Z] + make test [2020-10-15T01:36:46.833Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T01:36:47.312Z] Removing intermediate container 156ec52b5a39 [2020-10-15T01:36:47.312Z] ---> 7680bbdcfec7 [2020-10-15T01:36:47.312Z] Step 10/24 : FROM scratch [2020-10-15T01:36:47.312Z] ---> [2020-10-15T01:36:47.312Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:36:47.312Z] ---> Running in 616f51cdb124 [2020-10-15T01:36:47.574Z] Removing intermediate container 616f51cdb124 [2020-10-15T01:36:47.574Z] ---> 4be41e8d2483 [2020-10-15T01:36:47.574Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T01:36:47.574Z] ---> Running in 82fc829a6a44 [2020-10-15T01:36:47.574Z] Removing intermediate container 82fc829a6a44 [2020-10-15T01:36:47.574Z] ---> 6c7e36ff2812 [2020-10-15T01:36:47.574Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T01:36:47.835Z] ---> Running in a3200f5932e3 [2020-10-15T01:36:47.835Z] Removing intermediate container a3200f5932e3 [2020-10-15T01:36:47.835Z] ---> 0788419fe73a [2020-10-15T01:36:47.835Z] Step 14/24 : WORKDIR / [2020-10-15T01:36:47.835Z] ---> Running in e1ba987533f6 [2020-10-15T01:36:48.099Z] Removing intermediate container e1ba987533f6 [2020-10-15T01:36:48.099Z] ---> 8f23e264ecfc [2020-10-15T01:36:48.099Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T01:36:48.672Z] ---> 6a5af7ed08e6 [2020-10-15T01:36:48.672Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T01:36:48.672Z] ---> 92b9426991b3 [2020-10-15T01:36:48.672Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T01:36:48.934Z] ---> 99d0ec5ff9de [2020-10-15T01:36:48.934Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T01:36:49.195Z] ---> 9fbcf6b34e95 [2020-10-15T01:36:49.195Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T01:36:49.457Z] ---> 89b19834ac67 [2020-10-15T01:36:49.457Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T01:36:49.457Z] ---> Running in 76851feb5d42 [2020-10-15T01:36:49.719Z] Removing intermediate container 76851feb5d42 [2020-10-15T01:36:49.719Z] ---> 42df56a8c0a3 [2020-10-15T01:36:49.719Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T01:36:49.719Z] ---> Running in 89ab2da6352b [2020-10-15T01:36:49.983Z] Removing intermediate container 89ab2da6352b [2020-10-15T01:36:49.983Z] ---> 091cefd863f0 [2020-10-15T01:36:49.983Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T01:36:49.983Z] ---> Running in 53a8b408617f [2020-10-15T01:36:50.245Z] Removing intermediate container 53a8b408617f [2020-10-15T01:36:50.245Z] ---> 73b7bf5aa954 [2020-10-15T01:36:50.245Z] Step 23/24 : LABEL git_sha=95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:36:50.245Z] ---> Running in 83b3cbd8940b [2020-10-15T01:36:50.509Z] Removing intermediate container 83b3cbd8940b [2020-10-15T01:36:50.509Z] ---> ba3b36c7298a [2020-10-15T01:36:50.509Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T01:36:50.509Z] ---> Running in cfda7d11a942 [2020-10-15T01:36:50.770Z] Removing intermediate container cfda7d11a942 [2020-10-15T01:36:50.770Z] ---> 2f3517ab7a9e [2020-10-15T01:36:50.770Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T01:36:50.770Z] Successfully built 2f3517ab7a9e [2020-10-15T01:36:50.770Z] 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-15T01:37:09.028Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T01:37:48.082Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T01:37:48.082Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T01:37:48.082Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T01:37:48.082Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 21.6% of statements [2020-10-15T01:37:52.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.190s coverage: 97.1% of statements [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.147s coverage: 9.4% of statements [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.131s coverage: 21.9% of statements [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.539s coverage: 41.9% of statements [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 68.9% of statements [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T01:38:19.217Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.653s coverage: 68.9% of statements [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T01:38:19.217Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T01:38:19.217Z] GO111MODULE=on go vet ./... [2020-10-15T01:38:51.629Z] gofmt -l . [2020-10-15T01:38:51.629Z] [ "`gofmt -l .`" = "" ] [2020-10-15T01:38:51.629Z] ./bin/test-attribution-txt.sh [2020-10-15T01:38:51.629Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T01:38:51.649Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T01:38:52.593Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T01:38:52.609Z] $ docker stop --time=1 6a3b736ca40abd58ca796c85f42367881b191ee6987f4d60b57f2adf6e0bf578 [2020-10-15T01:38:54.879Z] $ docker rm -f 6a3b736ca40abd58ca796c85f42367881b191ee6987f4d60b57f2adf6e0bf578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T01:38:56.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T01:38:56.774Z] + ls -al . [2020-10-15T01:38:56.774Z] total 224 [2020-10-15T01:38:56.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 01:38 . [2020-10-15T01:38:56.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:35 .. [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 01:35 .dockerignore [2020-10-15T01:38:56.774Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 01:35 .git [2020-10-15T01:38:56.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:35 .github [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 01:35 .gitignore [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 01:35 Dockerfile.build [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 01:35 Jenkinsfile [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 01:35 LICENSE [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 01:35 Makefile [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 01:35 README.md [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 01:35 RELEASE-NOTES.txt [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 01:31 VERSION [2020-10-15T01:38:56.774Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 01:35 bin [2020-10-15T01:38:56.774Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 15 01:38 coverage.out [2020-10-15T01:38:56.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:35 example [2020-10-15T01:38:56.774Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 01:38 go.mod [2020-10-15T01:38:56.774Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 01:38 go.sum [2020-10-15T01:38:56.774Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 01:35 internal [2020-10-15T01:38:56.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:35 openapi [2020-10-15T01:38:56.774Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 01:35 pkg [2020-10-15T01:38:56.774Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 01:35 snap [2020-10-15T01:38:56.774Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 01:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:38:57.166Z] + 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=95570ab8549e72eba36f8e73f2e278e31097aebf --label arch=arm64 --label version=0.0.0 . [2020-10-15T01:38:57.786Z] Sending build context to Docker daemon 2.47MB [2020-10-15T01:38:57.786Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T01:38:57.786Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T01:38:57.786Z] ---> e97112787bd2 [2020-10-15T01:38:57.786Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T01:38:58.059Z] ---> Running in f6579bd7ba26 [2020-10-15T01:38:58.342Z] Removing intermediate container f6579bd7ba26 [2020-10-15T01:38:58.342Z] ---> 45e3a2319a67 [2020-10-15T01:38:58.342Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T01:38:58.616Z] ---> Running in 0ff10fbf3f9c [2020-10-15T01:38:59.210Z] Removing intermediate container 0ff10fbf3f9c [2020-10-15T01:38:59.210Z] ---> b6024fbfed86 [2020-10-15T01:38:59.210Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:38:59.210Z] ---> Running in dd6ba09cb1ae [2020-10-15T01:38:59.487Z] Removing intermediate container dd6ba09cb1ae [2020-10-15T01:38:59.487Z] ---> 8d760f992f5e [2020-10-15T01:38:59.487Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T01:38:59.760Z] ---> Running in 987ac68cb5ab [2020-10-15T01:39:02.397Z] Removing intermediate container 987ac68cb5ab [2020-10-15T01:39:02.397Z] ---> 846bb70fedaa [2020-10-15T01:39:02.397Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T01:39:02.397Z] ---> Running in 7ba6da0e02d0 [2020-10-15T01:39:03.832Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T01:39:04.806Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T01:39:05.783Z] OK: 142 MiB in 39 packages [2020-10-15T01:39:06.777Z] Removing intermediate container 7ba6da0e02d0 [2020-10-15T01:39:06.777Z] ---> 22b7c444e759 [2020-10-15T01:39:06.777Z] Step 8/24 : COPY . . [2020-10-15T01:39:08.214Z] ---> 9a50a70cc27a [2020-10-15T01:39:08.214Z] Step 9/24 : RUN ${MAKE} [2020-10-15T01:39:08.486Z] ---> Running in d219fae33b90 [2020-10-15T01:39:09.919Z] 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-15T01:39:37.150Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T01:39:37.150Z] Removing intermediate container d219fae33b90 [2020-10-15T01:39:37.150Z] ---> 444af35c4c32 [2020-10-15T01:39:37.150Z] Step 10/24 : FROM scratch [2020-10-15T01:39:37.150Z] ---> [2020-10-15T01:39:37.150Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T01:39:37.150Z] ---> Running in 57942bfc8351 [2020-10-15T01:39:37.150Z] Removing intermediate container 57942bfc8351 [2020-10-15T01:39:37.150Z] ---> b514f5be60f5 [2020-10-15T01:39:37.150Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T01:39:37.150Z] ---> Running in 988abcbc5528 [2020-10-15T01:39:37.421Z] Removing intermediate container 988abcbc5528 [2020-10-15T01:39:37.421Z] ---> 3e79274d8efd [2020-10-15T01:39:37.421Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T01:39:37.694Z] ---> Running in e6e8f9cd25b0 [2020-10-15T01:39:37.984Z] Removing intermediate container e6e8f9cd25b0 [2020-10-15T01:39:37.984Z] ---> 1614c957d63b [2020-10-15T01:39:37.984Z] Step 14/24 : WORKDIR / [2020-10-15T01:39:38.262Z] ---> Running in 46e7b0aabc3f [2020-10-15T01:39:38.537Z] Removing intermediate container 46e7b0aabc3f [2020-10-15T01:39:38.537Z] ---> 6637d699588a [2020-10-15T01:39:38.537Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T01:39:39.970Z] ---> c381c5c242af [2020-10-15T01:39:39.970Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T01:39:40.567Z] ---> 809715245d9e [2020-10-15T01:39:40.567Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T01:39:41.163Z] ---> 6bb3ea2bb8db [2020-10-15T01:39:41.163Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T01:39:42.144Z] ---> 92eebfb06627 [2020-10-15T01:39:42.144Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T01:39:42.742Z] ---> 69ee3c25d325 [2020-10-15T01:39:42.742Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T01:39:42.742Z] ---> Running in 40b6ed6dc113 [2020-10-15T01:39:43.340Z] Removing intermediate container 40b6ed6dc113 [2020-10-15T01:39:43.340Z] ---> 63f8fd5b0e01 [2020-10-15T01:39:43.340Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T01:39:43.340Z] ---> Running in 4a350c424087 [2020-10-15T01:39:43.940Z] Removing intermediate container 4a350c424087 [2020-10-15T01:39:43.940Z] ---> 174f5fb20d01 [2020-10-15T01:39:43.940Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T01:39:43.940Z] ---> Running in 5ac0d2618eb8 [2020-10-15T01:39:44.537Z] Removing intermediate container 5ac0d2618eb8 [2020-10-15T01:39:44.537Z] ---> 04d9ba7fa36a [2020-10-15T01:39:44.537Z] Step 23/24 : LABEL git_sha=95570ab8549e72eba36f8e73f2e278e31097aebf [2020-10-15T01:39:44.537Z] ---> Running in 71f2673ed1ee [2020-10-15T01:39:44.810Z] Removing intermediate container 71f2673ed1ee [2020-10-15T01:39:44.810Z] ---> ad2a94d1a49c [2020-10-15T01:39:44.810Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T01:39:45.083Z] ---> Running in 362a6300338f [2020-10-15T01:39:45.681Z] Removing intermediate container 362a6300338f [2020-10-15T01:39:45.681Z] ---> 2cc7d8cc2c3b [2020-10-15T01:39:45.681Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T01:39:45.681Z] Successfully built 2cc7d8cc2c3b [2020-10-15T01:39:45.681Z] 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-15T01:39:47.468Z] provisioning config files... [2020-10-15T01:39:47.479Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config170303676010803230tmp [Pipeline] { [Pipeline] sh [2020-10-15T01:39:47.866Z] + set +x [2020-10-15T01:39:47.866Z] + curl -s https://codecov.io/bash [2020-10-15T01:39:47.866Z] + bash -s -- [2020-10-15T01:39:48.131Z] [2020-10-15T01:39:48.131Z] _____ _ [2020-10-15T01:39:48.131Z] / ____| | | [2020-10-15T01:39:48.131Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T01:39:48.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T01:39:48.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T01:39:48.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T01:39:48.131Z] Bash-20201009-048fee3 [2020-10-15T01:39:48.131Z] [2020-10-15T01:39:48.131Z] [2020-10-15T01:39:48.131Z] ==> Jenkins CI detected. [2020-10-15T01:39:48.131Z] project root: . [2020-10-15T01:39:48.131Z] --> token set from env [2020-10-15T01:39:48.131Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T01:39:48.131Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T01:39:48.131Z] find: ‘./.semver’: Permission denied [2020-10-15T01:39:48.131Z] ==> Python coveragepy not found [2020-10-15T01:39:48.131Z] ==> Searching for coverage reports in: [2020-10-15T01:39:48.131Z] + . [2020-10-15T01:39:48.131Z] -> Found 1 reports [2020-10-15T01:39:48.131Z] ==> Detecting git/mercurial file structure [2020-10-15T01:39:48.131Z] ==> Reading reports [2020-10-15T01:39:48.131Z] + ./coverage.out bytes=110398 [2020-10-15T01:39:48.131Z] ==> Appending adjustments [2020-10-15T01:39:48.131Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T01:39:48.706Z] find: ‘./.semver’: Permission denied [2020-10-15T01:39:48.706Z] find: ‘./.semver’: Permission denied [2020-10-15T01:39:48.706Z] find: ‘./.semver’: Permission denied [2020-10-15T01:39:48.706Z] [2020-10-15T01:39:48.706Z] + Found adjustments [2020-10-15T01:39:48.706Z] ==> Gzipping contents [2020-10-15T01:39:48.706Z] ==> Uploading reports [2020-10-15T01:39:48.706Z] url: https://codecov.io [2020-10-15T01:39:48.706Z] query: branch=PR-605&commit=95570ab8549e72eba36f8e73f2e278e31097aebf&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-15T01:39:48.706Z] -> Pinging Codecov [2020-10-15T01:39:48.706Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-605&commit=95570ab8549e72eba36f8e73f2e278e31097aebf&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-15T01:39:48.706Z] -> Uploading to [2020-10-15T01:39:48.706Z] [2020-10-15T01:39:48.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T01:39:48.706Z] Dload Upload Total Spent Left Speed [2020-10-15T01:39:48.706Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T01:39:48.706Z] X> Failed to upload [2020-10-15T01:39:48.706Z] ==> Uploading to Codecov [2020-10-15T01:39:48.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T01:39:48.706Z] Dload Upload Total Spent Left Speed [2020-10-15T01:39:49.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18819 0 0 100 18709 0 36332 --:--:-- --:--:-- --:--:-- 36328 100 18819 100 110 100 18709 213 36316 --:--:-- --:--:-- --:--:-- 36257 [2020-10-15T01:39:49.279Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/95570ab8549e72eba36f8e73f2e278e31097aebf [Pipeline] } [2020-10-15T01:39:49.288Z] 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-15T01:39:52.085Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:39:52.650Z] ---> package-listing.sh [2020-10-15T01:39:52.650Z] ++ facter osfamily [2020-10-15T01:39:52.650Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T01:39:52.650Z] + OS_FAMILY=redhat [2020-10-15T01:39:52.650Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-15T01:39:52.650Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T01:39:52.650Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T01:39:52.650Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T01:39:52.650Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T01:39:52.650Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-15T01:39:52.650Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T01:39:52.650Z] + case "${OS_FAMILY}" in [2020-10-15T01:39:52.650Z] + rpm -qa [2020-10-15T01:39:52.650Z] + sort [2020-10-15T01:39:55.970Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T01:39:55.970Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T01:39:55.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T01:39:55.970Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-15T01:39:55.970Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-15T01:39:55.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] echo [2020-10-15T01:39:55.982Z] 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-605/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T01:39:56.270Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:39:56.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T01:39:56.572Z] [2020-10-15T01:39:56.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T01:39:56.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T01:39:56.915Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T01:39:56.915Z] df20fa9351a1: Pulling fs layer [2020-10-15T01:39:56.915Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T01:39:56.915Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T01:39:56.915Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T01:39:56.915Z] 93b61091891f: Pulling fs layer [2020-10-15T01:39:56.915Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T01:39:56.915Z] 5e14af77c1be: Pulling fs layer [2020-10-15T01:39:56.915Z] 01666e4c0597: Pulling fs layer [2020-10-15T01:39:56.915Z] aa168da1d23b: Pulling fs layer [2020-10-15T01:39:56.915Z] 46f8f816bc3b: Waiting [2020-10-15T01:39:56.915Z] 93b61091891f: Waiting [2020-10-15T01:39:56.915Z] 93b9cdb0e59b: Waiting [2020-10-15T01:39:56.915Z] 5e14af77c1be: Waiting [2020-10-15T01:39:56.915Z] 01666e4c0597: Waiting [2020-10-15T01:39:56.915Z] aa168da1d23b: Waiting [2020-10-15T01:39:56.915Z] 36b3adc4ff6f: Verifying Checksum [2020-10-15T01:39:56.915Z] 36b3adc4ff6f: Download complete [2020-10-15T01:39:56.915Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T01:39:56.915Z] 46f8f816bc3b: Download complete [2020-10-15T01:39:56.915Z] df20fa9351a1: Verifying Checksum [2020-10-15T01:39:56.915Z] df20fa9351a1: Download complete [2020-10-15T01:39:56.915Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T01:39:56.915Z] 93b9cdb0e59b: Download complete [2020-10-15T01:39:57.179Z] 5e14af77c1be: Verifying Checksum [2020-10-15T01:39:57.180Z] 5e14af77c1be: Download complete [2020-10-15T01:39:57.180Z] 93b61091891f: Download complete [2020-10-15T01:39:57.180Z] 01666e4c0597: Download complete [2020-10-15T01:39:57.180Z] df20fa9351a1: Pull complete [2020-10-15T01:39:57.440Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T01:39:57.440Z] 8ad3a11d3b57: Download complete [2020-10-15T01:39:57.440Z] 36b3adc4ff6f: Pull complete [2020-10-15T01:39:58.022Z] 8ad3a11d3b57: Pull complete [2020-10-15T01:39:58.022Z] 46f8f816bc3b: Pull complete [2020-10-15T01:39:58.284Z] 93b61091891f: Pull complete [2020-10-15T01:39:58.549Z] 93b9cdb0e59b: Pull complete [2020-10-15T01:39:59.123Z] 5e14af77c1be: Pull complete [2020-10-15T01:39:59.123Z] 01666e4c0597: Pull complete [2020-10-15T01:39:59.123Z] aa168da1d23b: Verifying Checksum [2020-10-15T01:39:59.123Z] aa168da1d23b: Download complete [2020-10-15T01:40:05.725Z] aa168da1d23b: Pull complete [2020-10-15T01:40:05.725Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T01:40:05.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T01:40:05.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T01:40:06.127Z] prd-centos7-docker-4c-2g-5488 does not seem to be running inside a container [2020-10-15T01:40:06.175Z] $ 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-605/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-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T01:40:09.977Z] $ docker top be5d0d76fb56ec9be00994606f175d9e94d0dc47b208233b8c7c7d0c26ca56b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T01:40:10.480Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T01:40:10.773Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T01:40:11.070Z] + ls /var/log/sa-host [2020-10-15T01:40:11.070Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T01:40:11.070Z] file_magic: OK [2020-10-15T01:40:11.070Z] HZ: Using current value: 100 [2020-10-15T01:40:11.070Z] file_header: OK [2020-10-15T01:40:11.070Z] 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-15T01:40:11.070Z] Statistics: [2020-10-15T01:40:11.070Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T01:40:11.070Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T01:40:11.070Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T01:40:11.070Z] file_magic: OK [2020-10-15T01:40:11.070Z] HZ: Using current value: 100 [2020-10-15T01:40:11.070Z] file_header: OK [2020-10-15T01:40:11.070Z] 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-15T01:40:11.070Z] Statistics: [2020-10-15T01:40:11.070Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T01:40:11.070Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T01:40:11.833Z] provisioning config files... [2020-10-15T01:40:11.847Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config1277154405838401938tmp [Pipeline] { [Pipeline] echo [2020-10-15T01:40:11.920Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:40:12.213Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T01:40:12.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T01:40:12.309Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:40:12.598Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T01:40:12.608Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:40:12.898Z] ---> sudo-logs.sh [2020-10-15T01:40:12.898Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T01:40:12.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:40:13.200Z] ---> job-cost.sh [2020-10-15T01:40:13.200Z] lf-activate-venv: SKIPPING [2020-10-15T01:40:13.200Z] INFO: No Stack... [2020-10-15T01:40:14.140Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T01:40:14.715Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T01:40:14.727Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T01:40:15.019Z] ---> logs-deploy.sh [2020-10-15T01:40:15.019Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/15 [2020-10-15T01:40:15.019Z] INFO: archiving workspace using pattern(s): [2020-10-15T01:40:16.406Z] Archives upload complete. [2020-10-15T01:40:16.667Z] INFO: archiving logs to Nexus