Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+abee7d5846637e135dd277469e99a0143c7ff265 (50b401b4b147e0910b1524efbef1baca6fa58d14) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5743 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-584 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing dd95adb44c79d885b11bb729300c8da6e1c54625 Checking out Revision dd95adb44c79d885b11bb729300c8da6e1c54625 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd95adb44c79d885b11bb729300c8da6e1c54625 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:45 ========================================================= 02:42:45 EdgeX Global Pipelines Version Info 02:42:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:46 ------------------- 02:42:46 stable info: 02:42:46 ------------------- 02:42:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:46 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:42:46 Message: update stable to v1.0.144 02:42:47 ------------------- 02:42:47 experimental info: 02:42:47 ------------------- 02:42:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:47 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:42:47 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd95adb44c79d885b11bb729300c8da6e1c54625 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd95adb [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:51 + git log --format=format:%s -1 dd95adb44c79d885b11bb729300c8da6e1c54625 [Pipeline] echo 02:42:51 GIT_COMMIT: dd95adb44c79d885b11bb729300c8da6e1c54625, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo 02:42:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:52 02:42:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:53 latest: Pulling from edgex-devops/git-semver 02:42:53 31603596830f: Pulling fs layer 02:42:53 2a8b12db71e7: Pulling fs layer 02:42:53 6ca5941a6612: Pulling fs layer 02:42:53 ecc8261a40a4: Pulling fs layer 02:42:53 ecc8261a40a4: Waiting 02:42:53 2a8b12db71e7: Verifying Checksum 02:42:53 2a8b12db71e7: Download complete 02:42:53 31603596830f: Verifying Checksum 02:42:53 31603596830f: Download complete 02:42:53 ecc8261a40a4: Verifying Checksum 02:42:53 ecc8261a40a4: Download complete 02:42:53 6ca5941a6612: Verifying Checksum 02:42:53 6ca5941a6612: Download complete 02:42:53 31603596830f: Pull complete 02:42:53 2a8b12db71e7: Pull complete 02:42:54 6ca5941a6612: Pull complete 02:42:54 ecc8261a40a4: Pull complete 02:42:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:55 prd-centos7-docker-4c-2g-5743 does not seem to be running inside a container 02:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:57 $ docker top 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:57 [ssh-agent] Looking for ssh-agent implementation... 02:42:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:57 $ docker exec 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent 02:42:57 SSH_AUTH_SOCK=/tmp/ssh-tP27MTwIggHg/agent.11 02:42:57 SSH_AGENT_PID=17 02:42:57 Running ssh-add (command line suppressed) 02:42:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2695205155517444243.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2695205155517444243.key) 02:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:58 + git tag --points-at HEAD [Pipeline] } 02:42:58 $ docker exec --env ******** --env ******** 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent -k 02:42:58 unset SSH_AUTH_SOCK; 02:42:58 unset SSH_AGENT_PID; 02:42:58 echo Agent pid 17 killed; 02:42:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:58 [ssh-agent] Looking for ssh-agent implementation... 02:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:58 $ docker exec 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent 02:42:59 SSH_AUTH_SOCK=/tmp/ssh-goYSCXM0qOOh/agent.46 02:42:59 SSH_AGENT_PID=51 02:42:59 Running ssh-add (command line suppressed) 02:42:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7871819498070036576.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_7871819498070036576.key) 02:42:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:59 + git semver init 02:42:59 # -> Open(): unable to determine branch for HEAD 02:42:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 02:42:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 02:42:59 # $SEMVER_REMOTE_NAME = origin 02:42:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:59 # $SEMVER_USER_NAME = edgex-jenkins 02:42:59 # $SEMVER_BRANCH = PR-584 02:42:59 # $SEMVER_TEMP = /tmp/semver-079651579 02:42:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:00 # '/tmp/semver-079651579' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 02:43:00 # -> Force: false 02:43:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 02:43:00 $ docker exec --env ******** --env ******** 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 ssh-agent -k 02:43:00 unset SSH_AUTH_SOCK; 02:43:00 unset SSH_AGENT_PID; 02:43:00 echo Agent pid 51 killed; 02:43:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:00 + git semver [Pipeline] } 02:43:00 $ docker stop --time=1 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 02:43:02 $ docker rm -f 984aceaedd8ceb27026132d3b45d64b4d60756d2063e6b0750cfbea5e40ba1b7 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:03 Stashed 1 file(s) [Pipeline] echo 02:43:03 [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 02:43:18 Still waiting to schedule task 02:43:18 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5745’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:18 Still waiting to schedule task 02:43:18 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:45:17 Running on prd-centos7-docker-4c-2g-5748 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 02:45:18 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 02:45:28 using credential edgex-jenkins-ssh 02:45:28 Cloning the remote Git repository 02:45:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:28 > git init /w/workspace/device-sdk-go/21 # timeout=10 02:45:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:28 > git --version # timeout=10 02:45:28 > git --version # 'git version 2.16.5' 02:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:30 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 02:45:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:30 > git config core.sparsecheckout # timeout=10 02:45:30 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 02:45:30 > git remote # timeout=10 02:45:30 Merge succeeded, producing 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 02:45:30 Checking out Revision 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 (PR-584) 02:45:30 > git config --get remote.origin.url # timeout=10 02:45:30 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:30 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:45:30 > git rev-parse HEAD^{commit} # timeout=10 02:45:30 > git config core.sparsecheckout # timeout=10 02:45:30 > git checkout -f 7b8e70047dcbd91dc2f017a0b18f10eaa0be78e2 # timeout=10 02:45:37 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:45:37 First time build. Skipping changelog. 02:45:37 > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:45:38 ========================================================= 02:45:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5751 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 02:45:42 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 02:45:42 + 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 . 02:45:43 Sending build context to Docker daemon 2.296MB 02:45:43 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:43 Step 2/8 : FROM ${BASE} 02:45:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:43 df20fa9351a1: Pulling fs layer 02:45:43 ed8968b2872e: Pulling fs layer 02:45:43 a92cc7c5fd73: Pulling fs layer 02:45:43 e871e8e8d7a9: Pulling fs layer 02:45:43 e73272ec9a57: Pulling fs layer 02:45:43 1e910a182e73: Pulling fs layer 02:45:43 4e634b169226: Pulling fs layer 02:45:43 e871e8e8d7a9: Waiting 02:45:43 e73272ec9a57: Waiting 02:45:43 1e910a182e73: Waiting 02:45:43 4e634b169226: Waiting 02:45:43 a92cc7c5fd73: Verifying Checksum 02:45:43 a92cc7c5fd73: Download complete 02:45:43 ed8968b2872e: Verifying Checksum 02:45:43 ed8968b2872e: Download complete 02:45:43 e73272ec9a57: Download complete 02:45:43 1e910a182e73: Verifying Checksum 02:45:43 1e910a182e73: Download complete 02:45:44 df20fa9351a1: Verifying Checksum 02:45:44 df20fa9351a1: Download complete 02:45:45 df20fa9351a1: Pull complete 02:45:46 ed8968b2872e: Pull complete 02:45:46 a92cc7c5fd73: Pull complete 02:45:46 using credential edgex-jenkins-ssh 02:45:47 Cloning the remote Git repository 02:45:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 > git init /w/workspace/device-sdk-go/21 # timeout=10 02:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 > git --version # timeout=10 02:45:47 > git --version # 'git version 2.17.1' 02:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:49 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 02:45:49 Merge succeeded, producing 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a 02:45:49 Checking out Revision 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a (PR-584) 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 02:45:49 > git remote # timeout=10 02:45:49 > git config --get remote.origin.url # timeout=10 02:45:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:49 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:45:49 > git rev-parse HEAD^{commit} # timeout=10 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f 3fe09e7ba9f9d9a6d5b671ec5bcc69c38dc15f1a # timeout=10 02:45:54 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:45:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:45:55 ========================================================= 02:45:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:54 > git rev-list --no-walk 45c1db7a078e7895d1937ff01ca68aa047ba2514 # timeout=10 02:45:56 + 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 . 02:45:56 4e634b169226: Verifying Checksum 02:45:56 4e634b169226: Download complete 02:45:57 Sending build context to Docker daemon 2.296MB 02:45:57 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:57 Step 2/8 : FROM ${BASE} 02:45:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:57 b538f80385f9: Pulling fs layer 02:45:57 74f711af9a0d: Pulling fs layer 02:45:57 99f96fe45779: Pulling fs layer 02:45:57 8529a6b9a6be: Pulling fs layer 02:45:57 45590311c82a: Pulling fs layer 02:45:57 69ca0ff8b7b3: Pulling fs layer 02:45:57 209524e5b208: Pulling fs layer 02:45:57 8529a6b9a6be: Waiting 02:45:57 45590311c82a: Waiting 02:45:57 69ca0ff8b7b3: Waiting 02:45:57 209524e5b208: Waiting 02:45:57 99f96fe45779: Verifying Checksum 02:45:57 99f96fe45779: Download complete 02:45:57 74f711af9a0d: Verifying Checksum 02:45:57 74f711af9a0d: Download complete 02:45:57 45590311c82a: Verifying Checksum 02:45:57 45590311c82a: Download complete 02:45:57 69ca0ff8b7b3: Verifying Checksum 02:45:57 69ca0ff8b7b3: Download complete 02:45:57 b538f80385f9: Verifying Checksum 02:45:57 b538f80385f9: Download complete 02:45:58 b538f80385f9: Pull complete 02:45:58 74f711af9a0d: Pull complete 02:45:59 99f96fe45779: Pull complete 02:46:01 209524e5b208: Verifying Checksum 02:46:01 209524e5b208: Download complete 02:46:04 8529a6b9a6be: Download complete 02:46:05 e871e8e8d7a9: Verifying Checksum 02:46:05 e871e8e8d7a9: Download complete 02:46:14 e871e8e8d7a9: Pull complete 02:46:14 e73272ec9a57: Pull complete 02:46:14 1e910a182e73: Pull complete 02:46:16 8529a6b9a6be: Pull complete 02:46:16 45590311c82a: Pull complete 02:46:16 69ca0ff8b7b3: Pull complete 02:46:19 209524e5b208: Pull complete 02:46:19 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:19 ---> 5bddaf1c2fca 02:46:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:19 4e634b169226: Pull complete 02:46:19 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:19 ---> f7629b54cfaa 02:46:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:20 ---> Running in 93d86eb0f723 02:46:20 Removing intermediate container 93d86eb0f723 02:46:20 ---> 0e51104abd11 02:46:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:20 ---> Running in d63843054dda 02:46:22 ---> Running in 8fe17df06ff8 02:46:22 Removing intermediate container d63843054dda 02:46:22 ---> fb1c40d5c000 02:46:22 Step 5/8 : RUN apk add --no-cache make git 02:46:22 ---> Running in 07ed62c30ad5 02:46:22 Removing intermediate container 8fe17df06ff8 02:46:22 ---> 15cd2f70a3ff 02:46:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:22 ---> Running in 90be5741697c 02:46:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:24 OK: 166 MiB in 39 packages 02:46:25 Removing intermediate container 90be5741697c 02:46:25 ---> 578699035281 02:46:25 Step 5/8 : RUN apk add --no-cache make git 02:46:25 ---> Running in 554b0220560e 02:46:25 Removing intermediate container 07ed62c30ad5 02:46:25 ---> 742f6cc056b4 02:46:25 Step 6/8 : WORKDIR /device-sdk-go 02:46:25 ---> Running in fe379e9422ef 02:46:25 Removing intermediate container fe379e9422ef 02:46:25 ---> a7bdf2e12e11 02:46:25 Step 7/8 : COPY . . 02:46:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:27 ---> dfd75fa912f5 02:46:27 Step 8/8 : RUN go mod download 02:46:27 ---> Running in e438a553f1de 02:46:28 OK: 142 MiB in 39 packages 02:46:29 Removing intermediate container 554b0220560e 02:46:29 ---> c61214e22361 02:46:29 Step 6/8 : WORKDIR /device-sdk-go 02:46:29 ---> Running in b08091bb71bd 02:46:30 Removing intermediate container b08091bb71bd 02:46:30 ---> 146bc513fc48 02:46:30 Step 7/8 : COPY . . 02:46:31 ---> 56e45f52265d 02:46:31 Step 8/8 : RUN go mod download 02:46:31 ---> Running in 325e5858c9a5 02:46:53 Removing intermediate container 325e5858c9a5 02:46:53 ---> 3cfe4b3cb307 02:46:53 Successfully built 3cfe4b3cb307 02:46:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:54 + docker inspect -f . ci-base-image-arm64 02:46:54 . [Pipeline] withDockerContainer 02:46:54 prd-ubuntu18.04-docker-arm64-4c-16g-5751 does not seem to be running inside a container 02:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:55 Removing intermediate container e438a553f1de 02:46:55 ---> c7a9b87f584b 02:46:55 Successfully built c7a9b87f584b 02:46:55 Successfully tagged ci-base-image-x86_64:latest 02:46:56 $ docker top 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:46:57 + docker inspect -f . ci-base-image-x86_64 02:46:57 . [Pipeline] withDockerContainer 02:46:57 prd-centos7-docker-4c-2g-5748 does not seem to be running inside a container 02:46:57 + go version 02:46:57 go version go1.15.2 linux/arm64 02:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:59 $ docker top 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 -eo pid,comm [Pipeline] { [Pipeline] } 02:46:59 $ docker stop --time=1 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c 02:47:01 $ docker rm -f 2ce94a8d1ef0d2be8e565128d751b512afc8c4b78b38b6b62c271a5cc5aaf12c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 02:47:02 + go version 02:47:02 go version go1.15.2 linux/amd64 [Pipeline] } 02:47:02 $ docker stop --time=1 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 02:47:04 $ docker rm -f 39ef0d25148da9054faa378a7cf5457e14ef3e6b701ff6f9f2e4e5b8cef181a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 02:47:05 + docker inspect -f . ci-base-image-arm64 02:47:05 . [Pipeline] withDockerContainer 02:47:05 + docker inspect -f . ci-base-image-x86_64 02:47:05 . 02:47:05 prd-ubuntu18.04-docker-arm64-4c-16g-5751 does not seem to be running inside a container 02:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:47:07 $ docker top 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 02:47:08 prd-centos7-docker-4c-2g-5748 does not seem to be running inside a container 02:47:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:10 $ docker top b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 02:47:11 + make test 02:47:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:12 + make test 02:47:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:54 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:54 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:54 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.6% of statements 02:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.955s coverage: 97.1% of statements 02:48:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.146s coverage: 21.6% of statements 02:48:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.219s coverage: 97.1% of statements 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.241s coverage: 9.4% of statements 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.092s coverage: 21.9% of statements 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.316s coverage: 40.8% of statements 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.570s coverage: 68.9% of statements 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 52.6% of statements 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.245s coverage: 68.9% of statements 02:48:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:24 GO111MODULE=on go vet ./... 02:48:39 gofmt -l . 02:48:39 [ "`gofmt -l .`" = "" ] 02:48:39 ./bin/test-attribution-txt.sh 02:48:39 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:48:41 Stashed 1 file(s) [Pipeline] } 02:48:41 $ docker stop --time=1 b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 02:48:43 $ docker rm -f b61598ef1e9790ff8f7d57effb3079712fe022806c9a1201672fd3cf5d21fd08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:46 + ls -al . 02:48:46 total 188 02:48:46 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:48 . 02:48:46 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 02:45 .. 02:48:46 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:45 bin 02:48:46 -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out 02:48:46 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build 02:48:46 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore 02:48:46 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:45 example 02:48:46 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:45 .git 02:48:46 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:45 .github 02:48:46 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:45 .gitignore 02:48:46 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:48 go.mod 02:48:46 -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 02:48 go.sum 02:48:46 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:45 internal 02:48:46 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile 02:48:46 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE 02:48:46 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:45 Makefile 02:48:46 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:45 openapi 02:48:46 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:45 pkg 02:48:46 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:45 README.md 02:48:46 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt 02:48:46 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:45 snap 02:48:46 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:48:46 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:48:46 + 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=dd95adb44c79d885b11bb729300c8da6e1c54625 --label arch=amd64 --label version=0.0.0 . 02:48:46 Sending build context to Docker daemon 2.407MB 02:48:46 Step 1/24 : ARG BASE=golang:1.15-alpine 02:48:46 Step 2/24 : FROM ${BASE} AS builder 02:48:46 ---> c7a9b87f584b 02:48:46 Step 3/24 : ARG MAKE='make build' 02:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements 02:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.179s coverage: 21.9% of statements 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.564s coverage: 40.8% of statements 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 68.9% of statements 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.749s coverage: 68.9% of statements 02:48:47 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:47 GO111MODULE=on go vet ./... 02:48:47 ---> Running in 190398b37b60 02:48:47 Removing intermediate container 190398b37b60 02:48:47 ---> 354924a68cab 02:48:47 Step 4/24 : WORKDIR /device-sdk-go 02:48:47 ---> Running in 3e3c3292567b 02:48:48 Removing intermediate container 3e3c3292567b 02:48:48 ---> 548b083d28a9 02:48:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:48 ---> Running in b75335f5697c 02:48:48 Removing intermediate container b75335f5697c 02:48:48 ---> a293c2202c03 02:48:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:48 ---> Running in 8607629d4150 02:48:50 Removing intermediate container 8607629d4150 02:48:50 ---> b9ec4452bd7b 02:48:50 Step 7/24 : RUN apk add --update --no-cache make git 02:48:50 ---> Running in dae90a718562 02:48:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:54 OK: 166 MiB in 39 packages 02:48:54 Removing intermediate container dae90a718562 02:48:54 ---> cd00cd16f205 02:48:54 Step 8/24 : COPY . . 02:48:56 ---> 6943c10d504a 02:48:56 Step 9/24 : RUN ${MAKE} 02:48:56 ---> Running in a1fb0be972a8 02:48:57 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 02:49:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:19 gofmt -l . 02:49:19 [ "`gofmt -l .`" = "" ] 02:49:19 ./bin/test-attribution-txt.sh 02:49:19 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:19 Warning: overwriting stash ‘coverage-report’ 02:49:20 Removing intermediate container a1fb0be972a8 02:49:20 ---> 04c20a681fba 02:49:20 Step 10/24 : FROM scratch 02:49:20 ---> 02:49:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:20 ---> Running in 754a87715788 02:49:20 Removing intermediate container 754a87715788 02:49:20 ---> 17e97c713e16 02:49:20 Step 12/24 : ENV APP_PORT=49990 02:49:20 ---> Running in 7f3b84cfff40 02:49:20 Removing intermediate container 7f3b84cfff40 02:49:20 ---> 1d4db088b7fb 02:49:20 Step 13/24 : EXPOSE $APP_PORT 02:49:20 Stashed 1 file(s) [Pipeline] } 02:49:20 $ docker stop --time=1 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa 02:49:20 ---> Running in 33214b214bf7 02:49:21 Removing intermediate container 33214b214bf7 02:49:21 ---> f20cccfd9eba 02:49:21 Step 14/24 : WORKDIR / 02:49:21 ---> Running in 6fa953b08467 02:49:21 Removing intermediate container 6fa953b08467 02:49:21 ---> 494d8a985e17 02:49:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:22 ---> 95e54e1056fc 02:49:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:22 $ docker rm -f 3c8443ad67b6a8a40991776f898b7a645f7261004df84eb1a67875acbd76caaa 02:49:23 ---> 73d4cc19bf13 02:49:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 02:49:23 ---> 92b67e672821 02:49:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:23 ---> db2f3adc0ac2 02:49:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:24 ---> dd68a0e09cad 02:49:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:24 ---> Running in d0d3bc692950 02:49:24 + ls -al . 02:49:24 total 224 02:49:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:49 . 02:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 .. 02:49:24 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore 02:49:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:45 .git 02:49:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:45 .github 02:49:24 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:45 .gitignore 02:49:24 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build 02:49:24 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile 02:49:24 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE 02:49:24 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:45 Makefile 02:49:24 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:45 README.md 02:49:24 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt 02:49:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:49:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:45 bin 02:49:24 -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out 02:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 example 02:49:24 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:49 go.mod 02:49:24 -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 02:49 go.sum 02:49:24 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:45 internal 02:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 openapi 02:49:24 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:45 pkg 02:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:45 snap 02:49:24 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:24 Removing intermediate container d0d3bc692950 02:49:24 ---> 1f1fd81dce4c 02:49:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:24 ---> Running in 28c008c72270 02:49:25 + 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=dd95adb44c79d885b11bb729300c8da6e1c54625 --label arch=arm64 --label version=0.0.0 . 02:49:25 Removing intermediate container 28c008c72270 02:49:25 ---> e1a716593773 02:49:25 Step 22/24 : LABEL arch=amd64 02:49:25 ---> Running in 8fc96a776f11 02:49:25 Removing intermediate container 8fc96a776f11 02:49:25 ---> c1d972adadac 02:49:25 Step 23/24 : LABEL git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 02:49:25 ---> Running in b80ed99760d0 02:49:25 Sending build context to Docker daemon 2.407MB 02:49:25 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:25 Step 2/24 : FROM ${BASE} AS builder 02:49:25 ---> 3cfe4b3cb307 02:49:25 Step 3/24 : ARG MAKE='make build' 02:49:25 Removing intermediate container b80ed99760d0 02:49:25 ---> f670c77c8d8c 02:49:25 Step 24/24 : LABEL version=0.0.0 02:49:25 ---> Running in 9669e083ee25 02:49:26 ---> Running in bc9965c17f9d 02:49:26 Removing intermediate container bc9965c17f9d 02:49:26 ---> dd6a24840b76 02:49:26 [Warning] One or more build-args [ARCH] were not consumed 02:49:26 Successfully built dd6a24840b76 02:49:26 Removing intermediate container 9669e083ee25 02:49:26 ---> ec2054f5d376 02:49:26 Step 4/24 : WORKDIR /device-sdk-go 02:49:26 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 02:49:26 ---> Running in f40128259d11 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 02:49:26 Removing intermediate container f40128259d11 02:49:26 ---> a0e4fd9a72fc 02:49:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 02:49:27 ---> Running in bea35bc255cd [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 02:49:27 Removing intermediate container bea35bc255cd 02:49:27 ---> cae2027642b3 02:49:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:27 ---> Running in dc28655d7247 02:49:30 Removing intermediate container dc28655d7247 02:49:30 ---> 9e886c22a0e5 02:49:30 Step 7/24 : RUN apk add --update --no-cache make git 02:49:30 ---> Running in e28761d5b255 02:49:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:33 OK: 142 MiB in 39 packages 02:49:34 Removing intermediate container e28761d5b255 02:49:34 ---> 7972ab91feeb 02:49:34 Step 8/24 : COPY . . 02:49:36 ---> d6369797e1db 02:49:36 Step 9/24 : RUN ${MAKE} 02:49:36 ---> Running in 08348d3a23cf 02:49:37 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 02:50:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:06 Removing intermediate container 08348d3a23cf 02:50:06 ---> 07e6f0625df8 02:50:06 Step 10/24 : FROM scratch 02:50:06 ---> 02:50:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:06 ---> Running in 470147f74881 02:50:07 Removing intermediate container 470147f74881 02:50:07 ---> aa51521f5f98 02:50:07 Step 12/24 : ENV APP_PORT=49990 02:50:07 ---> Running in b8aac2096361 02:50:07 Removing intermediate container b8aac2096361 02:50:07 ---> 065f9821e836 02:50:07 Step 13/24 : EXPOSE $APP_PORT 02:50:07 ---> Running in 493589d7eeeb 02:50:07 Removing intermediate container 493589d7eeeb 02:50:07 ---> 54910ee79f67 02:50:07 Step 14/24 : WORKDIR / 02:50:08 ---> Running in 8a26fadb3f31 02:50:08 Removing intermediate container 8a26fadb3f31 02:50:08 ---> c04b5a3d5691 02:50:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:09 ---> 7004b0428f4e 02:50:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:10 ---> 3a18fc92b795 02:50:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:11 ---> 92c402f2397d 02:50:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:12 ---> fc1de4531e0b 02:50:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:12 ---> 13d17c9db0cd 02:50:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:12 ---> Running in 6887f2f637a0 02:50:13 Removing intermediate container 6887f2f637a0 02:50:13 ---> 2330f0134785 02:50:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:13 ---> Running in 13ed97c19b6c 02:50:13 Removing intermediate container 13ed97c19b6c 02:50:13 ---> 8a9553e2b20b 02:50:13 Step 22/24 : LABEL arch=arm64 02:50:13 ---> Running in b1abc69d5d4e 02:50:14 Removing intermediate container b1abc69d5d4e 02:50:14 ---> b92c45425639 02:50:14 Step 23/24 : LABEL git_sha=dd95adb44c79d885b11bb729300c8da6e1c54625 02:50:14 ---> Running in 8c4a1a283d9c 02:50:15 Removing intermediate container 8c4a1a283d9c 02:50:15 ---> b79548b16db3 02:50:15 Step 24/24 : LABEL version=0.0.0 02:50:15 ---> Running in 29934094558f 02:50:15 Removing intermediate container 29934094558f 02:50:15 ---> 7df2f50f44e1 02:50:15 [Warning] One or more build-args [ARCH] were not consumed 02:50:15 Successfully built 7df2f50f44e1 02:50:15 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 02:50:17 provisioning config files... 02:50:17 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4442879981541635456tmp [Pipeline] { [Pipeline] sh 02:50:18 + set +x 02:50:18 + curl -s https://codecov.io/bash 02:50:18 + bash -s -- 02:50:18 02:50:18 _____ _ 02:50:18 / ____| | | 02:50:18 | | ___ __| | ___ ___ _____ __ 02:50:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:18 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:18 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:18 Bash-20201009-048fee3 02:50:18 02:50:18 02:50:18 ==> Jenkins CI detected. 02:50:18 project root: . 02:50:18 Fixing merge commit SHA 02:50:18 --> token set from env 02:50:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:18 ==> Running gcov in . (disable via -X gcov) 02:50:18 ==> Python coveragepy not found 02:50:18 ==> Searching for coverage reports in: 02:50:18 + . 02:50:18 -> Found 1 reports 02:50:18 ==> Detecting git/mercurial file structure 02:50:18 ==> Reading reports 02:50:18 + ./coverage.out bytes=110396 02:50:18 ==> Appending adjustments 02:50:18 https://docs.codecov.io/docs/fixing-reports 02:50:18 + Found adjustments 02:50:18 ==> Gzipping contents 02:50:18 ==> Uploading reports 02:50:18 url: https://codecov.io 02:50:18 query: branch=PR-584&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:50:18 -> Pinging Codecov 02:50:18 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= 02:50:18 -> Uploading to 02:50:18 02:50:18 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:18 Dload Upload Total Spent Left Speed 02:50:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:50:18 X> Failed to upload 02:50:18 ==> Uploading to Codecov 02:50:18 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:18 Dload Upload Total Spent Left Speed 02:50:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18992 100 110 100 18882 171 29512 --:--:-- --:--:-- --:--:-- 29549 02:50:19 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } 02:50:19 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 02:50:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:23 ---> package-listing.sh 02:50:23 ++ facter osfamily 02:50:23 ++ tr '[:upper:]' '[:lower:]' 02:50:23 + OS_FAMILY=redhat 02:50:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 02:50:23 + START_PACKAGES=/tmp/packages_start.txt 02:50:23 + END_PACKAGES=/tmp/packages_end.txt 02:50:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:23 + PACKAGES=/tmp/packages_start.txt 02:50:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:50:23 + PACKAGES=/tmp/packages_end.txt 02:50:23 + case "${OS_FAMILY}" in 02:50:23 + rpm -qa 02:50:23 + sort 02:50:27 + '[' -f /tmp/packages_start.txt ']' 02:50:27 + '[' -f /tmp/packages_end.txt ']' 02:50:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 02:50:27 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 02:50:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo 02:50:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:28 02:50:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:28 alpine: Pulling from edgex-lftools-log-publisher 02:50:28 df20fa9351a1: Pulling fs layer 02:50:28 36b3adc4ff6f: Pulling fs layer 02:50:28 8ad3a11d3b57: Pulling fs layer 02:50:28 46f8f816bc3b: Pulling fs layer 02:50:28 93b61091891f: Pulling fs layer 02:50:28 93b9cdb0e59b: Pulling fs layer 02:50:28 5e14af77c1be: Pulling fs layer 02:50:28 01666e4c0597: Pulling fs layer 02:50:28 aa168da1d23b: Pulling fs layer 02:50:28 93b9cdb0e59b: Waiting 02:50:28 5e14af77c1be: Waiting 02:50:28 01666e4c0597: Waiting 02:50:28 aa168da1d23b: Waiting 02:50:28 93b61091891f: Waiting 02:50:28 46f8f816bc3b: Waiting 02:50:28 36b3adc4ff6f: Download complete 02:50:28 46f8f816bc3b: Download complete 02:50:28 df20fa9351a1: Verifying Checksum 02:50:28 df20fa9351a1: Download complete 02:50:28 93b9cdb0e59b: Verifying Checksum 02:50:28 93b9cdb0e59b: Download complete 02:50:28 5e14af77c1be: Verifying Checksum 02:50:28 5e14af77c1be: Download complete 02:50:28 93b61091891f: Verifying Checksum 02:50:28 93b61091891f: Download complete 02:50:28 01666e4c0597: Download complete 02:50:28 df20fa9351a1: Pull complete 02:50:29 36b3adc4ff6f: Pull complete 02:50:29 8ad3a11d3b57: Verifying Checksum 02:50:29 8ad3a11d3b57: Download complete 02:50:30 8ad3a11d3b57: Pull complete 02:50:30 46f8f816bc3b: Pull complete 02:50:30 93b61091891f: Pull complete 02:50:31 93b9cdb0e59b: Pull complete 02:50:31 5e14af77c1be: Pull complete 02:50:31 aa168da1d23b: Verifying Checksum 02:50:31 aa168da1d23b: Download complete 02:50:31 01666e4c0597: Pull complete 02:50:38 aa168da1d23b: Pull complete 02:50:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:38 prd-centos7-docker-4c-2g-5743 does not seem to be running inside a container 02:50:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:45 $ docker top 4fcce52706e973e2023a88cf23d8ab31cb5b21d4d2a65ec49fdc6263b31a24a5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:45 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:46 + mkdir -p /var/log/sa [Pipeline] sh 02:50:46 + ls /var/log/sa-host 02:50:46 + sadf -c /var/log/sa-host/sa05 02:50:46 file_magic: OK 02:50:46 HZ: Using current value: 100 02:50:46 file_header: OK 02:50:46 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 02:50:46 Statistics: 02:50:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:46 File successfully converted to sysstat format version 12.2.1 02:50:46 + sadf -c /var/log/sa-host/sa16 02:50:46 file_magic: OK 02:50:46 HZ: Using current value: 100 02:50:46 file_header: OK 02:50:46 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 02:50:46 Statistics: 02:50:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:46 provisioning config files... 02:50:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config7377729023048489109tmp [Pipeline] { [Pipeline] echo 02:50:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:47 ---> create-netrc.sh [Pipeline] } 02:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:47 ---> python-tools-install.sh [Pipeline] echo 02:50:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:47 ---> sudo-logs.sh 02:50:47 Archiving 'sudo' log.. [Pipeline] echo 02:50:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:48 ---> job-cost.sh 02:50:48 lf-activate-venv: SKIPPING 02:50:48 INFO: No Stack... 02:50:49 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:49 INFO: Archiving Costs [Pipeline] echo 02:50:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:50 ---> logs-deploy.sh 02:50:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/21 02:50:50 INFO: archiving workspace using pattern(s): 02:50:51 Archives upload complete. 02:50:51 INFO: archiving logs to Nexus