Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b+10f5d80329275e8e77aa5b449b49b1589ab3bade (e7e08d8d3a73660f9e78d155fdbeba165813cf94) 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-5796 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 031d93faa1cbad6f2448e7e21680733aa0ca7f78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:53:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:53:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:53:03 ========================================================= 06:53:03 EdgeX Global Pipelines Version Info 06:53:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:53:05 ------------------- 06:53:05 stable info: 06:53:05 ------------------- 06:53:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:53:05 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:53:05 Message: update stable to v1.0.144 06:53:05 ------------------- 06:53:05 experimental info: 06:53:05 ------------------- 06:53:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:53:05 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 06:53:05 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:53:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:53:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:53:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 06:53:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 06:53:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 06:53:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] echo 06:53:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acaf1ce [Pipeline] echo 06:53:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:10 + git log --format=format:%s -1 acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] echo 06:53:10 GIT_COMMIT: acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo 06:53:10 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:11 06:53:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:53:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:11 latest: Pulling from edgex-devops/git-semver 06:53:11 31603596830f: Pulling fs layer 06:53:11 2a8b12db71e7: Pulling fs layer 06:53:11 6ca5941a6612: Pulling fs layer 06:53:11 ecc8261a40a4: Pulling fs layer 06:53:11 ecc8261a40a4: Waiting 06:53:11 2a8b12db71e7: Download complete 06:53:12 31603596830f: Verifying Checksum 06:53:12 31603596830f: Download complete 06:53:12 ecc8261a40a4: Verifying Checksum 06:53:12 ecc8261a40a4: Download complete 06:53:12 6ca5941a6612: Verifying Checksum 06:53:12 6ca5941a6612: Download complete 06:53:12 31603596830f: Pull complete 06:53:12 2a8b12db71e7: Pull complete 06:53:13 6ca5941a6612: Pull complete 06:53:13 ecc8261a40a4: Pull complete 06:53:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:53:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:53:14 prd-centos7-docker-4c-2g-5796 does not seem to be running inside a container 06:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 06:53:16 $ docker top fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:16 [ssh-agent] Looking for ssh-agent implementation... 06:53:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:16 $ docker exec fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent 06:53:17 SSH_AUTH_SOCK=/tmp/ssh-zEjCQiUnBWfE/agent.11 06:53:17 SSH_AGENT_PID=16 06:53:17 Running ssh-add (command line suppressed) 06:53:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3202831073321266569.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3202831073321266569.key) 06:53:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:17 + git tag --points-at HEAD [Pipeline] } 06:53:17 $ docker exec --env ******** --env ******** fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent -k 06:53:17 unset SSH_AUTH_SOCK; 06:53:17 unset SSH_AGENT_PID; 06:53:17 echo Agent pid 16 killed; 06:53:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:18 [ssh-agent] Looking for ssh-agent implementation... 06:53:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:18 $ docker exec fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent 06:53:18 SSH_AUTH_SOCK=/tmp/ssh-bntxEhxK3J7Z/agent.44 06:53:18 SSH_AGENT_PID=49 06:53:18 Running ssh-add (command line suppressed) 06:53:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_849201760159226682.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_849201760159226682.key) 06:53:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:19 + git semver init 06:53:19 # -> Open(): unable to determine branch for HEAD 06:53:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 06:53:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 06:53:19 # $SEMVER_REMOTE_NAME = origin 06:53:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:53:19 # $SEMVER_USER_NAME = edgex-jenkins 06:53:19 # $SEMVER_BRANCH = PR-582 06:53:19 # $SEMVER_TEMP = /tmp/semver-513329860 06:53:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:53:19 # '/tmp/semver-513329860' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 06:53:19 # -> Force: false 06:53:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 06:53:19 $ docker exec --env ******** --env ******** fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f ssh-agent -k 06:53:20 unset SSH_AUTH_SOCK; 06:53:20 unset SSH_AGENT_PID; 06:53:20 echo Agent pid 49 killed; 06:53:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:20 + git semver [Pipeline] } 06:53:21 $ docker stop --time=1 fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f 06:53:22 $ docker rm -f fff414be6389849537e152ce916ea4ad604e67c39a3f89147bcc78c71146d48f [Pipeline] // withDockerContainer [Pipeline] sh 06:53:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:53:23 Stashed 1 file(s) [Pipeline] echo 06:53:23 [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 06:53:39 Still waiting to schedule task 06:53:39 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5786’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 06:53:39 Still waiting to schedule task 06:53:39 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 06:53:56 Running on prd-centos7-docker-4c-2g-5801 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 06:53:56 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout 06:54:00 using credential edgex-jenkins-ssh 06:54:00 Cloning the remote Git repository 06:54:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:54:00 > git init /w/workspace/device-sdk-go/23 # timeout=10 06:54:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:54:00 > git --version # timeout=10 06:54:00 > git --version # 'git version 2.16.5' 06:54:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:54:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:54:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:54:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:54:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:54:03 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 06:54:03 Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 06:54:03 Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) 06:54:03 > git config core.sparsecheckout # timeout=10 06:54:03 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 06:54:03 > git remote # timeout=10 06:54:03 > git config --get remote.origin.url # timeout=10 06:54:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:54:03 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:54:03 > git rev-parse HEAD^{commit} # timeout=10 06:54:03 > git config core.sparsecheckout # timeout=10 06:54:03 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 06:54:07 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:54:08 ========================================================= 06:54:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:54:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:54:08 + 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 . 06:54:09 Sending build context to Docker daemon 2.315MB 06:54:09 Step 1/8 : ARG BASE=golang:1.15-alpine 06:54:09 Step 2/8 : FROM ${BASE} 06:54:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:54:09 df20fa9351a1: Pulling fs layer 06:54:09 ed8968b2872e: Pulling fs layer 06:54:09 a92cc7c5fd73: Pulling fs layer 06:54:09 e871e8e8d7a9: Pulling fs layer 06:54:09 e73272ec9a57: Pulling fs layer 06:54:09 1e910a182e73: Pulling fs layer 06:54:09 4e634b169226: Pulling fs layer 06:54:09 1e910a182e73: Waiting 06:54:09 e871e8e8d7a9: Waiting 06:54:09 4e634b169226: Waiting 06:54:09 e73272ec9a57: Waiting 06:54:09 a92cc7c5fd73: Verifying Checksum 06:54:09 a92cc7c5fd73: Download complete 06:54:09 ed8968b2872e: Verifying Checksum 06:54:09 ed8968b2872e: Download complete 06:54:09 e73272ec9a57: Verifying Checksum 06:54:09 e73272ec9a57: Download complete 06:54:09 1e910a182e73: Verifying Checksum 06:54:09 1e910a182e73: Download complete 06:54:09 df20fa9351a1: Download complete 06:54:09 df20fa9351a1: Pull complete 06:54:09 ed8968b2872e: Pull complete 06:54:10 a92cc7c5fd73: Pull complete 06:54:14 4e634b169226: Verifying Checksum 06:54:14 4e634b169226: Download complete 06:54:15 e871e8e8d7a9: Verifying Checksum 06:54:15 e871e8e8d7a9: Download complete 06:54:20 e871e8e8d7a9: Pull complete 06:54:20 e73272ec9a57: Pull complete 06:54:20 1e910a182e73: Pull complete 06:54:25 4e634b169226: Pull complete 06:54:25 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:54:25 ---> f7629b54cfaa 06:54:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:54:25 ---> Running in 72fe90f5d0ae 06:54:26 Removing intermediate container 72fe90f5d0ae 06:54:26 ---> 7076c973a62b 06:54:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:54:26 ---> Running in aae0b0eb490c 06:54:28 Removing intermediate container aae0b0eb490c 06:54:28 ---> 5cf0099519f5 06:54:28 Step 5/8 : RUN apk add --no-cache make git 06:54:28 ---> Running in 3f87b8567264 06:54:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:54:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:54:32 OK: 166 MiB in 39 packages 06:54:32 Removing intermediate container 3f87b8567264 06:54:32 ---> 45154c73d193 06:54:32 Step 6/8 : WORKDIR /device-sdk-go 06:54:32 ---> Running in e7500b94ffa4 06:54:33 Removing intermediate container e7500b94ffa4 06:54:33 ---> 83d6290f814c 06:54:33 Step 7/8 : COPY . . 06:54:34 ---> a0a2c941403c 06:54:34 Step 8/8 : RUN go mod download 06:54:34 ---> Running in 8a78b0f779ce 06:54:56 Removing intermediate container 8a78b0f779ce 06:54:56 ---> 7086953ff79b 06:54:56 Successfully built 7086953ff79b 06:54:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:54:56 + docker inspect -f . ci-base-image-x86_64 06:54:56 . [Pipeline] withDockerContainer 06:54:56 prd-centos7-docker-4c-2g-5801 does not seem to be running inside a container 06:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 ******** ci-base-image-x86_64 cat 06:54:58 $ docker top c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:58 + go version 06:54:58 go version go1.15.2 linux/amd64 [Pipeline] } 06:54:58 $ docker stop --time=1 c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 06:54:59 $ docker rm -f c18e68f068fd6ce0dd69ac2486525df4ec471f29aac79f7977ba089f7c496093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:55:00 + docker inspect -f . ci-base-image-x86_64 06:55:00 . [Pipeline] withDockerContainer 06:55:01 prd-centos7-docker-4c-2g-5801 does not seem to be running inside a container 06:55:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 ******** ci-base-image-x86_64 cat 06:55:01 $ docker top 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 -eo pid,comm [Pipeline] { [Pipeline] sh 06:55:02 + make test 06:55:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:55:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:55:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:55:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:55:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:55:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 21.6% of statements 06:55:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements 06:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 9.4% of statements 06:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.048s coverage: 21.9% of statements 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.220s coverage: 42.6% of statements 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:55:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:55:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.420s coverage: 68.9% of statements 06:55:58 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:55:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:55:58 GO111MODULE=on go vet ./... 06:56:04 gofmt -l . 06:56:04 [ "`gofmt -l .`" = "" ] 06:56:04 ./bin/test-attribution-txt.sh 06:56:04 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:56:05 Stashed 1 file(s) [Pipeline] } 06:56:05 $ docker stop --time=1 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 06:56:07 $ docker rm -f 95dcbfb3d39066cb878c79a356ade179874c2ab41d1b299751b2993e1606dd40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:56:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:56:09 + ls -al . 06:56:09 total 188 06:56:09 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:56 . 06:56:09 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:54 .. 06:56:09 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:54 bin 06:56:09 -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:55 coverage.out 06:56:09 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:54 Dockerfile.build 06:56:09 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:54 .dockerignore 06:56:09 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:54 example 06:56:09 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:54 .git 06:56:09 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:54 .github 06:56:09 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:54 .gitignore 06:56:09 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:56 go.mod 06:56:09 -rw-r--r--. 1 jenkins jenkins 13731 Oct 16 06:56 go.sum 06:56:09 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:54 internal 06:56:09 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:54 Jenkinsfile 06:56:09 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:54 LICENSE 06:56:09 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:54 Makefile 06:56:09 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:54 openapi 06:56:09 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:54 pkg 06:56:09 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:54 README.md 06:56:09 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:54 RELEASE-NOTES.txt 06:56:09 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:54 snap 06:56:09 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:53 VERSION 06:56:09 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:54 version.go [Pipeline] isUnix [Pipeline] sh 06:56: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=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b --label arch=amd64 --label version=0.0.0 . 06:56:09 Sending build context to Docker daemon 2.426MB 06:56:09 Step 1/24 : ARG BASE=golang:1.15-alpine 06:56:09 Step 2/24 : FROM ${BASE} AS builder 06:56:09 ---> 7086953ff79b 06:56:09 Step 3/24 : ARG MAKE='make build' 06:56:10 ---> Running in 83c7e9836192 06:56:10 Removing intermediate container 83c7e9836192 06:56:10 ---> 3d3b18de6f3b 06:56:10 Step 4/24 : WORKDIR /device-sdk-go 06:56:10 ---> Running in 180b80c5624e 06:56:10 Removing intermediate container 180b80c5624e 06:56:10 ---> ef9b812d3dab 06:56:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:10 ---> Running in 811b5791d80b 06:56:10 Removing intermediate container 811b5791d80b 06:56:10 ---> 10cf28718e38 06:56:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:10 ---> Running in 829c029589ba 06:56:11 Removing intermediate container 829c029589ba 06:56:11 ---> f519b408c442 06:56:11 Step 7/24 : RUN apk add --update --no-cache make git 06:56:12 ---> Running in 38c6b1d32725 06:56:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:56:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:56:14 OK: 166 MiB in 39 packages 06:56:14 Removing intermediate container 38c6b1d32725 06:56:14 ---> 5c3ed76802b1 06:56:14 Step 8/24 : COPY . . 06:56:15 ---> 3228ee071abb 06:56:15 Step 9/24 : RUN ${MAKE} 06:56:15 ---> Running in 41b8a530a5a8 06:56:16 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 06:56:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5805 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 06:56:19 Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout 06:56:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:56:25 using credential edgex-jenkins-ssh 06:56:25 Cloning the remote Git repository 06:56:26 Removing intermediate container 41b8a530a5a8 06:56:26 ---> 7559d7d80480 06:56:26 Step 10/24 : FROM scratch 06:56:26 ---> 06:56:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:26 ---> Running in 8635947c7817 06:56:26 Removing intermediate container 8635947c7817 06:56:26 ---> 91df34bfa8b8 06:56:26 Step 12/24 : ENV APP_PORT=49990 06:56:26 ---> Running in 194d6832a30f 06:56:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:56:26 > git init /w/workspace/device-sdk-go/23 # timeout=10 06:56:26 Removing intermediate container 194d6832a30f 06:56:26 ---> fa288b9d10e1 06:56:26 Step 13/24 : EXPOSE $APP_PORT 06:56:26 ---> Running in 8dd29a7f9cd5 06:56:26 Removing intermediate container 8dd29a7f9cd5 06:56:26 ---> 47535fdb8cc0 06:56:26 Step 14/24 : WORKDIR / 06:56:26 ---> Running in 1d4acb9010ea 06:56:26 Removing intermediate container 1d4acb9010ea 06:56:26 ---> b10f8fb1d47e 06:56:26 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:56:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:26 > git --version # timeout=10 06:56:26 > git --version # 'git version 2.17.1' 06:56:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:27 ---> 602b4a6dbe24 06:56:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:56:27 ---> d9d8d360ae48 06:56:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:56:27 ---> 66ed2b5b89fb 06:56:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:56:28 ---> 0eda77773da1 06:56:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:56:28 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 06:56:28 ---> 54b2ee36c0c0 06:56:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:56:28 ---> Running in 9fdbc6ac169d 06:56:28 Removing intermediate container 9fdbc6ac169d 06:56:28 ---> bb942817f73b 06:56:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:56:28 Merge succeeded, producing acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 06:56:28 Checking out Revision acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b (PR-582) 06:56:28 ---> Running in fe2d2ccab30c 06:56:28 Removing intermediate container fe2d2ccab30c 06:56:28 ---> 8c3b7e8428a5 06:56:28 Step 22/24 : LABEL arch=amd64 06:56:28 ---> Running in 0c61d792ce98 06:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:56:28 > git config core.sparsecheckout # timeout=10 06:56:28 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 06:56:28 > git remote # timeout=10 06:56:28 > git config --get remote.origin.url # timeout=10 06:56:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:28 > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 06:56:28 > git rev-parse HEAD^{commit} # timeout=10 06:56:28 > git config core.sparsecheckout # timeout=10 06:56:28 > git checkout -f acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b # timeout=10 06:56:28 Removing intermediate container 0c61d792ce98 06:56:28 ---> 6233bba8a109 06:56:28 Step 23/24 : LABEL git_sha=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 06:56:28 ---> Running in 76faa2724393 06:56:29 Removing intermediate container 76faa2724393 06:56:29 ---> 1bdfece1d5f6 06:56:29 Step 24/24 : LABEL version=0.0.0 06:56:29 ---> Running in afe4dd74f526 06:56:29 Removing intermediate container afe4dd74f526 06:56:29 ---> 7f4808643f3e 06:56:29 [Warning] One or more build-args [ARCH] were not consumed 06:56:29 Successfully built 7f4808643f3e 06:56:29 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] } 06:56:33 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:56:34 ========================================================= 06:56:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:56:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:56:35 + 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 . 06:56:36 Sending build context to Docker daemon 2.313MB 06:56:36 Step 1/8 : ARG BASE=golang:1.15-alpine 06:56:36 Step 2/8 : FROM ${BASE} 06:56:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:56:37 b538f80385f9: Pulling fs layer 06:56:37 74f711af9a0d: Pulling fs layer 06:56:37 99f96fe45779: Pulling fs layer 06:56:37 8529a6b9a6be: Pulling fs layer 06:56:37 45590311c82a: Pulling fs layer 06:56:37 69ca0ff8b7b3: Pulling fs layer 06:56:37 209524e5b208: Pulling fs layer 06:56:37 8529a6b9a6be: Waiting 06:56:37 45590311c82a: Waiting 06:56:37 69ca0ff8b7b3: Waiting 06:56:37 209524e5b208: Waiting 06:56:37 99f96fe45779: Verifying Checksum 06:56:37 99f96fe45779: Download complete 06:56:37 74f711af9a0d: Download complete 06:56:37 45590311c82a: Verifying Checksum 06:56:37 45590311c82a: Download complete 06:56:37 b538f80385f9: Verifying Checksum 06:56:37 b538f80385f9: Download complete 06:56:37 69ca0ff8b7b3: Verifying Checksum 06:56:37 69ca0ff8b7b3: Download complete 06:56:37 b538f80385f9: Pull complete 06:56:38 74f711af9a0d: Pull complete 06:56:38 99f96fe45779: Pull complete 06:56:40 209524e5b208: Verifying Checksum 06:56:40 209524e5b208: Download complete 06:56:41 8529a6b9a6be: Verifying Checksum 06:56:41 8529a6b9a6be: Download complete 06:56:51 8529a6b9a6be: Pull complete 06:56:51 45590311c82a: Pull complete 06:56:51 69ca0ff8b7b3: Pull complete 06:56:55 209524e5b208: Pull complete 06:56:55 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:56:55 ---> 5bddaf1c2fca 06:56:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:57 ---> Running in b43029180835 06:56:58 Removing intermediate container b43029180835 06:56:58 ---> 9c413ef022d6 06:56:58 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:58 ---> Running in 77e1770e8ef8 06:57:01 Removing intermediate container 77e1770e8ef8 06:57:01 ---> c2241e9a55e4 06:57:01 Step 5/8 : RUN apk add --no-cache make git 06:57:01 ---> Running in 7b9bf8b5d7b9 06:57:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:57:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:57:04 OK: 142 MiB in 39 packages 06:57:05 Removing intermediate container 7b9bf8b5d7b9 06:57:05 ---> b39162c8bf35 06:57:05 Step 6/8 : WORKDIR /device-sdk-go 06:57:06 ---> Running in a1c4a85ab8ce 06:57:06 Removing intermediate container a1c4a85ab8ce 06:57:06 ---> 0b7570d33a7e 06:57:06 Step 7/8 : COPY . . 06:57:07 ---> 370fad7e0b43 06:57:07 Step 8/8 : RUN go mod download 06:57:07 ---> Running in e0c7c7e2f3a3 06:57:34 Removing intermediate container e0c7c7e2f3a3 06:57:34 ---> c74215505fcf 06:57:34 Successfully built c74215505fcf 06:57:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:57:35 + docker inspect -f . ci-base-image-arm64 06:57:35 . [Pipeline] withDockerContainer 06:57:35 prd-ubuntu18.04-docker-arm64-4c-16g-5805 does not seem to be running inside a container 06:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:57:37 $ docker top 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:39 + go version 06:57:39 go version go1.15.2 linux/arm64 [Pipeline] } 06:57:39 $ docker stop --time=1 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 06:57:41 $ docker rm -f 90b0c4340caaeca3fc9ca2d80ce57102c73ba01655c65b2c1b54f27e434b2d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:42 + docker inspect -f . ci-base-image-arm64 06:57:42 . [Pipeline] withDockerContainer 06:57:42 prd-ubuntu18.04-docker-arm64-4c-16g-5805 does not seem to be running inside a container 06:57:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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 06:57:44 $ docker top 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:46 + make test 06:57:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:58:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:58:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:58:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:58:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:58:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.116s coverage: 21.6% of statements 06:58:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.172s coverage: 97.1% of statements 06:59:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements 06:59:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:59:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 42.6% of statements 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:59:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.715s coverage: 68.9% of statements 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:59:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:59:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.858s coverage: 68.9% of statements 06:59:22 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:59:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:59:23 GO111MODULE=on go vet ./... 06:59:56 gofmt -l . 06:59:56 [ "`gofmt -l .`" = "" ] 06:59:56 ./bin/test-attribution-txt.sh 06:59:56 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:59:56 Warning: overwriting stash ‘coverage-report’ 06:59:57 Stashed 1 file(s) [Pipeline] } 06:59:57 $ docker stop --time=1 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 06:59:59 $ docker rm -f 5b42335df9b77b7cc148bc5fb26858c73dd443aadad4e001c22fa76987abc5f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:01 + ls -al . 07:00:01 total 224 07:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:59 . 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 .. 07:00:01 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:56 .dockerignore 07:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:56 .git 07:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 .github 07:00:01 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:56 .gitignore 07:00:01 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:56 Dockerfile.build 07:00:01 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:56 Jenkinsfile 07:00:01 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:56 LICENSE 07:00:01 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:56 Makefile 07:00:01 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:56 README.md 07:00:01 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:56 RELEASE-NOTES.txt 07:00:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:53 VERSION 07:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 bin 07:00:01 -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:59 coverage.out 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 example 07:00:01 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:59 go.mod 07:00:01 -rw-r--r-- 1 jenkins jenkins 13731 Oct 16 06:59 go.sum 07:00:01 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:56 internal 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 openapi 07:00:01 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:56 pkg 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 snap 07:00:01 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:56 version.go [Pipeline] isUnix [Pipeline] sh 07:00:02 + 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=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b --label arch=arm64 --label version=0.0.0 . 07:00:02 Sending build context to Docker daemon 2.424MB 07:00:02 Step 1/24 : ARG BASE=golang:1.15-alpine 07:00:02 Step 2/24 : FROM ${BASE} AS builder 07:00:02 ---> c74215505fcf 07:00:02 Step 3/24 : ARG MAKE='make build' 07:00:02 ---> Running in 3879c0016a8b 07:00:03 Removing intermediate container 3879c0016a8b 07:00:03 ---> 68eb2281e02b 07:00:03 Step 4/24 : WORKDIR /device-sdk-go 07:00:03 ---> Running in 66bc4ea7d839 07:00:03 Removing intermediate container 66bc4ea7d839 07:00:03 ---> c09de06ac2e8 07:00:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:03 ---> Running in cd0cb9966f0b 07:00:04 Removing intermediate container cd0cb9966f0b 07:00:04 ---> dda986b4ff26 07:00:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:04 ---> Running in 5a6054967680 07:00:07 Removing intermediate container 5a6054967680 07:00:07 ---> f8ad505be340 07:00:07 Step 7/24 : RUN apk add --update --no-cache make git 07:00:07 ---> Running in 03b7b3bb5d99 07:00:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:00:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:00:10 OK: 142 MiB in 39 packages 07:00:11 Removing intermediate container 03b7b3bb5d99 07:00:11 ---> 767179a9a68e 07:00:11 Step 8/24 : COPY . . 07:00:13 ---> 37c1e12abcf1 07:00:13 Step 9/24 : RUN ${MAKE} 07:00:13 ---> Running in c84dff2eac40 07:00:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:00:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:00:41 Removing intermediate container c84dff2eac40 07:00:41 ---> 7d49e4f5978c 07:00:41 Step 10/24 : FROM scratch 07:00:41 ---> 07:00:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:41 ---> Running in bba19e7e5fb2 07:00:41 Removing intermediate container bba19e7e5fb2 07:00:41 ---> bdb44ad51be1 07:00:41 Step 12/24 : ENV APP_PORT=49990 07:00:41 ---> Running in dcf2cb7f505f 07:00:41 Removing intermediate container dcf2cb7f505f 07:00:41 ---> bb89955cc4a2 07:00:41 Step 13/24 : EXPOSE $APP_PORT 07:00:41 ---> Running in 3acdb0063f34 07:00:42 Removing intermediate container 3acdb0063f34 07:00:42 ---> 51d5e3bcdd94 07:00:42 Step 14/24 : WORKDIR / 07:00:42 ---> Running in 58b429f45f85 07:00:42 Removing intermediate container 58b429f45f85 07:00:42 ---> 419767ac8735 07:00:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:00:43 ---> d3ca5855ba46 07:00:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:00:44 ---> 4331146df9a5 07:00:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:00:45 ---> 5a85a8e3f10e 07:00:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:00:46 ---> fa22e6192731 07:00:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:00:47 ---> 7619b2d08893 07:00:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:00:47 ---> Running in 8821ffe78e24 07:00:47 Removing intermediate container 8821ffe78e24 07:00:47 ---> fcc4cf389edb 07:00:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:00:47 ---> Running in ba67c7b2c3ed 07:00:47 Removing intermediate container ba67c7b2c3ed 07:00:47 ---> b2afdabeeb58 07:00:47 Step 22/24 : LABEL arch=arm64 07:00:48 ---> Running in c84e19231f61 07:00:48 Removing intermediate container c84e19231f61 07:00:48 ---> de971544e65e 07:00:48 Step 23/24 : LABEL git_sha=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b 07:00:48 ---> Running in 67da5fe13ef1 07:00:48 Removing intermediate container 67da5fe13ef1 07:00:48 ---> 8730159f16e7 07:00:48 Step 24/24 : LABEL version=0.0.0 07:00:49 ---> Running in 1e45b45b1b18 07:00:49 Removing intermediate container 1e45b45b1b18 07:00:49 ---> 2b3984714b9e 07:00:49 [Warning] One or more build-args [ARCH] were not consumed 07:00:49 Successfully built 2b3984714b9e 07:00:49 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 07:00:51 provisioning config files... 07:00:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config36173917836488324tmp [Pipeline] { [Pipeline] sh 07:00:52 + set +x 07:00:52 + curl -s https://codecov.io/bash 07:00:52 + bash -s -- 07:00:52 07:00:52 _____ _ 07:00:52 / ____| | | 07:00:52 | | ___ __| | ___ ___ _____ __ 07:00:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:52 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:52 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:52 Bash-20201009-048fee3 07:00:52 07:00:52 07:00:52 ==> Jenkins CI detected. 07:00:52 project root: . 07:00:52 --> token set from env 07:00:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:52 ==> Running gcov in . (disable via -X gcov) 07:00:52 ==> Python coveragepy not found 07:00:52 ==> Searching for coverage reports in: 07:00:52 + . 07:00:52 -> Found 1 reports 07:00:52 ==> Detecting git/mercurial file structure 07:00:52 ==> Reading reports 07:00:52 + ./coverage.out bytes=110398 07:00:52 ==> Appending adjustments 07:00:52 https://docs.codecov.io/docs/fixing-reports 07:00:52 + Found adjustments 07:00:52 ==> Gzipping contents 07:00:53 ==> Uploading reports 07:00:53 url: https://codecov.io 07:00:53 query: branch=PR-582&commit=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 07:00:53 -> Pinging Codecov 07:00:53 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 07:00:53 -> Uploading to 07:00:53 07:00:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:53 Dload Upload Total Spent Left Speed 07:00:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 07:00:53 X> Failed to upload 07:00:53 ==> Uploading to Codecov 07:00:53 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:53 Dload Upload Total Spent Left Speed 07:00:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19149 100 110 100 19039 242 41935 --:--:-- --:--:-- --:--:-- 42028 07:00:53 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/acaf1cebdb7aba32d81f1ce61b2beebfc7938d4b [Pipeline] } 07:00:54 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 07:00:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:00:57 ---> package-listing.sh 07:00:57 ++ facter osfamily 07:00:57 ++ tr '[:upper:]' '[:lower:]' 07:00:57 + OS_FAMILY=redhat 07:00:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 07:00:57 + START_PACKAGES=/tmp/packages_start.txt 07:00:57 + END_PACKAGES=/tmp/packages_end.txt 07:00:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:00:57 + PACKAGES=/tmp/packages_start.txt 07:00:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 07:00:57 + PACKAGES=/tmp/packages_end.txt 07:00:57 + case "${OS_FAMILY}" in 07:00:57 + rpm -qa 07:00:57 + sort 07:01:02 + '[' -f /tmp/packages_start.txt ']' 07:01:02 + '[' -f /tmp/packages_end.txt ']' 07:01:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:01:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 07:01:02 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 07:01:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] echo 07:01:02 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:01:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:01:03 07:01:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:01:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:01:03 alpine: Pulling from edgex-lftools-log-publisher 07:01:03 df20fa9351a1: Pulling fs layer 07:01:03 36b3adc4ff6f: Pulling fs layer 07:01:03 8ad3a11d3b57: Pulling fs layer 07:01:03 46f8f816bc3b: Pulling fs layer 07:01:03 93b61091891f: Pulling fs layer 07:01:03 93b9cdb0e59b: Pulling fs layer 07:01:03 5e14af77c1be: Pulling fs layer 07:01:03 01666e4c0597: Pulling fs layer 07:01:03 aa168da1d23b: Pulling fs layer 07:01:03 5e14af77c1be: Waiting 07:01:03 46f8f816bc3b: Waiting 07:01:03 93b9cdb0e59b: Waiting 07:01:03 93b61091891f: Waiting 07:01:03 aa168da1d23b: Waiting 07:01:03 36b3adc4ff6f: Verifying Checksum 07:01:03 36b3adc4ff6f: Download complete 07:01:03 46f8f816bc3b: Verifying Checksum 07:01:03 46f8f816bc3b: Download complete 07:01:04 93b61091891f: Download complete 07:01:04 93b9cdb0e59b: Verifying Checksum 07:01:04 93b9cdb0e59b: Download complete 07:01:04 5e14af77c1be: Verifying Checksum 07:01:04 5e14af77c1be: Download complete 07:01:04 01666e4c0597: Verifying Checksum 07:01:04 01666e4c0597: Download complete 07:01:04 8ad3a11d3b57: Verifying Checksum 07:01:04 8ad3a11d3b57: Download complete 07:01:04 df20fa9351a1: Verifying Checksum 07:01:04 df20fa9351a1: Download complete 07:01:04 df20fa9351a1: Pull complete 07:01:04 36b3adc4ff6f: Pull complete 07:01:05 8ad3a11d3b57: Pull complete 07:01:05 46f8f816bc3b: Pull complete 07:01:05 93b61091891f: Pull complete 07:01:06 93b9cdb0e59b: Pull complete 07:01:06 5e14af77c1be: Pull complete 07:01:06 01666e4c0597: Pull complete 07:01:06 aa168da1d23b: Verifying Checksum 07:01:06 aa168da1d23b: Download complete 07:01:12 aa168da1d23b: Pull complete 07:01:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:01:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:01:13 prd-centos7-docker-4c-2g-5796 does not seem to be running inside a container 07:01:13 $ 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-582/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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 07:01:17 $ docker top 98d6aa8927e2140e0f4e27d031e5cd64fcf8382b03612897f918013752f8b5d9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:17 + touch /tmp/pre-build-complete [Pipeline] sh 07:01:18 + mkdir -p /var/log/sa [Pipeline] sh 07:01:18 + ls /var/log/sa-host 07:01:18 + sadf -c /var/log/sa-host/sa05 07:01:18 file_magic: OK 07:01:18 HZ: Using current value: 100 07:01:18 file_header: OK 07:01:18 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 07:01:18 Statistics: 07:01:18 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:01:18 File successfully converted to sysstat format version 12.2.1 07:01:18 + sadf -c /var/log/sa-host/sa16 07:01:18 file_magic: OK 07:01:18 HZ: Using current value: 100 07:01:18 file_header: OK 07:01:18 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 07:01:18 Statistics: 07:01:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:01:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:18 provisioning config files... 07:01:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config2612079470192289665tmp [Pipeline] { [Pipeline] echo 07:01:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:01:19 ---> create-netrc.sh [Pipeline] } 07:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:01:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:01:19 ---> python-tools-install.sh [Pipeline] echo 07:01:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:01:20 ---> sudo-logs.sh 07:01:20 Archiving 'sudo' log.. [Pipeline] echo 07:01:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:01:20 ---> job-cost.sh 07:01:20 lf-activate-venv: SKIPPING 07:01:20 INFO: No Stack... 07:01:21 INFO: Retrieving Pricing Info for: v1-standard-2 07:01:22 INFO: Archiving Costs [Pipeline] echo 07:01:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:01:22 ---> logs-deploy.sh 07:01:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/23 07:01:22 INFO: archiving workspace using pattern(s): 07:01:24 Archives upload complete. 07:01:24 INFO: archiving logs to Nexus