Pull request #635 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e418cf663496cfa0392ec3c9d73139fa3315b93f+6cec193abf44cabffe02bbcaff9748adb3f719d5 (9ba197256dcf8fafc51a810b2d933e3f52109175) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-7464 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [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-635 # 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/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) > git config core.sparsecheckout # timeout=10 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 Commit message: "fix(sdk): prevent creating duplicate autoevent executor" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:43:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:43:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:43:52 ========================================================= 08:43:52 EdgeX Global Pipelines Version Info 08:43:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cc47894417cb7a360f277ecc01c69c78e0f77f2e # timeout=10 08:43:54 ------------------- 08:43:54 stable info: 08:43:54 ------------------- 08:43:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:43:54 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 08:43:54 Message: update stable to v1.0.144 08:43:54 ------------------- 08:43:54 experimental info: 08:43:54 ------------------- 08:43:54 Commited By: **** collab-it+edgex@linuxfoundation.org 08:43:54 Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 08:43:54 Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:43:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:43:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-635 [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-635 [Pipeline] echo 08:43:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-635 [Pipeline] echo 08:43:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] echo 08:43:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e418cf6 [Pipeline] echo 08:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:58 + git log --format=format:%s -1 e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] echo 08:43:58 GIT_COMMIT: e418cf663496cfa0392ec3c9d73139fa3315b93f, Commit Message: fix(sdk): prevent creating duplicate autoevent executor [Pipeline] echo 08:43:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:00 08:44:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:44:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:00 latest: Pulling from edgex-devops/git-semver 08:44:00 31603596830f: Pulling fs layer 08:44:00 2a8b12db71e7: Pulling fs layer 08:44:00 6ca5941a6612: Pulling fs layer 08:44:00 ecc8261a40a4: Pulling fs layer 08:44:00 ecc8261a40a4: Waiting 08:44:00 2a8b12db71e7: Verifying Checksum 08:44:00 2a8b12db71e7: Download complete 08:44:01 31603596830f: Verifying Checksum 08:44:01 31603596830f: Download complete 08:44:01 ecc8261a40a4: Verifying Checksum 08:44:01 ecc8261a40a4: Download complete 08:44:01 6ca5941a6612: Verifying Checksum 08:44:01 6ca5941a6612: Download complete 08:44:01 31603596830f: Pull complete 08:44:01 2a8b12db71e7: Pull complete 08:44:02 6ca5941a6612: Pull complete 08:44:02 ecc8261a40a4: Pull complete 08:44:02 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:44:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:44:02 prd-centos7-docker-4c-2g-7464 does not seem to be running inside a container 08:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:44:05 $ docker top f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:44:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:05 [ssh-agent] Looking for ssh-agent implementation... 08:44:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:06 $ docker exec f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent 08:44:06 SSH_AUTH_SOCK=/tmp/ssh-lHEOGBWvbqcX/agent.12 08:44:06 SSH_AGENT_PID=17 08:44:06 Running ssh-add (command line suppressed) 08:44:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_5719635682545251843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_5719635682545251843.key) 08:44:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:06 + git tag --points-at HEAD [Pipeline] } 08:44:06 $ docker exec --env ******** --env ******** f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent -k 08:44:07 unset SSH_AUTH_SOCK; 08:44:07 unset SSH_AGENT_PID; 08:44:07 echo Agent pid 17 killed; 08:44:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:44:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:44:07 [ssh-agent] Looking for ssh-agent implementation... 08:44:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:44:07 $ docker exec f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent 08:44:07 SSH_AUTH_SOCK=/tmp/ssh-tHKycgVjMuNk/agent.45 08:44:07 SSH_AGENT_PID=50 08:44:07 Running ssh-add (command line suppressed) 08:44:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_8442765851055127000.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_8442765851055127000.key) 08:44:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:44:08 + git semver init 08:44:08 # -> Open(): unable to determine branch for HEAD 08:44:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.git 08:44:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-635 08:44:08 # $SEMVER_REMOTE_NAME = origin 08:44:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:44:08 # $SEMVER_USER_NAME = edgex-jenkins 08:44:08 # $SEMVER_BRANCH = PR-635 08:44:08 # $SEMVER_TEMP = /tmp/semver-689063032 08:44:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:44:08 # '/tmp/semver-689063032' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver' 08:44:08 # -> Force: false 08:44:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver [Pipeline] } 08:44:08 $ docker exec --env ******** --env ******** f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent -k 08:44:08 unset SSH_AUTH_SOCK; 08:44:08 unset SSH_AGENT_PID; 08:44:08 echo Agent pid 50 killed; 08:44:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:44:09 + git semver [Pipeline] } 08:44:09 $ docker stop --time=1 f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c 08:44:10 $ docker rm -f f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c [Pipeline] // withDockerContainer [Pipeline] sh 08:44:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:44:11 Stashed 1 file(s) [Pipeline] echo 08:44:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 08:44:27 Still waiting to schedule task 08:44:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:44:27 Still waiting to schedule task 08:44:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 08:46:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-7465 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws 08:46:18 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:46:23 using credential edgex-jenkins-ssh 08:46:23 Cloning the remote Git repository 08:46:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:23 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:46:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:23 > git --version # timeout=10 08:46:23 > git --version # 'git version 2.17.1' 08:46:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:25 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f 08:46:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:25 > git config core.sparsecheckout # timeout=10 08:46:25 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 08:46:25 Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f 08:46:25 Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) 08:46:25 > git remote # timeout=10 08:46:25 > git config --get remote.origin.url # timeout=10 08:46:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:25 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 08:46:25 > git rev-parse HEAD^{commit} # timeout=10 08:46:25 > git config core.sparsecheckout # timeout=10 08:46:25 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 08:46:30 Commit message: "fix(sdk): prevent creating duplicate autoevent executor" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:46:31 ========================================================= 08:46:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:46:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:46:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:46:33 Sending build context to Docker daemon 2.337MB 08:46:33 Step 1/8 : ARG BASE=golang:1.15-alpine 08:46:33 Step 2/8 : FROM ${BASE} 08:46:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:46:33 b538f80385f9: Pulling fs layer 08:46:33 74f711af9a0d: Pulling fs layer 08:46:33 99f96fe45779: Pulling fs layer 08:46:33 8529a6b9a6be: Pulling fs layer 08:46:33 45590311c82a: Pulling fs layer 08:46:33 69ca0ff8b7b3: Pulling fs layer 08:46:33 209524e5b208: Pulling fs layer 08:46:33 8529a6b9a6be: Waiting 08:46:33 45590311c82a: Waiting 08:46:33 69ca0ff8b7b3: Waiting 08:46:33 209524e5b208: Waiting 08:46:33 99f96fe45779: Verifying Checksum 08:46:33 74f711af9a0d: Verifying Checksum 08:46:33 74f711af9a0d: Download complete 08:46:33 45590311c82a: Verifying Checksum 08:46:33 45590311c82a: Download complete 08:46:33 69ca0ff8b7b3: Verifying Checksum 08:46:33 69ca0ff8b7b3: Download complete 08:46:34 b538f80385f9: Verifying Checksum 08:46:34 b538f80385f9: Download complete 08:46:34 b538f80385f9: Pull complete 08:46:35 74f711af9a0d: Pull complete 08:46:36 99f96fe45779: Pull complete 08:46:36 209524e5b208: Verifying Checksum 08:46:36 209524e5b208: Download complete 08:46:38 8529a6b9a6be: Download complete 08:46:45 Running on prd-centos7-docker-4c-2g-7466 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws 08:46:45 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 08:46:48 8529a6b9a6be: Pull complete 08:46:48 45590311c82a: Pull complete 08:46:48 69ca0ff8b7b3: Pull complete 08:46:53 209524e5b208: Pull complete 08:46:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:46:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:46:53 ---> 5bddaf1c2fca 08:46:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:46:55 ---> Running in c7a93e145d06 08:46:55 Removing intermediate container c7a93e145d06 08:46:55 ---> 9ff56937a3b9 08:46:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:55 ---> Running in 4122181cb4b6 08:46:56 using credential edgex-jenkins-ssh 08:46:56 Cloning the remote Git repository 08:46:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:46:56 > git init /w/workspace/device-sdk-go/3 # timeout=10 08:46:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:56 > git --version # timeout=10 08:46:56 > git --version # 'git version 2.16.5' 08:46:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:58 Removing intermediate container 4122181cb4b6 08:46:58 ---> d2c5108a7e52 08:46:58 Step 5/8 : RUN apk add --no-cache make git 08:46:58 ---> Running in c380d2914686 08:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:46:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:46:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:46:58 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f 08:46:59 Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f 08:46:59 Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) 08:47:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:46:58 > git config core.sparsecheckout # timeout=10 08:46:58 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 08:46:59 > git remote # timeout=10 08:46:59 > git config --get remote.origin.url # timeout=10 08:46:59 using GIT_SSH to set credentials SSH Credentials for GitHub 08:46:59 > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 08:46:59 > git rev-parse HEAD^{commit} # timeout=10 08:46:59 > git config core.sparsecheckout # timeout=10 08:46:59 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 08:47:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:47:01 OK: 142 MiB in 39 packages 08:47:02 Removing intermediate container c380d2914686 08:47:02 ---> cc0778867f02 08:47:02 Step 6/8 : WORKDIR /device-sdk-go 08:47:02 ---> Running in 9aaf64f2486d 08:47:03 Removing intermediate container 9aaf64f2486d 08:47:03 ---> 2f953bbc7ab5 08:47:03 Step 7/8 : COPY . . 08:47:03 Commit message: "fix(sdk): prevent creating duplicate autoevent executor" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:47:04 ========================================================= 08:47:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:47:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:47:04 ---> 66f96bdffc25 08:47:04 Step 8/8 : RUN go mod download 08:47:04 ---> Running in 870f439c548a 08:47:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:47:07 Sending build context to Docker daemon 2.335MB 08:47:07 Step 1/8 : ARG BASE=golang:1.15-alpine 08:47:07 Step 2/8 : FROM ${BASE} 08:47:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:47:07 df20fa9351a1: Pulling fs layer 08:47:07 ed8968b2872e: Pulling fs layer 08:47:07 a92cc7c5fd73: Pulling fs layer 08:47:07 e871e8e8d7a9: Pulling fs layer 08:47:07 e73272ec9a57: Pulling fs layer 08:47:07 1e910a182e73: Pulling fs layer 08:47:07 4e634b169226: Pulling fs layer 08:47:07 e871e8e8d7a9: Waiting 08:47:07 e73272ec9a57: Waiting 08:47:07 1e910a182e73: Waiting 08:47:07 4e634b169226: Waiting 08:47:07 a92cc7c5fd73: Verifying Checksum 08:47:07 a92cc7c5fd73: Download complete 08:47:07 ed8968b2872e: Verifying Checksum 08:47:07 ed8968b2872e: Download complete 08:47:07 e73272ec9a57: Verifying Checksum 08:47:07 e73272ec9a57: Download complete 08:47:07 1e910a182e73: Verifying Checksum 08:47:07 1e910a182e73: Download complete 08:47:07 df20fa9351a1: Verifying Checksum 08:47:07 df20fa9351a1: Download complete 08:47:08 df20fa9351a1: Pull complete 08:47:08 ed8968b2872e: Pull complete 08:47:08 a92cc7c5fd73: Pull complete 08:47:11 4e634b169226: Verifying Checksum 08:47:11 4e634b169226: Download complete 08:47:15 e871e8e8d7a9: Verifying Checksum 08:47:15 e871e8e8d7a9: Download complete 08:47:25 e871e8e8d7a9: Pull complete 08:47:25 e73272ec9a57: Pull complete 08:47:25 1e910a182e73: Pull complete 08:47:27 Removing intermediate container 870f439c548a 08:47:27 ---> feaa642252da 08:47:27 Successfully built feaa642252da 08:47:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:47:27 + docker inspect -f . ci-base-image-arm64 08:47:27 . [Pipeline] withDockerContainer 08:47:27 prd-ubuntu18.04-docker-arm64-4c-16g-7465 does not seem to be running inside a container 08:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:47:29 $ docker top 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:31 + go version 08:47:31 go version go1.15.2 linux/arm64 [Pipeline] } 08:47:31 $ docker stop --time=1 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 08:47:31 4e634b169226: Pull complete 08:47:31 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:47:31 ---> f7629b54cfaa 08:47:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:47:31 ---> Running in 6a406fcadb72 08:47:31 Removing intermediate container 6a406fcadb72 08:47:31 ---> fb34dbe8cf8b 08:47:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:31 ---> Running in 21981fd510c3 08:47:33 $ docker rm -f 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 08:47:33 Removing intermediate container 21981fd510c3 08:47:33 ---> 39a529cb4ecd 08:47:33 Step 5/8 : RUN apk add --no-cache make git 08:47:33 ---> Running in a26c240da80c [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:47:34 + docker inspect -f . ci-base-image-arm64 08:47:34 . [Pipeline] withDockerContainer 08:47:34 prd-ubuntu18.04-docker-arm64-4c-16g-7465 does not seem to be running inside a container 08:47:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:47:35 OK: 166 MiB in 39 packages 08:47:36 Removing intermediate container a26c240da80c 08:47:36 ---> 9ebdd4fdf593 08:47:36 Step 6/8 : WORKDIR /device-sdk-go 08:47:36 ---> Running in 4bf8d8ec9c1b 08:47:36 Removing intermediate container 4bf8d8ec9c1b 08:47:36 ---> 317b1d772cb6 08:47:36 Step 7/8 : COPY . . 08:47:36 $ docker top 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:37 + make test 08:47:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:47:37 ---> 215ddc134b26 08:47:37 Step 8/8 : RUN go mod download 08:47:37 ---> Running in 3b30edc0bd0d 08:48:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:48:00 Removing intermediate container 3b30edc0bd0d 08:48:00 ---> 68d629fba75e 08:48:00 Successfully built 68d629fba75e 08:48:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:48:00 + docker inspect -f . ci-base-image-x86_64 08:48:00 . [Pipeline] withDockerContainer 08:48:01 prd-centos7-docker-4c-2g-7466 does not seem to be running inside a container 08:48:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:02 $ docker top 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:03 + go version 08:48:03 go version go1.15.2 linux/amd64 [Pipeline] } 08:48:03 $ docker stop --time=1 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 08:48:04 $ docker rm -f 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:48:05 + docker inspect -f . ci-base-image-x86_64 08:48:05 . [Pipeline] withDockerContainer 08:48:05 prd-centos7-docker-4c-2g-7466 does not seem to be running inside a container 08:48:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:48:06 $ docker top 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 -eo pid,comm [Pipeline] { [Pipeline] sh 08:48:07 + make test 08:48:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:48:20 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:48:39 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:48:39 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:48:39 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:48:39 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 20.8% of statements 08:48:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.301s coverage: 97.1% of statements 08:48:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:48:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:48:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:48:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 20.8% of statements 08:48:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.677s coverage: 97.1% of statements 08:49:13 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements 08:49:13 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:49:13 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.610s coverage: 42.6% of statements 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:49:13 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.799s coverage: 68.9% of statements 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:49:13 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:49:13 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.847s coverage: 68.9% of statements 08:49:13 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:49:13 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:49:13 GO111MODULE=on go vet ./... 08:49:20 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 08:49:20 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:49:20 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.347s coverage: 42.6% of statements 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:49:20 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.582s coverage: 68.9% of statements 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 08:49:20 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.088s coverage: 52.6% of statements 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 08:49:20 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.409s coverage: 68.9% of statements 08:49:20 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:49:20 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:49:20 GO111MODULE=on go vet ./... 08:49:32 gofmt -l . 08:49:32 [ "`gofmt -l .`" = "" ] 08:49:32 ./bin/test-attribution-txt.sh 08:49:32 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:49:33 Stashed 1 file(s) [Pipeline] } 08:49:33 $ docker stop --time=1 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 08:49:35 $ docker rm -f 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:49:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:49:39 + ls -al . 08:49:39 total 192 08:49:39 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 08:49 . 08:49:39 drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 08:46 .. 08:49:39 drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 08:46 bin 08:49:39 -rw-r--r--. 1 jenkins jenkins 110652 Oct 21 08:49 coverage.out 08:49:39 -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 08:46 Dockerfile.build 08:49:39 -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 08:46 .dockerignore 08:49:39 drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 08:46 example 08:49:39 drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 08:47 .git 08:49:39 drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 08:46 .github 08:49:39 -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 08:46 .gitignore 08:49:39 -rw-r--r--. 1 jenkins jenkins 517 Oct 21 08:49 go.mod 08:49:39 -rw-r--r--. 1 jenkins jenkins 13737 Oct 21 08:49 go.sum 08:49:39 drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 08:46 internal 08:49:39 -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 08:46 Jenkinsfile 08:49:39 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 08:46 LICENSE 08:49:39 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 08:46 Makefile 08:49:39 drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 08:46 openapi 08:49:39 drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 08:46 pkg 08:49:39 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 08:46 README.md 08:49:39 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 08:46 RELEASE-NOTES.txt 08:49:39 drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 08:46 snap 08:49:39 -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 08:44 VERSION 08:49:39 -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:49:40 + 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=e418cf663496cfa0392ec3c9d73139fa3315b93f --label arch=amd64 --label version=0.0.0 . 08:49:40 Sending build context to Docker daemon 2.447MB 08:49:40 Step 1/24 : ARG BASE=golang:1.15-alpine 08:49:40 Step 2/24 : FROM ${BASE} AS builder 08:49:40 ---> 68d629fba75e 08:49:40 Step 3/24 : ARG MAKE='make build' 08:49:41 ---> Running in 268a048e3666 08:49:41 Removing intermediate container 268a048e3666 08:49:41 ---> f24e2765f4c5 08:49:41 Step 4/24 : WORKDIR /device-sdk-go 08:49:41 ---> Running in 7f396cc0e155 08:49:41 Removing intermediate container 7f396cc0e155 08:49:41 ---> 90de291c84a7 08:49:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:49:41 ---> Running in 887bf52928d4 08:49:41 Removing intermediate container 887bf52928d4 08:49:41 ---> d711a4c8320f 08:49:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:42 ---> Running in c0e1e61de770 08:49:44 Removing intermediate container c0e1e61de770 08:49:44 ---> 0eea0e9633d0 08:49:44 Step 7/24 : RUN apk add --update --no-cache make git 08:49:44 ---> Running in 96abc0c1eeaf 08:49:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:49:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:49:45 gofmt -l . 08:49:45 [ "`gofmt -l .`" = "" ] 08:49:45 ./bin/test-attribution-txt.sh 08:49:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:49:45 Warning: overwriting stash ‘coverage-report’ 08:49:46 OK: 166 MiB in 39 packages 08:49:46 Removing intermediate container 96abc0c1eeaf 08:49:46 ---> 5c78fa88f340 08:49:46 Step 8/24 : COPY . . 08:49:46 Stashed 1 file(s) [Pipeline] } 08:49:46 $ docker stop --time=1 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 08:49:47 ---> 16579bbd7e80 08:49:47 Step 9/24 : RUN ${MAKE} 08:49:47 ---> Running in f8079d4cd5bf 08:49:48 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:49:49 $ docker rm -f 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:49:51 + ls -al . 08:49:51 total 228 08:49:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 08:49 . 08:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 .. 08:49:51 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 08:46 .dockerignore 08:49:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:46 .git 08:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:46 .github 08:49:51 -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 08:46 .gitignore 08:49:51 -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 08:46 Dockerfile.build 08:49:51 -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 08:46 Jenkinsfile 08:49:51 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 08:46 LICENSE 08:49:51 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 08:46 Makefile 08:49:51 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 08:46 README.md 08:49:51 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 08:46 RELEASE-NOTES.txt 08:49:51 -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 08:44 VERSION 08:49:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:46 bin 08:49:51 -rw-r--r-- 1 jenkins jenkins 110652 Oct 21 08:49 coverage.out 08:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 example 08:49:51 -rw-r--r-- 1 jenkins jenkins 517 Oct 21 08:49 go.mod 08:49:51 -rw-r--r-- 1 jenkins jenkins 13737 Oct 21 08:49 go.sum 08:49:51 drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 08:46 internal 08:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 openapi 08:49:51 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 08:46 pkg 08:49:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 snap 08:49:51 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:49:51 + 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=e418cf663496cfa0392ec3c9d73139fa3315b93f --label arch=arm64 --label version=0.0.0 . 08:49:52 Sending build context to Docker daemon 2.449MB 08:49:52 Step 1/24 : ARG BASE=golang:1.15-alpine 08:49:52 Step 2/24 : FROM ${BASE} AS builder 08:49:52 ---> feaa642252da 08:49:52 Step 3/24 : ARG MAKE='make build' 08:49:52 ---> Running in 486663965a83 08:49:52 Removing intermediate container 486663965a83 08:49:52 ---> 0d607ffd4cf7 08:49:52 Step 4/24 : WORKDIR /device-sdk-go 08:49:52 ---> Running in 4594794041d9 08:49:53 Removing intermediate container 4594794041d9 08:49:53 ---> 820f50d3948b 08:49:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:49:53 ---> Running in b0cb003997e8 08:49:53 Removing intermediate container b0cb003997e8 08:49:53 ---> 79160f707b20 08:49:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:53 ---> Running in f03f82391daf 08:49:56 Removing intermediate container f03f82391daf 08:49:56 ---> f95289bccf35 08:49:56 Step 7/24 : RUN apk add --update --no-cache make git 08:49:56 ---> Running in 5a0589336172 08:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:49:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:49:59 OK: 142 MiB in 39 packages 08:50:00 Removing intermediate container 5a0589336172 08:50:00 ---> 3f64bbdc7ba4 08:50:00 Step 8/24 : COPY . . 08:50:02 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:50:02 ---> 6031e96df30a 08:50:02 Step 9/24 : RUN ${MAKE} 08:50:02 ---> Running in 71db1a0201fe 08:50:03 Removing intermediate container f8079d4cd5bf 08:50:03 ---> b5a590f32049 08:50:03 Step 10/24 : FROM scratch 08:50:03 ---> 08:50:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:03 ---> Running in 783a8abef0b4 08:50:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:50:03 Removing intermediate container 783a8abef0b4 08:50:03 ---> bf7822290536 08:50:03 Step 12/24 : ENV APP_PORT=49990 08:50:03 ---> Running in c79d3d949ccc 08:50:04 Removing intermediate container c79d3d949ccc 08:50:04 ---> aa1f40b40145 08:50:04 Step 13/24 : EXPOSE $APP_PORT 08:50:04 ---> Running in 10db8b5cc4a0 08:50:04 Removing intermediate container 10db8b5cc4a0 08:50:04 ---> ec0d8b432a34 08:50:04 Step 14/24 : WORKDIR / 08:50:04 ---> Running in 33d913dfa559 08:50:04 Removing intermediate container 33d913dfa559 08:50:04 ---> c171bd390e8c 08:50:04 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:50:05 ---> eec96be07260 08:50:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:50:06 ---> 436e49837e3c 08:50:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:50:06 ---> 325f798db2b9 08:50:06 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:50:06 ---> e18e0cd61754 08:50:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:50:07 ---> f1d47a2f188f 08:50:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:50:07 ---> Running in c5a220848faa 08:50:07 Removing intermediate container c5a220848faa 08:50:07 ---> d8297611e5a7 08:50:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:07 ---> Running in 60ea490b882f 08:50:07 Removing intermediate container 60ea490b882f 08:50:07 ---> 340553deb624 08:50:07 Step 22/24 : LABEL arch=amd64 08:50:07 ---> Running in 0621e843009c 08:50:07 Removing intermediate container 0621e843009c 08:50:07 ---> aeb8a613bcca 08:50:07 Step 23/24 : LABEL git_sha=e418cf663496cfa0392ec3c9d73139fa3315b93f 08:50:08 ---> Running in 48268ad6ec51 08:50:08 Removing intermediate container 48268ad6ec51 08:50:08 ---> ef9ed972bec8 08:50:08 Step 24/24 : LABEL version=0.0.0 08:50:08 ---> Running in c7f0bc3f0fb8 08:50:08 Removing intermediate container c7f0bc3f0fb8 08:50:08 ---> 9bb64b1dfbad 08:50:08 [Warning] One or more build-args [ARCH] were not consumed 08:50:08 Successfully built 9bb64b1dfbad 08:50:08 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:50:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:50:30 Removing intermediate container 71db1a0201fe 08:50:30 ---> 6cf489939f18 08:50:30 Step 10/24 : FROM scratch 08:50:30 ---> 08:50:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:50:30 ---> Running in 76e9b5e94811 08:50:30 Removing intermediate container 76e9b5e94811 08:50:30 ---> 7ccbc2e3cca9 08:50:30 Step 12/24 : ENV APP_PORT=49990 08:50:30 ---> Running in eb2880c981f9 08:50:30 Removing intermediate container eb2880c981f9 08:50:30 ---> 54153db6b821 08:50:30 Step 13/24 : EXPOSE $APP_PORT 08:50:30 ---> Running in 0a98606cb940 08:50:31 Removing intermediate container 0a98606cb940 08:50:31 ---> a99d2a3cc340 08:50:31 Step 14/24 : WORKDIR / 08:50:31 ---> Running in a8e58134670f 08:50:31 Removing intermediate container a8e58134670f 08:50:31 ---> 56aada344b77 08:50:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:50:33 ---> 3b793c57393f 08:50:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:50:34 ---> c9a2fb92d655 08:50:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:50:35 ---> 78ac642ff94e 08:50:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:50:35 ---> 90fe109b20ef 08:50:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:50:36 ---> 356380f31319 08:50:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:50:36 ---> Running in 6fccb8309280 08:50:37 Removing intermediate container 6fccb8309280 08:50:37 ---> 19145a31bb2f 08:50:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:50:37 ---> Running in ae5c4545f407 08:50:37 Removing intermediate container ae5c4545f407 08:50:37 ---> e1182d3726c7 08:50:37 Step 22/24 : LABEL arch=arm64 08:50:37 ---> Running in be175af003b6 08:50:37 Removing intermediate container be175af003b6 08:50:37 ---> 013f53f78cdc 08:50:37 Step 23/24 : LABEL git_sha=e418cf663496cfa0392ec3c9d73139fa3315b93f 08:50:38 ---> Running in 73d442bd8206 08:50:38 Removing intermediate container 73d442bd8206 08:50:38 ---> e48e64c84542 08:50:38 Step 24/24 : LABEL version=0.0.0 08:50:38 ---> Running in 2a55332367a8 08:50:38 Removing intermediate container 2a55332367a8 08:50:38 ---> 3d37e1995510 08:50:38 [Warning] One or more build-args [ARCH] were not consumed 08:50:39 Successfully built 3d37e1995510 08:50:39 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:50:41 provisioning config files... 08:50:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config1639663999643264870tmp [Pipeline] { [Pipeline] sh 08:50:42 + set +x 08:50:42 + curl -s https://codecov.io/bash 08:50:42 + bash -s -- 08:50:42 08:50:42 _____ _ 08:50:42 / ____| | | 08:50:42 | | ___ __| | ___ ___ _____ __ 08:50:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:50:42 | |___| (_) | (_| | __/ (_| (_) \ V / 08:50:42 \_____\___/ \__,_|\___|\___\___/ \_/ 08:50:42 Bash-20201009-048fee3 08:50:42 08:50:42 08:50:42 ==> Jenkins CI detected. 08:50:42 project root: . 08:50:42 --> token set from env 08:50:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:50:42 ==> Running gcov in . (disable via -X gcov) 08:50:42 ==> Python coveragepy not found 08:50:42 ==> Searching for coverage reports in: 08:50:42 + . 08:50:42 -> Found 1 reports 08:50:42 ==> Detecting git/mercurial file structure 08:50:42 ==> Reading reports 08:50:42 + ./coverage.out bytes=110652 08:50:42 ==> Appending adjustments 08:50:42 https://docs.codecov.io/docs/fixing-reports 08:50:43 + Found adjustments 08:50:43 ==> Gzipping contents 08:50:43 ==> Uploading reports 08:50:43 url: https://codecov.io 08:50:43 query: branch=PR-635&commit=e418cf663496cfa0392ec3c9d73139fa3315b93f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= 08:50:43 -> Pinging Codecov 08:50:43 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-635&commit=e418cf663496cfa0392ec3c9d73139fa3315b93f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= 08:50:43 -> Uploading to 08:50:43 08:50:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:50:43 Dload Upload Total Spent Left Speed 08:50:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 08:50:43 X> Failed to upload 08:50:43 ==> Uploading to Codecov 08:50:43 % Total % Received % Xferd Average Speed Time Time Time Current 08:50:43 Dload Upload Total Spent Left Speed 08:51:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19068 0 0 100 19068 0 16365 0:00:01 0:00:01 --:--:-- 16367 100 19068 0 0 100 19068 0 9527 0:00:02 0:00:02 --:--:-- 9529 100 19068 0 0 100 19068 0 6350 0:00:03 0:00:03 --:--:-- 6351 100 19068 0 0 100 19068 0 4762 0:00:04 0:00:04 --:--:-- 4763 100 19068 0 0 100 19068 0 3809 0:00:05 0:00:05 --:--:-- 3809 100 19068 0 0 100 19068 0 3174 0:00:06 0:00:06 --:--:-- 0 100 19068 0 0 100 19068 0 2720 0:00:07 0:00:07 --:--:-- 0 100 19068 0 0 100 19068 0 2380 0:00:08 0:00:08 --:--:-- 0 100 19068 0 0 100 19068 0 2116 0:00:09 0:00:09 --:--:-- 0 100 19068 0 0 100 19068 0 1904 0:00:10 0:00:10 --:--:-- 0 100 19068 0 0 100 19068 0 1731 0:00:11 0:00:11 --:--:-- 0 100 19068 0 0 100 19068 0 1587 0:00:12 0:00:12 --:--:-- 0 100 19068 0 0 100 19068 0 1464 0:00:13 0:00:13 --:--:-- 0 100 19068 0 0 100 19068 0 1360 0:00:14 0:00:14 --:--:-- 0 100 19068 0 0 100 19068 0 1269 0:00:15 0:00:15 --:--:-- 0 100 19068 0 0 100 19068 0 1190 0:00:16 0:00:16 --:--:-- 0 100 19068 0 0 100 19068 0 1120 0:00:17 0:00:17 --:--:-- 0 100 19068 0 0 100 19068 0 1058 0:00:18 0:00:18 --:--:-- 0 100 19068 0 0 100 19068 0 1002 0:00:19 0:00:19 --:--:-- 0 100 19068 0 0 100 19068 0 952 0:00:20 0:00:20 --:--:-- 0 100 19178 100 110 100 19068 5 926 0:00:22 0:00:20 0:00:02 0 08:51:03 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] } 08:51:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:51:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:51:07 ---> package-listing.sh 08:51:07 ++ facter osfamily 08:51:07 ++ tr '[:upper:]' '[:lower:]' 08:51:07 + OS_FAMILY=redhat 08:51:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-635 08:51:07 + START_PACKAGES=/tmp/packages_start.txt 08:51:07 + END_PACKAGES=/tmp/packages_end.txt 08:51:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:51:07 + PACKAGES=/tmp/packages_start.txt 08:51:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' 08:51:07 + PACKAGES=/tmp/packages_end.txt 08:51:07 + case "${OS_FAMILY}" in 08:51:07 + rpm -qa 08:51:07 + sort 08:51:12 + '[' -f /tmp/packages_start.txt ']' 08:51:12 + '[' -f /tmp/packages_end.txt ']' 08:51:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:51:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' 08:51:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ 08:51:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ [Pipeline] echo 08:51:12 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-635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:51:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:51:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:13 08:51:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:51:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:13 alpine: Pulling from edgex-lftools-log-publisher 08:51:13 df20fa9351a1: Pulling fs layer 08:51:13 36b3adc4ff6f: Pulling fs layer 08:51:13 8ad3a11d3b57: Pulling fs layer 08:51:13 46f8f816bc3b: Pulling fs layer 08:51:13 93b61091891f: Pulling fs layer 08:51:13 93b9cdb0e59b: Pulling fs layer 08:51:13 5e14af77c1be: Pulling fs layer 08:51:13 01666e4c0597: Pulling fs layer 08:51:13 aa168da1d23b: Pulling fs layer 08:51:13 46f8f816bc3b: Waiting 08:51:13 93b9cdb0e59b: Waiting 08:51:13 5e14af77c1be: Waiting 08:51:13 93b61091891f: Waiting 08:51:13 01666e4c0597: Waiting 08:51:13 aa168da1d23b: Waiting 08:51:13 36b3adc4ff6f: Verifying Checksum 08:51:13 36b3adc4ff6f: Download complete 08:51:13 46f8f816bc3b: Download complete 08:51:13 df20fa9351a1: Verifying Checksum 08:51:13 df20fa9351a1: Download complete 08:51:13 93b9cdb0e59b: Download complete 08:51:13 5e14af77c1be: Verifying Checksum 08:51:13 5e14af77c1be: Download complete 08:51:13 93b61091891f: Download complete 08:51:13 01666e4c0597: Verifying Checksum 08:51:13 01666e4c0597: Download complete 08:51:13 df20fa9351a1: Pull complete 08:51:13 36b3adc4ff6f: Pull complete 08:51:14 8ad3a11d3b57: Verifying Checksum 08:51:14 8ad3a11d3b57: Download complete 08:51:15 8ad3a11d3b57: Pull complete 08:51:15 46f8f816bc3b: Pull complete 08:51:15 93b61091891f: Pull complete 08:51:15 93b9cdb0e59b: Pull complete 08:51:15 5e14af77c1be: Pull complete 08:51:16 aa168da1d23b: Verifying Checksum 08:51:16 aa168da1d23b: Download complete 08:51:16 01666e4c0597: Pull complete 08:51:22 aa168da1d23b: Pull complete 08:51:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:51:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:51:23 prd-centos7-docker-4c-2g-7464 does not seem to be running inside a container 08:51:23 $ 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-635/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-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:51:27 $ docker top a24ff1e9b2b0d44011fe24d9c7db61fb35bf9587f229292456fe6561d32d6979 -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:27 + touch /tmp/pre-build-complete [Pipeline] sh 08:51:28 + mkdir -p /var/log/sa [Pipeline] sh 08:51:28 + ls /var/log/sa-host 08:51:28 + sadf -c /var/log/sa-host/sa05 08:51:28 file_magic: OK 08:51:28 HZ: Using current value: 100 08:51:28 file_header: OK 08:51:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:51:28 Statistics: 08:51:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:28 File successfully converted to sysstat format version 12.2.1 08:51:28 + sadf -c /var/log/sa-host/sa21 08:51:28 file_magic: OK 08:51:28 HZ: Using current value: 100 08:51:28 file_header: OK 08:51:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:51:28 Statistics: 08:51:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:51:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:28 provisioning config files... 08:51:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config9873255937674469tmp [Pipeline] { [Pipeline] echo 08:51:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:28 ---> create-netrc.sh [Pipeline] } 08:51:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:51:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:51:29 ---> python-tools-install.sh [Pipeline] echo 08:51:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:51:29 ---> sudo-logs.sh 08:51:29 Archiving 'sudo' log.. [Pipeline] echo 08:51:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:51:29 ---> job-cost.sh 08:51:29 lf-activate-venv: SKIPPING 08:51:29 INFO: No Stack... 08:51:31 INFO: Retrieving Pricing Info for: v1-standard-2 08:51:32 INFO: Archiving Costs [Pipeline] echo 08:51:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:32 ---> logs-deploy.sh 08:51:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-635/3 08:51:32 INFO: archiving workspace using pattern(s): 08:51:34 Archives upload complete. 08:51:34 INFO: archiving logs to Nexus