Pull request #632 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cf2ca9639e94ace87c4e52fa9af7157d3d98188f+6cec193abf44cabffe02bbcaff9748adb3f719d5 (2d9d80ed9885c153275b3aecd86f8b0aa588cea6) 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-632/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-632/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-6253 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [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-632 # 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 cf2ca9639e94ace87c4e52fa9af7157d3d98188f Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) > 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/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # 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 cf2ca9639e94ace87c4e52fa9af7157d3d98188f # 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 08:42:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:42:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:42:47 ========================================================= 08:42:47 EdgeX Global Pipelines Version Info 08:42:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:42:49 ------------------- 08:42:49 stable info: 08:42:49 ------------------- 08:42:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:42:49 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 08:42:49 Message: update stable to v1.0.144 08:42:50 ------------------- 08:42:50 experimental info: 08:42:50 ------------------- 08:42:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:42:50 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 08:42:50 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:42:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:42:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:42:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:42:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-632 [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-632 [Pipeline] echo 08:42:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-632 [Pipeline] echo 08:42:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] echo 08:42:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf2ca96 [Pipeline] echo 08:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:42:56 + git log --format=format:%s -1 cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] echo 08:42:56 GIT_COMMIT: cf2ca9639e94ace87c4e52fa9af7157d3d98188f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 08:42:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:57 08:42:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:42:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:57 latest: Pulling from edgex-devops/git-semver 08:42:57 31603596830f: Pulling fs layer 08:42:57 2a8b12db71e7: Pulling fs layer 08:42:57 6ca5941a6612: Pulling fs layer 08:42:57 ecc8261a40a4: Pulling fs layer 08:42:57 ecc8261a40a4: Waiting 08:42:57 2a8b12db71e7: Verifying Checksum 08:42:57 2a8b12db71e7: Download complete 08:42:58 31603596830f: Verifying Checksum 08:42:58 31603596830f: Download complete 08:42:58 ecc8261a40a4: Verifying Checksum 08:42:58 ecc8261a40a4: Download complete 08:42:58 6ca5941a6612: Verifying Checksum 08:42:58 6ca5941a6612: Download complete 08:42:58 31603596830f: Pull complete 08:42:58 2a8b12db71e7: Pull complete 08:42:59 6ca5941a6612: Pull complete 08:42:59 ecc8261a40a4: Pull complete 08:42:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:42:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:42:59 prd-centos7-docker-4c-2g-6253 does not seem to be running inside a container 08:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-632 -v /w/workspace/dgexfoundry_device-sdk-go_PR-632:/w/workspace/dgexfoundry_device-sdk-go_PR-632:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-632@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 08:43:02 $ docker top 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:02 [ssh-agent] Looking for ssh-agent implementation... 08:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:03 $ docker exec 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent 08:43:03 SSH_AUTH_SOCK=/tmp/ssh-vavyMlCxd7mt/agent.13 08:43:03 SSH_AGENT_PID=18 08:43:03 Running ssh-add (command line suppressed) 08:43:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2715512720724335929.key (/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2715512720724335929.key) 08:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:03 + git tag --points-at HEAD [Pipeline] } 08:43:03 $ docker exec --env ******** --env ******** 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent -k 08:43:03 unset SSH_AUTH_SOCK; 08:43:03 unset SSH_AGENT_PID; 08:43:03 echo Agent pid 18 killed; 08:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:43:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:43:04 [ssh-agent] Looking for ssh-agent implementation... 08:43:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:43:04 $ docker exec 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent 08:43:04 SSH_AUTH_SOCK=/tmp/ssh-xXuu3yDaifLX/agent.49 08:43:04 SSH_AGENT_PID=55 08:43:04 Running ssh-add (command line suppressed) 08:43:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2676260228295106542.key (/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/private_key_2676260228295106542.key) 08:43:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:43:05 + git semver init 08:43:05 # -> Open(): unable to determine branch for HEAD 08:43:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-632/.git 08:43:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-632 08:43:05 # $SEMVER_REMOTE_NAME = origin 08:43:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:43:05 # $SEMVER_USER_NAME = edgex-jenkins 08:43:05 # $SEMVER_BRANCH = PR-632 08:43:05 # $SEMVER_TEMP = /tmp/semver-401532546 08:43:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:43:06 # '/tmp/semver-401532546' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-632/.semver' 08:43:06 # -> Force: false 08:43:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-632/.semver [Pipeline] } 08:43:06 $ docker exec --env ******** --env ******** 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f ssh-agent -k 08:43:06 unset SSH_AUTH_SOCK; 08:43:06 unset SSH_AGENT_PID; 08:43:06 echo Agent pid 55 killed; 08:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:43:06 + git semver [Pipeline] } 08:43:06 $ docker stop --time=1 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f 08:43:08 $ docker rm -f 218c9b3d6fced5157318e54c178a7d2e62315cdb57141e42b184c5797270b20f [Pipeline] // withDockerContainer [Pipeline] sh 08:43:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:43:09 Stashed 1 file(s) [Pipeline] echo 08:43:09 [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 08:43:25 Still waiting to schedule task 08:43:25 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6254’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 08:43:25 Still waiting to schedule task 08:43:25 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:45:04 Running on prd-centos7-docker-4c-2g-6255 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [Pipeline] { [Pipeline] ws 08:45:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:45:07 using credential edgex-jenkins-ssh 08:45:07 Cloning the remote Git repository 08:45:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:45:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:45:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:45:07 > git --version # timeout=10 08:45:07 > git --version # 'git version 2.16.5' 08:45:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:45:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:45:09 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:45:09 Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:45:09 Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) 08:45:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:45:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:45:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:45:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:45:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:45:09 > git config core.sparsecheckout # timeout=10 08:45:09 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 08:45:09 > git remote # timeout=10 08:45:09 > git config --get remote.origin.url # timeout=10 08:45:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:45:09 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 08:45:09 > git rev-parse HEAD^{commit} # timeout=10 08:45:09 > git config core.sparsecheckout # timeout=10 08:45:09 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 08:45:12 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 08:45:12 > git --version # timeout=10 08:45:12 > git --version # 'git version 2.16.5' 08:45:12 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:45:14 ========================================================= 08:45:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:45:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:45:14 + 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 . 08:45:15 Sending build context to Docker daemon 2.317MB 08:45:15 Step 1/8 : ARG BASE=golang:1.15-alpine 08:45:15 Step 2/8 : FROM ${BASE} 08:45:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:45:15 df20fa9351a1: Pulling fs layer 08:45:15 ed8968b2872e: Pulling fs layer 08:45:15 a92cc7c5fd73: Pulling fs layer 08:45:15 e871e8e8d7a9: Pulling fs layer 08:45:15 e73272ec9a57: Pulling fs layer 08:45:15 1e910a182e73: Pulling fs layer 08:45:15 4e634b169226: Pulling fs layer 08:45:15 e871e8e8d7a9: Waiting 08:45:15 e73272ec9a57: Waiting 08:45:15 1e910a182e73: Waiting 08:45:15 4e634b169226: Waiting 08:45:15 a92cc7c5fd73: Verifying Checksum 08:45:15 a92cc7c5fd73: Download complete 08:45:15 ed8968b2872e: Verifying Checksum 08:45:15 ed8968b2872e: Download complete 08:45:15 e73272ec9a57: Verifying Checksum 08:45:15 e73272ec9a57: Download complete 08:45:15 1e910a182e73: Verifying Checksum 08:45:15 1e910a182e73: Download complete 08:45:15 df20fa9351a1: Verifying Checksum 08:45:15 df20fa9351a1: Download complete 08:45:15 df20fa9351a1: Pull complete 08:45:15 ed8968b2872e: Pull complete 08:45:15 a92cc7c5fd73: Pull complete 08:45:17 4e634b169226: Verifying Checksum 08:45:17 4e634b169226: Download complete 08:45:18 e871e8e8d7a9: Verifying Checksum 08:45:18 e871e8e8d7a9: Download complete 08:45:23 e871e8e8d7a9: Pull complete 08:45:23 e73272ec9a57: Pull complete 08:45:23 1e910a182e73: Pull complete 08:45:29 4e634b169226: Pull complete 08:45:29 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:45:29 ---> f7629b54cfaa 08:45:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:45:29 ---> Running in c7cf52182c99 08:45:29 Removing intermediate container c7cf52182c99 08:45:29 ---> 82e877da537a 08:45:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:45:29 ---> Running in b793dd53ce34 08:45:30 Removing intermediate container b793dd53ce34 08:45:30 ---> d1dff39b55f2 08:45:30 Step 5/8 : RUN apk add --no-cache make git 08:45:30 ---> Running in 4ae08318c2bf 08:45:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:45:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:45:32 OK: 166 MiB in 39 packages 08:45:32 Removing intermediate container 4ae08318c2bf 08:45:32 ---> 5b1a9b99dda0 08:45:32 Step 6/8 : WORKDIR /device-sdk-go 08:45:32 ---> Running in 1126453c70ca 08:45:32 Removing intermediate container 1126453c70ca 08:45:32 ---> 9af1b416a45e 08:45:32 Step 7/8 : COPY . . 08:45:34 ---> ea5481a5ac30 08:45:34 Step 8/8 : RUN go mod download 08:45:34 ---> Running in a089d52a3042 08:45:52 Removing intermediate container a089d52a3042 08:45:52 ---> b06d7d087994 08:45:52 Successfully built b06d7d087994 08:45:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:45:52 + docker inspect -f . ci-base-image-x86_64 08:45:53 . [Pipeline] withDockerContainer 08:45:53 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 08:45:53 $ 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 08:45:53 $ docker top 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:54 + go version 08:45:54 go version go1.15.2 linux/amd64 [Pipeline] } 08:45:54 $ docker stop --time=1 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a 08:45:55 $ docker rm -f 942d1c5a73ac61bae56aa501a372b3bb0a67389034fd7f083d9b943038cd832a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:45:56 + docker inspect -f . ci-base-image-x86_64 08:45:56 . [Pipeline] withDockerContainer 08:45:57 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 08:45:57 $ 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 08:45:57 $ docker top 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:58 + make test 08:45:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:46:04 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:46:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:46:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:46:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:46:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.056s coverage: 21.6% of statements 08:46:22 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.434s coverage: 97.1% of statements 08:46:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6257 in /w/workspace/dgexfoundry_device-sdk-go_PR-632 [Pipeline] { [Pipeline] ws 08:46:32 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:46:39 using credential edgex-jenkins-ssh 08:46:39 Cloning the remote Git repository 08:46:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:46:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:39 > git --version # timeout=10 08:46:39 > git --version # 'git version 2.17.1' 08:46:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:41 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:46:41 Merge succeeded, producing cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:46:41 Checking out Revision cf2ca9639e94ace87c4e52fa9af7157d3d98188f (PR-632) 08:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/632/head:refs/remotes/origin/PR-632 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:41 > git config core.sparsecheckout # timeout=10 08:46:41 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 08:46:41 > git remote # timeout=10 08:46:41 > git config --get remote.origin.url # timeout=10 08:46:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:41 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 08:46:41 > git rev-parse HEAD^{commit} # timeout=10 08:46:41 > git config core.sparsecheckout # timeout=10 08:46:41 > git checkout -f cf2ca9639e94ace87c4e52fa9af7157d3d98188f # timeout=10 08:46:46 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 08:46:46 > git --version # timeout=10 08:46:46 > git --version # 'git version 2.17.1' 08:46:46 fatal: bad object a2cbe11917bfb8801b6bc99aaa80229564ed4294 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:46:47 ========================================================= 08:46:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:46:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:49 + 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 . 08:46:50 Sending build context to Docker daemon 2.315MB 08:46:50 Step 1/8 : ARG BASE=golang:1.15-alpine 08:46:50 Step 2/8 : FROM ${BASE} 08:46:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:50 b538f80385f9: Pulling fs layer 08:46:50 74f711af9a0d: Pulling fs layer 08:46:50 99f96fe45779: Pulling fs layer 08:46:50 8529a6b9a6be: Pulling fs layer 08:46:50 45590311c82a: Pulling fs layer 08:46:50 69ca0ff8b7b3: Pulling fs layer 08:46:50 209524e5b208: Pulling fs layer 08:46:50 8529a6b9a6be: Waiting 08:46:50 45590311c82a: Waiting 08:46:50 69ca0ff8b7b3: Waiting 08:46:50 209524e5b208: Waiting 08:46:50 99f96fe45779: Verifying Checksum 08:46:50 99f96fe45779: Download complete 08:46:50 74f711af9a0d: Verifying Checksum 08:46:50 74f711af9a0d: Download complete 08:46:50 45590311c82a: Download complete 08:46:50 69ca0ff8b7b3: Download complete 08:46:50 b538f80385f9: Download complete 08:46:51 b538f80385f9: Pull complete 08:46:51 74f711af9a0d: Pull complete 08:46:52 99f96fe45779: Pull complete 08:46:53 209524e5b208: Verifying Checksum 08:46:54 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 08:46:54 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:46:54 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.6% of statements 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:46:54 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 68.9% of statements 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:46:54 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:46:54 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.359s coverage: 68.9% of statements 08:46:54 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:46:54 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:46:54 GO111MODULE=on go vet ./... 08:46:54 8529a6b9a6be: Verifying Checksum 08:46:54 8529a6b9a6be: Download complete 08:46:58 gofmt -l . 08:46:58 [ "`gofmt -l .`" = "" ] 08:46:58 ./bin/test-attribution-txt.sh 08:46:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:47:00 Stashed 1 file(s) [Pipeline] } 08:47:00 $ docker stop --time=1 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 08:47:02 $ docker rm -f 248cc613e63e377afe6cca2de7c10bc9ec92ea3bda62b2ac3550d1fa9cdd1301 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:47:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:05 + ls -al . 08:47:05 total 188 08:47:05 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 08:46 . 08:47:05 drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 08:45 .. 08:47:05 drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 08:45 bin 08:47:05 -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 08:46 coverage.out 08:47:05 -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 08:45 Dockerfile.build 08:47:05 -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 08:45 .dockerignore 08:47:05 drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 08:45 example 08:47:05 drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 08:45 .git 08:47:05 drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 08:45 .github 08:47:05 -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 08:45 .gitignore 08:47:05 -rw-r--r--. 1 jenkins jenkins 518 Oct 19 08:46 go.mod 08:47:05 -rw-r--r--. 1 jenkins jenkins 13739 Oct 19 08:46 go.sum 08:47:05 drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 08:45 internal 08:47:05 -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 08:45 Jenkinsfile 08:47:05 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 08:45 LICENSE 08:47:05 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 08:45 Makefile 08:47:05 drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 08:45 openapi 08:47:05 drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 08:45 pkg 08:47:05 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 08:45 README.md 08:47:05 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 08:45 RELEASE-NOTES.txt 08:47:05 drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 08:45 snap 08:47:05 -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 08:43 VERSION 08:47:05 -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 08:45 version.go [Pipeline] isUnix [Pipeline] sh 08:47:06 + 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=cf2ca9639e94ace87c4e52fa9af7157d3d98188f --label arch=amd64 --label version=0.0.0 . 08:47:06 Sending build context to Docker daemon 2.428MB 08:47:06 Step 1/24 : ARG BASE=golang:1.15-alpine 08:47:06 Step 2/24 : FROM ${BASE} AS builder 08:47:06 ---> b06d7d087994 08:47:06 Step 3/24 : ARG MAKE='make build' 08:47:06 ---> Running in e7d337940f59 08:47:06 Removing intermediate container e7d337940f59 08:47:06 ---> 4c13494b90b0 08:47:06 Step 4/24 : WORKDIR /device-sdk-go 08:47:07 8529a6b9a6be: Pull complete 08:47:07 45590311c82a: Pull complete 08:47:07 69ca0ff8b7b3: Pull complete 08:47:07 ---> Running in b86814cc55fe 08:47:07 Removing intermediate container b86814cc55fe 08:47:07 ---> 0b71e2fbadb8 08:47:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:07 ---> Running in 319fc10608fb 08:47:07 Removing intermediate container 319fc10608fb 08:47:07 ---> b0e943812c8f 08:47:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:07 ---> Running in d363ccad51c8 08:47:08 Removing intermediate container d363ccad51c8 08:47:08 ---> 1aa9c301b394 08:47:08 Step 7/24 : RUN apk add --update --no-cache make git 08:47:08 ---> Running in 4ccbbc0f787c 08:47:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:47:09 209524e5b208: Pull complete 08:47:09 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:47:09 ---> 5bddaf1c2fca 08:47:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:47:12 OK: 166 MiB in 39 packages 08:47:12 Removing intermediate container 4ccbbc0f787c 08:47:12 ---> aa3b8538e35e 08:47:12 Step 8/24 : COPY . . 08:47:13 ---> Running in 1cb5b42efbc4 08:47:13 Removing intermediate container 1cb5b42efbc4 08:47:13 ---> 3e3ce4c448aa 08:47:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:13 ---> Running in 6ebc7428ba80 08:47:13 ---> 6bf1b76a095e 08:47:13 Step 9/24 : RUN ${MAKE} 08:47:13 ---> Running in d40bf52a3dc5 08:47:14 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 08:47:16 Removing intermediate container 6ebc7428ba80 08:47:16 ---> 226eb8ccf6c5 08:47:16 Step 5/8 : RUN apk add --no-cache make git 08:47:16 ---> Running in f93f294ce1ee 08:47:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:47:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:47:20 OK: 142 MiB in 39 packages 08:47:21 Removing intermediate container f93f294ce1ee 08:47:21 ---> 2517a2e38320 08:47:21 Step 6/8 : WORKDIR /device-sdk-go 08:47:21 ---> Running in a5e4689be7b6 08:47:22 Removing intermediate container a5e4689be7b6 08:47:22 ---> ce53d4bd4208 08:47:22 Step 7/8 : COPY . . 08:47:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:47:23 ---> 7b75a17f10f0 08:47:23 Step 8/8 : RUN go mod download 08:47:23 ---> Running in 112a86d378ce 08:47:24 Removing intermediate container d40bf52a3dc5 08:47:24 ---> 5705614f3c8d 08:47:24 Step 10/24 : FROM scratch 08:47:24 ---> 08:47:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:24 ---> Running in 6a45878be929 08:47:24 Removing intermediate container 6a45878be929 08:47:24 ---> ac913bccefd3 08:47:24 Step 12/24 : ENV APP_PORT=49990 08:47:24 ---> Running in 8357f4e9e522 08:47:24 Removing intermediate container 8357f4e9e522 08:47:24 ---> 82f0c2afa6bb 08:47:24 Step 13/24 : EXPOSE $APP_PORT 08:47:24 ---> Running in d31689c8686d 08:47:25 Removing intermediate container d31689c8686d 08:47:25 ---> 8bb75829af0b 08:47:25 Step 14/24 : WORKDIR / 08:47:25 ---> Running in 06dc244e6fb2 08:47:25 Removing intermediate container 06dc244e6fb2 08:47:25 ---> 63965c9d3c7d 08:47:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:47:25 ---> ade6238bea52 08:47:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:47:25 ---> c19fb7996a3b 08:47:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:47:26 ---> 9a747f3bf2ee 08:47:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:47:26 ---> aff93bb35ff5 08:47:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:47:26 ---> a1632ecbc4d3 08:47:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:47:26 ---> Running in 01aec8255683 08:47:26 Removing intermediate container 01aec8255683 08:47:26 ---> c2bd8ca2ac38 08:47:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:47:26 ---> Running in 76658e041b06 08:47:27 Removing intermediate container 76658e041b06 08:47:27 ---> ef55e42a7563 08:47:27 Step 22/24 : LABEL arch=amd64 08:47:27 ---> Running in b0bcc6a5bd7d 08:47:27 Removing intermediate container b0bcc6a5bd7d 08:47:27 ---> 98e48d89495b 08:47:27 Step 23/24 : LABEL git_sha=cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:47:27 ---> Running in 9d5691d56894 08:47:27 Removing intermediate container 9d5691d56894 08:47:27 ---> 931dc7645328 08:47:27 Step 24/24 : LABEL version=0.0.0 08:47:27 ---> Running in 53d57c3b48d5 08:47:27 Removing intermediate container 53d57c3b48d5 08:47:27 ---> 81e6efb07730 08:47:27 [Warning] One or more build-args [ARCH] were not consumed 08:47:27 Successfully built 81e6efb07730 08:47:27 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] } 08:47:45 Removing intermediate container 112a86d378ce 08:47:45 ---> 539463a32c7f 08:47:45 Successfully built 539463a32c7f 08:47:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:47:46 + docker inspect -f . ci-base-image-arm64 08:47:46 . [Pipeline] withDockerContainer 08:47:46 prd-ubuntu18.04-docker-arm64-4c-16g-6257 does not seem to be running inside a container 08:47:46 $ 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 ******** -e ******** ci-base-image-arm64 cat 08:47:48 $ docker top 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:49 + go version 08:47:49 go version go1.15.2 linux/arm64 [Pipeline] } 08:47:49 $ docker stop --time=1 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e 08:47:51 $ docker rm -f 9c7fe77471608d7473e098092965c92e3d11591d723748cba39b0421ffe96e9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:53 + docker inspect -f . ci-base-image-arm64 08:47:53 . [Pipeline] withDockerContainer 08:47:53 prd-ubuntu18.04-docker-arm64-4c-16g-6257 does not seem to be running inside a container 08:47:53 $ 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 ******** -e ******** ci-base-image-arm64 cat 08:47:55 $ docker top 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:56 + make test 08:47:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:48:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:49:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:49:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:49:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:49:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.113s coverage: 21.6% of statements 08:49:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements 08:49:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements 08:49:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.150s coverage: 21.9% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:49:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.603s coverage: 42.6% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:49:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.723s coverage: 68.9% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:49:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 52.6% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:49:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.671s coverage: 68.9% of statements 08:49:36 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:49:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:49:36 GO111MODULE=on go vet ./... 08:50:09 gofmt -l . 08:50:09 [ "`gofmt -l .`" = "" ] 08:50:09 ./bin/test-attribution-txt.sh 08:50:09 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:50:09 Warning: overwriting stash ‘coverage-report’ 08:50:10 Stashed 1 file(s) [Pipeline] } 08:50:10 $ docker stop --time=1 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 08:50:12 $ docker rm -f 0615029b3f919aa6d1f1f58c835138b496dbd5c12a25b58c7b170a595009c8a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:50:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:50:15 + ls -al . 08:50:15 total 224 08:50:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 08:50 . 08:50:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 .. 08:50:15 -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 08:46 .dockerignore 08:50:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 08:46 .git 08:50:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 08:46 .github 08:50:15 -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 08:46 .gitignore 08:50:15 -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 08:46 Dockerfile.build 08:50:15 -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 08:46 Jenkinsfile 08:50:15 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 08:46 LICENSE 08:50:15 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 08:46 Makefile 08:50:15 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 08:46 README.md 08:50:15 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 08:46 RELEASE-NOTES.txt 08:50:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 08:43 VERSION 08:50:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 08:46 bin 08:50:15 -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 08:49 coverage.out 08:50:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 example 08:50:15 -rw-r--r-- 1 jenkins jenkins 518 Oct 19 08:50 go.mod 08:50:15 -rw-r--r-- 1 jenkins jenkins 13739 Oct 19 08:50 go.sum 08:50:15 drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 08:46 internal 08:50:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 openapi 08:50:15 drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 08:46 pkg 08:50:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 08:46 snap 08:50:15 -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:50:15 + 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=cf2ca9639e94ace87c4e52fa9af7157d3d98188f --label arch=arm64 --label version=0.0.0 . 08:50:16 Sending build context to Docker daemon 2.426MB 08:50:16 Step 1/24 : ARG BASE=golang:1.15-alpine 08:50:16 Step 2/24 : FROM ${BASE} AS builder 08:50:16 ---> 539463a32c7f 08:50:16 Step 3/24 : ARG MAKE='make build' 08:50:16 ---> Running in 915b4cdc2c30 08:50:16 Removing intermediate container 915b4cdc2c30 08:50:16 ---> ce5b77277641 08:50:16 Step 4/24 : WORKDIR /device-sdk-go 08:50:16 ---> Running in a27ca142f16e 08:50:17 Removing intermediate container a27ca142f16e 08:50:17 ---> e78aac5e45a3 08:50:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:17 ---> Running in 3f83f4410200 08:50:18 Removing intermediate container 3f83f4410200 08:50:18 ---> 3895a8de7c56 08:50:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:18 ---> Running in 78321b57fbf1 08:50:20 Removing intermediate container 78321b57fbf1 08:50:20 ---> a09d5875dae3 08:50:20 Step 7/24 : RUN apk add --update --no-cache make git 08:50:20 ---> Running in df79bb302589 08:50:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:50:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:50:23 OK: 142 MiB in 39 packages 08:50:25 Removing intermediate container df79bb302589 08:50:25 ---> 22379440b179 08:50:25 Step 8/24 : COPY . . 08:50:26 ---> c6503110064a 08:50:26 Step 9/24 : RUN ${MAKE} 08:50:26 ---> Running in 76db1777892a 08:50:27 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 08:50:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:50:54 Removing intermediate container 76db1777892a 08:50:54 ---> 926dbd1e7b12 08:50:54 Step 10/24 : FROM scratch 08:50:54 ---> 08:50:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:54 ---> Running in 691617d5e0fc 08:50:55 Removing intermediate container 691617d5e0fc 08:50:55 ---> e6fd915907e2 08:50:55 Step 12/24 : ENV APP_PORT=49990 08:50:55 ---> Running in 3c22b3ffb727 08:50:55 Removing intermediate container 3c22b3ffb727 08:50:55 ---> 197149d455fb 08:50:55 Step 13/24 : EXPOSE $APP_PORT 08:50:55 ---> Running in cbaffe935447 08:50:56 Removing intermediate container cbaffe935447 08:50:56 ---> 5bd61c4ce247 08:50:56 Step 14/24 : WORKDIR / 08:50:56 ---> Running in eff201a80287 08:50:56 Removing intermediate container eff201a80287 08:50:56 ---> bed4e2c48fb5 08:50:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:50:58 ---> 110a10601ea5 08:50:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:50:58 ---> 5d3fe9f57726 08:50:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:50:59 ---> 902180c834fb 08:50:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:51:00 ---> 3ef298959900 08:51:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:51:01 ---> 048b1e653909 08:51:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:51:01 ---> Running in fec2dcc99788 08:51:01 Removing intermediate container fec2dcc99788 08:51:01 ---> 0e29c4412171 08:51:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:51:01 ---> Running in bb0d9d7f4db9 08:51:01 Removing intermediate container bb0d9d7f4db9 08:51:01 ---> 0181579d2d66 08:51:01 Step 22/24 : LABEL arch=arm64 08:51:02 ---> Running in 2764d6be25c1 08:51:02 Removing intermediate container 2764d6be25c1 08:51:02 ---> efd2ae39a923 08:51:02 Step 23/24 : LABEL git_sha=cf2ca9639e94ace87c4e52fa9af7157d3d98188f 08:51:02 ---> Running in de85416edda6 08:51:02 Removing intermediate container de85416edda6 08:51:02 ---> 0059e1dbc701 08:51:02 Step 24/24 : LABEL version=0.0.0 08:51:03 ---> Running in e1dcc4247038 08:51:03 Removing intermediate container e1dcc4247038 08:51:03 ---> a42736a8b4de 08:51:03 [Warning] One or more build-args [ARCH] were not consumed 08:51:03 Successfully built a42736a8b4de 08:51:03 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 08:51:06 provisioning config files... 08:51:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/config6842955173275490752tmp [Pipeline] { [Pipeline] sh 08:51:06 + set +x 08:51:06 + curl -s https://codecov.io/bash 08:51:06 + bash -s -- 08:51:07 08:51:07 _____ _ 08:51:07 / ____| | | 08:51:07 | | ___ __| | ___ ___ _____ __ 08:51:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:51:07 | |___| (_) | (_| | __/ (_| (_) \ V / 08:51:07 \_____\___/ \__,_|\___|\___\___/ \_/ 08:51:07 Bash-20201009-048fee3 08:51:07 08:51:07 08:51:07 ==> Jenkins CI detected. 08:51:07 project root: . 08:51:07 --> token set from env 08:51:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:51:07 ==> Running gcov in . (disable via -X gcov) 08:51:07 ==> Python coveragepy not found 08:51:07 ==> Searching for coverage reports in: 08:51:07 + . 08:51:07 -> Found 1 reports 08:51:07 ==> Detecting git/mercurial file structure 08:51:07 ==> Reading reports 08:51:07 + ./coverage.out bytes=110398 08:51:07 ==> Appending adjustments 08:51:07 https://docs.codecov.io/docs/fixing-reports 08:51:07 + Found adjustments 08:51:07 ==> Gzipping contents 08:51:07 ==> Uploading reports 08:51:07 url: https://codecov.io 08:51:07 query: branch=PR-632&commit=cf2ca9639e94ace87c4e52fa9af7157d3d98188f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=632&job=&cmd_args= 08:51:07 -> Pinging Codecov 08:51:07 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-632&commit=cf2ca9639e94ace87c4e52fa9af7157d3d98188f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=632&job=&cmd_args= 08:51:07 -> Uploading to 08:51:07 08:51:07 % Total % Received % Xferd Average Speed Time Time Time Current 08:51:07 Dload Upload Total Spent Left Speed 08:51:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 08:51:08 X> Failed to upload 08:51:08 ==> Uploading to Codecov 08:51:08 % Total % Received % Xferd Average Speed Time Time Time Current 08:51:08 Dload Upload Total Spent Left Speed 08:51:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19126 100 110 100 19016 182 31527 --:--:-- --:--:-- --:--:-- 31535 08:51:08 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf2ca9639e94ace87c4e52fa9af7157d3d98188f [Pipeline] } 08:51:08 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 08:51:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:51:13 ---> package-listing.sh 08:51:13 ++ facter osfamily 08:51:13 ++ tr '[:upper:]' '[:lower:]' 08:51:13 + OS_FAMILY=redhat 08:51:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-632 08:51:13 + START_PACKAGES=/tmp/packages_start.txt 08:51:13 + END_PACKAGES=/tmp/packages_end.txt 08:51:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:51:13 + PACKAGES=/tmp/packages_start.txt 08:51:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-632 ']' 08:51:13 + PACKAGES=/tmp/packages_end.txt 08:51:13 + case "${OS_FAMILY}" in 08:51:13 + rpm -qa 08:51:13 + sort 08:51:17 + '[' -f /tmp/packages_start.txt ']' 08:51:17 + '[' -f /tmp/packages_end.txt ']' 08:51:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:51:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-632 ']' 08:51:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-632/archives/ 08:51:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-632/archives/ [Pipeline] echo 08:51:17 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-632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:51:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:51:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:18 08:51:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:51:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:19 alpine: Pulling from edgex-lftools-log-publisher 08:51:19 df20fa9351a1: Pulling fs layer 08:51:19 36b3adc4ff6f: Pulling fs layer 08:51:19 8ad3a11d3b57: Pulling fs layer 08:51:19 46f8f816bc3b: Pulling fs layer 08:51:19 93b61091891f: Pulling fs layer 08:51:19 93b9cdb0e59b: Pulling fs layer 08:51:19 5e14af77c1be: Pulling fs layer 08:51:19 01666e4c0597: Pulling fs layer 08:51:19 aa168da1d23b: Pulling fs layer 08:51:19 46f8f816bc3b: Waiting 08:51:19 93b61091891f: Waiting 08:51:19 93b9cdb0e59b: Waiting 08:51:19 5e14af77c1be: Waiting 08:51:19 01666e4c0597: Waiting 08:51:19 aa168da1d23b: Waiting 08:51:19 36b3adc4ff6f: Verifying Checksum 08:51:19 36b3adc4ff6f: Download complete 08:51:19 46f8f816bc3b: Verifying Checksum 08:51:19 46f8f816bc3b: Download complete 08:51:19 93b61091891f: Download complete 08:51:19 df20fa9351a1: Verifying Checksum 08:51:19 93b9cdb0e59b: Verifying Checksum 08:51:19 93b9cdb0e59b: Download complete 08:51:19 5e14af77c1be: Download complete 08:51:19 01666e4c0597: Verifying Checksum 08:51:19 01666e4c0597: Download complete 08:51:20 df20fa9351a1: Pull complete 08:51:20 36b3adc4ff6f: Pull complete 08:51:21 8ad3a11d3b57: Verifying Checksum 08:51:21 8ad3a11d3b57: Download complete 08:51:21 8ad3a11d3b57: Pull complete 08:51:21 46f8f816bc3b: Pull complete 08:51:21 93b61091891f: Pull complete 08:51:22 93b9cdb0e59b: Pull complete 08:51:22 5e14af77c1be: Pull complete 08:51:22 01666e4c0597: Pull complete 08:51:23 aa168da1d23b: Verifying Checksum 08:51:23 aa168da1d23b: Download complete 08:51:30 aa168da1d23b: Pull complete 08:51:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:51:30 prd-centos7-docker-4c-2g-6253 does not seem to be running inside a container 08:51:30 $ 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-632/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-632 -v /w/workspace/dgexfoundry_device-sdk-go_PR-632:/w/workspace/dgexfoundry_device-sdk-go_PR-632:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-632@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 08:51:36 $ docker top d85b71fbd6a907c6e50f690230529ac0bd5a68a351add86798f6f92923bdae20 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:37 + touch /tmp/pre-build-complete [Pipeline] sh 08:51:37 + mkdir -p /var/log/sa [Pipeline] sh 08:51:37 + ls /var/log/sa-host 08:51:37 + sadf -c /var/log/sa-host/sa05 08:51:37 file_magic: OK 08:51:37 HZ: Using current value: 100 08:51:37 file_header: OK 08:51:37 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 08:51:37 Statistics: 08:51:37 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:37 File successfully converted to sysstat format version 12.2.1 08:51:37 + sadf -c /var/log/sa-host/sa19 08:51:37 file_magic: OK 08:51:37 HZ: Using current value: 100 08:51:37 file_header: OK 08:51:37 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 08:51:37 Statistics: 08:51:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:38 provisioning config files... 08:51:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-632@tmp/config2915787060594257146tmp [Pipeline] { [Pipeline] echo 08:51:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:38 ---> create-netrc.sh [Pipeline] } 08:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:51:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:51:38 ---> python-tools-install.sh [Pipeline] echo 08:51:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:51:39 ---> sudo-logs.sh 08:51:39 Archiving 'sudo' log.. [Pipeline] echo 08:51:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:51:39 ---> job-cost.sh 08:51:39 lf-activate-venv: SKIPPING 08:51:39 INFO: No Stack... 08:51:41 INFO: Retrieving Pricing Info for: v1-standard-2 08:51:41 INFO: Archiving Costs [Pipeline] echo 08:51:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:41 ---> logs-deploy.sh 08:51:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-632/1 08:51:41 INFO: archiving workspace using pattern(s): 08:51:43 Archives upload complete. 08:51:43 INFO: archiving logs to Nexus