Pull request #592 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4e5d2bb0c485bff57357b702f8391528d9aa01fe+acdd4826cae80a3b8a1f7d698808ff3080e1060b (8a7cead27e7a55cc29786f8aaccbe411c5305c7b) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-365 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [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 > git init /w/workspace/dgexfoundry_device-sdk-go_PR-592 # 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/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # 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/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # 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 acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 Commit message: "fix: fix device autodiscovery behavior" First time build. Skipping changelog. > git rev-list --no-walk 34da9db53597e071a02a31c99e0e617c4ac468f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:32:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:32:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:32:17 ========================================================= 08:32:17 EdgeX Global Pipelines Version Info 08:32:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:32:18 ------------------- 08:32:18 stable info: 08:32:18 ------------------- 08:32:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:32:18 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 08:32:18 Message: update stable to v1.0.122 08:32:19 ------------------- 08:32:19 experimental info: 08:32:19 ------------------- 08:32:19 Commited By: **** collab-it+edgex@linuxfoundation.org 08:32:19 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 08:32:19 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:32:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:32:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-592 [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-592 [Pipeline] echo 08:32:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-592 [Pipeline] echo 08:32:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e5d2bb0c485bff57357b702f8391528d9aa01fe [Pipeline] echo 08:32:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e5d2bb [Pipeline] echo 08:32:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:32:23 + git log --format=format:%s -1 4e5d2bb0c485bff57357b702f8391528d9aa01fe [Pipeline] echo 08:32:24 GIT_COMMIT: 4e5d2bb0c485bff57357b702f8391528d9aa01fe, Commit Message: fix: fix device autodiscovery behavior [Pipeline] echo 08:32:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:32:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:24 08:32:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:32:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:25 latest: Pulling from edgex-devops/git-semver 08:32:25 31603596830f: Pulling fs layer 08:32:25 2a8b12db71e7: Pulling fs layer 08:32:25 6ca5941a6612: Pulling fs layer 08:32:25 ecc8261a40a4: Pulling fs layer 08:32:25 ecc8261a40a4: Waiting 08:32:25 2a8b12db71e7: Verifying Checksum 08:32:25 2a8b12db71e7: Download complete 08:32:25 31603596830f: Download complete 08:32:25 ecc8261a40a4: Verifying Checksum 08:32:25 ecc8261a40a4: Download complete 08:32:25 6ca5941a6612: Verifying Checksum 08:32:25 6ca5941a6612: Download complete 08:32:25 31603596830f: Pull complete 08:32:25 2a8b12db71e7: Pull complete 08:32:26 6ca5941a6612: Pull complete 08:32:27 ecc8261a40a4: Pull complete 08:32:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:32:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:32:27 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 08:32:27 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-592 -v /w/workspace/dgexfoundry_device-sdk-go_PR-592:/w/workspace/dgexfoundry_device-sdk-go_PR-592:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-592@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:32:29 $ docker top 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:29 [ssh-agent] Looking for ssh-agent implementation... 08:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:29 $ docker exec 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent 08:32:30 SSH_AUTH_SOCK=/tmp/ssh-SnFnRmv2wB6Z/agent.13 08:32:30 SSH_AGENT_PID=18 08:32:30 Running ssh-add (command line suppressed) 08:32:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_6890460221586468230.key (/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_6890460221586468230.key) 08:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:30 + git describe --exact-match --tags HEAD 08:32:30 fatal: No names found, cannot describe anything. [Pipeline] } 08:32:30 $ docker exec --env ******** --env ******** 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent -k 08:32:30 unset SSH_AUTH_SOCK; 08:32:30 unset SSH_AGENT_PID; 08:32:30 echo Agent pid 18 killed; 08:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 08:32:30 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 08:32:30 This usually means this commit has not been tagged. [Pipeline] sshagent 08:32:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:32:31 [ssh-agent] Looking for ssh-agent implementation... 08:32:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:32:31 $ docker exec 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent 08:32:31 SSH_AUTH_SOCK=/tmp/ssh-EmkkOfLxV6fN/agent.46 08:32:31 SSH_AGENT_PID=51 08:32:31 Running ssh-add (command line suppressed) 08:32:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_7072613940800892314.key (/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_7072613940800892314.key) 08:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:32:31 + git semver init 08:32:31 # -> Open(): unable to determine branch for HEAD 08:32:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-592/.git 08:32:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-592 08:32:31 # $SEMVER_REMOTE_NAME = origin 08:32:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:32:31 # $SEMVER_USER_NAME = edgex-jenkins 08:32:31 # $SEMVER_BRANCH = PR-592 08:32:31 # $SEMVER_TEMP = /tmp/semver-585565208 08:32:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:32:32 # '/tmp/semver-585565208' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-592/.semver' 08:32:32 # -> Force: false 08:32:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-592/.semver [Pipeline] } 08:32:32 $ docker exec --env ******** --env ******** 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent -k 08:32:32 unset SSH_AUTH_SOCK; 08:32:32 unset SSH_AGENT_PID; 08:32:32 echo Agent pid 51 killed; 08:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:32:33 + git semver [Pipeline] } 08:32:33 $ docker stop --time=1 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 08:32:34 $ docker rm -f 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:32:35 Stashed 36 file(s) [Pipeline] echo 08:32:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 08:32:35 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 08:32:51 Still waiting to schedule task 08:32:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:32:51 Still waiting to schedule task 08:32:51 ‘prd-ubuntu18.04-docker-arm64-4c-16g-363’ is offline 08:34:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-366 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [Pipeline] { [Pipeline] ws 08:34:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 08:34:47 using credential edgex-jenkins-ssh 08:34:47 Cloning the remote Git repository 08:34:47 Cloning with configured refspecs honoured and without tags 08:34:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:34:47 > git init /w/workspace/device-sdk-go/2 # timeout=10 08:34:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:34:47 > git --version # timeout=10 08:34:47 > git --version # 'git version 2.17.1' 08:34:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:47 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:34:48 Fetching without tags 08:34:49 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:34:49 Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:34:49 Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) 08:34:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:34:48 > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # timeout=10 08:34:48 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:34:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:34:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:34:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:48 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:34:49 > git config core.sparsecheckout # timeout=10 08:34:49 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 08:34:49 > git remote # timeout=10 08:34:49 > git config --get remote.origin.url # timeout=10 08:34:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:49 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 08:34:49 > git rev-parse HEAD^{commit} # timeout=10 08:34:49 > git config core.sparsecheckout # timeout=10 08:34:49 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 08:34:54 Commit message: "fix: fix device autodiscovery behavior" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:34:55 ========================================================= 08:34:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:34:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:34:56 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:34:57 Sending build context to Docker daemon 3.164MB 08:34:57 Step 1/8 : ARG BASE=golang:1.15-alpine 08:34:57 Step 2/8 : FROM ${BASE} 08:34:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:34:58 b538f80385f9: Pulling fs layer 08:34:58 74f711af9a0d: Pulling fs layer 08:34:58 99f96fe45779: Pulling fs layer 08:34:58 8529a6b9a6be: Pulling fs layer 08:34:58 45590311c82a: Pulling fs layer 08:34:58 69ca0ff8b7b3: Pulling fs layer 08:34:58 209524e5b208: Pulling fs layer 08:34:58 8529a6b9a6be: Waiting 08:34:58 45590311c82a: Waiting 08:34:58 69ca0ff8b7b3: Waiting 08:34:58 209524e5b208: Waiting 08:34:58 99f96fe45779: Verifying Checksum 08:34:58 99f96fe45779: Download complete 08:34:58 74f711af9a0d: Verifying Checksum 08:34:58 74f711af9a0d: Download complete 08:34:58 45590311c82a: Verifying Checksum 08:34:58 45590311c82a: Download complete 08:34:58 69ca0ff8b7b3: Verifying Checksum 08:34:58 69ca0ff8b7b3: Download complete 08:34:58 b538f80385f9: Verifying Checksum 08:34:58 b538f80385f9: Download complete 08:34:58 b538f80385f9: Pull complete 08:34:59 74f711af9a0d: Pull complete 08:34:59 99f96fe45779: Pull complete 08:35:01 209524e5b208: Verifying Checksum 08:35:01 209524e5b208: Download complete 08:35:02 8529a6b9a6be: Verifying Checksum 08:35:02 8529a6b9a6be: Download complete 08:35:12 8529a6b9a6be: Pull complete 08:35:12 45590311c82a: Pull complete 08:35:13 69ca0ff8b7b3: Pull complete 08:35:17 209524e5b208: Pull complete 08:35:17 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 08:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:35:17 ---> 5bddaf1c2fca 08:35:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:35:20 ---> Running in a173685b3ed1 08:35:20 Removing intermediate container a173685b3ed1 08:35:20 ---> ed4118e620ec 08:35:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:35:20 Running on prd-centos7-docker-4c-2g-367 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [Pipeline] { [Pipeline] ws 08:35:20 Running in /w/workspace/device-sdk-go/2 [Pipeline] { 08:35:20 ---> Running in 3bc6c9a47d03 [Pipeline] checkout 08:35:22 using credential edgex-jenkins-ssh 08:35:22 Cloning the remote Git repository 08:35:22 Cloning with configured refspecs honoured and without tags 08:35:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:35:22 > git init /w/workspace/device-sdk-go/2 # timeout=10 08:35:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:35:22 > git --version # timeout=10 08:35:22 > git --version # 'git version 2.16.5' 08:35:22 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:22 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:35:23 Removing intermediate container 3bc6c9a47d03 08:35:23 ---> e3bc54fcc6ac 08:35:23 Step 5/8 : RUN apk add --no-cache make git 08:35:23 ---> Running in 5042b838b271 08:35:23 Fetching without tags 08:35:23 Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:35:23 Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:35:23 Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) 08:35:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:35:23 > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # timeout=10 08:35:23 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 08:35:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:35:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:35:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:23 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:35:23 > git config core.sparsecheckout # timeout=10 08:35:23 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 08:35:23 > git remote # timeout=10 08:35:23 > git config --get remote.origin.url # timeout=10 08:35:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:23 > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 08:35:23 > git rev-parse HEAD^{commit} # timeout=10 08:35:23 > git config core.sparsecheckout # timeout=10 08:35:23 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 08:35:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:35:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:35:26 OK: 142 MiB in 39 packages 08:35:27 Removing intermediate container 5042b838b271 08:35:27 ---> e45f436ad1a8 08:35:27 Step 6/8 : WORKDIR /device-sdk-go 08:35:27 ---> Running in 71c3f2f6d4c9 08:35:27 Commit message: "fix: fix device autodiscovery behavior" 08:35:27 Removing intermediate container 71c3f2f6d4c9 08:35:27 ---> f9af8d83506a 08:35:27 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 08:35:28 ========================================================= 08:35:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:35:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:35:28 ---> 59435d8219ef 08:35:28 Step 8/8 : RUN go mod download 08:35:28 ---> Running in 1465b059faa6 08:35:28 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:35:29 Sending build context to Docker daemon 3.166MB 08:35:29 Step 1/8 : ARG BASE=golang:1.15-alpine 08:35:29 Step 2/8 : FROM ${BASE} 08:35:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:35:29 df20fa9351a1: Pulling fs layer 08:35:29 ed8968b2872e: Pulling fs layer 08:35:29 a92cc7c5fd73: Pulling fs layer 08:35:29 e871e8e8d7a9: Pulling fs layer 08:35:29 e73272ec9a57: Pulling fs layer 08:35:29 1e910a182e73: Pulling fs layer 08:35:29 4e634b169226: Pulling fs layer 08:35:29 e871e8e8d7a9: Waiting 08:35:29 e73272ec9a57: Waiting 08:35:29 1e910a182e73: Waiting 08:35:29 4e634b169226: Waiting 08:35:29 a92cc7c5fd73: Verifying Checksum 08:35:29 a92cc7c5fd73: Download complete 08:35:29 ed8968b2872e: Download complete 08:35:29 e73272ec9a57: Verifying Checksum 08:35:29 e73272ec9a57: Download complete 08:35:29 1e910a182e73: Download complete 08:35:29 df20fa9351a1: Verifying Checksum 08:35:29 df20fa9351a1: Download complete 08:35:29 df20fa9351a1: Pull complete 08:35:29 ed8968b2872e: Pull complete 08:35:29 a92cc7c5fd73: Pull complete 08:35:31 4e634b169226: Verifying Checksum 08:35:31 4e634b169226: Download complete 08:35:31 e871e8e8d7a9: Verifying Checksum 08:35:31 e871e8e8d7a9: Download complete 08:35:37 e871e8e8d7a9: Pull complete 08:35:37 e73272ec9a57: Pull complete 08:35:37 1e910a182e73: Pull complete 08:35:41 4e634b169226: Pull complete 08:35:41 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:35:41 ---> f7629b54cfaa 08:35:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:35:41 ---> Running in bdf87d5312c7 08:35:41 Removing intermediate container bdf87d5312c7 08:35:41 ---> 1aa2e6d0816b 08:35:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:35:41 ---> Running in 3d8568474f81 08:35:42 Removing intermediate container 3d8568474f81 08:35:42 ---> 93b689507951 08:35:42 Step 5/8 : RUN apk add --no-cache make git 08:35:42 ---> Running in d71f93a016b5 08:35:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:35:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:35:44 Removing intermediate container 1465b059faa6 08:35:44 ---> 38fb963e82b6 08:35:44 Successfully built 38fb963e82b6 08:35:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:35:44 OK: 166 MiB in 39 packages 08:35:44 + docker inspect -f . ci-base-image-arm64 08:35:44 . [Pipeline] withDockerContainer 08:35:44 prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container 08:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:35:44 Removing intermediate container d71f93a016b5 08:35:44 ---> 453f1de12ff9 08:35:44 Step 6/8 : WORKDIR /device-sdk-go 08:35:44 ---> Running in fcbd21498960 08:35:44 Removing intermediate container fcbd21498960 08:35:44 ---> 208284f93c27 08:35:44 Step 7/8 : COPY . . 08:35:46 ---> c5b71320d315 08:35:46 Step 8/8 : RUN go mod download 08:35:46 ---> Running in e9e17795dd63 08:35:46 $ docker top 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:48 + go version 08:35:48 go version go1.15.2 linux/arm64 [Pipeline] } 08:35:48 $ docker stop --time=1 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff 08:35:50 $ docker rm -f 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:35:51 + docker inspect -f . ci-base-image-arm64 08:35:51 . [Pipeline] withDockerContainer 08:35:51 prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container 08:35:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:35:53 $ docker top 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:54 + make test 08:35:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:35:56 Removing intermediate container e9e17795dd63 08:35:56 ---> dd1db5a1f262 08:35:56 Successfully built dd1db5a1f262 08:35:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:35:56 + docker inspect -f . ci-base-image-x86_64 08:35:56 . [Pipeline] withDockerContainer 08:35:56 prd-centos7-docker-4c-2g-367 does not seem to be running inside a container 08:35:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:35:57 $ docker top 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:58 + go version 08:35:58 go version go1.15.2 linux/amd64 [Pipeline] } 08:35:58 $ docker stop --time=1 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee 08:35:59 $ docker rm -f 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:36:00 + docker inspect -f . ci-base-image-x86_64 08:36:00 . [Pipeline] withDockerContainer 08:36:00 prd-centos7-docker-4c-2g-367 does not seem to be running inside a container 08:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:36:01 $ docker top ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:01 + make test 08:36:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:36:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:36:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 08:36:20 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:36:20 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:36:20 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:36:20 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 21.0% of statements 08:36:21 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.409s coverage: 95.7% of statements 08:36:53 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 8.6% of statements 08:36:53 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements 08:36:53 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:36:53 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.161s coverage: 37.0% of statements 08:36:53 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:36:53 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.239s coverage: 65.4% of statements 08:36:53 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:36:53 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:36:53 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:36:53 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.135s coverage: 52.6% of statements 08:36:53 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.234s coverage: 68.9% of statements 08:36:53 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:36:53 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:36:53 GO111MODULE=on go vet ./... 08:36:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 08:36:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 08:36:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 08:36:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.0% of statements 08:36:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.295s coverage: 95.7% of statements 08:36:59 gofmt -l . 08:36:59 [ "`gofmt -l .`" = "" ] 08:36:59 ./bin/test-attribution-txt.sh 08:36:59 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:36:59 Stashed 1 file(s) [Pipeline] } 08:36:59 $ docker stop --time=1 ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 08:37:01 $ docker rm -f ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:37:05 + ls -al . 08:37:05 total 188 08:37:05 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 08:36 . 08:37:05 drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 08:35 .. 08:37:05 drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 08:35 bin 08:37:05 -rw-r--r--. 1 jenkins jenkins 111785 Sep 18 08:36 coverage.out 08:37:05 -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 08:35 Dockerfile.build 08:37:05 -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 08:35 .dockerignore 08:37:05 drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 08:35 example 08:37:05 drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 08:35 .git 08:37:05 drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 08:35 .github 08:37:05 -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 08:35 .gitignore 08:37:05 -rw-r--r--. 1 jenkins jenkins 446 Sep 18 08:36 go.mod 08:37:05 -rw-r--r--. 1 jenkins jenkins 12179 Sep 18 08:36 go.sum 08:37:05 drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 08:35 internal 08:37:05 -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 08:35 Jenkinsfile 08:37:05 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 08:35 LICENSE 08:37:05 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 08:35 Makefile 08:37:05 drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 08:35 openapi 08:37:05 drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 08:35 pkg 08:37:05 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 08:35 README.md 08:37:05 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 08:35 RELEASE-NOTES.txt 08:37:05 drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 08:35 .semver 08:37:05 drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 08:35 snap 08:37:05 -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 08:32 VERSION 08:37:05 -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 08:35 version.go [Pipeline] isUnix [Pipeline] sh 08:37:06 + 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=4e5d2bb0c485bff57357b702f8391528d9aa01fe --label arch=amd64 --label version=0.0.0 . 08:37:06 Sending build context to Docker daemon 3.28MB 08:37:06 Step 1/24 : ARG BASE=golang:1.15-alpine 08:37:06 Step 2/24 : FROM ${BASE} AS builder 08:37:06 ---> dd1db5a1f262 08:37:06 Step 3/24 : ARG MAKE='make build' 08:37:06 ---> Running in f54d6a62e460 08:37:06 Removing intermediate container f54d6a62e460 08:37:06 ---> 33de2aaa8caf 08:37:06 Step 4/24 : WORKDIR /device-sdk-go 08:37:06 ---> Running in 954efd37fc8f 08:37:06 Removing intermediate container 954efd37fc8f 08:37:06 ---> f5b46f04cc09 08:37:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:37:07 ---> Running in ac09c73f91ab 08:37:07 Removing intermediate container ac09c73f91ab 08:37:07 ---> e405ffb7df86 08:37:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:37:07 ---> Running in 80dde482c91d 08:37:08 Removing intermediate container 80dde482c91d 08:37:08 ---> 255df9bb5f92 08:37:08 Step 7/24 : RUN apk add --update --no-cache make git 08:37:08 ---> Running in 32c098f07f2e 08:37:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:37:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:37:09 OK: 166 MiB in 39 packages 08:37:10 Removing intermediate container 32c098f07f2e 08:37:10 ---> 7d37fb8837de 08:37:10 Step 8/24 : COPY . . 08:37:11 ---> 93264cca2a6c 08:37:11 Step 9/24 : RUN ${MAKE} 08:37:11 ---> Running in c37df449754e 08:37:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:37:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:37:20 Removing intermediate container c37df449754e 08:37:20 ---> f4ea708c1ea0 08:37:20 Step 10/24 : FROM scratch 08:37:20 ---> 08:37:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:37:20 ---> Running in f62c28af34f9 08:37:20 Removing intermediate container f62c28af34f9 08:37:20 ---> 98e6b6a657bd 08:37:20 Step 12/24 : ENV APP_PORT=49990 08:37:20 ---> Running in 856894c9c356 08:37:20 Removing intermediate container 856894c9c356 08:37:20 ---> 33870aa9a94b 08:37:20 Step 13/24 : EXPOSE $APP_PORT 08:37:20 ---> Running in a7ee15660416 08:37:20 Removing intermediate container a7ee15660416 08:37:20 ---> 9fb634eeed90 08:37:20 Step 14/24 : WORKDIR / 08:37:20 ---> Running in f562fbd3f7cd 08:37:21 Removing intermediate container f562fbd3f7cd 08:37:21 ---> 3d4c175968d4 08:37:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:37:21 ---> 9facfd4213ab 08:37:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:37:21 ---> 42a021232b50 08:37:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:37:21 ---> 89d159d2b02b 08:37:21 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:37:22 ---> e32b9165526c 08:37:22 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:37:22 ---> 15356077fba9 08:37:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:37:22 ---> Running in 51be491059ee 08:37:22 Removing intermediate container 51be491059ee 08:37:22 ---> 7a4e1dededc0 08:37:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:37:22 ---> Running in 98b91d68867b 08:37:23 Removing intermediate container 98b91d68867b 08:37:23 ---> 200c8ee2fcd9 08:37:23 Step 22/24 : LABEL arch=amd64 08:37:23 ---> Running in 430214add165 08:37:23 Removing intermediate container 430214add165 08:37:23 ---> bd3789e2ec30 08:37:23 Step 23/24 : LABEL git_sha=4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:37:23 ---> Running in 117fca16f213 08:37:23 Removing intermediate container 117fca16f213 08:37:23 ---> bc05e7ad7de5 08:37:23 Step 24/24 : LABEL version=0.0.0 08:37:23 ---> Running in 849319ce5e0b 08:37:23 Removing intermediate container 849319ce5e0b 08:37:23 ---> a184e4a7303d 08:37:23 [Warning] One or more build-args [ARCH] were not consumed 08:37:23 Successfully built a184e4a7303d 08:37:23 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] } 08:37:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 8.6% of statements 08:37:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements 08:37:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 08:37:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.488s coverage: 37.0% of statements 08:37:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 08:37:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.678s coverage: 65.4% of statements 08:37:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 08:37:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 08:37:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 08:37:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.219s coverage: 52.6% of statements 08:37:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.861s coverage: 68.9% of statements 08:37:28 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 08:37:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 08:37:28 GO111MODULE=on go vet ./... 08:37:55 gofmt -l . 08:37:55 [ "`gofmt -l .`" = "" ] 08:37:55 ./bin/test-attribution-txt.sh 08:37:55 ./bin/test-go-mod-tidy.sh [Pipeline] stash 08:37:55 Warning: overwriting stash ‘coverage-report’ 08:37:56 Stashed 1 file(s) [Pipeline] } 08:37:56 $ docker stop --time=1 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 08:37:58 $ docker rm -f 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:38:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:38:00 + ls -al . 08:38:00 total 228 08:38:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 08:37 . 08:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 .. 08:38:00 -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 08:34 .dockerignore 08:38:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 08:34 .git 08:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:34 .github 08:38:00 -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 08:34 .gitignore 08:38:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 08:34 .semver 08:38:00 -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 08:34 Dockerfile.build 08:38:00 -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 08:34 Jenkinsfile 08:38:00 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 08:34 LICENSE 08:38:00 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 08:34 Makefile 08:38:00 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 08:34 README.md 08:38:00 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 08:34 RELEASE-NOTES.txt 08:38:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 08:32 VERSION 08:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:34 bin 08:38:00 -rw-r--r-- 1 jenkins jenkins 111785 Sep 18 08:37 coverage.out 08:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 example 08:38:00 -rw-r--r-- 1 jenkins jenkins 446 Sep 18 08:37 go.mod 08:38:00 -rw-r--r-- 1 jenkins jenkins 12179 Sep 18 08:37 go.sum 08:38:00 drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 08:34 internal 08:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 openapi 08:38:00 drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 08:34 pkg 08:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 snap 08:38:00 -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 08:34 version.go [Pipeline] isUnix [Pipeline] sh 08:38:00 + 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=4e5d2bb0c485bff57357b702f8391528d9aa01fe --label arch=arm64 --label version=0.0.0 . 08:38:01 Sending build context to Docker daemon 3.278MB 08:38:01 Step 1/24 : ARG BASE=golang:1.15-alpine 08:38:01 Step 2/24 : FROM ${BASE} AS builder 08:38:01 ---> 38fb963e82b6 08:38:01 Step 3/24 : ARG MAKE='make build' 08:38:01 ---> Running in cb4dfc2b4379 08:38:01 Removing intermediate container cb4dfc2b4379 08:38:01 ---> e61955346a3d 08:38:01 Step 4/24 : WORKDIR /device-sdk-go 08:38:02 ---> Running in 508c8b2a2f69 08:38:02 Removing intermediate container 508c8b2a2f69 08:38:02 ---> 92979053b139 08:38:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:38:02 ---> Running in c05be9b7491a 08:38:02 Removing intermediate container c05be9b7491a 08:38:02 ---> c50d4d4e70da 08:38:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:38:03 ---> Running in 8d5ef0fb6474 08:38:05 Removing intermediate container 8d5ef0fb6474 08:38:05 ---> 656f468d23e8 08:38:05 Step 7/24 : RUN apk add --update --no-cache make git 08:38:05 ---> Running in c89affea0634 08:38:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:38:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:38:08 OK: 142 MiB in 39 packages 08:38:09 Removing intermediate container c89affea0634 08:38:09 ---> eda702aaf953 08:38:09 Step 8/24 : COPY . . 08:38:10 ---> 44a75c62ca19 08:38:10 Step 9/24 : RUN ${MAKE} 08:38:10 ---> Running in 2ae7bf0c032c 08:38:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:38:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:38:36 Removing intermediate container 2ae7bf0c032c 08:38:36 ---> d8fabf2838e4 08:38:36 Step 10/24 : FROM scratch 08:38:36 ---> 08:38:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:38:36 ---> Running in 77fadc73e760 08:38:37 Removing intermediate container 77fadc73e760 08:38:37 ---> dcf0b8bad3b1 08:38:37 Step 12/24 : ENV APP_PORT=49990 08:38:37 ---> Running in 0b429af41669 08:38:37 Removing intermediate container 0b429af41669 08:38:37 ---> 3f8c705e9d98 08:38:37 Step 13/24 : EXPOSE $APP_PORT 08:38:37 ---> Running in 44e5dcf8d34c 08:38:38 Removing intermediate container 44e5dcf8d34c 08:38:38 ---> 109ac6a3fbd8 08:38:38 Step 14/24 : WORKDIR / 08:38:38 ---> Running in a43e88ad8f7b 08:38:38 Removing intermediate container a43e88ad8f7b 08:38:38 ---> b2a588f9fbf9 08:38:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:38:39 ---> bf6f55585461 08:38:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:38:40 ---> 679b6333fd7b 08:38:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:38:41 ---> f78fbdc5822b 08:38:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:38:42 ---> 6f577dbcf7c5 08:38:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:38:42 ---> 272db29a59dc 08:38:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:38:42 ---> Running in ce4084e2e95f 08:38:43 Removing intermediate container ce4084e2e95f 08:38:43 ---> 924090f01e8d 08:38:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:38:43 ---> Running in a26662fd1702 08:38:43 Removing intermediate container a26662fd1702 08:38:43 ---> afbf33fba577 08:38:43 Step 22/24 : LABEL arch=arm64 08:38:43 ---> Running in 4f15ddbfd3e2 08:38:44 Removing intermediate container 4f15ddbfd3e2 08:38:44 ---> 8dcb7ced80af 08:38:44 Step 23/24 : LABEL git_sha=4e5d2bb0c485bff57357b702f8391528d9aa01fe 08:38:44 ---> Running in 252f8430821c 08:38:45 Removing intermediate container 252f8430821c 08:38:45 ---> 8cf31438a489 08:38:45 Step 24/24 : LABEL version=0.0.0 08:38:45 ---> Running in 0b0218f2424f 08:38:45 Removing intermediate container 0b0218f2424f 08:38:45 ---> 953777229ff2 08:38:45 [Warning] One or more build-args [ARCH] were not consumed 08:38:45 Successfully built 953777229ff2 08:38:45 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:38:48 provisioning config files... 08:38:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config3106578185377670503tmp [Pipeline] { [Pipeline] sh 08:38:48 + curl -s https://codecov.io/bash 08:38:48 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config3106578185377670503tmp [Pipeline] } 08:38:50 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 08:38:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:53 ---> package-listing.sh 08:38:53 ++ facter osfamily 08:38:53 ++ tr '[:upper:]' '[:lower:]' 08:38:53 + OS_FAMILY=redhat 08:38:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-592 08:38:53 + START_PACKAGES=/tmp/packages_start.txt 08:38:53 + END_PACKAGES=/tmp/packages_end.txt 08:38:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:53 + PACKAGES=/tmp/packages_start.txt 08:38:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-592 ']' 08:38:53 + PACKAGES=/tmp/packages_end.txt 08:38:53 + case "${OS_FAMILY}" in 08:38:53 + rpm -qa 08:38:53 + sort 08:38:57 + '[' -f /tmp/packages_start.txt ']' 08:38:57 + '[' -f /tmp/packages_end.txt ']' 08:38:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-592 ']' 08:38:57 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-592/archives/ 08:38:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-592/archives/ [Pipeline] isUnix [Pipeline] sh 08:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:58 08:38:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:38:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:58 alpine: Pulling from edgex-lftools-log-publisher 08:38:58 df20fa9351a1: Pulling fs layer 08:38:58 36b3adc4ff6f: Pulling fs layer 08:38:58 8ad3a11d3b57: Pulling fs layer 08:38:58 46f8f816bc3b: Pulling fs layer 08:38:58 0dadc02b9964: Pulling fs layer 08:38:58 ce6a7cf60c04: Pulling fs layer 08:38:58 7a184a31f384: Pulling fs layer 08:38:58 0879bd2ef858: Pulling fs layer 08:38:58 46f8f816bc3b: Waiting 08:38:58 0dadc02b9964: Waiting 08:38:58 ce6a7cf60c04: Waiting 08:38:58 7a184a31f384: Waiting 08:38:58 0879bd2ef858: Waiting 08:38:58 36b3adc4ff6f: Verifying Checksum 08:38:58 36b3adc4ff6f: Download complete 08:38:58 46f8f816bc3b: Verifying Checksum 08:38:58 46f8f816bc3b: Download complete 08:38:59 df20fa9351a1: Verifying Checksum 08:38:59 df20fa9351a1: Download complete 08:38:59 0dadc02b9964: Verifying Checksum 08:38:59 0dadc02b9964: Download complete 08:38:59 ce6a7cf60c04: Verifying Checksum 08:38:59 ce6a7cf60c04: Download complete 08:38:59 7a184a31f384: Verifying Checksum 08:38:59 7a184a31f384: Download complete 08:38:59 8ad3a11d3b57: Verifying Checksum 08:38:59 8ad3a11d3b57: Download complete 08:38:59 df20fa9351a1: Pull complete 08:38:59 36b3adc4ff6f: Pull complete 08:38:59 0879bd2ef858: Verifying Checksum 08:38:59 0879bd2ef858: Download complete 08:38:59 8ad3a11d3b57: Pull complete 08:39:00 46f8f816bc3b: Pull complete 08:39:00 0dadc02b9964: Pull complete 08:39:00 ce6a7cf60c04: Pull complete 08:39:00 7a184a31f384: Pull complete 08:39:02 0879bd2ef858: Pull complete 08:39:02 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 08:39:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:39:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:39:02 prd-centos7-docker-4c-2g-365 does not seem to be running inside a container 08:39:02 $ 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-592 -v /w/workspace/dgexfoundry_device-sdk-go_PR-592:/w/workspace/dgexfoundry_device-sdk-go_PR-592:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-592@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:10003/edgex-lftools-log-publisher:alpine cat 08:39:08 $ docker top 47a6416a369871681a05151eb8c1415c7e161ee083004f3d1c4108cf815b40c6 -eo pid,comm [Pipeline] { [Pipeline] sh 08:39:09 + mkdir -p /var/log/sa [Pipeline] sh 08:39:09 + ls /var/log/sa-host 08:39:09 + sadf -c /var/log/sa-host/sa05 08:39:09 file_magic: OK 08:39:09 HZ: Using current value: 100 08:39:09 file_header: OK 08:39:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:39:09 Statistics: 08:39:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:39:09 File successfully converted to sysstat format version 12.2.1 08:39:09 + sadf -c /var/log/sa-host/sa18 08:39:09 file_magic: OK 08:39:09 HZ: Using current value: 100 08:39:09 file_header: OK 08:39:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:39:09 Statistics: 08:39:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:39:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:39:09 provisioning config files... 08:39:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config7370022370108765766tmp [Pipeline] { [Pipeline] echo 08:39:09 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:39:10 ---> create-netrc.sh [Pipeline] echo 08:39:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:39:10 ---> logs-deploy.sh 08:39:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-592/2 08:39:10 INFO: archiving workspace using pattern(s): 08:39:11 Archives upload complete. 08:39:11 INFO: archiving logs to Nexus