Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75+abee7d5846637e135dd277469e99a0143c7ff265 (9d99d94c09b6a50cb979bc0fd50a67cce93069dc) 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-5742 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [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-627 # 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 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 Merge succeeded, producing fa1af8f77e03c45d9744656d53ea35f046709c68 Checking out Revision fa1af8f77e03c45d9744656d53ea35f046709c68 (PR-627) > 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/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # 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 fa1af8f77e03c45d9744656d53ea35f046709c68 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" > git rev-list --no-walk 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:49 ========================================================= 02:42:49 EdgeX Global Pipelines Version Info 02:42:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:51 ------------------- 02:42:51 stable info: 02:42:51 ------------------- 02:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:51 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:42:51 Message: update stable to v1.0.144 02:42:52 ------------------- 02:42:52 experimental info: 02:42:52 ------------------- 02:42:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:52 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:42:52 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa1af8f77e03c45d9744656d53ea35f046709c68 [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa1af8f [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:57 + git log --format=format:%s -1 fa1af8f77e03c45d9744656d53ea35f046709c68 [Pipeline] echo 02:42:57 GIT_COMMIT: fa1af8f77e03c45d9744656d53ea35f046709c68, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo 02:42:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:58 02:42:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:58 latest: Pulling from edgex-devops/git-semver 02:42:58 31603596830f: Pulling fs layer 02:42:58 2a8b12db71e7: Pulling fs layer 02:42:58 6ca5941a6612: Pulling fs layer 02:42:58 ecc8261a40a4: Pulling fs layer 02:42:58 ecc8261a40a4: Waiting 02:42:58 2a8b12db71e7: Verifying Checksum 02:42:58 2a8b12db71e7: Download complete 02:42:59 31603596830f: Verifying Checksum 02:42:59 31603596830f: Download complete 02:43:00 31603596830f: Pull complete 02:43:00 ecc8261a40a4: Verifying Checksum 02:43:00 ecc8261a40a4: Download complete 02:43:00 6ca5941a6612: Verifying Checksum 02:43:00 6ca5941a6612: Download complete 02:43:00 2a8b12db71e7: Pull complete 02:43:01 6ca5941a6612: Pull complete 02:43:01 ecc8261a40a4: Pull complete 02:43:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:01 prd-centos7-docker-4c-2g-5742 does not seem to be running inside a container 02:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:04 $ docker top 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:05 [ssh-agent] Looking for ssh-agent implementation... 02:43:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:05 $ docker exec 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 ssh-agent 02:43:05 SSH_AUTH_SOCK=/tmp/ssh-WgwzFhNy391k/agent.12 02:43:05 SSH_AGENT_PID=17 02:43:05 Running ssh-add (command line suppressed) 02:43:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_1230142788532250046.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_1230142788532250046.key) 02:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:06 + git tag --points-at HEAD [Pipeline] } 02:43:06 $ docker exec --env ******** --env ******** 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 ssh-agent -k 02:43:06 unset SSH_AUTH_SOCK; 02:43:06 unset SSH_AGENT_PID; 02:43:06 echo Agent pid 17 killed; 02:43:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:07 [ssh-agent] Looking for ssh-agent implementation... 02:43:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:07 $ docker exec 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 ssh-agent 02:43:07 SSH_AUTH_SOCK=/tmp/ssh-YqpF7kpUnJYh/agent.48 02:43:07 SSH_AGENT_PID=53 02:43:07 Running ssh-add (command line suppressed) 02:43:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_6399702455481910766.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_6399702455481910766.key) 02:43:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:08 + git semver init 02:43:08 # -> Open(): unable to determine branch for HEAD 02:43:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.git 02:43:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-627 02:43:08 # $SEMVER_REMOTE_NAME = origin 02:43:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:08 # $SEMVER_USER_NAME = edgex-jenkins 02:43:08 # $SEMVER_BRANCH = PR-627 02:43:08 # $SEMVER_TEMP = /tmp/semver-761392593 02:43:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:10 # '/tmp/semver-761392593' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver' 02:43:10 # -> Force: false 02:43:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver [Pipeline] } 02:43:10 $ docker exec --env ******** --env ******** 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 ssh-agent -k 02:43:10 unset SSH_AUTH_SOCK; 02:43:10 unset SSH_AGENT_PID; 02:43:10 echo Agent pid 53 killed; 02:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:10 + git semver [Pipeline] } 02:43:11 $ docker stop --time=1 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 02:43:12 $ docker rm -f 5a43cb01d8c82ad0794fd82b75b8fe88a1b04cf5df801ab2e8375690047cccb6 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:14 Stashed 1 file(s) [Pipeline] echo 02:43:14 [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:29 Still waiting to schedule task 02:43:29 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5747’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:29 Still waiting to schedule task 02:43:29 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 02:45:33 Running on prd-centos7-docker-4c-2g-5749 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws 02:45:33 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:46 using credential edgex-jenkins-ssh 02:45:46 Cloning the remote Git repository 02:45:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:45:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:46 > git --version # timeout=10 02:45:46 > git --version # 'git version 2.16.5' 02:45:46 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: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/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:49 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 02:45:50 Merge succeeded, producing 2716f147782c1702e1ecfe465671ecd60fc8f70f 02:45:50 Checking out Revision 2716f147782c1702e1ecfe465671ecd60fc8f70f (PR-627) 02:45:49 > git config core.sparsecheckout # timeout=10 02:45:49 > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 02:45:49 > git remote # timeout=10 02:45:50 > git config --get remote.origin.url # timeout=10 02:45:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:50 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:45:50 > git rev-parse HEAD^{commit} # timeout=10 02:45:50 > git config core.sparsecheckout # timeout=10 02:45:50 > git checkout -f 2716f147782c1702e1ecfe465671ecd60fc8f70f # timeout=10 02:45:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5752 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws 02:45:54 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:45:56 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:45:56 > git rev-list --no-walk 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:45:57 ========================================================= 02:45:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:59 + 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:59 Sending build context to Docker daemon 2.296MB 02:45:59 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:59 Step 2/8 : FROM ${BASE} 02:45:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:59 df20fa9351a1: Pulling fs layer 02:45:59 ed8968b2872e: Pulling fs layer 02:45:59 a92cc7c5fd73: Pulling fs layer 02:45:59 e871e8e8d7a9: Pulling fs layer 02:45:59 e73272ec9a57: Pulling fs layer 02:45:59 1e910a182e73: Pulling fs layer 02:45:59 4e634b169226: Pulling fs layer 02:45:59 e73272ec9a57: Waiting 02:45:59 1e910a182e73: Waiting 02:45:59 4e634b169226: Waiting 02:45:59 e871e8e8d7a9: Waiting 02:45:59 using credential edgex-jenkins-ssh 02:46:00 Cloning the remote Git repository 02:46:00 a92cc7c5fd73: Download complete 02:46:00 ed8968b2872e: Verifying Checksum 02:46:00 ed8968b2872e: Download complete 02:46:00 e73272ec9a57: Verifying Checksum 02:46:00 e73272ec9a57: Download complete 02:46:00 1e910a182e73: Verifying Checksum 02:46:00 1e910a182e73: Download complete 02:46:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:00 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:46:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:00 > git --version # timeout=10 02:46:00 > git --version # 'git version 2.17.1' 02:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:01 df20fa9351a1: Verifying Checksum 02:46:01 df20fa9351a1: Download complete 02:46:02 df20fa9351a1: Pull complete 02:46:02 ed8968b2872e: Pull complete 02:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:02 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 02:46:02 a92cc7c5fd73: Pull complete 02:46:02 Merge succeeded, producing e1e145b2ccbf4d3d197ffe0545292559fb8261f2 02:46:02 Checking out Revision e1e145b2ccbf4d3d197ffe0545292559fb8261f2 (PR-627) 02:46:02 > git config core.sparsecheckout # timeout=10 02:46:02 > git checkout -f 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 02:46:02 > git remote # timeout=10 02:46:02 > git config --get remote.origin.url # timeout=10 02:46:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:02 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:46:02 > git rev-parse HEAD^{commit} # timeout=10 02:46:02 > git config core.sparsecheckout # timeout=10 02:46:02 > git checkout -f e1e145b2ccbf4d3d197ffe0545292559fb8261f2 # timeout=10 02:46:06 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:46:06 > git rev-list --no-walk 1b259b2ae0fab00b0a658cf5b503f7f912b1ab75 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:46:07 ========================================================= 02:46:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:09 + 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:46:10 Sending build context to Docker daemon 2.296MB 02:46:10 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:10 Step 2/8 : FROM ${BASE} 02:46:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:10 b538f80385f9: Pulling fs layer 02:46:10 74f711af9a0d: Pulling fs layer 02:46:10 99f96fe45779: Pulling fs layer 02:46:10 8529a6b9a6be: Pulling fs layer 02:46:10 45590311c82a: Pulling fs layer 02:46:10 69ca0ff8b7b3: Pulling fs layer 02:46:10 209524e5b208: Pulling fs layer 02:46:10 8529a6b9a6be: Waiting 02:46:10 45590311c82a: Waiting 02:46:10 69ca0ff8b7b3: Waiting 02:46:10 209524e5b208: Waiting 02:46:10 99f96fe45779: Verifying Checksum 02:46:10 74f711af9a0d: Verifying Checksum 02:46:10 74f711af9a0d: Download complete 02:46:10 45590311c82a: Verifying Checksum 02:46:10 45590311c82a: Download complete 02:46:10 69ca0ff8b7b3: Verifying Checksum 02:46:10 69ca0ff8b7b3: Download complete 02:46:10 b538f80385f9: Verifying Checksum 02:46:10 b538f80385f9: Download complete 02:46:11 4e634b169226: Verifying Checksum 02:46:11 4e634b169226: Download complete 02:46:11 b538f80385f9: Pull complete 02:46:11 74f711af9a0d: Pull complete 02:46:12 99f96fe45779: Pull complete 02:46:13 209524e5b208: Verifying Checksum 02:46:13 209524e5b208: Download complete 02:46:14 8529a6b9a6be: Verifying Checksum 02:46:14 8529a6b9a6be: Download complete 02:46:21 e871e8e8d7a9: Verifying Checksum 02:46:21 e871e8e8d7a9: Download complete 02:46:24 8529a6b9a6be: Pull complete 02:46:24 45590311c82a: Pull complete 02:46:24 69ca0ff8b7b3: Pull complete 02:46:29 209524e5b208: Pull complete 02:46:29 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:29 ---> 5bddaf1c2fca 02:46:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:31 ---> Running in 30b678a3956c 02:46:32 Removing intermediate container 30b678a3956c 02:46:32 ---> aa3da3ac1df4 02:46:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:32 ---> Running in 9736ab0b5c66 02:46:33 e871e8e8d7a9: Pull complete 02:46:33 e73272ec9a57: Pull complete 02:46:34 1e910a182e73: Pull complete 02:46:34 Removing intermediate container 9736ab0b5c66 02:46:34 ---> aceab7df1812 02:46:34 Step 5/8 : RUN apk add --no-cache make git 02:46:34 ---> Running in 7234890a2fc6 02:46:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:37 OK: 142 MiB in 39 packages 02:46:39 Removing intermediate container 7234890a2fc6 02:46:39 ---> 57aa65531299 02:46:39 Step 6/8 : WORKDIR /device-sdk-go 02:46:39 ---> Running in f83988627f06 02:46:39 Removing intermediate container f83988627f06 02:46:39 ---> 0fcc6c87c804 02:46:39 Step 7/8 : COPY . . 02:46:40 ---> b78388836aa4 02:46:40 Step 8/8 : RUN go mod download 02:46:41 ---> Running in 96cf8c7f8f84 02:46:41 4e634b169226: Pull complete 02:46:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:41 ---> f7629b54cfaa 02:46:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:41 ---> Running in 1f3730816709 02:46:41 Removing intermediate container 1f3730816709 02:46:41 ---> 65d58a267839 02:46:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:41 ---> Running in aa34fc96b71e 02:46:44 Removing intermediate container aa34fc96b71e 02:46:44 ---> 479d52ff749c 02:46:44 Step 5/8 : RUN apk add --no-cache make git 02:46:44 ---> Running in 9c0b6b3a51b3 02:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:47 OK: 166 MiB in 39 packages 02:46:48 Removing intermediate container 9c0b6b3a51b3 02:46:48 ---> 8ff63b619d4a 02:46:48 Step 6/8 : WORKDIR /device-sdk-go 02:46:48 ---> Running in 0792ce02dce5 02:46:48 Removing intermediate container 0792ce02dce5 02:46:48 ---> f081424aa6d9 02:46:48 Step 7/8 : COPY . . 02:46:50 ---> c19d8a3368dd 02:46:50 Step 8/8 : RUN go mod download 02:46:50 ---> Running in 7ba2c782afeb 02:47:03 Removing intermediate container 96cf8c7f8f84 02:47:03 ---> c63cca0a4a3c 02:47:03 Successfully built c63cca0a4a3c 02:47:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:03 + docker inspect -f . ci-base-image-arm64 02:47:03 . [Pipeline] withDockerContainer 02:47:04 prd-ubuntu18.04-docker-arm64-4c-16g-5752 does not seem to be running inside a container 02:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:06 $ docker top 52a1726ff6dea5e3f6baad30cfa15ffd9b6bbbfa6e0a43fa3acc84ad4b6b9e97 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:07 + go version 02:47:07 go version go1.15.2 linux/arm64 [Pipeline] } 02:47:07 $ docker stop --time=1 52a1726ff6dea5e3f6baad30cfa15ffd9b6bbbfa6e0a43fa3acc84ad4b6b9e97 02:47:09 $ docker rm -f 52a1726ff6dea5e3f6baad30cfa15ffd9b6bbbfa6e0a43fa3acc84ad4b6b9e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:10 + docker inspect -f . ci-base-image-arm64 02:47:10 . [Pipeline] withDockerContainer 02:47:10 prd-ubuntu18.04-docker-arm64-4c-16g-5752 does not seem to be running inside a container 02:47:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:12 $ docker top a2a1cba1f8b9a461af2a66d6ec49dcacb45583b4387d3f83009f2c149f7ca34c -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:14 + make test 02:47:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:18 Removing intermediate container 7ba2c782afeb 02:47:18 ---> c2d8c3be653c 02:47:18 Successfully built c2d8c3be653c 02:47:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:19 + docker inspect -f . ci-base-image-x86_64 02:47:19 . [Pipeline] withDockerContainer 02:47:19 prd-centos7-docker-4c-2g-5749 does not seem to be running inside a container 02:47:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:21 $ docker top 64842da0d8003838145621fc51d10b39f48046a6f39330f62aad972567925d46 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:22 + go version 02:47:22 go version go1.15.2 linux/amd64 [Pipeline] } 02:47:22 $ docker stop --time=1 64842da0d8003838145621fc51d10b39f48046a6f39330f62aad972567925d46 02:47:23 $ docker rm -f 64842da0d8003838145621fc51d10b39f48046a6f39330f62aad972567925d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:24 + docker inspect -f . ci-base-image-x86_64 02:47:24 . [Pipeline] withDockerContainer 02:47:25 prd-centos7-docker-4c-2g-5749 does not seem to be running inside a container 02:47:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:26 $ docker top b423b32b12207cfe791ed0bb5f13ff195893ffdb21d1f14cda7fccec12569ebc -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:27 + make test 02:47:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:36 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 21.6% of statements 02:48:13 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.919s coverage: 97.1% of statements 02:48:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:15 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.6% of statements 02:48:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.419s coverage: 97.1% of statements 02:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.072s coverage: 9.4% of statements 02:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.9% of statements 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.484s coverage: 40.8% of statements 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.664s coverage: 68.9% of statements 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.332s coverage: 52.6% of statements 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.151s coverage: 68.9% of statements 02:48:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:41 GO111MODULE=on go vet ./... 02:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.127s coverage: 9.4% of statements 02:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.572s coverage: 40.8% of statements 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.799s coverage: 68.9% of statements 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 52.6% of statements 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.626s coverage: 68.9% of statements 02:48:50 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:48:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:50 GO111MODULE=on go vet ./... 02:49:00 gofmt -l . 02:49:00 [ "`gofmt -l .`" = "" ] 02:49:00 ./bin/test-attribution-txt.sh 02:49:02 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:04 Stashed 1 file(s) [Pipeline] } 02:49:04 $ docker stop --time=1 b423b32b12207cfe791ed0bb5f13ff195893ffdb21d1f14cda7fccec12569ebc 02:49:06 $ docker rm -f b423b32b12207cfe791ed0bb5f13ff195893ffdb21d1f14cda7fccec12569ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:09 + ls -al . 02:49:09 total 188 02:49:09 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:49 . 02:49:09 drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 02:45 .. 02:49:09 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:45 bin 02:49:09 -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out 02:49:09 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build 02:49:09 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore 02:49:09 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:45 example 02:49:09 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:45 .git 02:49:09 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:45 .github 02:49:09 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:45 .gitignore 02:49:09 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:49 go.mod 02:49:09 -rw-r--r--. 1 jenkins jenkins 13549 Oct 16 02:49 go.sum 02:49:09 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:45 internal 02:49:09 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile 02:49:09 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE 02:49:09 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:45 Makefile 02:49:09 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:45 openapi 02:49:09 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:45 pkg 02:49:09 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:45 README.md 02:49:09 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt 02:49:09 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:45 snap 02:49:09 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:49:09 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:09 + 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=fa1af8f77e03c45d9744656d53ea35f046709c68 --label arch=amd64 --label version=0.0.0 . 02:49:10 Sending build context to Docker daemon 2.407MB 02:49:10 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:10 Step 2/24 : FROM ${BASE} AS builder 02:49:10 ---> c2d8c3be653c 02:49:10 Step 3/24 : ARG MAKE='make build' 02:49:10 ---> Running in 882251ea3ea1 02:49:11 Removing intermediate container 882251ea3ea1 02:49:11 ---> accb696fb07c 02:49:11 Step 4/24 : WORKDIR /device-sdk-go 02:49:11 ---> Running in 9dba2d5bdca1 02:49:12 Removing intermediate container 9dba2d5bdca1 02:49:12 ---> 3588513be181 02:49:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:12 ---> Running in b7b2c1f59003 02:49:12 Removing intermediate container b7b2c1f59003 02:49:12 ---> 0c669dcac38b 02:49:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:12 ---> Running in 37b6627d6eec 02:49:14 Removing intermediate container 37b6627d6eec 02:49:14 ---> 8602ce2c5221 02:49:14 Step 7/24 : RUN apk add --update --no-cache make git 02:49:14 ---> Running in ea2b372cdb8a 02:49:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:16 OK: 166 MiB in 39 packages 02:49:17 Removing intermediate container ea2b372cdb8a 02:49:17 ---> e6388b4d3454 02:49:17 Step 8/24 : COPY . . 02:49:18 ---> c63dbaf9c00a 02:49:18 Step 9/24 : RUN ${MAKE} 02:49:18 ---> Running in d53ba37d46fb 02:49:19 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:22 gofmt -l . 02:49:22 [ "`gofmt -l .`" = "" ] 02:49:22 ./bin/test-attribution-txt.sh 02:49:22 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:49:22 Warning: overwriting stash ‘coverage-report’ 02:49:23 Stashed 1 file(s) [Pipeline] } 02:49:23 $ docker stop --time=1 a2a1cba1f8b9a461af2a66d6ec49dcacb45583b4387d3f83009f2c149f7ca34c 02:49:25 $ docker rm -f a2a1cba1f8b9a461af2a66d6ec49dcacb45583b4387d3f83009f2c149f7ca34c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:27 + ls -al . 02:49:27 total 224 02:49:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:49 . 02:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 .. 02:49:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:46 .dockerignore 02:49:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:46 .git 02:49:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:46 .github 02:49:27 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:46 .gitignore 02:49:27 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:46 Dockerfile.build 02:49:27 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:46 Jenkinsfile 02:49:27 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:46 LICENSE 02:49:27 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:46 Makefile 02:49:27 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:46 README.md 02:49:27 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:46 RELEASE-NOTES.txt 02:49:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:49:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:46 bin 02:49:27 -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:48 coverage.out 02:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 example 02:49:27 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:49 go.mod 02:49:27 -rw-r--r-- 1 jenkins jenkins 13549 Oct 16 02:49 go.sum 02:49:27 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:46 internal 02:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 openapi 02:49:27 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:46 pkg 02:49:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:46 snap 02:49:27 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:49:28 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fa1af8f77e03c45d9744656d53ea35f046709c68 --label arch=arm64 --label version=0.0.0 . 02:49:28 Sending build context to Docker daemon 2.407MB 02:49:28 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:28 Step 2/24 : FROM ${BASE} AS builder 02:49:28 ---> c63cca0a4a3c 02:49:28 Step 3/24 : ARG MAKE='make build' 02:49:29 ---> Running in f41a5d655175 02:49:29 Removing intermediate container f41a5d655175 02:49:29 ---> 364ed7245473 02:49:29 Step 4/24 : WORKDIR /device-sdk-go 02:49:29 ---> Running in 1b9e4ee757f9 02:49:29 Removing intermediate container 1b9e4ee757f9 02:49:29 ---> 4152c652853e 02:49:29 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:30 ---> Running in ff9b209d6124 02:49:30 Removing intermediate container ff9b209d6124 02:49:30 ---> 56e52ef4136d 02:49:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:30 ---> Running in 23a8e8fe1da7 02:49:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:33 Removing intermediate container 23a8e8fe1da7 02:49:33 ---> a31b2fcc8bea 02:49:33 Step 7/24 : RUN apk add --update --no-cache make git 02:49:33 ---> Running in c279f1c5af67 02:49:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:35 Removing intermediate container d53ba37d46fb 02:49:35 ---> d364bdd5104f 02:49:35 Step 10/24 : FROM scratch 02:49:35 ---> 02:49:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:35 ---> Running in 29205bbce613 02:49:35 Removing intermediate container 29205bbce613 02:49:35 ---> 643127038e6f 02:49:35 Step 12/24 : ENV APP_PORT=49990 02:49:35 ---> Running in 263f54d0322e 02:49:36 Removing intermediate container 263f54d0322e 02:49:36 ---> 1c10475b0b65 02:49:36 Step 13/24 : EXPOSE $APP_PORT 02:49:36 ---> Running in 64f393401c71 02:49:36 Removing intermediate container 64f393401c71 02:49:36 ---> 33867f0f0f75 02:49:36 Step 14/24 : WORKDIR / 02:49:36 ---> Running in 62d00f4d7a16 02:49:36 OK: 142 MiB in 39 packages 02:49:36 Removing intermediate container 62d00f4d7a16 02:49:36 ---> cef23af52611 02:49:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:37 Removing intermediate container c279f1c5af67 02:49:37 ---> db16f4779d1e 02:49:37 Step 8/24 : COPY . . 02:49:37 ---> 6b3682d6131f 02:49:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:38 ---> 67a48044b4cb 02:49:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:38 ---> 2a1a3a79d435 02:49:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:38 ---> 763f94bef068 02:49:38 Step 9/24 : RUN ${MAKE} 02:49:38 ---> Running in 9c8fca0cf871 02:49:38 ---> 336173c7504a 02:49:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:39 ---> b2724026f7b7 02:49:39 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:39 ---> Running in 569a9222089f 02:49:39 Removing intermediate container 569a9222089f 02:49:39 ---> cc7cad017bc9 02:49:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:39 ---> Running in 9fcc2573876c 02:49:40 Removing intermediate container 9fcc2573876c 02:49:40 ---> a1ce528506f9 02:49:40 Step 22/24 : LABEL arch=amd64 02:49:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:49:40 ---> Running in 3cabbec9bbda 02:49:40 Removing intermediate container 3cabbec9bbda 02:49:40 ---> 3e63be4ed93a 02:49:40 Step 23/24 : LABEL git_sha=fa1af8f77e03c45d9744656d53ea35f046709c68 02:49:40 ---> Running in afa4c1701278 02:49:40 Removing intermediate container afa4c1701278 02:49:40 ---> dfbbee4cd9e2 02:49:40 Step 24/24 : LABEL version=0.0.0 02:49:40 ---> Running in 187c5b191d6f 02:49:41 Removing intermediate container 187c5b191d6f 02:49:41 ---> 97d1bcb75701 02:49:41 [Warning] One or more build-args [ARCH] were not consumed 02:49:41 Successfully built 97d1bcb75701 02:49:41 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] } 02:50:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:07 Removing intermediate container 9c8fca0cf871 02:50:07 ---> 1139b3845e8f 02:50:07 Step 10/24 : FROM scratch 02:50:07 ---> 02:50:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:07 ---> Running in 870431e94f40 02:50:07 Removing intermediate container 870431e94f40 02:50:07 ---> a9b5f330a162 02:50:07 Step 12/24 : ENV APP_PORT=49990 02:50:07 ---> Running in c0a628186e27 02:50:07 Removing intermediate container c0a628186e27 02:50:07 ---> a922d9a74202 02:50:07 Step 13/24 : EXPOSE $APP_PORT 02:50:07 ---> Running in 7c2ce082b422 02:50:07 Removing intermediate container 7c2ce082b422 02:50:07 ---> 7e909626c41f 02:50:07 Step 14/24 : WORKDIR / 02:50:08 ---> Running in d64b071506f3 02:50:08 Removing intermediate container d64b071506f3 02:50:08 ---> 66be862be851 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 ---> a5600fb0fbd3 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 ---> ea2250d6ce31 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 ---> 836d58f6aa50 02:50:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:11 ---> b6de857285df 02:50:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:12 ---> ed5b533465a7 02:50:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:12 ---> Running in 24d52780e5d2 02:50:13 Removing intermediate container 24d52780e5d2 02:50:13 ---> 07aac413d772 02:50:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:13 ---> Running in bd16452cbc0a 02:50:13 Removing intermediate container bd16452cbc0a 02:50:13 ---> 5ecd12a6bac1 02:50:13 Step 22/24 : LABEL arch=arm64 02:50:13 ---> Running in 68afe9a1b37c 02:50:14 Removing intermediate container 68afe9a1b37c 02:50:14 ---> 597767b28783 02:50:14 Step 23/24 : LABEL git_sha=fa1af8f77e03c45d9744656d53ea35f046709c68 02:50:14 ---> Running in 487eeaf6475e 02:50:14 Removing intermediate container 487eeaf6475e 02:50:14 ---> c29c75e918e2 02:50:14 Step 24/24 : LABEL version=0.0.0 02:50:14 ---> Running in 7e35556131ea 02:50:15 Removing intermediate container 7e35556131ea 02:50:15 ---> 7f82a058985c 02:50:15 [Warning] One or more build-args [ARCH] were not consumed 02:50:15 Successfully built 7f82a058985c 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-627@tmp/config5576887577487622032tmp [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:19 + Found adjustments 02:50:19 ==> Gzipping contents 02:50:19 ==> Uploading reports 02:50:19 url: https://codecov.io 02:50:19 query: branch=PR-627&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= 02:50:19 -> Pinging Codecov 02:50:19 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-627&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= 02:50:19 -> Uploading to 02:50:19 02:50:19 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:19 Dload Upload Total Spent Left Speed 02:50:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:50:19 X> Failed to upload 02:50:19 ==> Uploading to Codecov 02:50:19 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:19 Dload Upload Total Spent Left Speed 02:50:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18989 0 0 100 18879 0 27651 --:--:-- --:--:-- --:--:-- 27641 100 18989 100 110 100 18879 161 27637 --:--:-- --:--:-- --:--:-- 27641 02:50:20 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } 02:50:20 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:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:24 ---> package-listing.sh 02:50:24 ++ facter osfamily 02:50:24 ++ tr '[:upper:]' '[:lower:]' 02:50:24 + OS_FAMILY=redhat 02:50:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-627 02:50:24 + START_PACKAGES=/tmp/packages_start.txt 02:50:24 + END_PACKAGES=/tmp/packages_end.txt 02:50:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:24 + PACKAGES=/tmp/packages_start.txt 02:50:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' 02:50:24 + PACKAGES=/tmp/packages_end.txt 02:50:24 + case "${OS_FAMILY}" in 02:50:24 + rpm -qa 02:50:24 + sort 02:50:29 + '[' -f /tmp/packages_start.txt ']' 02:50:29 + '[' -f /tmp/packages_end.txt ']' 02:50:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' 02:50:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ 02:50:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [Pipeline] echo 02:50:29 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-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:30 02:50:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:31 alpine: Pulling from edgex-lftools-log-publisher 02:50:31 df20fa9351a1: Pulling fs layer 02:50:31 36b3adc4ff6f: Pulling fs layer 02:50:31 8ad3a11d3b57: Pulling fs layer 02:50:31 46f8f816bc3b: Pulling fs layer 02:50:31 93b61091891f: Pulling fs layer 02:50:31 93b9cdb0e59b: Pulling fs layer 02:50:31 5e14af77c1be: Pulling fs layer 02:50:31 01666e4c0597: Pulling fs layer 02:50:31 aa168da1d23b: Pulling fs layer 02:50:31 93b61091891f: Waiting 02:50:31 93b9cdb0e59b: Waiting 02:50:31 5e14af77c1be: Waiting 02:50:31 01666e4c0597: Waiting 02:50:31 aa168da1d23b: Waiting 02:50:31 46f8f816bc3b: Waiting 02:50:31 36b3adc4ff6f: Download complete 02:50:31 46f8f816bc3b: Verifying Checksum 02:50:31 46f8f816bc3b: Download complete 02:50:31 df20fa9351a1: Download complete 02:50:31 93b9cdb0e59b: Verifying Checksum 02:50:31 93b9cdb0e59b: Download complete 02:50:31 5e14af77c1be: Verifying Checksum 02:50:31 5e14af77c1be: Download complete 02:50:31 01666e4c0597: Verifying Checksum 02:50:31 01666e4c0597: Download complete 02:50:31 93b61091891f: Download complete 02:50:31 df20fa9351a1: Pull complete 02:50:31 36b3adc4ff6f: Pull complete 02:50:32 8ad3a11d3b57: Verifying Checksum 02:50:32 8ad3a11d3b57: Download complete 02:50:34 8ad3a11d3b57: Pull complete 02:50:34 46f8f816bc3b: Pull complete 02:50:34 93b61091891f: Pull complete 02:50:34 93b9cdb0e59b: Pull complete 02:50:34 5e14af77c1be: Pull complete 02:50:34 01666e4c0597: Pull complete 02:50:38 aa168da1d23b: Verifying Checksum 02:50:38 aa168da1d23b: Download complete 02:50:48 aa168da1d23b: Pull complete 02:50:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:49 prd-centos7-docker-4c-2g-5742 does not seem to be running inside a container 02:50:49 $ 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-627/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-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:53 $ docker top 9b41bc41b7a52c26928df6b57939969c370b8fc3feabbd6f851baf11f4d6890e -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:54 + mkdir -p /var/log/sa [Pipeline] sh 02:50:54 + ls /var/log/sa-host 02:50:54 + sadf -c /var/log/sa-host/sa05 02:50:54 file_magic: OK 02:50:54 HZ: Using current value: 100 02:50:54 file_header: OK 02:50:54 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:54 Statistics: 02:50:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:54 File successfully converted to sysstat format version 12.2.1 02:50:54 + sadf -c /var/log/sa-host/sa16 02:50:54 file_magic: OK 02:50:54 HZ: Using current value: 100 02:50:54 file_header: OK 02:50:54 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:54 Statistics: 02:50:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:55 provisioning config files... 02:50:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config1886148308522218125tmp [Pipeline] { [Pipeline] echo 02:50:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:55 ---> create-netrc.sh [Pipeline] } 02:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:56 ---> python-tools-install.sh [Pipeline] echo 02:50:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:56 ---> sudo-logs.sh 02:50:56 Archiving 'sudo' log.. [Pipeline] echo 02:50:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:57 ---> job-cost.sh 02:50:57 lf-activate-venv: SKIPPING 02:50:57 INFO: No Stack... 02:50:59 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:59 INFO: Archiving Costs [Pipeline] echo 02:50:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:00 ---> logs-deploy.sh 02:51:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-627/2 02:51:00 INFO: archiving workspace using pattern(s): 02:51:03 Archives upload complete. 02:51:03 INFO: archiving logs to Nexus