Pull request #633 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fde61b5461e93a50f675095de5db717e7afe971a+6cec193abf44cabffe02bbcaff9748adb3f719d5 (e3031e6e91049b5438f3d27b43cb835111535d6d) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-633/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-633/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 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-6878 in /w/workspace/dgexfoundry_device-sdk-go_PR-633 [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-633 # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit fde61b5461e93a50f675095de5db717e7afe971a Merge succeeded, producing fde61b5461e93a50f675095de5db717e7afe971a Checking out Revision fde61b5461e93a50f675095de5db717e7afe971a (PR-633) > 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/633/head:refs/remotes/origin/PR-633 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fde61b5461e93a50f675095de5db717e7afe971a # 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 fde61b5461e93a50f675095de5db717e7afe971a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:23 ========================================================= 05:45:23 EdgeX Global Pipelines Version Info 05:45:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:25 ------------------- 05:45:25 stable info: 05:45:25 ------------------- 05:45:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:25 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 05:45:25 Message: update stable to v1.0.144 05:45:26 ------------------- 05:45:26 experimental info: 05:45:26 ------------------- 05:45:26 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:26 Commit SHA: c640cc8e0f176a0a86b153ebfcb15f3e2f33f7bd 05:45:26 Message: update experimental to v1.0.145 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 05:45:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:45:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:45:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-633 [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-633 [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-633 [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fde61b5461e93a50f675095de5db717e7afe971a [Pipeline] echo 05:45:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fde61b5 [Pipeline] echo 05:45:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:31 + git log --format=format:%s -1 fde61b5461e93a50f675095de5db717e7afe971a [Pipeline] echo 05:45:31 GIT_COMMIT: fde61b5461e93a50f675095de5db717e7afe971a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 05:45:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:45:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:33 05:45:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:45:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:33 latest: Pulling from edgex-devops/git-semver 05:45:33 31603596830f: Pulling fs layer 05:45:33 2a8b12db71e7: Pulling fs layer 05:45:33 6ca5941a6612: Pulling fs layer 05:45:33 ecc8261a40a4: Pulling fs layer 05:45:33 ecc8261a40a4: Waiting 05:45:33 2a8b12db71e7: Download complete 05:45:34 31603596830f: Verifying Checksum 05:45:34 31603596830f: Download complete 05:45:34 ecc8261a40a4: Verifying Checksum 05:45:34 ecc8261a40a4: Download complete 05:45:34 6ca5941a6612: Verifying Checksum 05:45:34 6ca5941a6612: Download complete 05:45:34 31603596830f: Pull complete 05:45:34 2a8b12db71e7: Pull complete 05:45:35 6ca5941a6612: Pull complete 05:45:35 ecc8261a40a4: Pull complete 05:45:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:45:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:45:35 prd-centos7-docker-4c-2g-6878 does not seem to be running inside a container 05:45:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-633 -v /w/workspace/dgexfoundry_device-sdk-go_PR-633:/w/workspace/dgexfoundry_device-sdk-go_PR-633:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-633@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:45:37 $ docker top d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:37 [ssh-agent] Looking for ssh-agent implementation... 05:45:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:38 $ docker exec d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f ssh-agent 05:45:38 SSH_AUTH_SOCK=/tmp/ssh-5tFc3qp2Am9s/agent.11 05:45:38 SSH_AGENT_PID=16 05:45:38 Running ssh-add (command line suppressed) 05:45:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/private_key_606035169509161632.key (/w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/private_key_606035169509161632.key) 05:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:38 + git tag --points-at HEAD [Pipeline] } 05:45:38 $ docker exec --env ******** --env ******** d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f ssh-agent -k 05:45:39 unset SSH_AUTH_SOCK; 05:45:39 unset SSH_AGENT_PID; 05:45:39 echo Agent pid 16 killed; 05:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:39 [ssh-agent] Looking for ssh-agent implementation... 05:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:39 $ docker exec d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f ssh-agent 05:45:39 SSH_AUTH_SOCK=/tmp/ssh-HFk0q7sPJATx/agent.45 05:45:39 SSH_AGENT_PID=51 05:45:39 Running ssh-add (command line suppressed) 05:45:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/private_key_4930150699022322591.key (/w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/private_key_4930150699022322591.key) 05:45:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:40 + git semver init 05:45:40 # -> Open(): unable to determine branch for HEAD 05:45:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-633/.git 05:45:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-633 05:45:40 # $SEMVER_REMOTE_NAME = origin 05:45:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:45:40 # $SEMVER_USER_NAME = edgex-jenkins 05:45:40 # $SEMVER_BRANCH = PR-633 05:45:40 # $SEMVER_TEMP = /tmp/semver-384610723 05:45:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:45:40 # '/tmp/semver-384610723' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-633/.semver' 05:45:40 # -> Force: false 05:45:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-633/.semver [Pipeline] } 05:45:40 $ docker exec --env ******** --env ******** d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f ssh-agent -k 05:45:40 unset SSH_AUTH_SOCK; 05:45:40 unset SSH_AGENT_PID; 05:45:40 echo Agent pid 51 killed; 05:45:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:41 + git semver [Pipeline] } 05:45:41 $ docker stop --time=1 d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f 05:45:43 $ docker rm -f d18ccdd022d3826dc79980f908d9a460bbbdfaa8bd8cd6dc929ae0409bf9758f [Pipeline] // withDockerContainer [Pipeline] sh 05:45:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:45:44 Stashed 1 file(s) [Pipeline] echo 05:45:44 [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 05:46:00 Still waiting to schedule task 05:46:00 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6873’ is offline; ‘prd-centos7-docker-4c-2g-6879’ is offline; ‘prd-centos7-docker-8c-8g-6877’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’ 05:46:00 Still waiting to schedule task 05:46:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:47:18 Running on prd-centos7-docker-4c-2g-6881 in /w/workspace/dgexfoundry_device-sdk-go_PR-633 [Pipeline] { [Pipeline] ws 05:47:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:47:21 using credential edgex-jenkins-ssh 05:47:21 Cloning the remote Git repository 05:47:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:47:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:47:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:21 > git --version # timeout=10 05:47:21 > git --version # 'git version 2.16.5' 05:47:21 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:47:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:47:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:47:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/633/head:refs/remotes/origin/PR-633 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:47:22 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit fde61b5461e93a50f675095de5db717e7afe971a 05:47:22 Merge succeeded, producing fde61b5461e93a50f675095de5db717e7afe971a 05:47:22 Checking out Revision fde61b5461e93a50f675095de5db717e7afe971a (PR-633) 05:47:22 > git config core.sparsecheckout # timeout=10 05:47:22 > git checkout -f fde61b5461e93a50f675095de5db717e7afe971a # timeout=10 05:47:22 > git remote # timeout=10 05:47:22 > git config --get remote.origin.url # timeout=10 05:47:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:47:22 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 05:47:22 > git rev-parse HEAD^{commit} # timeout=10 05:47:22 > git config core.sparsecheckout # timeout=10 05:47:22 > git checkout -f fde61b5461e93a50f675095de5db717e7afe971a # timeout=10 05:47:26 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 05:47:26 > git --version # timeout=10 05:47:26 > git --version # 'git version 2.16.5' 05:47:26 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 05:47:27 ========================================================= 05:47:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:47:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:47:28 + 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 . 05:47:28 Sending build context to Docker daemon 2.319MB 05:47:28 Step 1/8 : ARG BASE=golang:1.15-alpine 05:47:28 Step 2/8 : FROM ${BASE} 05:47:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:47:28 df20fa9351a1: Pulling fs layer 05:47:28 ed8968b2872e: Pulling fs layer 05:47:28 a92cc7c5fd73: Pulling fs layer 05:47:28 e871e8e8d7a9: Pulling fs layer 05:47:28 e73272ec9a57: Pulling fs layer 05:47:28 1e910a182e73: Pulling fs layer 05:47:28 4e634b169226: Pulling fs layer 05:47:28 e73272ec9a57: Waiting 05:47:28 1e910a182e73: Waiting 05:47:28 4e634b169226: Waiting 05:47:28 e871e8e8d7a9: Waiting 05:47:28 a92cc7c5fd73: Verifying Checksum 05:47:28 a92cc7c5fd73: Download complete 05:47:28 ed8968b2872e: Verifying Checksum 05:47:28 ed8968b2872e: Download complete 05:47:28 e73272ec9a57: Verifying Checksum 05:47:28 e73272ec9a57: Download complete 05:47:28 1e910a182e73: Verifying Checksum 05:47:28 1e910a182e73: Download complete 05:47:28 df20fa9351a1: Verifying Checksum 05:47:28 df20fa9351a1: Download complete 05:47:29 df20fa9351a1: Pull complete 05:47:29 ed8968b2872e: Pull complete 05:47:29 a92cc7c5fd73: Pull complete 05:47:31 4e634b169226: Verifying Checksum 05:47:31 4e634b169226: Download complete 05:47:31 e871e8e8d7a9: Verifying Checksum 05:47:31 e871e8e8d7a9: Download complete 05:47:37 e871e8e8d7a9: Pull complete 05:47:37 e73272ec9a57: Pull complete 05:47:37 1e910a182e73: Pull complete 05:47:41 4e634b169226: Pull complete 05:47:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 05:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:47:41 ---> f7629b54cfaa 05:47:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:47:41 ---> Running in 5638c3c7e603 05:47:42 Removing intermediate container 5638c3c7e603 05:47:42 ---> 36b87fe62830 05:47:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:47:42 ---> Running in d3e7807e4f6c 05:47:43 Removing intermediate container d3e7807e4f6c 05:47:43 ---> dd10fbd9aadc 05:47:43 Step 5/8 : RUN apk add --no-cache make git 05:47:43 ---> Running in 56bf09209188 05:47:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:47:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:47:45 OK: 166 MiB in 39 packages 05:47:46 Removing intermediate container 56bf09209188 05:47:46 ---> a5d5ae911b2c 05:47:46 Step 6/8 : WORKDIR /device-sdk-go 05:47:46 ---> Running in d64d10e0b8c7 05:47:46 Removing intermediate container d64d10e0b8c7 05:47:46 ---> ecb2525a46fd 05:47:46 Step 7/8 : COPY . . 05:47:47 ---> 64df705c9990 05:47:47 Step 8/8 : RUN go mod download 05:47:47 ---> Running in 988c9dbfce7c 05:47:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6880 in /w/workspace/dgexfoundry_device-sdk-go_PR-633 [Pipeline] { [Pipeline] ws 05:47:55 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:00 using credential edgex-jenkins-ssh 05:48:00 Cloning the remote Git repository 05:48:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:00 > git --version # timeout=10 05:48:00 > git --version # 'git version 2.17.1' 05:48:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:03 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit fde61b5461e93a50f675095de5db717e7afe971a 05:48:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/633/head:refs/remotes/origin/PR-633 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:03 > git config core.sparsecheckout # timeout=10 05:48:03 > git checkout -f fde61b5461e93a50f675095de5db717e7afe971a # timeout=10 05:48:03 Merge succeeded, producing fde61b5461e93a50f675095de5db717e7afe971a 05:48:03 Checking out Revision fde61b5461e93a50f675095de5db717e7afe971a (PR-633) 05:48:03 > git remote # timeout=10 05:48:03 > git config --get remote.origin.url # timeout=10 05:48:03 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:03 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 05:48:03 > git rev-parse HEAD^{commit} # timeout=10 05:48:03 > git config core.sparsecheckout # timeout=10 05:48:03 > git checkout -f fde61b5461e93a50f675095de5db717e7afe971a # timeout=10 05:48:05 Removing intermediate container 988c9dbfce7c 05:48:05 ---> a6bad3fd7499 05:48:05 Successfully built a6bad3fd7499 05:48:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:48:06 + docker inspect -f . ci-base-image-x86_64 05:48:06 . [Pipeline] withDockerContainer 05:48:06 prd-centos7-docker-4c-2g-6881 does not seem to be running inside a container 05:48:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 05:48:07 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 05:48:07 > git --version # timeout=10 05:48:07 > git --version # 'git version 2.17.1' 05:48:07 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 05:48:07 $ docker top 287a74a944c6fe6741f06a9d5ede838f8ea063aa977681c580b72aa9f407ae62 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:48:08 + go version 05:48:08 go version go1.15.2 linux/amd64 [Pipeline] } 05:48:08 $ docker stop --time=1 287a74a944c6fe6741f06a9d5ede838f8ea063aa977681c580b72aa9f407ae62 05:48:09 $ docker rm -f 287a74a944c6fe6741f06a9d5ede838f8ea063aa977681c580b72aa9f407ae62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Prep) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 05:48:10 ========================================================= 05:48:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:48:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:11 + docker inspect -f . ci-base-image-x86_64 05:48:11 . [Pipeline] withDockerContainer 05:48:11 prd-centos7-docker-4c-2g-6881 does not seem to be running inside a container 05:48:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 05:48:12 + 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 . 05:48:12 $ docker top 15c1aa5633a2636ecb767680ac6110ddf350209566f9a41420ab5df220a1c2ab -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:13 Sending build context to Docker daemon 2.32MB 05:48:13 Step 1/8 : ARG BASE=golang:1.15-alpine 05:48:13 Step 2/8 : FROM ${BASE} 05:48:13 + make test 05:48:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:48:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:48:13 b538f80385f9: Pulling fs layer 05:48:13 74f711af9a0d: Pulling fs layer 05:48:13 99f96fe45779: Pulling fs layer 05:48:13 8529a6b9a6be: Pulling fs layer 05:48:13 45590311c82a: Pulling fs layer 05:48:13 69ca0ff8b7b3: Pulling fs layer 05:48:13 209524e5b208: Pulling fs layer 05:48:13 45590311c82a: Waiting 05:48:13 69ca0ff8b7b3: Waiting 05:48:13 209524e5b208: Waiting 05:48:13 8529a6b9a6be: Waiting 05:48:13 99f96fe45779: Verifying Checksum 05:48:13 99f96fe45779: Download complete 05:48:13 74f711af9a0d: Verifying Checksum 05:48:13 74f711af9a0d: Download complete 05:48:13 45590311c82a: Verifying Checksum 05:48:13 45590311c82a: Download complete 05:48:13 69ca0ff8b7b3: Verifying Checksum 05:48:13 69ca0ff8b7b3: Download complete 05:48:13 b538f80385f9: Verifying Checksum 05:48:13 b538f80385f9: Download complete 05:48:14 b538f80385f9: Pull complete 05:48:15 74f711af9a0d: Pull complete 05:48:15 99f96fe45779: Pull complete 05:48:16 209524e5b208: Download complete 05:48:17 8529a6b9a6be: Verifying Checksum 05:48:17 8529a6b9a6be: Download complete 05:48:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:48:27 8529a6b9a6be: Pull complete 05:48:27 45590311c82a: Pull complete 05:48:28 69ca0ff8b7b3: Pull complete 05:48:32 209524e5b208: Pull complete 05:48:32 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 05:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:48:32 ---> 5bddaf1c2fca 05:48:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:48:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:48:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:48:34 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:48:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.080s coverage: 21.6% of statements 05:48:35 ---> Running in 2e8eea2b034f 05:48:35 Removing intermediate container 2e8eea2b034f 05:48:35 ---> 82edfd3540d0 05:48:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:35 ---> Running in 90f6c4c98b6b 05:48:35 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 97.1% of statements 05:48:37 Removing intermediate container 90f6c4c98b6b 05:48:37 ---> 349e39e9b799 05:48:37 Step 5/8 : RUN apk add --no-cache make git 05:48:37 ---> Running in 456e7a7b4824 05:48:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:48:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:48:40 OK: 142 MiB in 39 packages 05:48:42 Removing intermediate container 456e7a7b4824 05:48:42 ---> f24dd895ac94 05:48:42 Step 6/8 : WORKDIR /device-sdk-go 05:48:42 ---> Running in 1d19f56f64a0 05:48:42 Removing intermediate container 1d19f56f64a0 05:48:42 ---> f13adaea1a64 05:48:42 Step 7/8 : COPY . . 05:48:43 ---> ffe336ec7c76 05:48:43 Step 8/8 : RUN go mod download 05:48:44 ---> Running in 27fc90753db0 05:49:06 Removing intermediate container 27fc90753db0 05:49:06 ---> f34d001bdd72 05:49:06 Successfully built f34d001bdd72 05:49:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:49:06 + docker inspect -f . ci-base-image-arm64 05:49:06 . [Pipeline] withDockerContainer 05:49:06 prd-ubuntu18.04-docker-arm64-4c-16g-6880 does not seem to be running inside a container 05:49:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:49:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements 05:49:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:49:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.227s coverage: 42.6% of statements 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:49:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.279s coverage: 68.9% of statements 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:49:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 52.6% of statements 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:49:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.299s coverage: 68.9% of statements 05:49:07 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:49:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:49:07 GO111MODULE=on go vet ./... 05:49:08 $ docker top fbcbe509532f973701a72d9f6f94e220b80a16b3669c2de85825478dc5943ff8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:10 + go version 05:49:10 go version go1.15.2 linux/arm64 [Pipeline] } 05:49:10 $ docker stop --time=1 fbcbe509532f973701a72d9f6f94e220b80a16b3669c2de85825478dc5943ff8 05:49:12 $ docker rm -f fbcbe509532f973701a72d9f6f94e220b80a16b3669c2de85825478dc5943ff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:13 + docker inspect -f . ci-base-image-arm64 05:49:13 . [Pipeline] withDockerContainer 05:49:14 prd-ubuntu18.04-docker-arm64-4c-16g-6880 does not seem to be running inside a container 05:49:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:49:14 gofmt -l . 05:49:14 [ "`gofmt -l .`" = "" ] 05:49:14 ./bin/test-attribution-txt.sh 05:49:14 ./bin/test-go-mod-tidy.sh 05:49:16 $ docker top 26e3ba986bb18ab992cf32b9211c0a1f3c2d44a04a1818b104ba2360f37c90ee -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 05:49:16 Stashed 1 file(s) [Pipeline] } 05:49:16 $ docker stop --time=1 15c1aa5633a2636ecb767680ac6110ddf350209566f9a41420ab5df220a1c2ab 05:49:17 + make test 05:49:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:49:18 $ docker rm -f 15c1aa5633a2636ecb767680ac6110ddf350209566f9a41420ab5df220a1c2ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:49:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:49:22 + ls -al . 05:49:22 total 188 05:49:22 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 05:49 . 05:49:22 drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 05:47 .. 05:49:22 drwxrwxr-x. 2 jenkins jenkins 64 Oct 20 05:47 bin 05:49:22 -rw-r--r--. 1 jenkins jenkins 110398 Oct 20 05:49 coverage.out 05:49:22 -rw-rw-r--. 1 jenkins jenkins 936 Oct 20 05:47 Dockerfile.build 05:49:22 -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 05:47 .dockerignore 05:49:22 drwxrwxr-x. 4 jenkins jenkins 48 Oct 20 05:47 example 05:49:22 drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 05:47 .git 05:49:22 drwxrwxr-x. 2 jenkins jenkins 60 Oct 20 05:47 .github 05:49:22 -rw-rw-r--. 1 jenkins jenkins 138 Oct 20 05:47 .gitignore 05:49:22 -rw-r--r--. 1 jenkins jenkins 518 Oct 20 05:49 go.mod 05:49:22 -rw-r--r--. 1 jenkins jenkins 13739 Oct 20 05:49 go.sum 05:49:22 drwxrwxr-x. 15 jenkins jenkins 211 Oct 20 05:47 internal 05:49:22 -rw-rw-r--. 1 jenkins jenkins 901 Oct 20 05:47 Jenkinsfile 05:49:22 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 05:47 LICENSE 05:49:22 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 20 05:47 Makefile 05:49:22 drwxrwxr-x. 4 jenkins jenkins 26 Oct 20 05:47 openapi 05:49:22 drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 05:47 pkg 05:49:22 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 20 05:47 README.md 05:49:22 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 20 05:47 RELEASE-NOTES.txt 05:49:22 drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 05:47 snap 05:49:22 -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 05:45 VERSION 05:49:22 -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 05:47 version.go [Pipeline] isUnix [Pipeline] sh 05:49:22 + 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=fde61b5461e93a50f675095de5db717e7afe971a --label arch=amd64 --label version=0.0.0 . 05:49:22 Sending build context to Docker daemon 2.43MB 05:49:22 Step 1/24 : ARG BASE=golang:1.15-alpine 05:49:22 Step 2/24 : FROM ${BASE} AS builder 05:49:22 ---> a6bad3fd7499 05:49:22 Step 3/24 : ARG MAKE='make build' 05:49:23 ---> Running in 45f9c5954859 05:49:23 Removing intermediate container 45f9c5954859 05:49:23 ---> 5782bb23b446 05:49:23 Step 4/24 : WORKDIR /device-sdk-go 05:49:23 ---> Running in 53d18b6ec8e5 05:49:23 Removing intermediate container 53d18b6ec8e5 05:49:23 ---> 78cbe21bce41 05:49:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:24 ---> Running in 1283589ad0ce 05:49:24 Removing intermediate container 1283589ad0ce 05:49:24 ---> 7843fbbbd71e 05:49:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:24 ---> Running in ae95459b3271 05:49:25 Removing intermediate container ae95459b3271 05:49:25 ---> aed265d44a21 05:49:25 Step 7/24 : RUN apk add --update --no-cache make git 05:49:25 ---> Running in 9c2de0f19436 05:49:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:49:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:49:29 OK: 166 MiB in 39 packages 05:49:29 Removing intermediate container 9c2de0f19436 05:49:29 ---> 18071dfba9dc 05:49:29 Step 8/24 : COPY . . 05:49:30 ---> 5c6fd78267c7 05:49:30 Step 9/24 : RUN ${MAKE} 05:49:30 ---> Running in 82f557d1c809 05:49:31 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 05:49:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:49:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:49:41 Removing intermediate container 82f557d1c809 05:49:41 ---> f7733f8521f7 05:49:41 Step 10/24 : FROM scratch 05:49:41 ---> 05:49:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:41 ---> Running in 2620bd742b04 05:49:41 Removing intermediate container 2620bd742b04 05:49:41 ---> a45034fa4538 05:49:41 Step 12/24 : ENV APP_PORT=49990 05:49:41 ---> Running in 08cb8c6b682e 05:49:41 Removing intermediate container 08cb8c6b682e 05:49:41 ---> a469d7655360 05:49:41 Step 13/24 : EXPOSE $APP_PORT 05:49:41 ---> Running in fdb280970420 05:49:42 Removing intermediate container fdb280970420 05:49:42 ---> 48957d2d8372 05:49:42 Step 14/24 : WORKDIR / 05:49:42 ---> Running in e76c9b981649 05:49:42 Removing intermediate container e76c9b981649 05:49:42 ---> dd03be9bd7d3 05:49:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:49:42 ---> 310cb60f550d 05:49:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:49:43 ---> a6f31ba35bff 05:49:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:49:43 ---> 911988b7df53 05:49:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:49:43 ---> 09c0cbd51ea2 05:49:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:49:43 ---> 976201b25de1 05:49:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:49:43 ---> Running in 49696f485634 05:49:44 Removing intermediate container 49696f485634 05:49:44 ---> 61ffce44b742 05:49:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:49:44 ---> Running in 730e8e0acd9f 05:49:44 Removing intermediate container 730e8e0acd9f 05:49:44 ---> 31ab3865dada 05:49:44 Step 22/24 : LABEL arch=amd64 05:49:44 ---> Running in 138a0e5f99c7 05:49:44 Removing intermediate container 138a0e5f99c7 05:49:44 ---> 4c084023ad20 05:49:44 Step 23/24 : LABEL git_sha=fde61b5461e93a50f675095de5db717e7afe971a 05:49:44 ---> Running in d933b434da6c 05:49:44 Removing intermediate container d933b434da6c 05:49:44 ---> 89110ef0ecea 05:49:44 Step 24/24 : LABEL version=0.0.0 05:49:44 ---> Running in f157a9eed1dc 05:49:45 Removing intermediate container f157a9eed1dc 05:49:45 ---> 8256d0add41a 05:49:45 [Warning] One or more build-args [ARCH] were not consumed 05:49:45 Successfully built 8256d0add41a 05:49:45 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] } 05:50:18 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:50:18 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.6% of statements 05:50:23 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.176s coverage: 97.1% of statements 05:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.126s coverage: 9.4% of statements 05:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.556s coverage: 42.6% of statements 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.765s coverage: 68.9% of statements 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:50:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.172s coverage: 52.6% of statements 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:50:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.647s coverage: 68.9% of statements 05:50:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 05:50:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:50:50 GO111MODULE=on go vet ./... 05:51:22 gofmt -l . 05:51:22 [ "`gofmt -l .`" = "" ] 05:51:22 ./bin/test-attribution-txt.sh 05:51:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 05:51:22 Warning: overwriting stash ‘coverage-report’ 05:51:23 Stashed 1 file(s) [Pipeline] } 05:51:23 $ docker stop --time=1 26e3ba986bb18ab992cf32b9211c0a1f3c2d44a04a1818b104ba2360f37c90ee 05:51:25 $ docker rm -f 26e3ba986bb18ab992cf32b9211c0a1f3c2d44a04a1818b104ba2360f37c90ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:27 + ls -al . 05:51:27 total 224 05:51:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 05:51 . 05:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:48 .. 05:51:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 05:48 .dockerignore 05:51:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 05:48 .git 05:51:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:48 .github 05:51:27 -rw-rw-r-- 1 jenkins jenkins 138 Oct 20 05:48 .gitignore 05:51:27 -rw-rw-r-- 1 jenkins jenkins 936 Oct 20 05:48 Dockerfile.build 05:51:27 -rw-rw-r-- 1 jenkins jenkins 901 Oct 20 05:48 Jenkinsfile 05:51:27 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 05:48 LICENSE 05:51:27 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 20 05:48 Makefile 05:51:27 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 20 05:48 README.md 05:51:27 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 20 05:48 RELEASE-NOTES.txt 05:51:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 05:45 VERSION 05:51:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 05:48 bin 05:51:27 -rw-r--r-- 1 jenkins jenkins 110398 Oct 20 05:50 coverage.out 05:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:48 example 05:51:27 -rw-r--r-- 1 jenkins jenkins 518 Oct 20 05:51 go.mod 05:51:27 -rw-r--r-- 1 jenkins jenkins 13739 Oct 20 05:51 go.sum 05:51:27 drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 05:48 internal 05:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:48 openapi 05:51:27 drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 05:48 pkg 05:51:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 05:48 snap 05:51:27 -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 05:48 version.go [Pipeline] isUnix [Pipeline] sh 05:51:28 + 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=fde61b5461e93a50f675095de5db717e7afe971a --label arch=arm64 --label version=0.0.0 . 05:51:28 Sending build context to Docker daemon 2.431MB 05:51:28 Step 1/24 : ARG BASE=golang:1.15-alpine 05:51:28 Step 2/24 : FROM ${BASE} AS builder 05:51:28 ---> f34d001bdd72 05:51:28 Step 3/24 : ARG MAKE='make build' 05:51:29 ---> Running in 3ea6549e5817 05:51:29 Removing intermediate container 3ea6549e5817 05:51:29 ---> d8bb3dbe212d 05:51:29 Step 4/24 : WORKDIR /device-sdk-go 05:51:29 ---> Running in de1cd75afc57 05:51:30 Removing intermediate container de1cd75afc57 05:51:30 ---> dff64f14df0a 05:51:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:30 ---> Running in bdb76e0c7c83 05:51:30 Removing intermediate container bdb76e0c7c83 05:51:30 ---> 05d1fd9bac48 05:51:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:30 ---> Running in ad065b33ecb9 05:51:33 Removing intermediate container ad065b33ecb9 05:51:33 ---> 29045fe39f18 05:51:33 Step 7/24 : RUN apk add --update --no-cache make git 05:51:33 ---> Running in c761c8a8522e 05:51:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:51:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:51:36 OK: 142 MiB in 39 packages 05:51:37 Removing intermediate container c761c8a8522e 05:51:37 ---> 07def67f90ef 05:51:37 Step 8/24 : COPY . . 05:51:39 ---> f033aeb5e381 05:51:39 Step 9/24 : RUN ${MAKE} 05:51:39 ---> Running in eddbb4b17ec5 05:51:40 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 05:52:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:52:07 Removing intermediate container eddbb4b17ec5 05:52:07 ---> e95df8fd946c 05:52:07 Step 10/24 : FROM scratch 05:52:07 ---> 05:52:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:07 ---> Running in 661cc75cb266 05:52:07 Removing intermediate container 661cc75cb266 05:52:07 ---> 475f2b50e11b 05:52:07 Step 12/24 : ENV APP_PORT=49990 05:52:07 ---> Running in 589f2f175e57 05:52:08 Removing intermediate container 589f2f175e57 05:52:08 ---> dd1ddbc0f846 05:52:08 Step 13/24 : EXPOSE $APP_PORT 05:52:08 ---> Running in 7ee6ad7b0fd6 05:52:08 Removing intermediate container 7ee6ad7b0fd6 05:52:08 ---> fe0d31834f08 05:52:08 Step 14/24 : WORKDIR / 05:52:09 ---> Running in 95f0be176c3e 05:52:09 Removing intermediate container 95f0be176c3e 05:52:09 ---> 0bfb4ef7a21e 05:52:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:52:10 ---> ba9a56b9453e 05:52:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:52:11 ---> 1437ef665c3c 05:52:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:52:11 ---> 0965e0a69288 05:52:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:52:12 ---> 27192a626242 05:52:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:52:13 ---> 9834347b5315 05:52:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:52:13 ---> Running in 599e61034f49 05:52:13 Removing intermediate container 599e61034f49 05:52:13 ---> 178c8411aa0c 05:52:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:52:13 ---> Running in c365d3d311f7 05:52:14 Removing intermediate container c365d3d311f7 05:52:14 ---> 9015acf7a6e4 05:52:14 Step 22/24 : LABEL arch=arm64 05:52:14 ---> Running in f52ca363dd48 05:52:14 Removing intermediate container f52ca363dd48 05:52:14 ---> f10dfdb5c786 05:52:14 Step 23/24 : LABEL git_sha=fde61b5461e93a50f675095de5db717e7afe971a 05:52:15 ---> Running in 0cec832161b6 05:52:15 Removing intermediate container 0cec832161b6 05:52:15 ---> cf4b49b8dfe6 05:52:15 Step 24/24 : LABEL version=0.0.0 05:52:15 ---> Running in 1da861161780 05:52:15 Removing intermediate container 1da861161780 05:52:15 ---> 5208bf7d3a6d 05:52:15 [Warning] One or more build-args [ARCH] were not consumed 05:52:16 Successfully built 5208bf7d3a6d 05:52:16 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 05:52:19 provisioning config files... 05:52:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/config415723356758410568tmp [Pipeline] { [Pipeline] sh 05:52:19 + set +x 05:52:19 + curl -s https://codecov.io/bash 05:52:19 + bash -s -- 05:52:19 05:52:19 _____ _ 05:52:19 / ____| | | 05:52:19 | | ___ __| | ___ ___ _____ __ 05:52:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:52:19 | |___| (_) | (_| | __/ (_| (_) \ V / 05:52:19 \_____\___/ \__,_|\___|\___\___/ \_/ 05:52:19 Bash-20201009-048fee3 05:52:19 05:52:19 05:52:19 ==> Jenkins CI detected. 05:52:19 project root: . 05:52:19 --> token set from env 05:52:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:52:19 ==> Running gcov in . (disable via -X gcov) 05:52:19 ==> Python coveragepy not found 05:52:19 ==> Searching for coverage reports in: 05:52:19 + . 05:52:19 -> Found 1 reports 05:52:19 ==> Detecting git/mercurial file structure 05:52:19 ==> Reading reports 05:52:19 + ./coverage.out bytes=110398 05:52:19 ==> Appending adjustments 05:52:19 https://docs.codecov.io/docs/fixing-reports 05:52:20 + Found adjustments 05:52:20 ==> Gzipping contents 05:52:20 ==> Uploading reports 05:52:20 url: https://codecov.io 05:52:20 query: branch=PR-633&commit=fde61b5461e93a50f675095de5db717e7afe971a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=633&job=&cmd_args= 05:52:20 -> Pinging Codecov 05:52:20 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-633&commit=fde61b5461e93a50f675095de5db717e7afe971a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=633&job=&cmd_args= 05:52:20 -> Uploading to 05:52:20 05:52:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:20 Dload Upload Total Spent Left Speed 05:52:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 05:52:20 X> Failed to upload 05:52:20 ==> Uploading to Codecov 05:52:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:20 Dload Upload Total Spent Left Speed 05:52:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19135 0 0 100 19025 0 33647 --:--:-- --:--:-- --:--:-- 33613 100 19135 100 110 100 19025 194 33635 --:--:-- --:--:-- --:--:-- 33613 05:52:21 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fde61b5461e93a50f675095de5db717e7afe971a [Pipeline] } 05:52:21 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 05:52:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:26 ---> package-listing.sh 05:52:26 ++ facter osfamily 05:52:26 ++ tr '[:upper:]' '[:lower:]' 05:52:26 + OS_FAMILY=redhat 05:52:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-633 05:52:26 + START_PACKAGES=/tmp/packages_start.txt 05:52:26 + END_PACKAGES=/tmp/packages_end.txt 05:52:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:26 + PACKAGES=/tmp/packages_start.txt 05:52:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-633 ']' 05:52:26 + PACKAGES=/tmp/packages_end.txt 05:52:26 + case "${OS_FAMILY}" in 05:52:26 + rpm -qa 05:52:26 + sort 05:52:30 + '[' -f /tmp/packages_start.txt ']' 05:52:30 + '[' -f /tmp/packages_end.txt ']' 05:52:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-633 ']' 05:52:30 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-633/archives/ 05:52:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-633/archives/ [Pipeline] echo 05:52:30 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-633/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:52:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:30 05:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:52:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:31 alpine: Pulling from edgex-lftools-log-publisher 05:52:31 df20fa9351a1: Pulling fs layer 05:52:31 36b3adc4ff6f: Pulling fs layer 05:52:31 8ad3a11d3b57: Pulling fs layer 05:52:31 46f8f816bc3b: Pulling fs layer 05:52:31 93b61091891f: Pulling fs layer 05:52:31 93b9cdb0e59b: Pulling fs layer 05:52:31 5e14af77c1be: Pulling fs layer 05:52:31 01666e4c0597: Pulling fs layer 05:52:31 aa168da1d23b: Pulling fs layer 05:52:31 5e14af77c1be: Waiting 05:52:31 01666e4c0597: Waiting 05:52:31 aa168da1d23b: Waiting 05:52:31 93b9cdb0e59b: Waiting 05:52:31 46f8f816bc3b: Waiting 05:52:31 93b61091891f: Waiting 05:52:31 36b3adc4ff6f: Download complete 05:52:31 46f8f816bc3b: Verifying Checksum 05:52:31 46f8f816bc3b: Download complete 05:52:31 df20fa9351a1: Download complete 05:52:31 93b9cdb0e59b: Verifying Checksum 05:52:31 93b9cdb0e59b: Download complete 05:52:31 93b61091891f: Verifying Checksum 05:52:31 93b61091891f: Download complete 05:52:31 01666e4c0597: Verifying Checksum 05:52:31 01666e4c0597: Download complete 05:52:31 5e14af77c1be: Verifying Checksum 05:52:31 5e14af77c1be: Download complete 05:52:31 df20fa9351a1: Pull complete 05:52:31 8ad3a11d3b57: Verifying Checksum 05:52:31 8ad3a11d3b57: Download complete 05:52:31 36b3adc4ff6f: Pull complete 05:52:32 8ad3a11d3b57: Pull complete 05:52:32 46f8f816bc3b: Pull complete 05:52:33 93b61091891f: Pull complete 05:52:33 93b9cdb0e59b: Pull complete 05:52:33 5e14af77c1be: Pull complete 05:52:33 01666e4c0597: Pull complete 05:52:33 aa168da1d23b: Download complete 05:52:42 aa168da1d23b: Pull complete 05:52:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:52:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:52:42 prd-centos7-docker-4c-2g-6878 does not seem to be running inside a container 05:52:42 $ 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-633/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-633 -v /w/workspace/dgexfoundry_device-sdk-go_PR-633:/w/workspace/dgexfoundry_device-sdk-go_PR-633:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:52:46 $ docker top 289aac1ada6bb1fc2194513dc11d4e6e27a68a0068e5f943098adbed855916db -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:46 + touch /tmp/pre-build-complete [Pipeline] sh 05:52:47 + mkdir -p /var/log/sa [Pipeline] sh 05:52:47 + ls /var/log/sa-host 05:52:47 + sadf -c /var/log/sa-host/sa05 05:52:47 file_magic: OK 05:52:47 HZ: Using current value: 100 05:52:47 file_header: OK 05:52:47 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 05:52:47 Statistics: 05:52:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:52:47 File successfully converted to sysstat format version 12.2.1 05:52:47 + sadf -c /var/log/sa-host/sa20 05:52:47 file_magic: OK 05:52:47 HZ: Using current value: 100 05:52:47 file_header: OK 05:52:47 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 05:52:47 Statistics: 05:52:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:52:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:47 provisioning config files... 05:52:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-633@tmp/config4268214560414100035tmp [Pipeline] { [Pipeline] echo 05:52:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:48 ---> create-netrc.sh [Pipeline] } 05:52:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:52:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:52:48 ---> python-tools-install.sh [Pipeline] echo 05:52:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:52:49 ---> sudo-logs.sh 05:52:49 Archiving 'sudo' log.. [Pipeline] echo 05:52:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:52:49 ---> job-cost.sh 05:52:49 lf-activate-venv: SKIPPING 05:52:49 INFO: No Stack... 05:52:51 INFO: Retrieving Pricing Info for: v1-standard-2 05:52:51 INFO: Archiving Costs [Pipeline] echo 05:52:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:52 ---> logs-deploy.sh 05:52:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-633/1 05:52:52 INFO: archiving workspace using pattern(s): 05:52:54 Archives upload complete. 05:52:54 INFO: archiving logs to Nexus