Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 245068c04ff2830f60caa5933c53c336b25cd27b+0916c9033c71b8931055140091788f6fe2f32c33 (b8b7e6f9546de8998537280e4128ebe591c31979) 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 on ‘prd-centos7-docker-4c-2g-581’ Running on prd-centos7-docker-4c-2g-584 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b Merge succeeded, producing 17c22148a7151a1e6426d3a1db8ff052d759b81f Checking out Revision 17c22148a7151a1e6426d3a1db8ff052d759b81f (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # 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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17c22148a7151a1e6426d3a1db8ff052d759b81f # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:45:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:45:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] echo 18:45:25 ========================================================= 18:45:25 EdgeX Global Pipelines Version Info 18:45:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:45:27 ------------------- 18:45:27 stable info: 18:45:27 ------------------- 18:45:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:45:27 Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 18:45:27 Message: update stable to v1.0.122 18:45:28 ------------------- 18:45:28 experimental info: 18:45:28 ------------------- 18:45:28 Commited By: **** collab-it+edgex@linuxfoundation.org 18:45:28 Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 18:45:28 Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:45:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:45:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:45:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:45:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:45:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:45:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 18:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 18:45:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 18:45:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17c22148a7151a1e6426d3a1db8ff052d759b81f [Pipeline] echo 18:45:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17c2214 [Pipeline] echo 18:45:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:31 + git log --format=format:%s -1 17c22148a7151a1e6426d3a1db8ff052d759b81f [Pipeline] echo 18:45:31 GIT_COMMIT: 17c22148a7151a1e6426d3a1db8ff052d759b81f, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo 18:45:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:45:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:32 18:45:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:45:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:33 latest: Pulling from edgex-devops/git-semver 18:45:33 31603596830f: Pulling fs layer 18:45:33 2a8b12db71e7: Pulling fs layer 18:45:33 6ca5941a6612: Pulling fs layer 18:45:33 ecc8261a40a4: Pulling fs layer 18:45:33 ecc8261a40a4: Waiting 18:45:33 2a8b12db71e7: Verifying Checksum 18:45:33 2a8b12db71e7: Download complete 18:45:33 6ca5941a6612: Verifying Checksum 18:45:33 6ca5941a6612: Download complete 18:45:33 ecc8261a40a4: Download complete 18:45:33 31603596830f: Verifying Checksum 18:45:33 31603596830f: Download complete 18:45:34 31603596830f: Pull complete 18:45:34 2a8b12db71e7: Pull complete 18:45:34 6ca5941a6612: Pull complete 18:45:35 ecc8261a40a4: Pull complete 18:45:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:45:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:45:35 prd-centos7-docker-4c-2g-584 does not seem to be running inside a container 18:45:35 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:45:37 $ docker top 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:37 [ssh-agent] Looking for ssh-agent implementation... 18:45:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:38 $ docker exec 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent 18:45:38 SSH_AUTH_SOCK=/tmp/ssh-FWyX6MnIJWs7/agent.11 18:45:38 SSH_AGENT_PID=16 18:45:38 Running ssh-add (command line suppressed) 18:45:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1532489578757221894.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1532489578757221894.key) 18:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:38 + git describe --exact-match --tags HEAD 18:45:38 fatal: No names found, cannot describe anything. [Pipeline] } 18:45:38 $ docker exec --env ******** --env ******** 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent -k 18:45:38 unset SSH_AUTH_SOCK; 18:45:38 unset SSH_AGENT_PID; 18:45:38 echo Agent pid 16 killed; 18:45:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:45:38 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:45:38 This usually means this commit has not been tagged. [Pipeline] sshagent 18:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:39 [ssh-agent] Looking for ssh-agent implementation... 18:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:39 $ docker exec 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent 18:45:39 SSH_AUTH_SOCK=/tmp/ssh-QQ9XTodUdD3q/agent.44 18:45:39 SSH_AGENT_PID=50 18:45:39 Running ssh-add (command line suppressed) 18:45:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6445747639581568772.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6445747639581568772.key) 18:45:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:39 + git semver init 18:45:39 # -> Open(): unable to determine branch for HEAD 18:45:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git 18:45:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 18:45:39 # $SEMVER_REMOTE_NAME = origin 18:45:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:45:39 # $SEMVER_USER_NAME = edgex-jenkins 18:45:39 # $SEMVER_BRANCH = PR-584 18:45:39 # $SEMVER_TEMP = /tmp/semver-414176992 18:45:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:45:40 # '/tmp/semver-414176992' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' 18:45:40 # -> Force: false 18:45:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } 18:45:40 $ docker exec --env ******** --env ******** 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent -k 18:45:40 unset SSH_AUTH_SOCK; 18:45:40 unset SSH_AGENT_PID; 18:45:40 echo Agent pid 50 killed; 18:45:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:41 + git semver [Pipeline] } 18:45:41 $ docker stop --time=1 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 18:45:42 $ docker rm -f 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:45:43 Stashed 38 file(s) [Pipeline] echo 18:45:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:45:43 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:45:58 Still waiting to schedule task 18:45:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:45:58 Still waiting to schedule task 18:45:58 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ 18:47:25 Running on prd-centos7-docker-4c-2g-590 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 18:47:25 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 18:47:39 using credential edgex-jenkins-ssh 18:47:39 Cloning the remote Git repository 18:47:39 Cloning with configured refspecs honoured and without tags 18:47:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:47:39 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:47:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:39 > git --version # timeout=10 18:47:39 > git --version # 'git version 2.16.5' 18:47:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:41 Fetching without tags 18:47:40 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:41 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 18:47:41 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:47:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:47:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:41 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:47:42 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b 18:47:42 Merge succeeded, producing fbb0e2b96af80e282ed5051eb4497b99f6a031dd 18:47:42 Checking out Revision fbb0e2b96af80e282ed5051eb4497b99f6a031dd (PR-584) 18:47:42 > git config core.sparsecheckout # timeout=10 18:47:42 > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 18:47:42 > git remote # timeout=10 18:47:42 > git config --get remote.origin.url # timeout=10 18:47:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:42 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:47:42 > git rev-parse HEAD^{commit} # timeout=10 18:47:42 > git config core.sparsecheckout # timeout=10 18:47:42 > git checkout -f fbb0e2b96af80e282ed5051eb4497b99f6a031dd # timeout=10 18:47:47 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:47:47 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:47:47 > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:47:49 ========================================================= 18:47:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:47:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:47:51 + 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:47:52 Sending build context to Docker daemon 3.166MB 18:47:52 Step 1/8 : ARG BASE=golang:1.15-alpine 18:47:52 Step 2/8 : FROM ${BASE} 18:47:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:47:53 df20fa9351a1: Pulling fs layer 18:47:53 ed8968b2872e: Pulling fs layer 18:47:53 a92cc7c5fd73: Pulling fs layer 18:47:53 e871e8e8d7a9: Pulling fs layer 18:47:53 e73272ec9a57: Pulling fs layer 18:47:53 1e910a182e73: Pulling fs layer 18:47:53 4e634b169226: Pulling fs layer 18:47:53 e871e8e8d7a9: Waiting 18:47:53 e73272ec9a57: Waiting 18:47:53 1e910a182e73: Waiting 18:47:53 4e634b169226: Waiting 18:47:53 a92cc7c5fd73: Verifying Checksum 18:47:53 a92cc7c5fd73: Download complete 18:47:53 ed8968b2872e: Verifying Checksum 18:47:53 ed8968b2872e: Download complete 18:47:53 e73272ec9a57: Verifying Checksum 18:47:53 e73272ec9a57: Download complete 18:47:53 1e910a182e73: Verifying Checksum 18:47:53 1e910a182e73: Download complete 18:47:54 df20fa9351a1: Verifying Checksum 18:47:54 df20fa9351a1: Download complete 18:47:57 df20fa9351a1: Pull complete 18:47:57 ed8968b2872e: Pull complete 18:47:58 a92cc7c5fd73: Pull complete 18:48:07 4e634b169226: Verifying Checksum 18:48:07 4e634b169226: Download complete 18:48:10 e871e8e8d7a9: Verifying Checksum 18:48:10 e871e8e8d7a9: Download complete 18:48:26 e871e8e8d7a9: Pull complete 18:48:26 e73272ec9a57: Pull complete 18:48:26 1e910a182e73: Pull complete 18:48:32 4e634b169226: Pull complete 18:48:32 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:48:32 ---> f7629b54cfaa 18:48:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:48:32 ---> Running in 8e220fbfaa72 18:48:32 Removing intermediate container 8e220fbfaa72 18:48:32 ---> 95d5cdc1946a 18:48:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:48:32 ---> Running in fba5b14111de 18:48:34 Removing intermediate container fba5b14111de 18:48:34 ---> 5b6fc7153449 18:48:34 Step 5/8 : RUN apk add --no-cache make git 18:48:34 ---> Running in 64e6596a4650 18:48:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:48:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:48:38 OK: 166 MiB in 39 packages 18:48:39 Removing intermediate container 64e6596a4650 18:48:39 ---> db0d3e419752 18:48:39 Step 6/8 : WORKDIR /device-sdk-go 18:48:39 ---> Running in dbf4d9ef3dcc 18:48:39 Removing intermediate container dbf4d9ef3dcc 18:48:39 ---> 06f91a5485a7 18:48:39 Step 7/8 : COPY . . 18:48:42 ---> 5fd6ee973714 18:48:42 Step 8/8 : RUN go mod download 18:48:42 ---> Running in 66f2e7e0d5c9 18:48:58 Removing intermediate container 66f2e7e0d5c9 18:48:58 ---> 1ed31487ba74 18:48:58 Successfully built 1ed31487ba74 18:48:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:48:59 + docker inspect -f . ci-base-image-x86_64 18:48:59 . [Pipeline] withDockerContainer 18:49:00 prd-centos7-docker-4c-2g-590 does not seem to be running inside a container 18:49:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-x86_64 cat 18:49:02 $ docker top 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:03 + go version 18:49:03 go version go1.15.2 linux/amd64 [Pipeline] } 18:49:03 $ docker stop --time=1 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 18:49:04 $ docker rm -f 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:49:06 + docker inspect -f . ci-base-image-x86_64 18:49:06 . [Pipeline] withDockerContainer 18:49:07 prd-centos7-docker-4c-2g-590 does not seem to be running inside a container 18:49:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-x86_64 cat 18:49:09 $ docker top acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:09 + make test 18:49:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:49:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-599 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws 18:49:23 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 18:49:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:49:28 using credential edgex-jenkins-ssh 18:49:28 Cloning the remote Git repository 18:49:28 Cloning with configured refspecs honoured and without tags 18:49:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:49:29 > git init /w/workspace/device-sdk-go/8 # timeout=10 18:49:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:49:29 > git --version # timeout=10 18:49:29 > git --version # 'git version 2.17.1' 18:49:29 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:29 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:30 Fetching without tags 18:49:30 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b 18:49:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:49:30 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 18:49:30 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:49:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:49:30 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:30 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:49:31 Merge succeeded, producing 6b34f4fedda6abaf18c6b4a027bee085539835ae 18:49:31 Checking out Revision 6b34f4fedda6abaf18c6b4a027bee085539835ae (PR-584) 18:49:30 > git config core.sparsecheckout # timeout=10 18:49:30 > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 18:49:31 > git remote # timeout=10 18:49:31 > git config --get remote.origin.url # timeout=10 18:49:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:31 > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 18:49:31 > git rev-parse HEAD^{commit} # timeout=10 18:49:31 > git config core.sparsecheckout # timeout=10 18:49:31 > git checkout -f 6b34f4fedda6abaf18c6b4a027bee085539835ae # timeout=10 18:49:35 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" 18:49:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 18:49:35 > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] echo 18:49:37 ========================================================= 18:49:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:49:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:49:38 + 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:49:39 Sending build context to Docker daemon 3.165MB 18:49:39 Step 1/8 : ARG BASE=golang:1.15-alpine 18:49:39 Step 2/8 : FROM ${BASE} 18:49:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:49:39 b538f80385f9: Pulling fs layer 18:49:39 74f711af9a0d: Pulling fs layer 18:49:39 99f96fe45779: Pulling fs layer 18:49:39 8529a6b9a6be: Pulling fs layer 18:49:39 45590311c82a: Pulling fs layer 18:49:39 69ca0ff8b7b3: Pulling fs layer 18:49:39 209524e5b208: Pulling fs layer 18:49:39 8529a6b9a6be: Waiting 18:49:39 45590311c82a: Waiting 18:49:39 69ca0ff8b7b3: Waiting 18:49:39 209524e5b208: Waiting 18:49:39 99f96fe45779: Verifying Checksum 18:49:39 99f96fe45779: Download complete 18:49:39 74f711af9a0d: Download complete 18:49:39 45590311c82a: Download complete 18:49:39 69ca0ff8b7b3: Verifying Checksum 18:49:39 69ca0ff8b7b3: Download complete 18:49:39 b538f80385f9: Verifying Checksum 18:49:39 b538f80385f9: Download complete 18:49:40 b538f80385f9: Pull complete 18:49:41 74f711af9a0d: Pull complete 18:49:41 99f96fe45779: Pull complete 18:49:42 209524e5b208: Verifying Checksum 18:49:42 209524e5b208: Download complete 18:49:43 8529a6b9a6be: Verifying Checksum 18:49:43 8529a6b9a6be: Download complete 18:49:53 8529a6b9a6be: Pull complete 18:49:53 45590311c82a: Pull complete 18:49:54 69ca0ff8b7b3: Pull complete 18:49:57 209524e5b208: Pull complete 18:49:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:49:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:49:57 ---> 5bddaf1c2fca 18:49:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:50:01 ---> Running in 8832cbd17f3a 18:50:01 Removing intermediate container 8832cbd17f3a 18:50:01 ---> c42a77d39835 18:50:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:50:01 ---> Running in a1f9093888f6 18:50:04 Removing intermediate container a1f9093888f6 18:50:04 ---> edd99d0d5614 18:50:04 Step 5/8 : RUN apk add --no-cache make git 18:50:04 ---> Running in a1253b70e436 18:50:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:50:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:50:08 OK: 142 MiB in 39 packages 18:50:09 Removing intermediate container a1253b70e436 18:50:09 ---> 9149fd58b7f3 18:50:09 Step 6/8 : WORKDIR /device-sdk-go 18:50:09 ---> Running in ec1b1898fd68 18:50:09 Removing intermediate container ec1b1898fd68 18:50:09 ---> 55dd7dff2797 18:50:09 Step 7/8 : COPY . . 18:50:11 ---> e360c66c81a8 18:50:11 Step 8/8 : RUN go mod download 18:50:11 ---> Running in a51f66fdf294 18:50:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:50:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:50:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:50:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.074s coverage: 21.0% of statements 18:50:14 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.905s coverage: 95.7% of statements 18:50:26 Removing intermediate container a51f66fdf294 18:50:26 ---> 83c1d344a526 18:50:26 Successfully built 83c1d344a526 18:50:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:50:26 + docker inspect -f . ci-base-image-arm64 18:50:26 . [Pipeline] withDockerContainer 18:50:27 prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container 18:50:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 18:50:29 $ docker top 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:30 + go version 18:50:30 go version go1.15.2 linux/arm64 [Pipeline] } 18:50:30 $ docker stop --time=1 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d 18:50:32 $ docker rm -f 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:50:33 + docker inspect -f . ci-base-image-arm64 18:50:33 . [Pipeline] withDockerContainer 18:50:34 prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container 18:50:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** ci-base-image-arm64 cat 18:50:36 $ docker top e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:37 + make test 18:50:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.157s coverage: 8.6% of statements 18:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.155s coverage: 21.7% of statements 18:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.826s coverage: 37.0% of statements 18:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.620s coverage: 65.4% of statements 18:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:50:41 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:50:41 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.290s coverage: 52.6% of statements 18:50:41 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.089s coverage: 68.9% of statements 18:50:41 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:50:41 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:50:41 GO111MODULE=on go vet ./... 18:51:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:51:00 gofmt -l . 18:51:00 [ "`gofmt -l .`" = "" ] 18:51:00 ./bin/test-attribution-txt.sh 18:51:01 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:51:02 Stashed 1 file(s) [Pipeline] } 18:51:02 $ docker stop --time=1 acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c 18:51:04 $ docker rm -f acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:06 + ls -al . 18:51:06 total 188 18:51:06 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:51 . 18:51:06 drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:47 .. 18:51:06 drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:47 bin 18:51:06 -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:50 coverage.out 18:51:06 -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:47 Dockerfile.build 18:51:06 -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:47 .dockerignore 18:51:06 drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:47 example 18:51:06 drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:47 .git 18:51:06 drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:47 .github 18:51:06 -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:47 .gitignore 18:51:06 -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:51 go.mod 18:51:06 -rw-r--r--. 1 jenkins jenkins 12264 Sep 20 18:51 go.sum 18:51:06 drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:47 internal 18:51:06 -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:47 Jenkinsfile 18:51:06 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:47 LICENSE 18:51:06 -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:47 Makefile 18:51:06 drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:47 openapi 18:51:06 drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:47 pkg 18:51:06 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:47 README.md 18:51:06 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:47 RELEASE-NOTES.txt 18:51:06 drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:47 .semver 18:51:06 drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:47 snap 18:51:06 -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:45 VERSION 18:51:06 -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:47 version.go [Pipeline] isUnix [Pipeline] sh 18:51: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=17c22148a7151a1e6426d3a1db8ff052d759b81f --label arch=amd64 --label version=0.0.0 . 18:51:07 Sending build context to Docker daemon 3.28MB 18:51:07 Step 1/24 : ARG BASE=golang:1.15-alpine 18:51:07 Step 2/24 : FROM ${BASE} AS builder 18:51:07 ---> 1ed31487ba74 18:51:07 Step 3/24 : ARG MAKE='make build' 18:51:07 ---> Running in 4f04b19e296a 18:51:07 Removing intermediate container 4f04b19e296a 18:51:07 ---> f939a06014ce 18:51:07 Step 4/24 : WORKDIR /device-sdk-go 18:51:08 ---> Running in ec43c18537b2 18:51:08 Removing intermediate container ec43c18537b2 18:51:08 ---> 7e4f0b13394c 18:51:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:51:08 ---> Running in 6e9a1b9f2197 18:51:08 Removing intermediate container 6e9a1b9f2197 18:51:08 ---> f6bc6543b882 18:51:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:51:08 ---> Running in 8815ee355fa3 18:51:10 Removing intermediate container 8815ee355fa3 18:51:10 ---> 1c48696e05d3 18:51:10 Step 7/24 : RUN apk add --update --no-cache make git 18:51:10 ---> Running in 4b1896a80b0e 18:51:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:51:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:51:12 OK: 166 MiB in 39 packages 18:51:12 Removing intermediate container 4b1896a80b0e 18:51:12 ---> cf03062e8138 18:51:12 Step 8/24 : COPY . . 18:51:13 ---> d59799e60bd0 18:51:13 Step 9/24 : RUN ${MAKE} 18:51:13 ---> Running in 7ffca1b96576 18:51:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:51:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:51:37 Removing intermediate container 7ffca1b96576 18:51:37 ---> dc866933e535 18:51:37 Step 10/24 : FROM scratch 18:51:37 ---> 18:51:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:51:37 ---> Running in 42983ebd9446 18:51:37 Removing intermediate container 42983ebd9446 18:51:37 ---> 902b55428a80 18:51:37 Step 12/24 : ENV APP_PORT=49990 18:51:38 ---> Running in 7b3fc812b36a 18:51:38 Removing intermediate container 7b3fc812b36a 18:51:38 ---> b809cc76a68c 18:51:38 Step 13/24 : EXPOSE $APP_PORT 18:51:38 ---> Running in bca3054217c7 18:51:38 Removing intermediate container bca3054217c7 18:51:38 ---> 130cec164c00 18:51:38 Step 14/24 : WORKDIR / 18:51:38 ---> Running in cbbf607f8249 18:51:38 Removing intermediate container cbbf607f8249 18:51:38 ---> c6bbc3c70706 18:51:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:51:39 ---> 2320cc2c2916 18:51:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:51:40 ---> 309d9570fbb2 18:51:40 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:51:40 ---> e956eb21d658 18:51:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:51:41 ---> 80db92163c22 18:51:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:51:41 ---> 2d2ac70cd79c 18:51:41 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:51:41 ---> Running in ee86df497f60 18:51:41 Removing intermediate container ee86df497f60 18:51:41 ---> aed0973b5ea7 18:51:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:51:41 ---> Running in 36a323e17878 18:51:41 Removing intermediate container 36a323e17878 18:51:41 ---> a20531d15946 18:51:41 Step 22/24 : LABEL arch=amd64 18:51:42 ---> Running in bbd343fc0702 18:51:42 Removing intermediate container bbd343fc0702 18:51:42 ---> f8c67ced6706 18:51:42 Step 23/24 : LABEL git_sha=17c22148a7151a1e6426d3a1db8ff052d759b81f 18:51:42 ---> Running in 68cb1024c3a7 18:51:42 Removing intermediate container 68cb1024c3a7 18:51:42 ---> 58379ad06333 18:51:42 Step 24/24 : LABEL version=0.0.0 18:51:43 ---> Running in 53acbcb8955c 18:51:43 Removing intermediate container 53acbcb8955c 18:51:43 ---> 110f3ece0335 18:51:43 [Warning] One or more build-args [ARCH] were not consumed 18:51:43 Successfully built 110f3ece0335 18:51:43 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:47 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:51:47 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:51:47 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 21.0% of statements 18:51:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.335s coverage: 95.7% of statements 18:52:19 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 8.6% of statements 18:52:19 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 18:52:19 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:52:19 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 37.0% of statements 18:52:19 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:52:19 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.730s coverage: 65.4% of statements 18:52:19 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:52:19 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:52:19 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:52:19 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.307s coverage: 52.6% of statements 18:52:19 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.037s coverage: 68.9% of statements 18:52:19 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 18:52:19 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:52:19 GO111MODULE=on go vet ./... 18:52:51 gofmt -l . 18:52:51 [ "`gofmt -l .`" = "" ] 18:52:51 ./bin/test-attribution-txt.sh 18:52:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 18:52:52 Warning: overwriting stash ‘coverage-report’ 18:52:53 Stashed 1 file(s) [Pipeline] } 18:52:53 $ docker stop --time=1 e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca 18:52:55 $ docker rm -f e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:57 + ls -al . 18:52:57 total 228 18:52:57 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:52 . 18:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 .. 18:52:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:49 .dockerignore 18:52:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:49 .git 18:52:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:49 .github 18:52:57 -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:49 .gitignore 18:52:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:49 .semver 18:52:57 -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:49 Dockerfile.build 18:52:57 -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:49 Jenkinsfile 18:52:57 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:49 LICENSE 18:52:57 -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:49 Makefile 18:52:57 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:49 README.md 18:52:57 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:49 RELEASE-NOTES.txt 18:52:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:45 VERSION 18:52:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:49 bin 18:52:57 -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:52 coverage.out 18:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 example 18:52:57 -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:52 go.mod 18:52:57 -rw-r--r-- 1 jenkins jenkins 12264 Sep 20 18:52 go.sum 18:52:57 drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:49 internal 18:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 openapi 18:52:57 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:49 pkg 18:52:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 snap 18:52:57 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:49 version.go [Pipeline] isUnix [Pipeline] sh 18:52:57 + 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=17c22148a7151a1e6426d3a1db8ff052d759b81f --label arch=arm64 --label version=0.0.0 . 18:52:58 Sending build context to Docker daemon 3.278MB 18:52:58 Step 1/24 : ARG BASE=golang:1.15-alpine 18:52:58 Step 2/24 : FROM ${BASE} AS builder 18:52:58 ---> 83c1d344a526 18:52:58 Step 3/24 : ARG MAKE='make build' 18:52:58 ---> Running in 6c50b48d1de1 18:52:59 Removing intermediate container 6c50b48d1de1 18:52:59 ---> d0943291306e 18:52:59 Step 4/24 : WORKDIR /device-sdk-go 18:52:59 ---> Running in b055a16973f9 18:52:59 Removing intermediate container b055a16973f9 18:52:59 ---> b5d8cec1deaf 18:52:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:52:59 ---> Running in 637319f95da9 18:53:00 Removing intermediate container 637319f95da9 18:53:00 ---> 96becae0de5d 18:53:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:53:00 ---> Running in 04c7b3d551d3 18:53:02 Removing intermediate container 04c7b3d551d3 18:53:02 ---> 9ac17e91b4ba 18:53:02 Step 7/24 : RUN apk add --update --no-cache make git 18:53:03 ---> Running in a45dc2b51102 18:53:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:53:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:53:06 OK: 142 MiB in 39 packages 18:53:07 Removing intermediate container a45dc2b51102 18:53:07 ---> f68d49c5b131 18:53:07 Step 8/24 : COPY . . 18:53:08 ---> 6522e3d06260 18:53:08 Step 9/24 : RUN ${MAKE} 18:53:08 ---> Running in 20bdb77ef702 18:53:10 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:53:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:53:37 Removing intermediate container 20bdb77ef702 18:53:37 ---> afc838a72d39 18:53:37 Step 10/24 : FROM scratch 18:53:37 ---> 18:53:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:53:37 ---> Running in fa7ada277642 18:53:38 Removing intermediate container fa7ada277642 18:53:38 ---> 6dbb998cb796 18:53:38 Step 12/24 : ENV APP_PORT=49990 18:53:38 ---> Running in 94dfbc8689e8 18:53:38 Removing intermediate container 94dfbc8689e8 18:53:38 ---> 539f5be2f9cb 18:53:38 Step 13/24 : EXPOSE $APP_PORT 18:53:38 ---> Running in 4b77b04acaf9 18:53:39 Removing intermediate container 4b77b04acaf9 18:53:39 ---> d21746f44a43 18:53:39 Step 14/24 : WORKDIR / 18:53:39 ---> Running in c63a5851cd50 18:53:39 Removing intermediate container c63a5851cd50 18:53:39 ---> 39f73e5f0f07 18:53:39 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:53:40 ---> b9ddf5b98c45 18:53:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:53:41 ---> f58112cc3aad 18:53:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:53:42 ---> cd73bb3a47b8 18:53:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:53:43 ---> a774ae228f63 18:53:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:53:43 ---> 9032bed7d3a1 18:53:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:53:44 ---> Running in b857211089ec 18:53:44 Removing intermediate container b857211089ec 18:53:44 ---> 7b521a3703d5 18:53:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:53:44 ---> Running in a86954037bbe 18:53:45 Removing intermediate container a86954037bbe 18:53:45 ---> 2dab5ca71781 18:53:45 Step 22/24 : LABEL arch=arm64 18:53:45 ---> Running in 9eb26f6c1d18 18:53:46 Removing intermediate container 9eb26f6c1d18 18:53:46 ---> 01c4d86caed5 18:53:46 Step 23/24 : LABEL git_sha=17c22148a7151a1e6426d3a1db8ff052d759b81f 18:53:46 ---> Running in e68fe7a53319 18:53:46 Removing intermediate container e68fe7a53319 18:53:46 ---> ffcf4a9e28d6 18:53:46 Step 24/24 : LABEL version=0.0.0 18:53:46 ---> Running in 718fb0586c1d 18:53:47 Removing intermediate container 718fb0586c1d 18:53:47 ---> 4cf73be2e610 18:53:47 [Warning] One or more build-args [ARCH] were not consumed 18:53:47 Successfully built 4cf73be2e610 18:53:47 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:53:49 provisioning config files... 18:53:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3405179858568371113tmp [Pipeline] { [Pipeline] sh 18:53:50 + curl -s https://codecov.io/bash 18:53:50 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3405179858568371113tmp [Pipeline] } 18:53: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 18:53:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:53:53 ---> package-listing.sh 18:53:53 ++ facter osfamily 18:53:53 ++ tr '[:upper:]' '[:lower:]' 18:53:53 + OS_FAMILY=redhat 18:53:53 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 18:53:53 + START_PACKAGES=/tmp/packages_start.txt 18:53:53 + END_PACKAGES=/tmp/packages_end.txt 18:53:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:53:53 + PACKAGES=/tmp/packages_start.txt 18:53:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 18:53:53 + PACKAGES=/tmp/packages_end.txt 18:53:53 + case "${OS_FAMILY}" in 18:53:53 + rpm -qa 18:53:53 + sort 18:53:58 + '[' -f /tmp/packages_start.txt ']' 18:53:58 + '[' -f /tmp/packages_end.txt ']' 18:53:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:53:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' 18:53:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ 18:53:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] isUnix [Pipeline] sh 18:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:59 18:53:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:53:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:53:59 alpine: Pulling from edgex-lftools-log-publisher 18:53:59 df20fa9351a1: Pulling fs layer 18:53:59 36b3adc4ff6f: Pulling fs layer 18:53:59 8ad3a11d3b57: Pulling fs layer 18:53:59 46f8f816bc3b: Pulling fs layer 18:53:59 0dadc02b9964: Pulling fs layer 18:53:59 ce6a7cf60c04: Pulling fs layer 18:53:59 7a184a31f384: Pulling fs layer 18:53:59 0879bd2ef858: Pulling fs layer 18:53:59 ce6a7cf60c04: Waiting 18:53:59 0dadc02b9964: Waiting 18:53:59 7a184a31f384: Waiting 18:53:59 0879bd2ef858: Waiting 18:53:59 46f8f816bc3b: Waiting 18:53:59 36b3adc4ff6f: Verifying Checksum 18:53:59 36b3adc4ff6f: Download complete 18:53:59 46f8f816bc3b: Verifying Checksum 18:53:59 46f8f816bc3b: Download complete 18:53:59 df20fa9351a1: Verifying Checksum 18:53:59 df20fa9351a1: Download complete 18:53:59 ce6a7cf60c04: Verifying Checksum 18:53:59 ce6a7cf60c04: Download complete 18:53:59 0dadc02b9964: Verifying Checksum 18:53:59 0dadc02b9964: Download complete 18:53:59 7a184a31f384: Verifying Checksum 18:53:59 7a184a31f384: Download complete 18:53:59 8ad3a11d3b57: Verifying Checksum 18:53:59 8ad3a11d3b57: Download complete 18:53:59 df20fa9351a1: Pull complete 18:54:00 36b3adc4ff6f: Pull complete 18:54:00 0879bd2ef858: Verifying Checksum 18:54:00 0879bd2ef858: Download complete 18:54:00 8ad3a11d3b57: Pull complete 18:54:01 46f8f816bc3b: Pull complete 18:54:01 0dadc02b9964: Pull complete 18:54:01 ce6a7cf60c04: Pull complete 18:54:01 7a184a31f384: Pull complete 18:54:04 0879bd2ef858: Pull complete 18:54:04 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 18:54:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:54:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:54:04 prd-centos7-docker-4c-2g-584 does not seem to be running inside a container 18:54:04 $ 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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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:10003/edgex-lftools-log-publisher:alpine cat 18:54:09 $ docker top df3d5c4fe133671cc0c624b487d7a7c10b2187a84c4030cc76ce68f5ce0abc25 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:10 + mkdir -p /var/log/sa [Pipeline] sh 18:54:10 + ls /var/log/sa-host 18:54:10 + sadf -c /var/log/sa-host/sa05 18:54:10 file_magic: OK 18:54:10 HZ: Using current value: 100 18:54:10 file_header: OK 18:54:10 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:54:10 Statistics: 18:54:10 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:54:10 File successfully converted to sysstat format version 12.2.1 18:54:10 + sadf -c /var/log/sa-host/sa20 18:54:10 file_magic: OK 18:54:10 HZ: Using current value: 100 18:54:10 file_header: OK 18:54:10 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:54:10 Statistics: 18:54:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:54:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:10 provisioning config files... 18:54:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8615054173406373907tmp [Pipeline] { [Pipeline] echo 18:54:10 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:10 ---> create-netrc.sh [Pipeline] echo 18:54:10 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:11 ---> logs-deploy.sh 18:54:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/8 18:54:11 INFO: archiving workspace using pattern(s): 18:54:12 Archives upload complete. 18:54:12 INFO: archiving logs to Nexus