Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3+0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (c18c25607c3dc29a78ce33ac8d3e6f11dbdaca9a) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5848 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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (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 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # 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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:29:12 Timeout set to expire in 6 hr 0 min > git rev-list --no-walk 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:29:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:29:13 ========================================================= 09:29:13 EdgeX Global Pipelines Version Info 09:29:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:29:15 ------------------- 09:29:15 stable info: 09:29:15 ------------------- 09:29:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:29:15 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:29:15 Message: update stable to v1.0.144 09:29:16 ------------------- 09:29:16 experimental info: 09:29:16 ------------------- 09:29:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:29:16 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:29:16 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:29:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:29:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:29:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:29:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:29:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:29:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:29:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 09:29:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 09:29:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 09:29:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] echo 09:29:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c8cc0e [Pipeline] echo 09:29:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:20 + git log --format=format:%s -1 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] echo 09:29:20 GIT_COMMIT: 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo 09:29:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:21 09:29:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:29:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:21 latest: Pulling from edgex-devops/git-semver 09:29:21 31603596830f: Pulling fs layer 09:29:21 2a8b12db71e7: Pulling fs layer 09:29:21 6ca5941a6612: Pulling fs layer 09:29:21 ecc8261a40a4: Pulling fs layer 09:29:21 ecc8261a40a4: Waiting 09:29:21 2a8b12db71e7: Verifying Checksum 09:29:21 2a8b12db71e7: Download complete 09:29:21 31603596830f: Download complete 09:29:21 ecc8261a40a4: Verifying Checksum 09:29:21 ecc8261a40a4: Download complete 09:29:21 6ca5941a6612: Verifying Checksum 09:29:21 31603596830f: Pull complete 09:29:21 2a8b12db71e7: Pull complete 09:29:22 6ca5941a6612: Pull complete 09:29:22 ecc8261a40a4: Pull complete 09:29:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:29:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:29:23 prd-centos7-docker-4c-2g-5848 does not seem to be running inside a container 09:29:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:29:25 $ docker top ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:25 [ssh-agent] Looking for ssh-agent implementation... 09:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:26 $ docker exec ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent 09:29:26 SSH_AUTH_SOCK=/tmp/ssh-fE0ZLnbDoJ3z/agent.12 09:29:26 SSH_AGENT_PID=17 09:29:26 Running ssh-add (command line suppressed) 09:29:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1914916416895207038.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1914916416895207038.key) 09:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:26 + git tag --points-at HEAD [Pipeline] } 09:29:26 $ docker exec --env ******** --env ******** ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent -k 09:29:26 unset SSH_AUTH_SOCK; 09:29:26 unset SSH_AGENT_PID; 09:29:26 echo Agent pid 17 killed; 09:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:27 [ssh-agent] Looking for ssh-agent implementation... 09:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:27 $ docker exec ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent 09:29:27 SSH_AUTH_SOCK=/tmp/ssh-Qj6UyiIqnJgx/agent.46 09:29:27 SSH_AGENT_PID=52 09:29:27 Running ssh-add (command line suppressed) 09:29:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6356322049913687364.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6356322049913687364.key) 09:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:28 + git semver init 09:29:28 # -> Open(): unable to determine branch for HEAD 09:29:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 09:29:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 09:29:28 # $SEMVER_REMOTE_NAME = origin 09:29:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:29:28 # $SEMVER_USER_NAME = edgex-jenkins 09:29:28 # $SEMVER_BRANCH = PR-584 09:29:28 # $SEMVER_TEMP = /tmp/semver-695768460 09:29:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:29:28 # '/tmp/semver-695768460' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 09:29:28 # -> Force: false 09:29:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 09:29:28 $ docker exec --env ******** --env ******** ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 ssh-agent -k 09:29:28 unset SSH_AUTH_SOCK; 09:29:28 unset SSH_AGENT_PID; 09:29:28 echo Agent pid 52 killed; 09:29:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:29 + git semver [Pipeline] } 09:29:29 $ docker stop --time=1 ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 09:29:30 $ docker rm -f ee2ddd044fd58fe57cef490203282c07839d74cd10c0395a308c67b346ccc6c2 [Pipeline] // withDockerContainer [Pipeline] sh 09:29:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:29:31 Stashed 1 file(s) [Pipeline] echo 09:29:31 [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 09:29:47 Still waiting to schedule task 09:29:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:29:47 Still waiting to schedule task 09:29:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:30:34 Running on prd-centos7-docker-4c-2g-5853 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 09:30:34 Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout 09:30:40 using credential edgex-jenkins-ssh 09:30:40 Cloning the remote Git repository 09:30:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:30:40 > git init /w/workspace/device-sdk-go/25 # timeout=10 09:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:40 > git --version # timeout=10 09:30:40 > git --version # 'git version 2.16.5' 09:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:42 Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:30:42 Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:30:42 Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (PR-584) 09:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:41 > 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 09:30:42 > git config core.sparsecheckout # timeout=10 09:30:42 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 09:30:42 > git remote # timeout=10 09:30:42 > git config --get remote.origin.url # timeout=10 09:30:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:42 > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 09:30:42 > git rev-parse HEAD^{commit} # timeout=10 09:30:42 > git config core.sparsecheckout # timeout=10 09:30:42 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 09:30:46 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:30:47 ========================================================= 09:30:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:30:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:30:48 + 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 . 09:30:49 Sending build context to Docker daemon 2.316MB 09:30:49 Step 1/8 : ARG BASE=golang:1.15-alpine 09:30:49 Step 2/8 : FROM ${BASE} 09:30:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:30:49 df20fa9351a1: Pulling fs layer 09:30:49 ed8968b2872e: Pulling fs layer 09:30:49 a92cc7c5fd73: Pulling fs layer 09:30:49 e871e8e8d7a9: Pulling fs layer 09:30:49 e73272ec9a57: Pulling fs layer 09:30:49 1e910a182e73: Pulling fs layer 09:30:49 4e634b169226: Pulling fs layer 09:30:49 e871e8e8d7a9: Waiting 09:30:49 e73272ec9a57: Waiting 09:30:49 1e910a182e73: Waiting 09:30:49 4e634b169226: Waiting 09:30:49 a92cc7c5fd73: Verifying Checksum 09:30:49 a92cc7c5fd73: Download complete 09:30:49 ed8968b2872e: Verifying Checksum 09:30:49 ed8968b2872e: Download complete 09:30:49 df20fa9351a1: Verifying Checksum 09:30:49 df20fa9351a1: Download complete 09:30:50 e73272ec9a57: Verifying Checksum 09:30:50 e73272ec9a57: Download complete 09:30:50 1e910a182e73: Verifying Checksum 09:30:50 1e910a182e73: Download complete 09:30:50 df20fa9351a1: Pull complete 09:30:50 ed8968b2872e: Pull complete 09:30:50 a92cc7c5fd73: Pull complete 09:30:55 4e634b169226: Verifying Checksum 09:30:55 4e634b169226: Download complete 09:30:56 e871e8e8d7a9: Verifying Checksum 09:30:56 e871e8e8d7a9: Download complete 09:31:04 e871e8e8d7a9: Pull complete 09:31:04 e73272ec9a57: Pull complete 09:31:04 1e910a182e73: Pull complete 09:31:10 4e634b169226: Pull complete 09:31:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:31:10 ---> f7629b54cfaa 09:31:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:10 ---> Running in 5cb3bef6b3d9 09:31:10 Removing intermediate container 5cb3bef6b3d9 09:31:10 ---> d9feefc22d54 09:31:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:10 ---> Running in 45cbefc1a111 09:31:11 Removing intermediate container 45cbefc1a111 09:31:11 ---> fd3889ddc7e3 09:31:11 Step 5/8 : RUN apk add --no-cache make git 09:31:11 ---> Running in 2b19ead56d62 09:31:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:31:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:31:14 OK: 166 MiB in 39 packages 09:31:14 Removing intermediate container 2b19ead56d62 09:31:14 ---> 679b08b3b005 09:31:14 Step 6/8 : WORKDIR /device-sdk-go 09:31:14 ---> Running in 3effc18503d9 09:31:15 Removing intermediate container 3effc18503d9 09:31:15 ---> 0344ef794653 09:31:15 Step 7/8 : COPY . . 09:31:16 ---> 171ed28dfcb9 09:31:16 Step 8/8 : RUN go mod download 09:31:16 ---> Running in ace5636cdc16 09:31:58 Removing intermediate container ace5636cdc16 09:31:58 ---> 8c98c78b4fb0 09:31:58 Successfully built 8c98c78b4fb0 09:31:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:31:58 + docker inspect -f . ci-base-image-x86_64 09:31:59 . [Pipeline] withDockerContainer 09:31:59 prd-centos7-docker-4c-2g-5853 does not seem to be running inside a container 09:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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 09:32:00 $ docker top 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:01 + go version 09:32:01 go version go1.15.2 linux/amd64 [Pipeline] } 09:32:01 $ docker stop --time=1 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a 09:32:03 $ docker rm -f 830b8272ce244bfbe401e9447ca8bfed9ca5a40ef18c30547adb95d0f203c95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:32:04 + docker inspect -f . ci-base-image-x86_64 09:32:04 . [Pipeline] withDockerContainer 09:32:04 prd-centos7-docker-4c-2g-5853 does not seem to be running inside a container 09:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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 09:32:06 $ docker top 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:06 + make test 09:32:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:32:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:32:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5855 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 09:32:24 Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout 09:32:29 using credential edgex-jenkins-ssh 09:32:29 Cloning the remote Git repository 09:32:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:32:29 > git init /w/workspace/device-sdk-go/25 # timeout=10 09:32:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:32:29 > git --version # timeout=10 09:32:29 > git --version # 'git version 2.17.1' 09:32:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:32:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:32:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:32:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:32:30 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:30 > 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 09:32:31 Merging remotes/origin/master commit 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:32:31 Merge succeeded, producing 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:32:31 Checking out Revision 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 (PR-584) 09:32:31 > git config core.sparsecheckout # timeout=10 09:32:31 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 09:32:31 > git remote # timeout=10 09:32:31 > git config --get remote.origin.url # timeout=10 09:32:31 using GIT_SSH to set credentials SSH Credentials for GitHub 09:32:31 > git merge 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 09:32:31 > git rev-parse HEAD^{commit} # timeout=10 09:32:31 > git config core.sparsecheckout # timeout=10 09:32:31 > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 09:32:35 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:32:36 ========================================================= 09:32:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:32:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:32:37 + 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 . 09:32:38 Sending build context to Docker daemon 2.316MB 09:32:38 Step 1/8 : ARG BASE=golang:1.15-alpine 09:32:38 Step 2/8 : FROM ${BASE} 09:32:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:32:38 b538f80385f9: Pulling fs layer 09:32:38 74f711af9a0d: Pulling fs layer 09:32:38 99f96fe45779: Pulling fs layer 09:32:38 8529a6b9a6be: Pulling fs layer 09:32:38 45590311c82a: Pulling fs layer 09:32:38 69ca0ff8b7b3: Pulling fs layer 09:32:38 209524e5b208: Pulling fs layer 09:32:38 8529a6b9a6be: Waiting 09:32:38 45590311c82a: Waiting 09:32:38 69ca0ff8b7b3: Waiting 09:32:38 209524e5b208: Waiting 09:32:38 99f96fe45779: Verifying Checksum 09:32:38 99f96fe45779: Download complete 09:32:38 74f711af9a0d: Verifying Checksum 09:32:38 74f711af9a0d: Download complete 09:32:38 45590311c82a: Verifying Checksum 09:32:38 45590311c82a: Download complete 09:32:38 69ca0ff8b7b3: Download complete 09:32:39 b538f80385f9: Verifying Checksum 09:32:39 b538f80385f9: Download complete 09:32:40 b538f80385f9: Pull complete 09:32:40 74f711af9a0d: Pull complete 09:32:41 99f96fe45779: Pull complete 09:32:42 209524e5b208: Verifying Checksum 09:32:42 209524e5b208: Download complete 09:32:43 8529a6b9a6be: Verifying Checksum 09:32:43 8529a6b9a6be: Download complete 09:32:46 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:32:46 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:32:46 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:32:46 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.310s coverage: 21.6% of statements 09:32:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.438s coverage: 97.1% of statements 09:32:53 8529a6b9a6be: Pull complete 09:32:53 45590311c82a: Pull complete 09:32:53 69ca0ff8b7b3: Pull complete 09:32:56 209524e5b208: Pull complete 09:32:56 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:32:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:32:56 ---> 5bddaf1c2fca 09:32:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:00 ---> Running in 7ecbaeaa3011 09:33:00 Removing intermediate container 7ecbaeaa3011 09:33:00 ---> 4f1685515ca9 09:33:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:00 ---> Running in f5bb4a5266f4 09:33:02 Removing intermediate container f5bb4a5266f4 09:33:02 ---> 1842009a40bb 09:33:02 Step 5/8 : RUN apk add --no-cache make git 09:33:03 ---> Running in 2c61b3b79889 09:33:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:33:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:33:06 OK: 142 MiB in 39 packages 09:33:07 Removing intermediate container 2c61b3b79889 09:33:07 ---> 82d0f69e3ab7 09:33:07 Step 6/8 : WORKDIR /device-sdk-go 09:33:07 ---> Running in ba78e63a827b 09:33:07 Removing intermediate container ba78e63a827b 09:33:07 ---> 44a2d4395be8 09:33:07 Step 7/8 : COPY . . 09:33:09 ---> 765c11369d44 09:33:09 Step 8/8 : RUN go mod download 09:33:09 ---> Running in ea7e0428031a 09:33:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.122s coverage: 9.4% of statements 09:33:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.163s coverage: 21.9% of statements 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:33:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.448s coverage: 42.6% of statements 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:33:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.528s coverage: 68.9% of statements 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:33:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.320s coverage: 52.6% of statements 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:33:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.546s coverage: 68.9% of statements 09:33:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:33:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:33:19 GO111MODULE=on go vet ./... 09:33:32 Removing intermediate container ea7e0428031a 09:33:32 ---> 00d92e67e7a8 09:33:32 Successfully built 00d92e67e7a8 09:33:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:33:32 + docker inspect -f . ci-base-image-arm64 09:33:32 . [Pipeline] withDockerContainer 09:33:32 prd-ubuntu18.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container 09:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:33:34 $ docker top 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:36 + go version 09:33:36 go version go1.15.2 linux/arm64 [Pipeline] } 09:33:36 $ docker stop --time=1 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b 09:33:38 $ docker rm -f 2f46d9fce4399b9a0d9b5f524c737688054c68687e69f0d3975e27a8a3707b0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 09:33:38 gofmt -l . 09:33:38 [ "`gofmt -l .`" = "" ] 09:33:38 ./bin/test-attribution-txt.sh 09:33:38 ./bin/test-go-mod-tidy.sh [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] stash 09:33:39 + docker inspect -f . ci-base-image-arm64 09:33:39 . [Pipeline] withDockerContainer 09:33:39 prd-ubuntu18.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container 09:33:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:33:40 Stashed 1 file(s) 09:33:41 $ docker top 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 -eo pid,comm [Pipeline] { [Pipeline] } 09:33:42 $ docker stop --time=1 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 09:33:44 $ docker rm -f 58687808c3ecdacbdfdfface707cff3d857c3835b862681272f5c49c2e9d3117 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:33:46 + make test 09:33:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:47 + ls -al . 09:33:47 total 188 09:33:47 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:33 . 09:33:47 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 09:30 .. 09:33:47 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:30 bin 09:33:47 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 09:33 coverage.out 09:33:47 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:30 Dockerfile.build 09:33:47 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:30 .dockerignore 09:33:47 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:30 example 09:33:47 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 09:30 .git 09:33:47 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:30 .github 09:33:47 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:30 .gitignore 09:33:47 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 09:33 go.mod 09:33:47 -rw-r--r--. 1 jenkins jenkins 13743 Oct 16 09:33 go.sum 09:33:47 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:30 internal 09:33:47 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:30 Jenkinsfile 09:33:47 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:30 LICENSE 09:33:47 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:30 Makefile 09:33:47 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:30 openapi 09:33:47 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:30 pkg 09:33:47 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:30 README.md 09:33:47 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:30 RELEASE-NOTES.txt 09:33:47 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:30 snap 09:33:47 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 09:29 VERSION 09:33:47 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:30 version.go [Pipeline] isUnix [Pipeline] sh 09:33:47 + 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=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 --label arch=amd64 --label version=0.0.0 . 09:33:48 Sending build context to Docker daemon 2.427MB 09:33:48 Step 1/24 : ARG BASE=golang:1.15-alpine 09:33:48 Step 2/24 : FROM ${BASE} AS builder 09:33:48 ---> 8c98c78b4fb0 09:33:48 Step 3/24 : ARG MAKE='make build' 09:33:48 ---> Running in 46a795a5575b 09:33:48 Removing intermediate container 46a795a5575b 09:33:48 ---> 3612e4ba13e9 09:33:48 Step 4/24 : WORKDIR /device-sdk-go 09:33:49 ---> Running in 200e8602dae4 09:33:49 Removing intermediate container 200e8602dae4 09:33:49 ---> ab233bf2aeb8 09:33:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:49 ---> Running in 970e05719c68 09:33:49 Removing intermediate container 970e05719c68 09:33:49 ---> d820f890d119 09:33:49 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:49 ---> Running in 52c15d260692 09:33:51 Removing intermediate container 52c15d260692 09:33:51 ---> 349dd1ca5ab0 09:33:51 Step 7/24 : RUN apk add --update --no-cache make git 09:33:51 ---> Running in 43b3ce1d2ac1 09:33:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:33:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:33:53 OK: 166 MiB in 39 packages 09:33:54 Removing intermediate container 43b3ce1d2ac1 09:33:54 ---> b86d651f2afa 09:33:54 Step 8/24 : COPY . . 09:33:56 ---> 757c7231fda9 09:33:56 Step 9/24 : RUN ${MAKE} 09:33:56 ---> Running in 5b31b43606a1 09:33:56 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 09:34:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:34:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:34:13 Removing intermediate container 5b31b43606a1 09:34:13 ---> 667aedae8590 09:34:13 Step 10/24 : FROM scratch 09:34:13 ---> 09:34:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:34:13 ---> Running in 487adab6fcfe 09:34:13 Removing intermediate container 487adab6fcfe 09:34:13 ---> 2a094eebcb2d 09:34:13 Step 12/24 : ENV APP_PORT=49990 09:34:13 ---> Running in 0a2495366804 09:34:13 Removing intermediate container 0a2495366804 09:34:13 ---> f0761ba03126 09:34:13 Step 13/24 : EXPOSE $APP_PORT 09:34:13 ---> Running in e8ae496483fd 09:34:14 Removing intermediate container e8ae496483fd 09:34:14 ---> 355694a1c030 09:34:14 Step 14/24 : WORKDIR / 09:34:14 ---> Running in b32859a8b609 09:34:14 Removing intermediate container b32859a8b609 09:34:14 ---> d4fa074b7c65 09:34:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:34:15 ---> 07def2fd5f2f 09:34:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:34:16 ---> 0a56b92e890c 09:34:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:34:16 ---> 6be0abe4e665 09:34:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:34:16 ---> 9f8913a4fa2d 09:34:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:34:17 ---> f8cdaa4f1869 09:34:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:34:17 ---> Running in 0350be40d6d4 09:34:17 Removing intermediate container 0350be40d6d4 09:34:17 ---> ac21e8939c26 09:34:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:34:17 ---> Running in fcea31bb1146 09:34:17 Removing intermediate container fcea31bb1146 09:34:17 ---> eebcf7ebc71f 09:34:17 Step 22/24 : LABEL arch=amd64 09:34:18 ---> Running in a34554dd8077 09:34:18 Removing intermediate container a34554dd8077 09:34:18 ---> 374fde9d276a 09:34:18 Step 23/24 : LABEL git_sha=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:34:18 ---> Running in da9dc0e9138b 09:34:18 Removing intermediate container da9dc0e9138b 09:34:18 ---> f4d14b3690c2 09:34:18 Step 24/24 : LABEL version=0.0.0 09:34:18 ---> Running in 8f8bd7cb827a 09:34:18 Removing intermediate container 8f8bd7cb827a 09:34:18 ---> c1db7f257766 09:34:18 [Warning] One or more build-args [ARCH] were not consumed 09:34:18 Successfully built c1db7f257766 09:34:19 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] } 09:34:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:34:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:34:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:34:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 21.6% of statements 09:34:53 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.293s coverage: 97.1% of statements 09:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements 09:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.6% of statements 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.861s coverage: 68.9% of statements 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:35:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:35:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.050s coverage: 68.9% of statements 09:35:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 09:35:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:35:20 GO111MODULE=on go vet ./... 09:35:52 gofmt -l . 09:35:52 [ "`gofmt -l .`" = "" ] 09:35:52 ./bin/test-attribution-txt.sh 09:35:52 ./bin/test-go-mod-tidy.sh [Pipeline] stash 09:35:52 Warning: overwriting stash ‘coverage-report’ 09:35:53 Stashed 1 file(s) [Pipeline] } 09:35:53 $ docker stop --time=1 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 09:35:56 $ docker rm -f 60f41e3081499e6f3991dfa2496b7a13397f9c57581d73e6cb1f50ed7fd70149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:35:58 + ls -al . 09:35:58 total 224 09:35:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:35 . 09:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 .. 09:35:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:32 .dockerignore 09:35:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:32 .git 09:35:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:32 .github 09:35:58 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:32 .gitignore 09:35:58 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:32 Dockerfile.build 09:35:58 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:32 Jenkinsfile 09:35:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:32 LICENSE 09:35:58 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:32 Makefile 09:35:58 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:32 README.md 09:35:58 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:32 RELEASE-NOTES.txt 09:35:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 09:29 VERSION 09:35:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:32 bin 09:35:58 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 09:35 coverage.out 09:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 example 09:35:58 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 09:35 go.mod 09:35:58 -rw-r--r-- 1 jenkins jenkins 13743 Oct 16 09:35 go.sum 09:35:58 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:32 internal 09:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 openapi 09:35:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:32 pkg 09:35:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:32 snap 09:35:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:32 version.go [Pipeline] isUnix [Pipeline] sh 09:35:58 + 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=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 --label arch=arm64 --label version=0.0.0 . 09:35:59 Sending build context to Docker daemon 2.427MB 09:35:59 Step 1/24 : ARG BASE=golang:1.15-alpine 09:35:59 Step 2/24 : FROM ${BASE} AS builder 09:35:59 ---> 00d92e67e7a8 09:35:59 Step 3/24 : ARG MAKE='make build' 09:35:59 ---> Running in f51d6a64976e 09:35:59 Removing intermediate container f51d6a64976e 09:35:59 ---> 7042a9ece3c7 09:35:59 Step 4/24 : WORKDIR /device-sdk-go 09:35:59 ---> Running in a0653a3a3c2d 09:36:00 Removing intermediate container a0653a3a3c2d 09:36:00 ---> d8f049b890f6 09:36:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:00 ---> Running in 00c9d5edeebf 09:36:01 Removing intermediate container 00c9d5edeebf 09:36:01 ---> bbc95e4d8a87 09:36:01 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:36:01 ---> Running in 4f6fb0aca75a 09:36:04 Removing intermediate container 4f6fb0aca75a 09:36:04 ---> 2c2050c6b82e 09:36:04 Step 7/24 : RUN apk add --update --no-cache make git 09:36:04 ---> Running in e451084beb3a 09:36:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:36:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:36:07 OK: 142 MiB in 39 packages 09:36:08 Removing intermediate container e451084beb3a 09:36:08 ---> 2bb72a2bda07 09:36:08 Step 8/24 : COPY . . 09:36:10 ---> 5bfb5493d59f 09:36:10 Step 9/24 : RUN ${MAKE} 09:36:10 ---> Running in 90f1f2dc4eaf 09:36:11 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 09:36:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:36:41 Removing intermediate container 90f1f2dc4eaf 09:36:41 ---> b79952caf9cd 09:36:41 Step 10/24 : FROM scratch 09:36:41 ---> 09:36:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:36:41 ---> Running in aca608875c4d 09:36:41 Removing intermediate container aca608875c4d 09:36:41 ---> d3b56f57a4ba 09:36:41 Step 12/24 : ENV APP_PORT=49990 09:36:41 ---> Running in 696e5775fd8f 09:36:42 Removing intermediate container 696e5775fd8f 09:36:42 ---> f73b42bbca3b 09:36:42 Step 13/24 : EXPOSE $APP_PORT 09:36:42 ---> Running in 4754c2a69849 09:36:42 Removing intermediate container 4754c2a69849 09:36:42 ---> 97a1e72c8ee2 09:36:42 Step 14/24 : WORKDIR / 09:36:42 ---> Running in 4e1be019a477 09:36:43 Removing intermediate container 4e1be019a477 09:36:43 ---> 17c29c61aaf9 09:36:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:36:44 ---> 7aab9b6fb88b 09:36:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:36:44 ---> b0c8fdf3d317 09:36:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:36:45 ---> 9d85e8f04054 09:36:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:36:46 ---> c3869c0df2d3 09:36:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:36:46 ---> 78cd07db3813 09:36:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:36:47 ---> Running in d6c39c9f1d5d 09:36:47 Removing intermediate container d6c39c9f1d5d 09:36:47 ---> cb70c5fc3e08 09:36:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:36:47 ---> Running in aeceb95dd066 09:36:48 Removing intermediate container aeceb95dd066 09:36:48 ---> a1a6d9bd84fc 09:36:48 Step 22/24 : LABEL arch=arm64 09:36:48 ---> Running in 1b97da97caff 09:36:48 Removing intermediate container 1b97da97caff 09:36:48 ---> 20237a26851c 09:36:48 Step 23/24 : LABEL git_sha=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 09:36:48 ---> Running in e44aa5fd7c85 09:36:49 Removing intermediate container e44aa5fd7c85 09:36:49 ---> e6202f1439a0 09:36:49 Step 24/24 : LABEL version=0.0.0 09:36:49 ---> Running in 37effd6278e8 09:36:50 Removing intermediate container 37effd6278e8 09:36:50 ---> f5a6f0eca4fe 09:36:50 [Warning] One or more build-args [ARCH] were not consumed 09:36:50 Successfully built f5a6f0eca4fe 09:36:50 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 09:36:52 provisioning config files... 09:36:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8446706366785128990tmp [Pipeline] { [Pipeline] sh 09:36:52 + set +x 09:36:52 + curl -s https://codecov.io/bash 09:36:52 + bash -s -- 09:36:52 09:36:52 _____ _ 09:36:52 / ____| | | 09:36:52 | | ___ __| | ___ ___ _____ __ 09:36:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:36:52 | |___| (_) | (_| | __/ (_| (_) \ V / 09:36:52 \_____\___/ \__,_|\___|\___\___/ \_/ 09:36:52 Bash-20201009-048fee3 09:36:52 09:36:52 09:36:52 ==> Jenkins CI detected. 09:36:52 project root: . 09:36:52 --> token set from env 09:36:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:36:52 ==> Running gcov in . (disable via -X gcov) 09:36:52 ==> Python coveragepy not found 09:36:52 ==> Searching for coverage reports in: 09:36:52 + . 09:36:52 -> Found 1 reports 09:36:52 ==> Detecting git/mercurial file structure 09:36:52 ==> Reading reports 09:36:52 + ./coverage.out bytes=110398 09:36:52 ==> Appending adjustments 09:36:52 https://docs.codecov.io/docs/fixing-reports 09:36:53 + Found adjustments 09:36:53 ==> Gzipping contents 09:36:53 ==> Uploading reports 09:36:53 url: https://codecov.io 09:36:53 query: branch=PR-584&commit=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 09:36:53 -> Pinging Codecov 09:36:53 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=0c8cc0e2f4734dd7566114bf76689f33fe6a87f3&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 09:36:53 -> Uploading to 09:36:53 09:36:53 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:53 Dload Upload Total Spent Left Speed 09:36:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 09:36:53 X> Failed to upload 09:36:53 ==> Uploading to Codecov 09:36:53 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:53 Dload Upload Total Spent Left Speed 09:36:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19197 0 0 100 19087 0 30805 --:--:-- --:--:-- --:--:-- 30785 100 19197 100 110 100 19087 177 30794 --:--:-- --:--:-- --:--:-- 30785 09:36:54 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [Pipeline] } 09:36:54 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 09:36:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:36:57 ---> package-listing.sh 09:36:57 ++ facter osfamily 09:36:57 ++ tr '[:upper:]' '[:lower:]' 09:36:57 + OS_FAMILY=redhat 09:36:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 09:36:57 + START_PACKAGES=/tmp/packages_start.txt 09:36:57 + END_PACKAGES=/tmp/packages_end.txt 09:36:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:36:57 + PACKAGES=/tmp/packages_start.txt 09:36:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 09:36:57 + PACKAGES=/tmp/packages_end.txt 09:36:57 + case "${OS_FAMILY}" in 09:36:57 + rpm -qa 09:36:57 + sort 09:37:02 + '[' -f /tmp/packages_start.txt ']' 09:37:02 + '[' -f /tmp/packages_end.txt ']' 09:37:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:37:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 09:37:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 09:37:02 + 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 09:37:02 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 09:37:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:37:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:37:02 09:37:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:37:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:37:03 alpine: Pulling from edgex-lftools-log-publisher 09:37:03 df20fa9351a1: Pulling fs layer 09:37:03 36b3adc4ff6f: Pulling fs layer 09:37:03 8ad3a11d3b57: Pulling fs layer 09:37:03 46f8f816bc3b: Pulling fs layer 09:37:03 93b61091891f: Pulling fs layer 09:37:03 93b9cdb0e59b: Pulling fs layer 09:37:03 5e14af77c1be: Pulling fs layer 09:37:03 01666e4c0597: Pulling fs layer 09:37:03 aa168da1d23b: Pulling fs layer 09:37:03 93b9cdb0e59b: Waiting 09:37:03 5e14af77c1be: Waiting 09:37:03 46f8f816bc3b: Waiting 09:37:03 01666e4c0597: Waiting 09:37:03 93b61091891f: Waiting 09:37:03 aa168da1d23b: Waiting 09:37:03 36b3adc4ff6f: Verifying Checksum 09:37:03 36b3adc4ff6f: Download complete 09:37:03 46f8f816bc3b: Download complete 09:37:03 93b61091891f: Verifying Checksum 09:37:03 93b61091891f: Download complete 09:37:03 93b9cdb0e59b: Verifying Checksum 09:37:03 93b9cdb0e59b: Download complete 09:37:03 5e14af77c1be: Download complete 09:37:03 df20fa9351a1: Verifying Checksum 09:37:03 df20fa9351a1: Download complete 09:37:03 01666e4c0597: Verifying Checksum 09:37:03 01666e4c0597: Download complete 09:37:03 df20fa9351a1: Pull complete 09:37:04 36b3adc4ff6f: Pull complete 09:37:04 8ad3a11d3b57: Verifying Checksum 09:37:04 8ad3a11d3b57: Download complete 09:37:04 8ad3a11d3b57: Pull complete 09:37:05 46f8f816bc3b: Pull complete 09:37:05 93b61091891f: Pull complete 09:37:05 93b9cdb0e59b: Pull complete 09:37:05 5e14af77c1be: Pull complete 09:37:05 01666e4c0597: Pull complete 09:37:07 aa168da1d23b: Verifying Checksum 09:37:07 aa168da1d23b: Download complete 09:37:13 aa168da1d23b: Pull complete 09:37:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:37:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:37:13 prd-centos7-docker-4c-2g-5848 does not seem to be running inside a container 09:37:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:37:19 $ docker top 87afc0f6870a8c28e5341bb7e730d7a07fdf381a5d19efc071fa60a2aef00a3e -eo pid,comm [Pipeline] { [Pipeline] sh 09:37:20 + touch /tmp/pre-build-complete [Pipeline] sh 09:37:20 + mkdir -p /var/log/sa [Pipeline] sh 09:37:20 + ls /var/log/sa-host 09:37:20 + sadf -c /var/log/sa-host/sa05 09:37:20 file_magic: OK 09:37:20 HZ: Using current value: 100 09:37:20 file_header: OK 09:37:20 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 09:37:20 Statistics: 09:37:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:37:20 File successfully converted to sysstat format version 12.2.1 09:37:20 + sadf -c /var/log/sa-host/sa16 09:37:20 file_magic: OK 09:37:20 HZ: Using current value: 100 09:37:20 file_header: OK 09:37:20 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 09:37:20 Statistics: 09:37:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:37:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:37:21 provisioning config files... 09:37:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config2573421463097674016tmp [Pipeline] { [Pipeline] echo 09:37:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:37:21 ---> create-netrc.sh [Pipeline] } 09:37:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:37:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:37:21 ---> python-tools-install.sh [Pipeline] echo 09:37:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:37:22 ---> sudo-logs.sh 09:37:22 Archiving 'sudo' log.. [Pipeline] echo 09:37:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:37:22 ---> job-cost.sh 09:37:22 lf-activate-venv: SKIPPING 09:37:22 INFO: No Stack... 09:37:23 INFO: Retrieving Pricing Info for: v1-standard-2 09:37:24 INFO: Archiving Costs [Pipeline] echo 09:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:37:24 ---> logs-deploy.sh 09:37:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/25 09:37:24 INFO: archiving workspace using pattern(s): 09:37:26 Archives upload complete. 09:37:26 INFO: archiving logs to Nexus