Pull request #715 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d8f4899b78a5bc556b0f89fb2be28fb908835fbe+372098887a6a7d5d9395bdaf9d03a023308f69fd (edfaf8f0cedc8a534664514c054d07b3d84b14b9) Running in Durability level: MAX_SURVIVABILITY 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-715/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-715/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18440 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-715 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) > git config core.sparsecheckout # timeout=10 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:06:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:06:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:06:27 ========================================================= 06:06:27 EdgeX Global Pipelines Version Info 06:06:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:06:29 ------------------- 06:06:29 stable info: 06:06:29 ------------------- 06:06:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:06:29 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:06:29 Message: update stable to v1.0.173 06:06:30 ------------------- 06:06:30 experimental info: 06:06:30 ------------------- 06:06:30 Commited By: **** collab-it+edgex@linuxfoundation.org 06:06:30 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:06:30 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:06:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:06:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:06:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:06:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:06:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-715 [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-715 [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-715 [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] echo 06:06:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8f4899 [Pipeline] echo 06:06:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:06:35 provisioning config files... 06:06:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config8541320999869291423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:35 ---> docker-login.sh 06:06:35 nexus3.edgexfoundry.org:10001 06:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:36 Configure a credential helper to remove this warning. See 06:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:36 06:06:36 Login Succeeded 06:06:36 nexus3.edgexfoundry.org:10002 06:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:36 Configure a credential helper to remove this warning. See 06:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:36 06:06:36 Login Succeeded 06:06:36 nexus3.edgexfoundry.org:10003 06:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:36 Configure a credential helper to remove this warning. See 06:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:36 06:06:36 Login Succeeded 06:06:36 nexus3.edgexfoundry.org:10004 06:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:36 Configure a credential helper to remove this warning. See 06:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:36 06:06:36 Login Succeeded 06:06:36 docker.io 06:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:37 Configure a credential helper to remove this warning. See 06:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:37 06:06:37 Login Succeeded 06:06:37 ---> docker-login.sh ends [Pipeline] } 06:06:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:38 + git log --format=format:%s -1 d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] echo 06:06:38 GIT_COMMIT: d8f4899b78a5bc556b0f89fb2be28fb908835fbe, Commit Message: build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4 [Pipeline] echo 06:06:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:39 06:06:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:06:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:39 latest: Pulling from edgex-devops/git-semver 06:06:39 31603596830f: Pulling fs layer 06:06:39 2a8b12db71e7: Pulling fs layer 06:06:39 6ca5941a6612: Pulling fs layer 06:06:39 ecc8261a40a4: Pulling fs layer 06:06:39 ecc8261a40a4: Waiting 06:06:39 2a8b12db71e7: Verifying Checksum 06:06:39 2a8b12db71e7: Download complete 06:06:39 ecc8261a40a4: Verifying Checksum 06:06:40 31603596830f: Download complete 06:06:40 6ca5941a6612: Download complete 06:06:40 31603596830f: Pull complete 06:06:40 2a8b12db71e7: Pull complete 06:06:41 6ca5941a6612: Pull complete 06:06:41 ecc8261a40a4: Pull complete 06:06:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:06:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:06:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:06:41 prd-centos7-docker-4c-2g-18440 does not seem to be running inside a container 06:06:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:06:43 $ docker top 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:06:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:44 [ssh-agent] Looking for ssh-agent implementation... 06:06:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:44 $ docker exec 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent 06:06:44 SSH_AUTH_SOCK=/tmp/ssh-9JU1FcIedXlD/agent.11 06:06:44 SSH_AGENT_PID=17 06:06:44 Running ssh-add (command line suppressed) 06:06:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7596935563813144587.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_7596935563813144587.key) 06:06:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:45 + git tag --points-at HEAD [Pipeline] } 06:06:45 $ docker exec --env ******** --env ******** 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent -k 06:06:45 unset SSH_AUTH_SOCK; 06:06:45 unset SSH_AGENT_PID; 06:06:45 echo Agent pid 17 killed; 06:06:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:06:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:06:45 [ssh-agent] Looking for ssh-agent implementation... 06:06:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:06:45 $ docker exec 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent 06:06:45 SSH_AUTH_SOCK=/tmp/ssh-i85ufrQLmiOe/agent.47 06:06:45 SSH_AGENT_PID=53 06:06:45 Running ssh-add (command line suppressed) 06:06:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_3367240886752354629.key (/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/private_key_3367240886752354629.key) 06:06:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:06:46 + git semver init 06:06:46 # -> Open(): unable to determine branch for HEAD 06:06:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.git 06:06:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-715 06:06:46 # $SEMVER_REMOTE_NAME = origin 06:06:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:06:46 # $SEMVER_USER_NAME = edgex-jenkins 06:06:46 # $SEMVER_BRANCH = PR-715 06:06:46 # $SEMVER_TEMP = /tmp/semver-123985915 06:06:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:06:47 # '/tmp/semver-123985915' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver' 06:06:47 # -> Force: false 06:06:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-715/.semver [Pipeline] } 06:06:47 $ docker exec --env ******** --env ******** 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd ssh-agent -k 06:06:47 unset SSH_AUTH_SOCK; 06:06:47 unset SSH_AGENT_PID; 06:06:47 echo Agent pid 53 killed; 06:06:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:06:47 + git semver [Pipeline] } 06:06:47 $ docker stop --time=1 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd 06:06:49 $ docker rm -f 093b9a484a0a690c18636ce8eeaced929e802a7d5037d94b73ac6fd9d64e32bd [Pipeline] // withDockerContainer [Pipeline] sh 06:06:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:06:50 Stashed 1 file(s) [Pipeline] echo 06:06:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:07:06 Still waiting to schedule task 06:07:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:07:06 Still waiting to schedule task 06:07:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:08:17 Running on prd-centos7-docker-4c-2g-18444 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws 06:08:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:08:20 using credential edgex-jenkins-ssh 06:08:20 Cloning the remote Git repository 06:08:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:08:20 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:08:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:08:20 > git --version # timeout=10 06:08:20 > git --version # 'git version 2.24.3' 06:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:08:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:08:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:08:22 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:08:22 Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:08:22 Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) 06:08:22 > git config core.sparsecheckout # timeout=10 06:08:22 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 06:08:22 > git remote # timeout=10 06:08:22 > git config --get remote.origin.url # timeout=10 06:08:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:08:22 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 06:08:22 > git rev-parse HEAD^{commit} # timeout=10 06:08:22 > git config core.sparsecheckout # timeout=10 06:08:22 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 06:08:25 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" 06:08:25 > git --version # timeout=10 06:08:25 > git --version # 'git version 2.24.3' 06:08:25 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:08:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:08:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:08:28 + sudo service docker restart 06:08:28 + true 06:08:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:08:29 provisioning config files... 06:08:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5612660460319259565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:30 ---> docker-login.sh 06:08:30 nexus3.edgexfoundry.org:10001 06:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:30 Configure a credential helper to remove this warning. See 06:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:30 06:08:30 Login Succeeded 06:08:30 nexus3.edgexfoundry.org:10002 06:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:30 Configure a credential helper to remove this warning. See 06:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:30 06:08:30 Login Succeeded 06:08:30 nexus3.edgexfoundry.org:10003 06:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:31 Configure a credential helper to remove this warning. See 06:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:31 06:08:31 Login Succeeded 06:08:31 nexus3.edgexfoundry.org:10004 06:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:31 Configure a credential helper to remove this warning. See 06:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:31 06:08:31 Login Succeeded 06:08:31 docker.io 06:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:31 Configure a credential helper to remove this warning. See 06:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:31 06:08:31 Login Succeeded 06:08:31 ---> docker-login.sh ends [Pipeline] } 06:08:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:32 ========================================================= 06:08:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:08:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:08:32 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:08:32 Sending build context to Docker daemon 2.427MB 06:08:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:08:32 Step 2/8 : FROM ${BASE} 06:08:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:32 188c0c94c7c5: Pulling fs layer 06:08:32 0ef7d3d256c8: Pulling fs layer 06:08:32 de9db76c5a1d: Pulling fs layer 06:08:32 bca2f99d35d6: Pulling fs layer 06:08:32 93359f2a8cfa: Pulling fs layer 06:08:32 7c6f9722023f: Pulling fs layer 06:08:32 a35cf1a2eb13: Pulling fs layer 06:08:32 93359f2a8cfa: Waiting 06:08:32 7c6f9722023f: Waiting 06:08:32 a35cf1a2eb13: Waiting 06:08:32 bca2f99d35d6: Waiting 06:08:32 de9db76c5a1d: Verifying Checksum 06:08:32 de9db76c5a1d: Download complete 06:08:32 0ef7d3d256c8: Verifying Checksum 06:08:32 0ef7d3d256c8: Download complete 06:08:32 93359f2a8cfa: Verifying Checksum 06:08:32 93359f2a8cfa: Download complete 06:08:32 7c6f9722023f: Verifying Checksum 06:08:32 7c6f9722023f: Download complete 06:08:33 188c0c94c7c5: Download complete 06:08:33 188c0c94c7c5: Pull complete 06:08:33 0ef7d3d256c8: Pull complete 06:08:33 de9db76c5a1d: Pull complete 06:08:34 a35cf1a2eb13: Verifying Checksum 06:08:34 a35cf1a2eb13: Download complete 06:08:35 bca2f99d35d6: Verifying Checksum 06:08:35 bca2f99d35d6: Download complete 06:08:40 bca2f99d35d6: Pull complete 06:08:40 93359f2a8cfa: Pull complete 06:08:40 7c6f9722023f: Pull complete 06:08:49 a35cf1a2eb13: Pull complete 06:08:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:08:49 ---> a62c8e92a672 06:08:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:49 ---> Running in 28b1ba5d4b9e 06:08:49 Removing intermediate container 28b1ba5d4b9e 06:08:49 ---> 3514dea30292 06:08:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:08:49 ---> Running in 370f74122877 06:08:50 Removing intermediate container 370f74122877 06:08:50 ---> 5e7befe8c385 06:08:50 Step 5/8 : RUN apk add --update --no-cache make git 06:08:50 ---> Running in 5bb2fc30a735 06:08:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:08:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:08:52 OK: 166 MiB in 39 packages 06:08:52 Removing intermediate container 5bb2fc30a735 06:08:52 ---> d2dc3c90270b 06:08:52 Step 6/8 : WORKDIR /device-sdk-go 06:08:52 ---> Running in e931e1d8ec79 06:08:52 Removing intermediate container e931e1d8ec79 06:08:52 ---> 0e46b04c06ba 06:08:52 Step 7/8 : COPY . . 06:08:54 ---> 77c92c8c4096 06:08:54 Step 8/8 : RUN go mod download 06:08:54 ---> Running in 96997fb732f7 06:09:12 Removing intermediate container 96997fb732f7 06:09:12 ---> 589d5221f06d 06:09:12 Successfully built 589d5221f06d 06:09:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:09:12 + docker inspect -f . ci-base-image-x86_64 06:09:12 . [Pipeline] withDockerContainer 06:09:13 prd-centos7-docker-4c-2g-18444 does not seem to be running inside a container 06:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:14 $ docker top ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:15 + go version 06:09:15 go version go1.15.5 linux/amd64 [Pipeline] } 06:09:15 $ docker stop --time=1 ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 06:09:16 $ docker rm -f ea2bdcbe577749fa36b75e445e5ae81a30d9f1aca08ce988cf39bd06cd5d8038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:09:17 + docker inspect -f . ci-base-image-x86_64 06:09:17 . [Pipeline] withDockerContainer 06:09:17 prd-centos7-docker-4c-2g-18444 does not seem to be running inside a container 06:09:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:09:18 $ docker top 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:18 + make test 06:09:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:09:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:09:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:09:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:09:40 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:09:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.060s coverage: 19.4% of statements 06:09:41 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.443s coverage: 97.1% of statements 06:10:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18447 in /w/workspace/dgexfoundry_device-sdk-go_PR-715 [Pipeline] { [Pipeline] ws 06:10:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:10:09 using credential edgex-jenkins-ssh 06:10:09 Cloning the remote Git repository 06:10:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:10:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:10:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:10:09 > git --version # timeout=10 06:10:09 > git --version # 'git version 2.17.1' 06:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:11 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:10:12 Merge succeeded, producing d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:10:12 Checking out Revision d8f4899b78a5bc556b0f89fb2be28fb908835fbe (PR-715) 06:10:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:10:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:10:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/715/head:refs/remotes/origin/PR-715 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:10:11 > git config core.sparsecheckout # timeout=10 06:10:11 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 06:10:11 > git remote # timeout=10 06:10:11 > git config --get remote.origin.url # timeout=10 06:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:10:11 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 06:10:11 > git rev-parse HEAD^{commit} # timeout=10 06:10:12 > git config core.sparsecheckout # timeout=10 06:10:12 > git checkout -f d8f4899b78a5bc556b0f89fb2be28fb908835fbe # timeout=10 06:10:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 06:10:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:10:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.225s coverage: 42.5% of statements 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:10:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.328s coverage: 68.9% of statements 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:10:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:10:14 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:10:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.665s coverage: 68.9% of statements 06:10:14 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 06:10:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:10:14 GO111MODULE=on go vet ./... 06:10:16 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.4" 06:10:16 > git --version # timeout=10 06:10:16 > git --version # 'git version 2.17.1' 06:10:16 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:10:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:10:18 + + true 06:10:18 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:10:21 provisioning config files... 06:10:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7029551394489776773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:22 ---> docker-login.sh 06:10:22 nexus3.edgexfoundry.org:10001 06:10:22 gofmt -l . 06:10:22 [ "`gofmt -l .`" = "" ] 06:10:22 ./bin/test-attribution-txt.sh 06:10:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:10:22 $ docker stop --time=1 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b 06:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 nexus3.edgexfoundry.org:10002 06:10:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:23 Configure a credential helper to remove this warning. See 06:10:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:23 06:10:23 Login Succeeded 06:10:23 nexus3.edgexfoundry.org:10003 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 nexus3.edgexfoundry.org:10004 06:10:24 $ docker rm -f 1987304b13aa7647e72cc032867cac8feccdd8c5a32d09182cc4c90a7902164b 06:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:24 Configure a credential helper to remove this warning. See 06:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:24 06:10:24 Login Succeeded 06:10:24 docker.io [Pipeline] // withDockerContainer [Pipeline] sh 06:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:25 + sudo chown -R jenkins:jenkins . 06:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:25 Configure a credential helper to remove this warning. See 06:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:25 06:10:25 Login Succeeded 06:10:25 ---> docker-login.sh ends [Pipeline] stash [Pipeline] } 06:10:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo 06:10:26 ========================================================= 06:10:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:10:26 ========================================================= [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh 06:10:26 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:10:26 Sending build context to Docker daemon 2.426MB 06:10:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:10:26 Step 2/8 : FROM ${BASE} 06:10:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:27 5f621e34cdf4: Pulling fs layer 06:10:27 a4357932f1b6: Pulling fs layer 06:10:27 18c013af1878: Pulling fs layer 06:10:27 00ac8860ef70: Pulling fs layer 06:10:27 63d7cb157983: Pulling fs layer 06:10:27 b116817d02f9: Pulling fs layer 06:10:27 745a02a5169b: Pulling fs layer 06:10:27 00ac8860ef70: Waiting 06:10:27 63d7cb157983: Waiting 06:10:27 b116817d02f9: Waiting 06:10:27 745a02a5169b: Waiting 06:10:27 18c013af1878: Verifying Checksum 06:10:27 18c013af1878: Download complete 06:10:27 a4357932f1b6: Verifying Checksum 06:10:27 a4357932f1b6: Download complete 06:10:27 63d7cb157983: Verifying Checksum 06:10:27 63d7cb157983: Download complete 06:10:27 b116817d02f9: Verifying Checksum 06:10:27 b116817d02f9: Download complete 06:10:27 5f621e34cdf4: Verifying Checksum 06:10:27 5f621e34cdf4: Download complete 06:10:28 5f621e34cdf4: Pull complete 06:10:28 a4357932f1b6: Pull complete 06:10:28 18c013af1878: Pull complete [Pipeline] sh 06:10:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:29 745a02a5169b: Verifying Checksum 06:10:29 745a02a5169b: Download complete 06:10:29 + ls -al . 06:10:29 total 208 06:10:29 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 5 06:10 . 06:10:29 drwxrwxr-x. 4 jenkins jenkins 28 Jan 5 06:08 .. 06:10:29 drwxrwxr-x. 2 jenkins jenkins 64 Jan 5 06:08 bin 06:10:29 -rw-r--r--. 1 jenkins jenkins 130526 Jan 5 06:10 coverage.out 06:10:29 -rw-rw-r--. 1 jenkins jenkins 949 Jan 5 06:08 Dockerfile.build 06:10:29 -rw-rw-r--. 1 jenkins jenkins 140 Jan 5 06:08 .dockerignore 06:10:29 drwxrwxr-x. 4 jenkins jenkins 48 Jan 5 06:08 example 06:10:29 drwxrwxr-x. 8 jenkins jenkins 179 Jan 5 06:08 .git 06:10:29 drwxrwxr-x. 2 jenkins jenkins 103 Jan 5 06:08 .github 06:10:29 -rw-rw-r--. 1 jenkins jenkins 138 Jan 5 06:08 .gitignore 06:10:29 -rw-r--r--. 1 jenkins jenkins 488 Jan 5 06:10 go.mod 06:10:29 -rw-r--r--. 1 jenkins jenkins 13716 Jan 5 06:10 go.sum 06:10:29 drwxrwxr-x. 15 jenkins jenkins 211 Jan 5 06:08 internal 06:10:29 -rw-rw-r--. 1 jenkins jenkins 901 Jan 5 06:08 Jenkinsfile 06:10:29 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 5 06:08 LICENSE 06:10:29 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 5 06:08 Makefile 06:10:29 drwxrwxr-x. 4 jenkins jenkins 26 Jan 5 06:08 openapi 06:10:29 drwxrwxr-x. 5 jenkins jenkins 50 Jan 5 06:08 pkg 06:10:29 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 5 06:08 README.md 06:10:29 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 5 06:08 RELEASE-NOTES.txt 06:10:29 drwxrwxr-x. 4 jenkins jenkins 54 Jan 5 06:08 snap 06:10:29 -rw-rw-r--. 1 jenkins jenkins 5 Jan 5 06:06 VERSION 06:10:29 -rw-rw-r--. 1 jenkins jenkins 222 Jan 5 06:08 version.go [Pipeline] isUnix [Pipeline] sh 06:10:29 + 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=d8f4899b78a5bc556b0f89fb2be28fb908835fbe --label arch=amd64 --label version=0.0.0 . 06:10:30 Sending build context to Docker daemon 2.558MB 06:10:30 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:10:30 Step 2/24 : FROM ${BASE} AS builder 06:10:30 ---> 589d5221f06d 06:10:30 Step 3/24 : ARG MAKE='make build' 06:10:30 ---> Running in 45ca89cb9197 06:10:30 00ac8860ef70: Download complete 06:10:31 Removing intermediate container 45ca89cb9197 06:10:31 ---> 0382c491c61d 06:10:31 Step 4/24 : WORKDIR /device-sdk-go 06:10:31 ---> Running in 17bd8820a4ff 06:10:31 Removing intermediate container 17bd8820a4ff 06:10:31 ---> 14cb2a40075c 06:10:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:10:31 ---> Running in d489f54e1e00 06:10:31 Removing intermediate container d489f54e1e00 06:10:31 ---> 8ee8bf22109b 06:10:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:31 ---> Running in ed6e4d89eb74 06:10:32 Removing intermediate container ed6e4d89eb74 06:10:32 ---> 8d00c007c74f 06:10:32 Step 7/24 : RUN apk add --update --no-cache make git 06:10:32 ---> Running in 8de3aae89700 06:10:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:10:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:10:35 OK: 166 MiB in 39 packages 06:10:35 Removing intermediate container 8de3aae89700 06:10:35 ---> a9264cc31986 06:10:35 Step 8/24 : COPY . . 06:10:35 ---> d3459cc8e00c 06:10:35 Step 9/24 : RUN ${MAKE} 06:10:35 ---> Running in 9c57f4e5312d 06:10:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:10:41 00ac8860ef70: Pull complete 06:10:41 63d7cb157983: Pull complete 06:10:41 b116817d02f9: Pull complete 06:10:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:10:45 745a02a5169b: Pull complete 06:10:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:10:45 ---> b7e6874047d6 06:10:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:10:46 Removing intermediate container 9c57f4e5312d 06:10:46 ---> fadc32bcb919 06:10:46 Step 10/24 : FROM scratch 06:10:46 ---> 06:10:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:10:46 ---> Running in a716efc4c850 06:10:46 Removing intermediate container a716efc4c850 06:10:46 ---> 73167aca8a08 06:10:46 Step 12/24 : ENV APP_PORT=49990 06:10:46 ---> Running in 7c7f9f0df239 06:10:46 Removing intermediate container 7c7f9f0df239 06:10:46 ---> bdba8d2792fb 06:10:46 Step 13/24 : EXPOSE $APP_PORT 06:10:46 ---> Running in cc4f10ed82cb 06:10:47 Removing intermediate container cc4f10ed82cb 06:10:47 ---> d546c6ce714b 06:10:47 Step 14/24 : WORKDIR / 06:10:47 ---> Running in 7a7e787ce5d0 06:10:47 Removing intermediate container 7a7e787ce5d0 06:10:47 ---> 45ed2181ce69 06:10:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:10:47 ---> 80bdca9cc00a 06:10:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:10:47 ---> Running in 9ffb82b90392 06:10:47 ---> e64e1db81eb2 06:10:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:10:48 ---> 23890882e774 06:10:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:10:48 Removing intermediate container 9ffb82b90392 06:10:48 ---> f9688213a691 06:10:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:48 ---> Running in 436ea82c19c7 06:10:48 ---> cfce772e0eec 06:10:48 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:10:48 ---> f20a78990021 06:10:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:10:48 ---> Running in 698d4800ee5a 06:10:49 Removing intermediate container 698d4800ee5a 06:10:49 ---> 39afc5a076aa 06:10:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:10:49 ---> Running in 28e67db12d4a 06:10:49 Removing intermediate container 28e67db12d4a 06:10:49 ---> 9a0d71a58db6 06:10:49 Step 22/24 : LABEL arch=amd64 06:10:49 ---> Running in 400faa341022 06:10:49 Removing intermediate container 400faa341022 06:10:49 ---> 1a7f5f9ea44a 06:10:49 Step 23/24 : LABEL git_sha=d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:10:49 ---> Running in 767bc31bc226 06:10:49 Removing intermediate container 767bc31bc226 06:10:49 ---> 2e2fb425926a 06:10:49 Step 24/24 : LABEL version=0.0.0 06:10:49 ---> Running in d294a2097660 06:10:49 Removing intermediate container d294a2097660 06:10:49 ---> 1c13b5ea4953 06:10:49 [Warning] One or more build-args [ARCH] were not consumed 06:10:49 Successfully built 1c13b5ea4953 06:10:49 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:10:51 Removing intermediate container 436ea82c19c7 06:10:51 ---> 3dd8ffa79712 06:10:51 Step 5/8 : RUN apk add --update --no-cache make git 06:10:51 ---> Running in 2c1ea8de8a1e [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:10:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:10:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:10:53 OK: 142 MiB in 39 packages 06:10:54 Removing intermediate container 2c1ea8de8a1e 06:10:54 ---> cfc6feafbd3d 06:10:54 Step 6/8 : WORKDIR /device-sdk-go 06:10:54 ---> Running in 337d0d0fa2e8 06:10:55 Removing intermediate container 337d0d0fa2e8 06:10:55 ---> 51dd2591c935 06:10:55 Step 7/8 : COPY . . 06:10:56 ---> 969df592a2f0 06:10:56 Step 8/8 : RUN go mod download 06:10:56 ---> Running in b02f3b3765c5 06:11:18 Removing intermediate container b02f3b3765c5 06:11:18 ---> 0114397f274d 06:11:18 Successfully built 0114397f274d 06:11:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:11:19 + docker inspect -f . ci-base-image-arm64 06:11:19 . [Pipeline] withDockerContainer 06:11:19 prd-ubuntu18.04-docker-arm64-4c-16g-18447 does not seem to be running inside a container 06:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:11:20 $ docker top e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:21 + go version 06:11:21 go version go1.15.5 linux/arm64 [Pipeline] } 06:11:21 $ docker stop --time=1 e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 06:11:23 $ docker rm -f e91509b0fdddfd263a0c6c47d282a59412b21a821b862493e73996025e523375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:11:25 + docker inspect -f . ci-base-image-arm64 06:11:25 . [Pipeline] withDockerContainer 06:11:25 prd-ubuntu18.04-docker-arm64-4c-16g-18447 does not seem to be running inside a container 06:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:11:26 $ docker top 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:28 + make test 06:11:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:11:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:12:29 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:12:29 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:12:29 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:12:29 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 19.4% of statements 06:12:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.238s coverage: 97.1% of statements 06:13:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.155s coverage: 9.4% of statements 06:13:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:13:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.631s coverage: 42.5% of statements 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:13:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.813s coverage: 68.9% of statements 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:13:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.196s coverage: 53.8% of statements 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:13:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:13:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.714s coverage: 68.9% of statements 06:13:01 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements 06:13:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:13:01 GO111MODULE=on go vet ./... 06:13:33 gofmt -l . 06:13:33 [ "`gofmt -l .`" = "" ] 06:13:33 ./bin/test-attribution-txt.sh 06:13:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:13:33 $ docker stop --time=1 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 06:13:36 $ docker rm -f 872bd15f9b2035ad2a2cb834786f174c4039f068832f90ed41f158125f361639 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:13:37 Warning: overwriting stash ‘coverage-report’ 06:13:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:13:39 + ls -al . 06:13:39 total 244 06:13:39 drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 06:13 . 06:13:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 .. 06:13:39 -rw-rw-r-- 1 jenkins jenkins 140 Jan 5 06:10 .dockerignore 06:13:39 drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 06:10 .git 06:13:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 06:10 .github 06:13:39 -rw-rw-r-- 1 jenkins jenkins 138 Jan 5 06:10 .gitignore 06:13:39 -rw-rw-r-- 1 jenkins jenkins 949 Jan 5 06:10 Dockerfile.build 06:13:39 -rw-rw-r-- 1 jenkins jenkins 901 Jan 5 06:10 Jenkinsfile 06:13:39 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 5 06:10 LICENSE 06:13:39 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 5 06:10 Makefile 06:13:39 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 5 06:10 README.md 06:13:39 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 5 06:10 RELEASE-NOTES.txt 06:13:39 -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 06:06 VERSION 06:13:39 drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 06:10 bin 06:13:39 -rw-r--r-- 1 jenkins jenkins 130526 Jan 5 06:13 coverage.out 06:13:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 example 06:13:39 -rw-r--r-- 1 jenkins jenkins 488 Jan 5 06:13 go.mod 06:13:39 -rw-r--r-- 1 jenkins jenkins 13716 Jan 5 06:13 go.sum 06:13:39 drwxrwxr-x 15 jenkins jenkins 4096 Jan 5 06:10 internal 06:13:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 openapi 06:13:39 drwxrwxr-x 5 jenkins jenkins 4096 Jan 5 06:10 pkg 06:13:39 drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 06:10 snap 06:13:39 -rw-rw-r-- 1 jenkins jenkins 222 Jan 5 06:10 version.go [Pipeline] isUnix [Pipeline] sh 06:13:40 + 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=d8f4899b78a5bc556b0f89fb2be28fb908835fbe --label arch=arm64 --label version=0.0.0 . 06:13:40 Sending build context to Docker daemon 2.557MB 06:13:40 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:13:40 Step 2/24 : FROM ${BASE} AS builder 06:13:40 ---> 0114397f274d 06:13:40 Step 3/24 : ARG MAKE='make build' 06:13:41 ---> Running in 1588411fc4c4 06:13:41 Removing intermediate container 1588411fc4c4 06:13:41 ---> 05aac43f8d14 06:13:41 Step 4/24 : WORKDIR /device-sdk-go 06:13:41 ---> Running in 3c079a5692c3 06:13:42 Removing intermediate container 3c079a5692c3 06:13:42 ---> 3ba94066a9fd 06:13:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:13:42 ---> Running in a243e78e036f 06:13:42 Removing intermediate container a243e78e036f 06:13:42 ---> 37e9ef8cadcc 06:13:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:13:42 ---> Running in 20d6b2adb8a3 06:13:45 Removing intermediate container 20d6b2adb8a3 06:13:45 ---> 1e63ba8842d6 06:13:45 Step 7/24 : RUN apk add --update --no-cache make git 06:13:45 ---> Running in 2e9cef662dbb 06:13:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:13:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:13:49 OK: 142 MiB in 39 packages 06:13:50 Removing intermediate container 2e9cef662dbb 06:13:50 ---> 4b061aa2998c 06:13:50 Step 8/24 : COPY . . 06:13:52 ---> 2606d020c37e 06:13:52 Step 9/24 : RUN ${MAKE} 06:13:52 ---> Running in 7b379bdf245e 06:13:53 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:14:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:14:20 Removing intermediate container 7b379bdf245e 06:14:20 ---> 10d969969490 06:14:20 Step 10/24 : FROM scratch 06:14:20 ---> 06:14:20 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:14:20 ---> Running in 2aceb7128930 06:14:20 Removing intermediate container 2aceb7128930 06:14:20 ---> da5e50430be1 06:14:20 Step 12/24 : ENV APP_PORT=49990 06:14:20 ---> Running in fe7850ed8d9b 06:14:21 Removing intermediate container fe7850ed8d9b 06:14:21 ---> c92b23d5733f 06:14:21 Step 13/24 : EXPOSE $APP_PORT 06:14:21 ---> Running in b8fb670d3b7f 06:14:21 Removing intermediate container b8fb670d3b7f 06:14:21 ---> 80e80e3f3350 06:14:21 Step 14/24 : WORKDIR / 06:14:21 ---> Running in 1e1dee100a01 06:14:22 Removing intermediate container 1e1dee100a01 06:14:22 ---> 71257381dc23 06:14:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:14:23 ---> 7a8eca74603e 06:14:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:14:23 ---> a76ee426e7c8 06:14:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:14:24 ---> a008937a9948 06:14:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:14:25 ---> f346393a00f8 06:14:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:14:25 ---> 5a4bf1eee266 06:14:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:14:25 ---> Running in 219208669d9f 06:14:26 Removing intermediate container 219208669d9f 06:14:26 ---> e31c32c34460 06:14:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:14:26 ---> Running in 42ed7b1e4d1b 06:14:27 Removing intermediate container 42ed7b1e4d1b 06:14:27 ---> 64085b171230 06:14:27 Step 22/24 : LABEL arch=arm64 06:14:27 ---> Running in 923b008c2ee9 06:14:27 Removing intermediate container 923b008c2ee9 06:14:27 ---> 430a7ec6918f 06:14:27 Step 23/24 : LABEL git_sha=d8f4899b78a5bc556b0f89fb2be28fb908835fbe 06:14:27 ---> Running in 0dfab587652f 06:14:28 Removing intermediate container 0dfab587652f 06:14:28 ---> e17188cd344b 06:14:28 Step 24/24 : LABEL version=0.0.0 06:14:28 ---> Running in a255abb29764 06:14:28 Removing intermediate container a255abb29764 06:14:28 ---> bfee6ee6abd3 06:14:28 [Warning] One or more build-args [ARCH] were not consumed 06:14:28 Successfully built bfee6ee6abd3 06:14:28 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] } [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 06:14:32 provisioning config files... 06:14:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config7731447622123576667tmp [Pipeline] { [Pipeline] sh 06:14:32 + set +x 06:14:32 + curl -s https://codecov.io/bash 06:14:32 + bash -s -- 06:14:32 06:14:32 _____ _ 06:14:32 / ____| | | 06:14:32 | | ___ __| | ___ ___ _____ __ 06:14:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:14:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:14:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:14:32 Bash-20201231-23d4836 06:14:32 06:14:32 06:14:32 ==> git version 2.24.3 found 06:14:33 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:14:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:14:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:14:33 ==> Jenkins CI detected. 06:14:33 project root: . 06:14:33 --> token set from env 06:14:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:14:33 ==> Running gcov in . (disable via -X gcov) 06:14:33 ==> Python coveragepy not found 06:14:33 ==> Searching for coverage reports in: 06:14:33 + . 06:14:33 -> Found 1 reports 06:14:33 ==> Detecting git/mercurial file structure 06:14:33 ==> Reading reports 06:14:33 + ./coverage.out bytes=130526 06:14:33 ==> Appending adjustments 06:14:33 https://docs.codecov.io/docs/fixing-reports 06:14:33 + Found adjustments 06:14:33 ==> Gzipping contents 06:14:33 24K /tmp/codecov.cjQxZx.gz 06:14:33 ==> Uploading reports 06:14:33 url: https://codecov.io 06:14:33 query: branch=PR-715&commit=d8f4899b78a5bc556b0f89fb2be28fb908835fbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= 06:14:33 -> Pinging Codecov 06:14:33 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-715&commit=d8f4899b78a5bc556b0f89fb2be28fb908835fbe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-715%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=715&job=&cmd_args= 06:14:34 -> Uploading to 06:14:34 https://storage.googleapis.com/codecov/v4/raw/2021-01-05/7E55EF52A471D76F132DFD9A03CDDE97/d8f4899b78a5bc556b0f89fb2be28fb908835fbe/0d737a1e-017f-49c7-9c59-6bdfc079c635.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210105T061433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f18352fbfff8fbd026df89fb93fb201b41959e4a261923e10c9844a20965b3f4 06:14:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:34 Dload Upload Total Spent Left Speed 06:14:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21245 0 0 100 21245 0 48335 --:--:-- --:--:-- --:--:-- 48394 06:14:34 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d8f4899b78a5bc556b0f89fb2be28fb908835fbe [Pipeline] } 06:14:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:14:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:38 ---> package-listing.sh 06:14:38 ++ facter osfamily 06:14:38 ++ tr '[:upper:]' '[:lower:]' 06:14:38 + OS_FAMILY=redhat 06:14:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-715 06:14:38 + START_PACKAGES=/tmp/packages_start.txt 06:14:38 + END_PACKAGES=/tmp/packages_end.txt 06:14:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:38 + PACKAGES=/tmp/packages_start.txt 06:14:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' 06:14:38 + PACKAGES=/tmp/packages_end.txt 06:14:38 + case "${OS_FAMILY}" in 06:14:38 + rpm -qa 06:14:38 + sort 06:14:44 + '[' -f /tmp/packages_start.txt ']' 06:14:44 + '[' -f /tmp/packages_end.txt ']' 06:14:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-715 ']' 06:14:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ 06:14:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-715/archives/ [Pipeline] echo 06:14:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-715/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:14:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:14:44 06:14:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:14:45 alpine: Pulling from edgex-lftools-log-publisher 06:14:45 df20fa9351a1: Pulling fs layer 06:14:45 36b3adc4ff6f: Pulling fs layer 06:14:45 8ad3a11d3b57: Pulling fs layer 06:14:45 46f8f816bc3b: Pulling fs layer 06:14:45 93b61091891f: Pulling fs layer 06:14:45 93b9cdb0e59b: Pulling fs layer 06:14:45 5e14af77c1be: Pulling fs layer 06:14:45 01666e4c0597: Pulling fs layer 06:14:45 aa168da1d23b: Pulling fs layer 06:14:45 93b9cdb0e59b: Waiting 06:14:45 5e14af77c1be: Waiting 06:14:45 01666e4c0597: Waiting 06:14:45 aa168da1d23b: Waiting 06:14:45 46f8f816bc3b: Waiting 06:14:45 93b61091891f: Waiting 06:14:45 36b3adc4ff6f: Verifying Checksum 06:14:45 36b3adc4ff6f: Download complete 06:14:45 46f8f816bc3b: Download complete 06:14:45 df20fa9351a1: Verifying Checksum 06:14:45 df20fa9351a1: Download complete 06:14:45 93b9cdb0e59b: Verifying Checksum 06:14:45 93b9cdb0e59b: Download complete 06:14:45 5e14af77c1be: Verifying Checksum 06:14:45 5e14af77c1be: Download complete 06:14:45 93b61091891f: Verifying Checksum 06:14:45 93b61091891f: Download complete 06:14:45 01666e4c0597: Verifying Checksum 06:14:45 01666e4c0597: Download complete 06:14:45 8ad3a11d3b57: Verifying Checksum 06:14:45 8ad3a11d3b57: Download complete 06:14:45 df20fa9351a1: Pull complete 06:14:45 36b3adc4ff6f: Pull complete 06:14:46 8ad3a11d3b57: Pull complete 06:14:47 46f8f816bc3b: Pull complete 06:14:47 93b61091891f: Pull complete 06:14:47 aa168da1d23b: Verifying Checksum 06:14:47 aa168da1d23b: Download complete 06:14:48 93b9cdb0e59b: Pull complete 06:14:48 5e14af77c1be: Pull complete 06:14:48 01666e4c0597: Pull complete 06:14:55 aa168da1d23b: Pull complete 06:14:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:14:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:14:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:14:55 prd-centos7-docker-4c-2g-18440 does not seem to be running inside a container 06:14:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-715/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-715 -v /w/workspace/dgexfoundry_device-sdk-go_PR-715:/w/workspace/dgexfoundry_device-sdk-go_PR-715:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:14:58 $ docker top 8c87e8cf71643001be92418fa889341db5313fb42b77118300b3761a8c77466a -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:14:59 + mkdir -p /var/log/sa [Pipeline] sh 06:14:59 + ls /var/log/sa-host 06:14:59 + sadf -c /var/log/sa-host/sa05 06:14:59 file_magic: OK 06:14:59 HZ: Using current value: 100 06:14:59 file_header: OK 06:14:59 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 06:14:59 Statistics: 06:14:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:14:59 File successfully converted to sysstat format version 12.2.1 06:14:59 + sadf -c /var/log/sa-host/sa23 06:14:59 file_magic: OK 06:14:59 HZ: Using current value: 100 06:14:59 file_header: OK 06:14:59 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 06:14:59 Statistics: 06:14:59 Hnuu...uuuununununu... 06:14:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:00 provisioning config files... 06:15:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-715@tmp/config2742339106229644291tmp [Pipeline] { [Pipeline] echo 06:15:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:15:00 ---> create-netrc.sh [Pipeline] } 06:15:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:15:00 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:15:01 ---> python-tools-install.sh [Pipeline] echo 06:15:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:15:01 ---> sudo-logs.sh 06:15:01 Archiving 'sudo' log.. [Pipeline] echo 06:15:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:15:02 ---> job-cost.sh 06:15:02 lf-activate-venv: SKIPPING 06:15:02 INFO: No Stack... 06:15:04 INFO: Retrieving Pricing Info for: v1-standard-2 06:15:04 INFO: Archiving Costs [Pipeline] echo 06:15:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:15:05 ---> logs-deploy.sh 06:15:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-715/1 06:15:05 INFO: archiving workspace using pattern(s): 06:15:07 Archives upload complete. 06:15:07 INFO: archiving logs to Nexus