Pull request #631 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6+6cec193abf44cabffe02bbcaff9748adb3f719d5 (c9b16cf2a15a2c1e5c0cf6e28d9992a1ce7bd296) 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-6234 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [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-631 # 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/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 Merge succeeded, producing 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c Checking out Revision 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c (PR-631) > git config core.sparsecheckout # timeout=10 > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c # timeout=10 Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:49:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:49:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:49:33 ========================================================= 07:49:33 EdgeX Global Pipelines Version Info 07:49:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:49:37 ------------------- 07:49:37 stable info: 07:49:37 ------------------- 07:49:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:37 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:49:37 Message: update stable to v1.0.144 07:49:37 ------------------- 07:49:37 experimental info: 07:49:37 ------------------- 07:49:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:37 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 07:49:37 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:49:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:49:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-631 [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-631 [Pipeline] echo 07:49:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-631 [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e1cc3a [Pipeline] echo 07:49:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:41 + git log --format=format:%s -1 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [Pipeline] echo 07:49:42 GIT_COMMIT: 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c, Commit Message: Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD [Pipeline] echo 07:49:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:49:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:43 07:49:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:49:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:44 latest: Pulling from edgex-devops/git-semver 07:49:44 31603596830f: Pulling fs layer 07:49:44 2a8b12db71e7: Pulling fs layer 07:49:44 6ca5941a6612: Pulling fs layer 07:49:44 ecc8261a40a4: Pulling fs layer 07:49:44 ecc8261a40a4: Waiting 07:49:44 2a8b12db71e7: Download complete 07:49:44 31603596830f: Verifying Checksum 07:49:44 31603596830f: Download complete 07:49:44 ecc8261a40a4: Verifying Checksum 07:49:44 ecc8261a40a4: Download complete 07:49:44 6ca5941a6612: Verifying Checksum 07:49:44 6ca5941a6612: Download complete 07:49:45 31603596830f: Pull complete 07:49:45 2a8b12db71e7: Pull complete 07:49:46 6ca5941a6612: Pull complete 07:49:47 ecc8261a40a4: Pull complete 07:49:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:49:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:49:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:49:48 prd-centos7-docker-4c-2g-6234 does not seem to be running inside a container 07:49:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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 07:49:51 $ docker top 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:51 [ssh-agent] Looking for ssh-agent implementation... 07:49:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:52 $ docker exec 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent 07:49:52 SSH_AUTH_SOCK=/tmp/ssh-fbzK9MzB5FJo/agent.11 07:49:52 SSH_AGENT_PID=16 07:49:52 Running ssh-add (command line suppressed) 07:49:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7074953603035226616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7074953603035226616.key) 07:49:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:53 + git tag --points-at HEAD [Pipeline] } 07:49:53 $ docker exec --env ******** --env ******** 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent -k 07:49:54 unset SSH_AUTH_SOCK; 07:49:54 unset SSH_AGENT_PID; 07:49:54 echo Agent pid 16 killed; 07:49:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:49:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:54 [ssh-agent] Looking for ssh-agent implementation... 07:49:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:54 $ docker exec 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent 07:49:54 SSH_AUTH_SOCK=/tmp/ssh-gXEvbocfUxop/agent.45 07:49:54 SSH_AGENT_PID=50 07:49:54 Running ssh-add (command line suppressed) 07:49:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_5964596861627525017.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_5964596861627525017.key) 07:49:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:55 + git semver init 07:49:55 # -> Open(): unable to determine branch for HEAD 07:49:55 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.git 07:49:55 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-631 07:49:55 # $SEMVER_REMOTE_NAME = origin 07:49:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:49:55 # $SEMVER_USER_NAME = edgex-jenkins 07:49:55 # $SEMVER_BRANCH = PR-631 07:49:55 # $SEMVER_TEMP = /tmp/semver-540595729 07:49:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:49:57 # '/tmp/semver-540595729' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver' 07:49:57 # -> Force: false 07:49:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver [Pipeline] } 07:49:57 $ docker exec --env ******** --env ******** 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent -k 07:49:57 unset SSH_AUTH_SOCK; 07:49:57 unset SSH_AGENT_PID; 07:49:57 echo Agent pid 50 killed; 07:49:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:58 + git semver [Pipeline] } 07:49:58 $ docker stop --time=1 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 07:50:00 $ docker rm -f 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:01 Stashed 1 file(s) [Pipeline] echo 07:50:01 [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 07:50:17 Still waiting to schedule task 07:50:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:50:17 Still waiting to schedule task 07:50:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:51:34 Running on prd-centos7-docker-4c-2g-6241 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws 07:51:34 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 07:51:37 using credential edgex-jenkins-ssh 07:51:37 Cloning the remote Git repository 07:51:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:51:37 > git init /w/workspace/device-sdk-go/4 # timeout=10 07:51:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:51:37 > git --version # timeout=10 07:51:37 > git --version # 'git version 2.16.5' 07:51:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:51:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:51:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:51:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:51:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:39 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 07:51:39 Merge succeeded, producing 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 07:51:39 Checking out Revision 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 (PR-631) 07:51:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:51:39 > git config core.sparsecheckout # timeout=10 07:51:39 > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 07:51:39 > git remote # timeout=10 07:51:39 > git config --get remote.origin.url # timeout=10 07:51:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:51:39 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 07:51:39 > git rev-parse HEAD^{commit} # timeout=10 07:51:39 > git config core.sparsecheckout # timeout=10 07:51:39 > git checkout -f 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 # timeout=10 07:51:42 Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" 07:51:42 > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:51:43 ========================================================= 07:51:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:51:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:51:44 + 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 . 07:51:45 Sending build context to Docker daemon 2.32MB 07:51:45 Step 1/8 : ARG BASE=golang:1.15-alpine 07:51:45 Step 2/8 : FROM ${BASE} 07:51:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:51:45 df20fa9351a1: Pulling fs layer 07:51:45 ed8968b2872e: Pulling fs layer 07:51:45 a92cc7c5fd73: Pulling fs layer 07:51:45 e871e8e8d7a9: Pulling fs layer 07:51:45 e73272ec9a57: Pulling fs layer 07:51:45 1e910a182e73: Pulling fs layer 07:51:45 4e634b169226: Pulling fs layer 07:51:45 e73272ec9a57: Waiting 07:51:45 4e634b169226: Waiting 07:51:45 1e910a182e73: Waiting 07:51:45 e871e8e8d7a9: Waiting 07:51:45 a92cc7c5fd73: Verifying Checksum 07:51:45 a92cc7c5fd73: Download complete 07:51:45 ed8968b2872e: Verifying Checksum 07:51:45 ed8968b2872e: Download complete 07:51:45 e73272ec9a57: Verifying Checksum 07:51:45 e73272ec9a57: Download complete 07:51:45 1e910a182e73: Verifying Checksum 07:51:45 1e910a182e73: Download complete 07:51:45 df20fa9351a1: Verifying Checksum 07:51:45 df20fa9351a1: Download complete 07:51:45 df20fa9351a1: Pull complete 07:51:46 ed8968b2872e: Pull complete 07:51:46 a92cc7c5fd73: Pull complete 07:51:47 4e634b169226: Verifying Checksum 07:51:47 4e634b169226: Download complete 07:51:48 e871e8e8d7a9: Verifying Checksum 07:51:48 e871e8e8d7a9: Download complete 07:51:53 e871e8e8d7a9: Pull complete 07:51:53 e73272ec9a57: Pull complete 07:51:53 1e910a182e73: Pull complete 07:51:57 4e634b169226: Pull complete 07:51:57 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:51:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:51:57 ---> f7629b54cfaa 07:51:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:51:57 ---> Running in 54375a82ac58 07:51:58 Removing intermediate container 54375a82ac58 07:51:58 ---> fb0af30196bf 07:51:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:51:58 ---> Running in 8d64a582c802 07:52:00 Removing intermediate container 8d64a582c802 07:52:00 ---> 4227534051b7 07:52:00 Step 5/8 : RUN apk add --no-cache make git 07:52:00 ---> Running in 8aafaa5cdbe3 07:52:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:52:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:52:02 OK: 166 MiB in 39 packages 07:52:02 Removing intermediate container 8aafaa5cdbe3 07:52:02 ---> fc646824bcde 07:52:02 Step 6/8 : WORKDIR /device-sdk-go 07:52:03 ---> Running in d2643935e1d3 07:52:03 Removing intermediate container d2643935e1d3 07:52:03 ---> 2a374c089262 07:52:03 Step 7/8 : COPY . . 07:52:04 ---> 48296cf3413a 07:52:04 Step 8/8 : RUN go mod download 07:52:04 ---> Running in 77b5ffb88d42 07:52:22 Removing intermediate container 77b5ffb88d42 07:52:22 ---> c08faa30f138 07:52:22 Successfully built c08faa30f138 07:52:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:52:23 + docker inspect -f . ci-base-image-x86_64 07:52:23 . [Pipeline] withDockerContainer 07:52:23 prd-centos7-docker-4c-2g-6241 does not seem to be running inside a container 07:52:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:52:24 $ docker top 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:25 + go version 07:52:25 go version go1.15.2 linux/amd64 [Pipeline] } 07:52:25 $ docker stop --time=1 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af 07:52:26 $ docker rm -f 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:52:27 + docker inspect -f . ci-base-image-x86_64 07:52:27 . [Pipeline] withDockerContainer 07:52:27 prd-centos7-docker-4c-2g-6241 does not seem to be running inside a container 07:52:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:52:28 $ docker top 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:29 + make test 07:52:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:52:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:52:50 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:52:50 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:52:50 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:52:50 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements 07:52:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6243 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws 07:52:51 Running in /w/workspace/device-sdk-go/4 [Pipeline] { 07:52:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements [Pipeline] checkout 07:52:56 using credential edgex-jenkins-ssh 07:52:56 Cloning the remote Git repository 07:52:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:52:57 > git init /w/workspace/device-sdk-go/4 # timeout=10 07:52:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:57 > git --version # timeout=10 07:52:57 > git --version # 'git version 2.17.1' 07:52:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:58 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 07:52:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:52:58 > git config core.sparsecheckout # timeout=10 07:52:58 > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 07:52:59 > git remote # timeout=10 07:52:59 > git config --get remote.origin.url # timeout=10 07:52:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:59 Merge succeeded, producing d3857d03baecc0df3db07a0e018b02733e94f0ca 07:52:59 Checking out Revision d3857d03baecc0df3db07a0e018b02733e94f0ca (PR-631) 07:52:59 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 07:52:59 > git rev-parse HEAD^{commit} # timeout=10 07:52:59 > git config core.sparsecheckout # timeout=10 07:52:59 > git checkout -f d3857d03baecc0df3db07a0e018b02733e94f0ca # timeout=10 07:53:03 Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" 07:53:03 > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:53:04 ========================================================= 07:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:53:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:53:05 + 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 . 07:53:06 Sending build context to Docker daemon 2.32MB 07:53:06 Step 1/8 : ARG BASE=golang:1.15-alpine 07:53:06 Step 2/8 : FROM ${BASE} 07:53:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:53:07 b538f80385f9: Pulling fs layer 07:53:07 74f711af9a0d: Pulling fs layer 07:53:07 99f96fe45779: Pulling fs layer 07:53:07 8529a6b9a6be: Pulling fs layer 07:53:07 45590311c82a: Pulling fs layer 07:53:07 69ca0ff8b7b3: Pulling fs layer 07:53:07 209524e5b208: Pulling fs layer 07:53:07 8529a6b9a6be: Waiting 07:53:07 45590311c82a: Waiting 07:53:07 69ca0ff8b7b3: Waiting 07:53:07 209524e5b208: Waiting 07:53:07 99f96fe45779: Verifying Checksum 07:53:07 99f96fe45779: Download complete 07:53:07 74f711af9a0d: Verifying Checksum 07:53:07 74f711af9a0d: Download complete 07:53:07 45590311c82a: Download complete 07:53:07 69ca0ff8b7b3: Verifying Checksum 07:53:07 69ca0ff8b7b3: Download complete 07:53:07 b538f80385f9: Verifying Checksum 07:53:07 b538f80385f9: Download complete 07:53:08 b538f80385f9: Pull complete 07:53:08 74f711af9a0d: Pull complete 07:53:08 99f96fe45779: Pull complete 07:53:09 209524e5b208: Verifying Checksum 07:53:09 209524e5b208: Download complete 07:53:10 8529a6b9a6be: Verifying Checksum 07:53:10 8529a6b9a6be: Download complete 07:53:21 8529a6b9a6be: Pull complete 07:53:21 45590311c82a: Pull complete 07:53:21 69ca0ff8b7b3: Pull complete 07:53:23 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements 07:53:23 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:53:23 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 42.6% of statements 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:53:23 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 68.9% of statements 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:53:23 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:53:23 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.286s coverage: 68.9% of statements 07:53:23 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:53:23 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:53:23 GO111MODULE=on go vet ./... 07:53:24 209524e5b208: Pull complete 07:53:24 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:53:24 ---> 5bddaf1c2fca 07:53:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:27 ---> Running in 780749b035c4 07:53:27 Removing intermediate container 780749b035c4 07:53:27 ---> 7af17b133b83 07:53:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:27 ---> Running in 4e7d982330d6 07:53:30 gofmt -l . 07:53:30 [ "`gofmt -l .`" = "" ] 07:53:30 ./bin/test-attribution-txt.sh 07:53:30 Removing intermediate container 4e7d982330d6 07:53:30 ---> b8b1239cbe39 07:53:30 Step 5/8 : RUN apk add --no-cache make git 07:53:30 ---> Running in 3f4d614e7c61 07:53:30 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:53:31 Stashed 1 file(s) [Pipeline] } 07:53:31 $ docker stop --time=1 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 07:53:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:53:33 $ docker rm -f 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 07:53:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:53:35 + ls -al . 07:53:35 total 188 07:53:35 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:53 . 07:53:35 drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 07:51 .. 07:53:35 drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:51 bin 07:53:35 -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:53 coverage.out 07:53:35 -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:51 Dockerfile.build 07:53:35 -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:51 .dockerignore 07:53:35 drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:51 example 07:53:35 drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:51 .git 07:53:35 drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:51 .github 07:53:35 -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:51 .gitignore 07:53:35 -rw-r--r--. 1 jenkins jenkins 518 Oct 19 07:53 go.mod 07:53:35 -rw-r--r--. 1 jenkins jenkins 13739 Oct 19 07:53 go.sum 07:53:35 drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:51 internal 07:53:35 -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:51 Jenkinsfile 07:53:35 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:51 LICENSE 07:53:35 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:51 Makefile 07:53:35 drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:51 openapi 07:53:35 drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:51 pkg 07:53:35 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:51 README.md 07:53:35 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:51 RELEASE-NOTES.txt 07:53:35 drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:51 snap 07:53:35 -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:50 VERSION 07:53:35 -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:51 version.go [Pipeline] isUnix [Pipeline] sh 07:53:35 + 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=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c --label arch=amd64 --label version=0.0.0 . 07:53:36 Sending build context to Docker daemon 2.431MB 07:53:36 Step 1/24 : ARG BASE=golang:1.15-alpine 07:53:36 Step 2/24 : FROM ${BASE} AS builder 07:53:36 ---> c08faa30f138 07:53:36 Step 3/24 : ARG MAKE='make build' 07:53:36 ---> Running in 70279c04203f 07:53:36 Removing intermediate container 70279c04203f 07:53:36 ---> 94f0659897ec 07:53:36 Step 4/24 : WORKDIR /device-sdk-go 07:53:36 ---> Running in e6ec0e491782 07:53:37 Removing intermediate container e6ec0e491782 07:53:37 ---> b08c0dd9670a 07:53:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:37 ---> Running in aebeb706afc2 07:53:37 Removing intermediate container aebeb706afc2 07:53:37 ---> d25bc8bf8061 07:53:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:37 ---> Running in 8afcf62c38fe 07:53:37 OK: 142 MiB in 39 packages 07:53:38 Removing intermediate container 8afcf62c38fe 07:53:38 ---> c255c1e522eb 07:53:38 Step 7/24 : RUN apk add --update --no-cache make git 07:53:38 ---> Running in d03273bb493e 07:53:38 Removing intermediate container 3f4d614e7c61 07:53:38 ---> b1831c7a8362 07:53:38 Step 6/8 : WORKDIR /device-sdk-go 07:53:38 ---> Running in 7900c5ef3a15 07:53:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:53:39 Removing intermediate container 7900c5ef3a15 07:53:39 ---> fa4f4103f6a5 07:53:39 Step 7/8 : COPY . . 07:53:40 ---> 0db2e8a48be0 07:53:40 Step 8/8 : RUN go mod download 07:53:40 ---> Running in 8ca6e65a894f 07:53:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:54:01 OK: 166 MiB in 39 packages 07:54:01 Removing intermediate container d03273bb493e 07:54:01 ---> 821399615ba9 07:54:01 Step 8/24 : COPY . . 07:54:01 ---> 764cb6352705 07:54:01 Step 9/24 : RUN ${MAKE} 07:54:01 ---> Running in feea7878731d 07:54:01 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 07:54:07 Removing intermediate container 8ca6e65a894f 07:54:07 ---> 236dc8d836ed 07:54:07 Successfully built 236dc8d836ed 07:54:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:54:08 + docker inspect -f . ci-base-image-arm64 07:54:08 . [Pipeline] withDockerContainer 07:54:08 prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 07:54:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 07:54:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:54:10 $ docker top a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:11 Removing intermediate container feea7878731d 07:54:11 ---> 9bd7515424cb 07:54:11 Step 10/24 : FROM scratch 07:54:11 ---> 07:54:11 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:54:11 ---> Running in 07f7361a41ad 07:54:11 Removing intermediate container 07f7361a41ad 07:54:11 ---> 14841a8ce0ea 07:54:11 Step 12/24 : ENV APP_PORT=49990 07:54:11 ---> Running in 2ae0b941f71b 07:54:11 + go version 07:54:11 go version go1.15.2 linux/arm64 [Pipeline] } 07:54:11 $ docker stop --time=1 a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 07:54:11 Removing intermediate container 2ae0b941f71b 07:54:11 ---> fe1fa8101e30 07:54:11 Step 13/24 : EXPOSE $APP_PORT 07:54:11 ---> Running in b31084550dfc 07:54:12 Removing intermediate container b31084550dfc 07:54:12 ---> 4968f6a1594a 07:54:12 Step 14/24 : WORKDIR / 07:54:12 ---> Running in ba9d545ddd1f 07:54:12 Removing intermediate container ba9d545ddd1f 07:54:12 ---> 5dbaa244ba9a 07:54:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:54:12 ---> 12eb367ca775 07:54:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:54:13 ---> 9e8490e6a657 07:54:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:54:13 ---> 6d7381200b2a 07:54:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:54:13 ---> 22b2c9aa91bc 07:54:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:54:13 $ docker rm -f a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 07:54:13 ---> 128687b4e7e3 07:54:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:54:13 ---> Running in 6243c32e21dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 07:54:14 Removing intermediate container 6243c32e21dd 07:54:14 ---> 9ad2f49193dc 07:54:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:54:14 ---> Running in 378dee5d8312 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 07:54:14 Removing intermediate container 378dee5d8312 07:54:14 ---> 2757e08ef050 07:54:14 Step 22/24 : LABEL arch=amd64 07:54:14 ---> Running in 1426fa9505f8 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:54:14 Removing intermediate container 1426fa9505f8 07:54:14 ---> 68240f6c372d 07:54:14 Step 23/24 : LABEL git_sha=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c 07:54:14 ---> Running in 2b5d6f11bbda 07:54:14 + docker inspect -f . ci-base-image-arm64 07:54:14 . [Pipeline] withDockerContainer 07:54:14 Removing intermediate container 2b5d6f11bbda 07:54:14 ---> 0035e15d8fd7 07:54:14 Step 24/24 : LABEL version=0.0.0 07:54:14 ---> Running in e6661ddc8500 07:54:14 Removing intermediate container e6661ddc8500 07:54:14 ---> ef85c5b9ff24 07:54:14 [Warning] One or more build-args [ARCH] were not consumed 07:54:14 prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container 07:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 07:54:15 Successfully built ef85c5b9ff24 07:54:15 Successfully tagged docker-device-sdk-simple:latest 07:54:16 $ docker top 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 07:54:18 + make test 07:54:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:54:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:55:19 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:55:19 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:55:19 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:55:21 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.117s coverage: 21.6% of statements 07:55:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.246s coverage: 97.1% of statements 07:55:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements 07:55:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:55:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.608s coverage: 42.6% of statements 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:55:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.848s coverage: 68.9% of statements 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:55:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.169s coverage: 52.6% of statements 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:55:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.003s coverage: 68.9% of statements 07:55:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 07:55:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:55:53 GO111MODULE=on go vet ./... 07:56:25 gofmt -l . 07:56:25 [ "`gofmt -l .`" = "" ] 07:56:25 ./bin/test-attribution-txt.sh 07:56:25 ./bin/test-go-mod-tidy.sh [Pipeline] stash 07:56:26 Warning: overwriting stash ‘coverage-report’ 07:56:26 Stashed 1 file(s) [Pipeline] } 07:56:26 $ docker stop --time=1 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 07:56:29 $ docker rm -f 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:31 + ls -al . 07:56:31 total 224 07:56:31 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:56 . 07:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 .. 07:56:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:52 .dockerignore 07:56:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:53 .git 07:56:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:52 .github 07:56:31 -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:52 .gitignore 07:56:31 -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:52 Dockerfile.build 07:56:31 -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:52 Jenkinsfile 07:56:31 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:52 LICENSE 07:56:31 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:52 Makefile 07:56:31 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:52 README.md 07:56:31 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:52 RELEASE-NOTES.txt 07:56:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:50 VERSION 07:56:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:52 bin 07:56:31 -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:55 coverage.out 07:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 example 07:56:31 -rw-r--r-- 1 jenkins jenkins 518 Oct 19 07:56 go.mod 07:56:31 -rw-r--r-- 1 jenkins jenkins 13739 Oct 19 07:56 go.sum 07:56:31 drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:52 internal 07:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 openapi 07:56:31 drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:52 pkg 07:56:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 snap 07:56:31 -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:52 version.go [Pipeline] isUnix [Pipeline] sh 07:56:31 + 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=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c --label arch=arm64 --label version=0.0.0 . 07:56:32 Sending build context to Docker daemon 2.431MB 07:56:32 Step 1/24 : ARG BASE=golang:1.15-alpine 07:56:32 Step 2/24 : FROM ${BASE} AS builder 07:56:32 ---> 236dc8d836ed 07:56:32 Step 3/24 : ARG MAKE='make build' 07:56:32 ---> Running in 0764debadac2 07:56:32 Removing intermediate container 0764debadac2 07:56:32 ---> dc2a7b063c6c 07:56:32 Step 4/24 : WORKDIR /device-sdk-go 07:56:32 ---> Running in d03bab067603 07:56:33 Removing intermediate container d03bab067603 07:56:33 ---> 22ab89e3a467 07:56:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:33 ---> Running in c1f326bcab4f 07:56:33 Removing intermediate container c1f326bcab4f 07:56:33 ---> 3eae64eedc2c 07:56:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:34 ---> Running in fbda63652784 07:56:36 Removing intermediate container fbda63652784 07:56:36 ---> 508b592b4d40 07:56:36 Step 7/24 : RUN apk add --update --no-cache make git 07:56:36 ---> Running in d0ce29ee2749 07:56:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:56:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:56:40 OK: 142 MiB in 39 packages 07:56:41 Removing intermediate container d0ce29ee2749 07:56:41 ---> f156885709fa 07:56:41 Step 8/24 : COPY . . 07:56:43 ---> 10a2e74156c7 07:56:43 Step 9/24 : RUN ${MAKE} 07:56:43 ---> Running in 8ef14cc32954 07:56:44 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 07:57:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:57:16 Removing intermediate container 8ef14cc32954 07:57:16 ---> f79482171e66 07:57:16 Step 10/24 : FROM scratch 07:57:16 ---> 07:57:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:57:16 ---> Running in 5ee3ce67051a 07:57:16 Removing intermediate container 5ee3ce67051a 07:57:16 ---> d865530427c3 07:57:16 Step 12/24 : ENV APP_PORT=49990 07:57:16 ---> Running in aecf2b94b6a7 07:57:16 Removing intermediate container aecf2b94b6a7 07:57:16 ---> 789536a2ea18 07:57:16 Step 13/24 : EXPOSE $APP_PORT 07:57:16 ---> Running in 048dcd39059b 07:57:16 Removing intermediate container 048dcd39059b 07:57:16 ---> 7bbb2e743dcc 07:57:16 Step 14/24 : WORKDIR / 07:57:16 ---> Running in 3cb5ee11c431 07:57:16 Removing intermediate container 3cb5ee11c431 07:57:16 ---> d492fa9ca52e 07:57:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:57:17 ---> eb245a922e53 07:57:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:57:18 ---> f5369d1f5659 07:57:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:57:19 ---> 66a57e5c7f93 07:57:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:57:19 ---> dd9a4ab527b5 07:57:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:57:20 ---> 1e444b12dfb5 07:57:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:57:20 ---> Running in 2aeab7740fe0 07:57:21 Removing intermediate container 2aeab7740fe0 07:57:21 ---> df0d2d1a2291 07:57:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:57:21 ---> Running in 8ca1f7157b91 07:57:21 Removing intermediate container 8ca1f7157b91 07:57:21 ---> 099397f11d6c 07:57:21 Step 22/24 : LABEL arch=arm64 07:57:21 ---> Running in 905eb81458d0 07:57:22 Removing intermediate container 905eb81458d0 07:57:22 ---> ddfb5c30cd83 07:57:22 Step 23/24 : LABEL git_sha=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c 07:57:22 ---> Running in cfbaed2e01c4 07:57:22 Removing intermediate container cfbaed2e01c4 07:57:22 ---> 1c12338ab170 07:57:22 Step 24/24 : LABEL version=0.0.0 07:57:22 ---> Running in 18241eb6dda4 07:57:23 Removing intermediate container 18241eb6dda4 07:57:23 ---> d33dcaa03718 07:57:23 [Warning] One or more build-args [ARCH] were not consumed 07:57:23 Successfully built d33dcaa03718 07:57:23 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 07:57:25 provisioning config files... 07:57:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config5743868566573757833tmp [Pipeline] { [Pipeline] sh 07:57:26 + set +x 07:57:26 + curl -s https://codecov.io/bash 07:57:26 + bash -s -- 07:57:26 07:57:26 _____ _ 07:57:26 / ____| | | 07:57:26 | | ___ __| | ___ ___ _____ __ 07:57:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:57:26 | |___| (_) | (_| | __/ (_| (_) \ V / 07:57:26 \_____\___/ \__,_|\___|\___\___/ \_/ 07:57:26 Bash-20201009-048fee3 07:57:26 07:57:26 07:57:26 ==> Jenkins CI detected. 07:57:26 project root: . 07:57:26 Fixing merge commit SHA 07:57:26 --> token set from env 07:57:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:57:26 ==> Running gcov in . (disable via -X gcov) 07:57:26 ==> Python coveragepy not found 07:57:26 ==> Searching for coverage reports in: 07:57:26 + . 07:57:26 -> Found 1 reports 07:57:26 ==> Detecting git/mercurial file structure 07:57:26 ==> Reading reports 07:57:26 + ./coverage.out bytes=110398 07:57:26 ==> Appending adjustments 07:57:26 https://docs.codecov.io/docs/fixing-reports 07:57:27 + Found adjustments 07:57:27 ==> Gzipping contents 07:57:27 ==> Uploading reports 07:57:27 url: https://codecov.io 07:57:27 query: branch=PR-631&commit=6cec193abf44cabffe02bbcaff9748adb3f719d5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= 07:57:27 -> Pinging Codecov 07:57:27 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-631&commit=6cec193abf44cabffe02bbcaff9748adb3f719d5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= 07:57:27 -> Uploading to 07:57:27 07:57:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:57:27 Dload Upload Total Spent Left Speed 07:57:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:57:27 X> Failed to upload 07:57:27 ==> Uploading to Codecov 07:57:27 % Total % Received % Xferd Average Speed Time Time Time Current 07:57:27 Dload Upload Total Spent Left Speed 07:57:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19145 100 110 100 19035 149 25832 --:--:-- --:--:-- --:--:-- 25827 07:57:28 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6cec193abf44cabffe02bbcaff9748adb3f719d5 [Pipeline] } 07:57:28 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 07:57:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:57:31 ---> package-listing.sh 07:57:31 ++ facter osfamily 07:57:31 ++ tr '[:upper:]' '[:lower:]' 07:57:31 + OS_FAMILY=redhat 07:57:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-631 07:57:31 + START_PACKAGES=/tmp/packages_start.txt 07:57:31 + END_PACKAGES=/tmp/packages_end.txt 07:57:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:57:31 + PACKAGES=/tmp/packages_start.txt 07:57:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' 07:57:31 + PACKAGES=/tmp/packages_end.txt 07:57:31 + case "${OS_FAMILY}" in 07:57:31 + rpm -qa 07:57:31 + sort 07:57:36 + '[' -f /tmp/packages_start.txt ']' 07:57:36 + '[' -f /tmp/packages_end.txt ']' 07:57:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' 07:57:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ 07:57:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [Pipeline] echo 07:57:36 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-631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:57:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:37 07:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:37 alpine: Pulling from edgex-lftools-log-publisher 07:57:37 df20fa9351a1: Pulling fs layer 07:57:37 36b3adc4ff6f: Pulling fs layer 07:57:37 8ad3a11d3b57: Pulling fs layer 07:57:37 46f8f816bc3b: Pulling fs layer 07:57:37 93b61091891f: Pulling fs layer 07:57:37 93b9cdb0e59b: Pulling fs layer 07:57:37 5e14af77c1be: Pulling fs layer 07:57:37 01666e4c0597: Pulling fs layer 07:57:37 aa168da1d23b: Pulling fs layer 07:57:37 93b9cdb0e59b: Waiting 07:57:37 5e14af77c1be: Waiting 07:57:37 46f8f816bc3b: Waiting 07:57:37 01666e4c0597: Waiting 07:57:37 93b61091891f: Waiting 07:57:37 aa168da1d23b: Waiting 07:57:37 36b3adc4ff6f: Verifying Checksum 07:57:37 36b3adc4ff6f: Download complete 07:57:37 46f8f816bc3b: Verifying Checksum 07:57:37 46f8f816bc3b: Download complete 07:57:37 df20fa9351a1: Verifying Checksum 07:57:37 93b9cdb0e59b: Verifying Checksum 07:57:37 93b9cdb0e59b: Download complete 07:57:37 5e14af77c1be: Verifying Checksum 07:57:37 5e14af77c1be: Download complete 07:57:37 93b61091891f: Verifying Checksum 07:57:37 93b61091891f: Download complete 07:57:37 01666e4c0597: Verifying Checksum 07:57:37 01666e4c0597: Download complete 07:57:38 df20fa9351a1: Pull complete 07:57:38 36b3adc4ff6f: Pull complete 07:57:39 8ad3a11d3b57: Verifying Checksum 07:57:39 8ad3a11d3b57: Download complete 07:57:40 8ad3a11d3b57: Pull complete 07:57:41 46f8f816bc3b: Pull complete 07:57:42 93b61091891f: Pull complete 07:57:42 93b9cdb0e59b: Pull complete 07:57:42 5e14af77c1be: Pull complete 07:57:42 01666e4c0597: Pull complete 07:57:43 aa168da1d23b: Verifying Checksum 07:57:43 aa168da1d23b: Download complete 07:57:53 aa168da1d23b: Pull complete 07:57:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:57:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:57:54 prd-centos7-docker-4c-2g-6234 does not seem to be running inside a container 07:57:54 $ 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-631/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-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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 07:58:02 $ docker top 5bae206b98d47dd0f285c5831821d503b1bda228b721a04b0c3938723aa458af -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:03 + touch /tmp/pre-build-complete [Pipeline] sh 07:58:03 + mkdir -p /var/log/sa [Pipeline] sh 07:58:04 + ls /var/log/sa-host 07:58:04 + sadf -c /var/log/sa-host/sa05 07:58:04 file_magic: OK 07:58:04 HZ: Using current value: 100 07:58:04 file_header: OK 07:58:04 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 07:58:04 Statistics: 07:58:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:58:04 File successfully converted to sysstat format version 12.2.1 07:58:04 + sadf -c /var/log/sa-host/sa19 07:58:04 file_magic: OK 07:58:04 HZ: Using current value: 100 07:58:04 file_header: OK 07:58:04 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 07:58:04 Statistics: 07:58:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:58:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:04 provisioning config files... 07:58:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config4974347985045727759tmp [Pipeline] { [Pipeline] echo 07:58:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:58:04 ---> create-netrc.sh [Pipeline] } 07:58:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:58:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:58:05 ---> python-tools-install.sh [Pipeline] echo 07:58:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:58:05 ---> sudo-logs.sh 07:58:05 Archiving 'sudo' log.. [Pipeline] echo 07:58:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:58:06 ---> job-cost.sh 07:58:06 lf-activate-venv: SKIPPING 07:58:06 INFO: No Stack... 07:58:08 INFO: Retrieving Pricing Info for: v1-standard-2 07:58:09 INFO: Archiving Costs [Pipeline] echo 07:58:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:58:09 ---> logs-deploy.sh 07:58:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-631/4 07:58:09 INFO: archiving workspace using pattern(s): 07:58:11 Archives upload complete. 07:58:11 INFO: archiving logs to Nexus