Branch indexing 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 81b72cb1c14b119a0974622c0a4aa5a2897d132f+9f44a914c3163ba6aceeb076ef4043962d95dc92 (fa7710b68c6bdb244e52b9a2d607fdb05d0a14c9) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-426 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f Merge succeeded, producing 50bdc8a8df699f51610fa3e77dacd07c040d0337 Checking out Revision 50bdc8a8df699f51610fa3e77dacd07c040d0337 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50bdc8a8df699f51610fa3e77dacd07c040d0337 # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" > git rev-list --no-walk 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:43:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:43:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:43:34 ========================================================= 18:43:34 EdgeX Global Pipelines Version Info 18:43:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:43:35 ------------------- 18:43:35 stable info: 18:43:35 ------------------- 18:43:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:43:35 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:43:35 Message: update stable to v1.0.122 18:43:36 ------------------- 18:43:36 experimental info: 18:43:36 ------------------- 18:43:36 Commited By: **** collab-it+edgex@linuxfoundation.org 18:43:36 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:43:36 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:43:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo 18:43:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo 18:43:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo 18:43:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50bdc8a8df699f51610fa3e77dacd07c040d0337 [Pipeline] echo 18:43:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50bdc8a [Pipeline] echo 18:43:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:40 + git log --format=format:%s -1 50bdc8a8df699f51610fa3e77dacd07c040d0337 [Pipeline] echo 18:43:40 GIT_COMMIT: 50bdc8a8df699f51610fa3e77dacd07c040d0337, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo 18:43:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:43:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:41 18:43:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:43:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:41 latest: Pulling from edgex-devops/git-semver 18:43:41 31603596830f: Pulling fs layer 18:43:41 2a8b12db71e7: Pulling fs layer 18:43:41 6ca5941a6612: Pulling fs layer 18:43:41 ecc8261a40a4: Pulling fs layer 18:43:41 ecc8261a40a4: Waiting 18:43:41 2a8b12db71e7: Download complete 18:43:41 31603596830f: Verifying Checksum 18:43:41 31603596830f: Download complete 18:43:41 ecc8261a40a4: Verifying Checksum 18:43:41 ecc8261a40a4: Download complete 18:43:41 6ca5941a6612: Verifying Checksum 18:43:41 6ca5941a6612: Download complete 18:43:42 31603596830f: Pull complete 18:43:42 2a8b12db71e7: Pull complete 18:43:43 6ca5941a6612: Pull complete 18:43:43 ecc8261a40a4: Pull complete 18:43:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:43:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:43:43 prd-centos7-docker-4c-2g-426 does not seem to be running inside a container 18:43:43 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:43:45 $ docker top 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:46 [ssh-agent] Looking for ssh-agent implementation... 18:43:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:46 $ docker exec 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 ssh-agent 18:43:46 SSH_AUTH_SOCK=/tmp/ssh-VciyL47acAET/agent.11 18:43:46 SSH_AGENT_PID=16 18:43:46 Running ssh-add (command line suppressed) 18:43:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4019241961122932525.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_4019241961122932525.key) 18:43:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:46 + git describe --exact-match --tags HEAD 18:43:46 fatal: No names found, cannot describe anything. [Pipeline] } 18:43:46 $ docker exec --env ******** --env ******** 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 ssh-agent -k 18:43:47 unset SSH_AUTH_SOCK; 18:43:47 unset SSH_AGENT_PID; 18:43:47 echo Agent pid 16 killed; 18:43:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:43:47 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:43:47 This usually means this commit has not been tagged. [Pipeline] sshagent 18:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:47 [ssh-agent] Looking for ssh-agent implementation... 18:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:47 $ docker exec 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 ssh-agent 18:43:47 SSH_AUTH_SOCK=/tmp/ssh-dG6BL5dZpneR/agent.44 18:43:47 SSH_AGENT_PID=49 18:43:47 Running ssh-add (command line suppressed) 18:43:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_5948357190319020599.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_5948357190319020599.key) 18:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:43:48 + git semver init 18:43:48 # -> Open(): unable to determine branch for HEAD 18:43:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git 18:43:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 18:43:48 # $SEMVER_REMOTE_NAME = origin 18:43:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:43:48 # $SEMVER_USER_NAME = edgex-jenkins 18:43:48 # $SEMVER_BRANCH = PR-571 18:43:48 # $SEMVER_TEMP = /tmp/semver-191469128 18:43:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:43:48 # '/tmp/semver-191469128' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' 18:43:48 # -> Force: false 18:43:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } 18:43:48 $ docker exec --env ******** --env ******** 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 ssh-agent -k 18:43:48 unset SSH_AUTH_SOCK; 18:43:48 unset SSH_AGENT_PID; 18:43:48 echo Agent pid 49 killed; 18:43:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:43:49 + git semver [Pipeline] } 18:43:49 $ docker stop --time=1 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 18:43:50 $ docker rm -f 315963b02588c76a2a60109cea50cf3dd151e3170f2bafe53c88f103c90a62d2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:43:51 Stashed 37 file(s) [Pipeline] echo 18:43:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:43:51 Archived original 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 18:44:07 Still waiting to schedule task 18:44:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:44:07 Still waiting to schedule task 18:44:07 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-425’ 18:47:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-435 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 18:47:09 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 18:47:15 using credential edgex-jenkins-ssh 18:47:15 Cloning the remote Git repository 18:47:15 Cloning with configured refspecs honoured and without tags 18:47:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:47:15 > git init /w/workspace/device-sdk-go/12 # timeout=10 18:47:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:15 > git --version # timeout=10 18:47:15 > git --version # 'git version 2.17.1' 18:47:15 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:15 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:16 Fetching without tags 18:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:16 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 18:47:16 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:16 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:16 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:17 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f 18:47:17 Merge succeeded, producing 8797da56477b81cb87948164fce988d3bada5a50 18:47:17 Checking out Revision 8797da56477b81cb87948164fce988d3bada5a50 (PR-571) 18:47:17 > git config core.sparsecheckout # timeout=10 18:47:17 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 18:47:17 > git remote # timeout=10 18:47:17 > git config --get remote.origin.url # timeout=10 18:47:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:17 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:47:17 > git rev-parse HEAD^{commit} # timeout=10 18:47:17 > git config core.sparsecheckout # timeout=10 18:47:17 > git checkout -f 8797da56477b81cb87948164fce988d3bada5a50 # timeout=10 18:47:21 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:47:21 > git rev-list --no-walk 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:47:23 ========================================================= 18:47:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:47:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:47:24 + 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 . 18:47:25 Sending build context to Docker daemon 3.169MB 18:47:25 Step 1/8 : ARG BASE=golang:1.15-alpine 18:47:25 Step 2/8 : FROM ${BASE} 18:47:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:47:25 b538f80385f9: Pulling fs layer 18:47:25 74f711af9a0d: Pulling fs layer 18:47:25 99f96fe45779: Pulling fs layer 18:47:25 8529a6b9a6be: Pulling fs layer 18:47:25 45590311c82a: Pulling fs layer 18:47:25 69ca0ff8b7b3: Pulling fs layer 18:47:25 209524e5b208: Pulling fs layer 18:47:25 8529a6b9a6be: Waiting 18:47:25 45590311c82a: Waiting 18:47:25 69ca0ff8b7b3: Waiting 18:47:25 209524e5b208: Waiting 18:47:25 99f96fe45779: Verifying Checksum 18:47:25 99f96fe45779: Download complete 18:47:26 74f711af9a0d: Verifying Checksum 18:47:26 74f711af9a0d: Download complete 18:47:26 45590311c82a: Verifying Checksum 18:47:26 45590311c82a: Download complete 18:47:26 69ca0ff8b7b3: Download complete 18:47:26 b538f80385f9: Verifying Checksum 18:47:26 b538f80385f9: Download complete 18:47:27 b538f80385f9: Pull complete 18:47:27 74f711af9a0d: Pull complete 18:47:28 99f96fe45779: Pull complete 18:47:29 209524e5b208: Verifying Checksum 18:47:29 209524e5b208: Download complete 18:47:30 8529a6b9a6be: Verifying Checksum 18:47:30 8529a6b9a6be: Download complete 18:47:40 8529a6b9a6be: Pull complete 18:47:41 45590311c82a: Pull complete 18:47:41 69ca0ff8b7b3: Pull complete 18:47:46 209524e5b208: Pull complete 18:47:46 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:47:46 ---> 5bddaf1c2fca 18:47:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:47:48 ---> Running in a11aa925d4cf 18:47:48 Removing intermediate container a11aa925d4cf 18:47:48 ---> 7d58b5cb9172 18:47:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:47:48 ---> Running in 47cd571b28eb 18:47:52 Removing intermediate container 47cd571b28eb 18:47:52 ---> b3078526319b 18:47:52 Step 5/8 : RUN apk add --no-cache make git 18:47:52 ---> Running in 2be2f7e7092d 18:47:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:47:55 OK: 142 MiB in 39 packages 18:47:56 Removing intermediate container 2be2f7e7092d 18:47:56 ---> cb844c3987e1 18:47:56 Step 6/8 : WORKDIR /device-sdk-go 18:47:56 ---> Running in f8dbe13d3a0e 18:47:57 Removing intermediate container f8dbe13d3a0e 18:47:57 ---> ba0e0946d8ae 18:47:57 Step 7/8 : COPY . . 18:47:58 ---> 0ead9d8d130b 18:47:58 Step 8/8 : RUN go mod download 18:47:58 ---> Running in ad32f983c003 18:48:00 Running on prd-centos7-docker-4c-2g-436 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws 18:48:00 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 18:48:10 using credential edgex-jenkins-ssh 18:48:10 Cloning the remote Git repository 18:48:10 Cloning with configured refspecs honoured and without tags 18:48:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:48:12 Fetching without tags 18:48:11 > git init /w/workspace/device-sdk-go/12 # timeout=10 18:48:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:11 > git --version # timeout=10 18:48:11 > git --version # 'git version 2.16.5' 18:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:11 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:12 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 18:48:12 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:48:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:48:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:12 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:48:12 Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 81b72cb1c14b119a0974622c0a4aa5a2897d132f 18:48:13 Merge succeeded, producing 5f182dbf03adc934c0649deb82deb0e21ca451d6 18:48:13 Checking out Revision 5f182dbf03adc934c0649deb82deb0e21ca451d6 (PR-571) 18:48:12 > git config core.sparsecheckout # timeout=10 18:48:12 > git checkout -f 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 18:48:13 > git remote # timeout=10 18:48:13 > git config --get remote.origin.url # timeout=10 18:48:13 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:13 > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 18:48:13 > git rev-parse HEAD^{commit} # timeout=10 18:48:13 > git config core.sparsecheckout # timeout=10 18:48:13 > git checkout -f 5f182dbf03adc934c0649deb82deb0e21ca451d6 # timeout=10 18:48:13 Removing intermediate container ad32f983c003 18:48:13 ---> 6e6851a093a8 18:48:13 Successfully built 6e6851a093a8 18:48:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:48:14 + docker inspect -f . ci-base-image-arm64 18:48:14 . [Pipeline] withDockerContainer 18:48:14 prd-ubuntu18.04-docker-arm64-4c-16g-435 does not seem to be running inside a container 18:48:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-arm64 cat 18:48:16 $ docker top 78b1123dd54316fbe3616b2636a96cc05f67bdf6b855c69ae9dfc80dc8fda8fb -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:17 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" 18:48:17 > git rev-list --no-walk 81b72cb1c14b119a0974622c0a4aa5a2897d132f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:48:18 + go version 18:48:18 go version go1.15.2 linux/arm64 [Pipeline] } 18:48:18 $ docker stop --time=1 78b1123dd54316fbe3616b2636a96cc05f67bdf6b855c69ae9dfc80dc8fda8fb 18:48:20 $ docker rm -f 78b1123dd54316fbe3616b2636a96cc05f67bdf6b855c69ae9dfc80dc8fda8fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 18:48:20 ========================================================= 18:48:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:48:20 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:48:22 + 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 . 18:48:22 + docker inspect -f . ci-base-image-arm64 18:48:22 . [Pipeline] withDockerContainer 18:48:22 prd-ubuntu18.04-docker-arm64-4c-16g-435 does not seem to be running inside a container 18:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-arm64 cat 18:48:22 Sending build context to Docker daemon 3.169MB 18:48:22 Step 1/8 : ARG BASE=golang:1.15-alpine 18:48:22 Step 2/8 : FROM ${BASE} 18:48:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:22 df20fa9351a1: Pulling fs layer 18:48:22 ed8968b2872e: Pulling fs layer 18:48:22 a92cc7c5fd73: Pulling fs layer 18:48:22 e871e8e8d7a9: Pulling fs layer 18:48:22 e73272ec9a57: Pulling fs layer 18:48:22 1e910a182e73: Pulling fs layer 18:48:22 4e634b169226: Pulling fs layer 18:48:22 e73272ec9a57: Waiting 18:48:22 1e910a182e73: Waiting 18:48:22 4e634b169226: Waiting 18:48:22 e871e8e8d7a9: Waiting 18:48:22 a92cc7c5fd73: Verifying Checksum 18:48:22 a92cc7c5fd73: Download complete 18:48:22 ed8968b2872e: Verifying Checksum 18:48:22 ed8968b2872e: Download complete 18:48:22 e73272ec9a57: Download complete 18:48:23 1e910a182e73: Verifying Checksum 18:48:23 1e910a182e73: Download complete 18:48:23 df20fa9351a1: Verifying Checksum 18:48:23 df20fa9351a1: Download complete 18:48:23 df20fa9351a1: Pull complete 18:48:23 ed8968b2872e: Pull complete 18:48:24 a92cc7c5fd73: Pull complete 18:48:24 $ docker top 225f35067a5d7f3c7e9767656fefbb8a47c3515a66003114ba5e79e4e51050d7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:26 + make test 18:48:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:48:26 4e634b169226: Verifying Checksum 18:48:26 4e634b169226: Download complete 18:48:29 e871e8e8d7a9: Verifying Checksum 18:48:29 e871e8e8d7a9: Download complete 18:48:37 e871e8e8d7a9: Pull complete 18:48:37 e73272ec9a57: Pull complete 18:48:37 1e910a182e73: Pull complete 18:48:45 4e634b169226: Pull complete 18:48:45 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:48:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:48:45 ---> f7629b54cfaa 18:48:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:45 ---> Running in f6ba315c59b0 18:48:45 Removing intermediate container f6ba315c59b0 18:48:45 ---> b6d167737f35 18:48:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:45 ---> Running in 07ebd792186d 18:48:47 Removing intermediate container 07ebd792186d 18:48:47 ---> c7799573a6b2 18:48:47 Step 5/8 : RUN apk add --no-cache make git 18:48:47 ---> Running in af23524633d2 18:48:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:48:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:48:49 OK: 166 MiB in 39 packages 18:48:49 Removing intermediate container af23524633d2 18:48:49 ---> ed17d2e4b60e 18:48:49 Step 6/8 : WORKDIR /device-sdk-go 18:48:49 ---> Running in 2cd91d7764e9 18:48:50 Removing intermediate container 2cd91d7764e9 18:48:50 ---> cb25ef255ac6 18:48:50 Step 7/8 : COPY . . 18:48:51 ---> 931d4ab113ae 18:48:51 Step 8/8 : RUN go mod download 18:48:51 ---> Running in 08cd9c0a091c 18:48:53 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:49:03 Removing intermediate container 08cd9c0a091c 18:49:03 ---> 152552d6fd0e 18:49:03 Successfully built 152552d6fd0e 18:49:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:49:03 + docker inspect -f . ci-base-image-x86_64 18:49:04 . [Pipeline] withDockerContainer 18:49:04 prd-centos7-docker-4c-2g-436 does not seem to be running inside a container 18:49:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 18:49:06 $ docker top 45cac530ebc7dc4928b4ba2ddb1d873dc4d9df6d45e616752eec39ec3d386d44 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:06 + go version 18:49:06 go version go1.15.2 linux/amd64 [Pipeline] } 18:49:06 $ docker stop --time=1 45cac530ebc7dc4928b4ba2ddb1d873dc4d9df6d45e616752eec39ec3d386d44 18:49:08 $ docker rm -f 45cac530ebc7dc4928b4ba2ddb1d873dc4d9df6d45e616752eec39ec3d386d44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:49:09 + docker inspect -f . ci-base-image-x86_64 18:49:09 . [Pipeline] withDockerContainer 18:49:09 prd-centos7-docker-4c-2g-436 does not seem to be running inside a container 18:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 18:49:10 $ docker top dc1916573839367fd0093ec5baf0f0381b156ee27411f3b8a6675cca6844fcd9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:10 + make test 18:49:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:49:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:49:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:49:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:49:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:49:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.063s coverage: 20.8% of statements 18:49:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.197s coverage: 97.1% of statements 18:49:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:49:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:49:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:49:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.078s coverage: 20.8% of statements 18:49:46 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.450s coverage: 97.1% of statements 18:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 9.4% of statements 18:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements 18:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.511s coverage: 37.0% of statements 18:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.803s coverage: 65.4% of statements 18:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:50:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:50:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.151s coverage: 52.6% of statements 18:50:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.201s coverage: 68.9% of statements 18:50:07 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:50:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:50:07 GO111MODULE=on go vet ./... 18:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.036s coverage: 9.4% of statements 18:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.043s coverage: 21.9% of statements 18:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.253s coverage: 37.0% of statements 18:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.381s coverage: 65.4% of statements 18:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:50:18 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:50:18 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.082s coverage: 52.6% of statements 18:50:18 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.814s coverage: 68.9% of statements 18:50:18 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:50:18 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:50:18 GO111MODULE=on go vet ./... 18:50:29 gofmt -l . 18:50:29 [ "`gofmt -l .`" = "" ] 18:50:29 ./bin/test-attribution-txt.sh 18:50:29 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:50:30 Stashed 1 file(s) [Pipeline] } 18:50:30 $ docker stop --time=1 dc1916573839367fd0093ec5baf0f0381b156ee27411f3b8a6675cca6844fcd9 18:50:32 $ docker rm -f dc1916573839367fd0093ec5baf0f0381b156ee27411f3b8a6675cca6844fcd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:34 gofmt -l . 18:50:34 [ "`gofmt -l .`" = "" ] 18:50:34 ./bin/test-attribution-txt.sh 18:50:34 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:50:34 Warning: overwriting stash ‘coverage-report’ 18:50:34 + ls -al . 18:50:34 total 188 18:50:34 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 18:50 . 18:50:34 drwxrwxr-x. 4 jenkins jenkins 30 Sep 18 18:48 .. 18:50:34 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 18:48 bin 18:50:34 -rw-r--r--. 1 jenkins jenkins 111033 Sep 18 18:50 coverage.out 18:50:34 -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 18:48 Dockerfile.build 18:50:34 -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 18:48 .dockerignore 18:50:34 drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 18:48 example 18:50:34 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 18:48 .git 18:50:34 drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 18:48 .github 18:50:34 -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 18:48 .gitignore 18:50:34 -rw-r--r--. 1 jenkins jenkins 446 Sep 18 18:50 go.mod 18:50:34 -rw-r--r--. 1 jenkins jenkins 12179 Sep 18 18:50 go.sum 18:50:34 drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 18:48 internal 18:50:34 -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 18:48 Jenkinsfile 18:50:34 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 18:48 LICENSE 18:50:34 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 18:48 Makefile 18:50:34 drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 18:48 openapi 18:50:34 drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 18:48 pkg 18:50:34 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 18:48 README.md 18:50:34 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 18:48 RELEASE-NOTES.txt 18:50:34 drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 18:48 .semver 18:50:34 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 18:48 snap 18:50:34 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 18:43 VERSION 18:50:34 -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 18:48 version.go [Pipeline] isUnix [Pipeline] sh 18:50:35 + 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=50bdc8a8df699f51610fa3e77dacd07c040d0337 --label arch=amd64 --label version=0.0.0 . 18:50:35 Stashed 1 file(s) [Pipeline] } 18:50:35 $ docker stop --time=1 225f35067a5d7f3c7e9767656fefbb8a47c3515a66003114ba5e79e4e51050d7 18:50:35 Sending build context to Docker daemon 3.281MB 18:50:35 Step 1/24 : ARG BASE=golang:1.15-alpine 18:50:35 Step 2/24 : FROM ${BASE} AS builder 18:50:35 ---> 152552d6fd0e 18:50:35 Step 3/24 : ARG MAKE='make build' 18:50:35 ---> Running in 6b4f6dc6000d 18:50:35 Removing intermediate container 6b4f6dc6000d 18:50:35 ---> e33fb883af9a 18:50:35 Step 4/24 : WORKDIR /device-sdk-go 18:50:36 ---> Running in 1391e5aa9547 18:50:36 Removing intermediate container 1391e5aa9547 18:50:36 ---> 253b9db96aa3 18:50:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:36 ---> Running in 9ba47d1959ef 18:50:36 Removing intermediate container 9ba47d1959ef 18:50:36 ---> 2e6640026ccc 18:50:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:36 ---> Running in e0124f9de20d 18:50:37 $ docker rm -f 225f35067a5d7f3c7e9767656fefbb8a47c3515a66003114ba5e79e4e51050d7 18:50:37 Removing intermediate container e0124f9de20d 18:50:37 ---> 0bd10b98b42d 18:50:37 Step 7/24 : RUN apk add --update --no-cache make git 18:50:37 ---> Running in 412cb7cc0f4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 18:50:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 18:50:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:50:39 + ls -al . 18:50:39 total 228 18:50:39 drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 18:50 . 18:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:47 .. 18:50:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 18:47 .dockerignore 18:50:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 18:47 .git 18:50:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:47 .github 18:50:39 -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 18:47 .gitignore 18:50:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 18:47 .semver 18:50:39 -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 18:47 Dockerfile.build 18:50:39 -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 18:47 Jenkinsfile 18:50:39 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 18:47 LICENSE 18:50:39 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 18:47 Makefile 18:50:39 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 18:47 README.md 18:50:39 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 18:47 RELEASE-NOTES.txt 18:50:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 18:43 VERSION 18:50:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:47 bin 18:50:39 -rw-r--r-- 1 jenkins jenkins 111033 Sep 18 18:50 coverage.out 18:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:47 example 18:50:39 -rw-r--r-- 1 jenkins jenkins 446 Sep 18 18:50 go.mod 18:50:39 -rw-r--r-- 1 jenkins jenkins 12179 Sep 18 18:50 go.sum 18:50:39 drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 18:47 internal 18:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:47 openapi 18:50:39 drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 18:47 pkg 18:50:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:47 snap 18:50:39 -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 18:47 version.go [Pipeline] isUnix [Pipeline] sh 18:50:39 OK: 166 MiB in 39 packages 18:50:39 + 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=50bdc8a8df699f51610fa3e77dacd07c040d0337 --label arch=arm64 --label version=0.0.0 . 18:50:40 Removing intermediate container 412cb7cc0f4c 18:50:40 ---> ed1fe9f3e727 18:50:40 Step 8/24 : COPY . . 18:50:40 Sending build context to Docker daemon 3.281MB 18:50:40 Step 1/24 : ARG BASE=golang:1.15-alpine 18:50:40 Step 2/24 : FROM ${BASE} AS builder 18:50:40 ---> 6e6851a093a8 18:50:40 Step 3/24 : ARG MAKE='make build' 18:50:40 ---> Running in d1e2bf0c6618 18:50:41 Removing intermediate container d1e2bf0c6618 18:50:41 ---> fafa29f5ec64 18:50:41 Step 4/24 : WORKDIR /device-sdk-go 18:50:41 ---> Running in c8f3523c0ed9 18:50:41 ---> 35f048c7ed24 18:50:41 Step 9/24 : RUN ${MAKE} 18:50:41 ---> Running in 608f26630c46 18:50:41 Removing intermediate container c8f3523c0ed9 18:50:41 ---> 00ca9c0efb89 18:50:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:41 ---> Running in 57378f5ac39e 18:50:42 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 18:50:42 Removing intermediate container 57378f5ac39e 18:50:42 ---> 57d61c218da2 18:50:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:42 ---> Running in e7d5d88444fe 18:50:44 Removing intermediate container e7d5d88444fe 18:50:44 ---> 9ff2a67ebd3c 18:50:44 Step 7/24 : RUN apk add --update --no-cache make git 18:50:45 ---> Running in f0d55a728ae7 18:50:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:50:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:50:48 OK: 142 MiB in 39 packages 18:50:49 Removing intermediate container f0d55a728ae7 18:50:49 ---> 8ecf8fc7e8c7 18:50:49 Step 8/24 : COPY . . 18:50:50 ---> 1597a6e99fd7 18:50:50 Step 9/24 : RUN ${MAKE} 18:50:50 ---> Running in 2113809c1b54 18:50:52 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 18:50:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:50:57 Removing intermediate container 608f26630c46 18:50:57 ---> 67b20b383212 18:50:57 Step 10/24 : FROM scratch 18:50:57 ---> 18:50:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:57 ---> Running in e2e26538f154 18:50:57 Removing intermediate container e2e26538f154 18:50:57 ---> 2bb22424e4ba 18:50:57 Step 12/24 : ENV APP_PORT=49990 18:50:57 ---> Running in 180288acc8c6 18:50:57 Removing intermediate container 180288acc8c6 18:50:57 ---> 0be143206f54 18:50:57 Step 13/24 : EXPOSE $APP_PORT 18:50:57 ---> Running in 847306f0de13 18:50:57 Removing intermediate container 847306f0de13 18:50:57 ---> 510659f82dc1 18:50:57 Step 14/24 : WORKDIR / 18:50:57 ---> Running in 6bbdfa62b2b0 18:50:58 Removing intermediate container 6bbdfa62b2b0 18:50:58 ---> 16b5399c19c0 18:50:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:50:58 ---> a189a918c0e3 18:50:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:50:58 ---> 4195e17b2078 18:50:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:50:59 ---> a5ad2773d0a6 18:50:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:50:59 ---> b633883ddaab 18:50:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:50:59 ---> b295931c02b1 18:50:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:51:00 ---> Running in e6fda1bfabbe 18:51:00 Removing intermediate container e6fda1bfabbe 18:51:00 ---> e8ac4f582327 18:51:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:51:00 ---> Running in 4fd3e6ea97c6 18:51:00 Removing intermediate container 4fd3e6ea97c6 18:51:00 ---> 0901518d95d0 18:51:00 Step 22/24 : LABEL arch=amd64 18:51:00 ---> Running in 1193c9d40500 18:51:00 Removing intermediate container 1193c9d40500 18:51:00 ---> f26eb7a48026 18:51:00 Step 23/24 : LABEL git_sha=50bdc8a8df699f51610fa3e77dacd07c040d0337 18:51:00 ---> Running in 7d5e6c68407d 18:51:00 Removing intermediate container 7d5e6c68407d 18:51:00 ---> dd5091fe9f9a 18:51:00 Step 24/24 : LABEL version=0.0.0 18:51:00 ---> Running in a3e3425bc311 18:51:01 Removing intermediate container a3e3425bc311 18:51:01 ---> 38ccf409cd2d 18:51:01 [Warning] One or more build-args [ARCH] were not consumed 18:51:01 Successfully built 38ccf409cd2d 18:51:01 Successfully tagged docker-device-sdk-simple: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] } 18:51:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:51:17 Removing intermediate container 2113809c1b54 18:51:17 ---> 2fc1ce7dba0f 18:51:17 Step 10/24 : FROM scratch 18:51:17 ---> 18:51:17 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:51:17 ---> Running in 88999e38d4bb 18:51:17 Removing intermediate container 88999e38d4bb 18:51:17 ---> 2060c8e17ff3 18:51:17 Step 12/24 : ENV APP_PORT=49990 18:51:18 ---> Running in 19c043034e77 18:51:18 Removing intermediate container 19c043034e77 18:51:18 ---> 23d9864b757a 18:51:18 Step 13/24 : EXPOSE $APP_PORT 18:51:18 ---> Running in f08b75dc7b63 18:51:18 Removing intermediate container f08b75dc7b63 18:51:18 ---> 3f83dffce134 18:51:18 Step 14/24 : WORKDIR / 18:51:19 ---> Running in 39eb58ecc21a 18:51:19 Removing intermediate container 39eb58ecc21a 18:51:19 ---> 394af0a134fd 18:51:19 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:51:20 ---> d94ac0f569ea 18:51:20 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:51:21 ---> fc80eb3d7406 18:51:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:51:22 ---> f2dd91d43d13 18:51:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:51:23 ---> 981eaab20c12 18:51:23 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:51:23 ---> 6e74464a8160 18:51:23 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:51:24 ---> Running in 62c5044960aa 18:51:24 Removing intermediate container 62c5044960aa 18:51:24 ---> f2895401e7ef 18:51:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:51:24 ---> Running in 7f7d4651a807 18:51:24 Removing intermediate container 7f7d4651a807 18:51:24 ---> 50d836ac9dad 18:51:24 Step 22/24 : LABEL arch=arm64 18:51:25 ---> Running in cfb511538e22 18:51:25 Removing intermediate container cfb511538e22 18:51:25 ---> 18ab3d1c70b8 18:51:25 Step 23/24 : LABEL git_sha=50bdc8a8df699f51610fa3e77dacd07c040d0337 18:51:25 ---> Running in 10ba6a4c98ee 18:51:26 Removing intermediate container 10ba6a4c98ee 18:51:26 ---> d145182bada6 18:51:26 Step 24/24 : LABEL version=0.0.0 18:51:26 ---> Running in 47a3c244eb88 18:51:26 Removing intermediate container 47a3c244eb88 18:51:26 ---> 1da47cff20c3 18:51:26 [Warning] One or more build-args [ARCH] were not consumed 18:51:26 Successfully built 1da47cff20c3 18:51:26 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 18:51:28 provisioning config files... 18:51:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4253936044722177772tmp [Pipeline] { [Pipeline] sh 18:51:28 + curl -s https://codecov.io/bash 18:51:28 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4253936044722177772tmp [Pipeline] } 18:51:29 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] { (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 18:51:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:51:32 ---> package-listing.sh 18:51:32 ++ facter osfamily 18:51:32 ++ tr '[:upper:]' '[:lower:]' 18:51:32 + OS_FAMILY=redhat 18:51:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 18:51:32 + START_PACKAGES=/tmp/packages_start.txt 18:51:32 + END_PACKAGES=/tmp/packages_end.txt 18:51:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:51:32 + PACKAGES=/tmp/packages_start.txt 18:51:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 18:51:32 + PACKAGES=/tmp/packages_end.txt 18:51:32 + case "${OS_FAMILY}" in 18:51:32 + rpm -qa 18:51:32 + sort 18:51:36 + '[' -f /tmp/packages_start.txt ']' 18:51:36 + '[' -f /tmp/packages_end.txt ']' 18:51:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:51:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' 18:51:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ 18:51:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh 18:51:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:51:37 18:51:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:51:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:51:37 alpine: Pulling from edgex-lftools-log-publisher 18:51:37 df20fa9351a1: Pulling fs layer 18:51:37 36b3adc4ff6f: Pulling fs layer 18:51:37 8ad3a11d3b57: Pulling fs layer 18:51:37 46f8f816bc3b: Pulling fs layer 18:51:37 0dadc02b9964: Pulling fs layer 18:51:37 ce6a7cf60c04: Pulling fs layer 18:51:37 7a184a31f384: Pulling fs layer 18:51:37 0879bd2ef858: Pulling fs layer 18:51:37 ce6a7cf60c04: Waiting 18:51:37 7a184a31f384: Waiting 18:51:37 0879bd2ef858: Waiting 18:51:37 46f8f816bc3b: Waiting 18:51:37 0dadc02b9964: Waiting 18:51:37 36b3adc4ff6f: Download complete 18:51:37 46f8f816bc3b: Verifying Checksum 18:51:37 46f8f816bc3b: Download complete 18:51:37 df20fa9351a1: Verifying Checksum 18:51:37 df20fa9351a1: Download complete 18:51:37 ce6a7cf60c04: Verifying Checksum 18:51:37 ce6a7cf60c04: Download complete 18:51:37 0dadc02b9964: Verifying Checksum 18:51:37 0dadc02b9964: Download complete 18:51:37 7a184a31f384: Verifying Checksum 18:51:37 7a184a31f384: Download complete 18:51:38 8ad3a11d3b57: Verifying Checksum 18:51:38 8ad3a11d3b57: Download complete 18:51:38 df20fa9351a1: Pull complete 18:51:38 36b3adc4ff6f: Pull complete 18:51:38 0879bd2ef858: Verifying Checksum 18:51:38 0879bd2ef858: Download complete 18:51:38 8ad3a11d3b57: Pull complete 18:51:39 46f8f816bc3b: Pull complete 18:51:39 0dadc02b9964: Pull complete 18:51:39 ce6a7cf60c04: Pull complete 18:51:39 7a184a31f384: Pull complete 18:51:43 0879bd2ef858: Pull complete 18:51:43 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:51:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:51:43 prd-centos7-docker-4c-2g-426 does not seem to be running inside a container 18:51:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:51:46 $ docker top fb266e4e76cd0696047a9bb8b94b39e1d29b765e0b34f439745c99c5751f1381 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:46 + mkdir -p /var/log/sa [Pipeline] sh 18:51:47 + ls /var/log/sa-host 18:51:47 + sadf -c /var/log/sa-host/sa05 18:51:47 file_magic: OK 18:51:47 HZ: Using current value: 100 18:51:47 file_header: OK 18:51:47 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 18:51:47 Statistics: 18:51:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:51:47 File successfully converted to sysstat format version 12.2.1 18:51:47 + sadf -c /var/log/sa-host/sa18 18:51:47 file_magic: OK 18:51:47 HZ: Using current value: 100 18:51:47 file_header: OK 18:51:47 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 18:51:47 Statistics: 18:51:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:51:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:47 provisioning config files... 18:51:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config4063882012189620393tmp [Pipeline] { [Pipeline] echo 18:51:47 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:51:47 ---> create-netrc.sh [Pipeline] echo 18:51:47 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:51:48 ---> logs-deploy.sh 18:51:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/12 18:51:48 INFO: archiving workspace using pattern(s): 18:51:49 Archives upload complete. 18:51:49 INFO: archiving logs to Nexus