Pull request #738 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dd82d30efdce0c7c03bbef2a4778dc48fdaaa401+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (58302adbc20b73b362a78390eb695c62af60038e) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-738/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-738/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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20967 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [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-738 # 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 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 > 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/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 Commit message: "refactor: remove ValueType enumeration in Go-SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:51:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:51:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:51:18 ========================================================= 08:51:18 EdgeX Global Pipelines Version Info 08:51:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:51:19 ------------------- 08:51:19 stable info: 08:51:19 ------------------- 08:51:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:51:19 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 08:51:19 Message: update stable to v1.0.177 08:51:20 ------------------- 08:51:20 experimental info: 08:51:20 ------------------- 08:51:20 Commited By: **** collab-it+edgex@linuxfoundation.org 08:51:20 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 08:51:20 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:51:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:51:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:51:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:51:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-738 [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-738 [Pipeline] echo 08:51:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-738 [Pipeline] echo 08:51:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] echo 08:51:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd82d30 [Pipeline] echo 08:51:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:25 provisioning config files... 08:51:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config9109391243012800249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:26 ---> docker-login.sh 08:51:26 nexus3.edgexfoundry.org:10001 08:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:26 Configure a credential helper to remove this warning. See 08:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:26 08:51:26 Login Succeeded 08:51:26 nexus3.edgexfoundry.org:10002 08:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:26 Configure a credential helper to remove this warning. See 08:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:26 08:51:26 Login Succeeded 08:51:26 nexus3.edgexfoundry.org:10003 08:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:26 Configure a credential helper to remove this warning. See 08:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:26 08:51:26 Login Succeeded 08:51:26 nexus3.edgexfoundry.org:10004 08:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:26 Configure a credential helper to remove this warning. See 08:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:26 08:51:26 Login Succeeded 08:51:26 docker.io 08:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:27 Configure a credential helper to remove this warning. See 08:51:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:27 08:51:27 Login Succeeded 08:51:27 ---> docker-login.sh ends [Pipeline] } 08:51:27 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 08:51:28 + git log --format=format:%s -1 dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] echo 08:51:28 GIT_COMMIT: dd82d30efdce0c7c03bbef2a4778dc48fdaaa401, Commit Message: refactor: remove ValueType enumeration in Go-SDK [Pipeline] echo 08:51:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:51:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:29 08:51:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:51:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:29 latest: Pulling from edgex-devops/git-semver 08:51:29 31603596830f: Pulling fs layer 08:51:29 2a8b12db71e7: Pulling fs layer 08:51:29 6ca5941a6612: Pulling fs layer 08:51:29 ecc8261a40a4: Pulling fs layer 08:51:29 ecc8261a40a4: Waiting 08:51:29 2a8b12db71e7: Verifying Checksum 08:51:29 2a8b12db71e7: Download complete 08:51:29 31603596830f: Verifying Checksum 08:51:29 31603596830f: Download complete 08:51:30 ecc8261a40a4: Verifying Checksum 08:51:30 ecc8261a40a4: Download complete 08:51:30 6ca5941a6612: Verifying Checksum 08:51:30 6ca5941a6612: Download complete 08:51:30 31603596830f: Pull complete 08:51:30 2a8b12db71e7: Pull complete 08:51:30 6ca5941a6612: Pull complete 08:51:31 ecc8261a40a4: Pull complete 08:51:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:51:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:51:31 prd-centos7-docker-4c-2g-20967 does not seem to be running inside a container 08:51:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:51:33 $ docker top d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:33 [ssh-agent] Looking for ssh-agent implementation... 08:51:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:33 $ docker exec d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent 08:51:33 SSH_AUTH_SOCK=/tmp/ssh-9VhKTi8gPGDa/agent.12 08:51:33 SSH_AGENT_PID=17 08:51:33 Running ssh-add (command line suppressed) 08:51:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_542187976264196137.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_542187976264196137.key) 08:51:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:34 + git tag --points-at HEAD [Pipeline] } 08:51:34 $ docker exec --env ******** --env ******** d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent -k 08:51:34 unset SSH_AUTH_SOCK; 08:51:34 unset SSH_AGENT_PID; 08:51:34 echo Agent pid 17 killed; 08:51:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:51:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:34 [ssh-agent] Looking for ssh-agent implementation... 08:51:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:34 $ docker exec d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent 08:51:35 SSH_AUTH_SOCK=/tmp/ssh-S8U5J295Qej5/agent.45 08:51:35 SSH_AGENT_PID=50 08:51:35 Running ssh-add (command line suppressed) 08:51:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2173055171755343200.key (/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/private_key_2173055171755343200.key) 08:51:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:35 + git semver init 08:51:35 # -> Open(): unable to determine branch for HEAD 08:51:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.git 08:51:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-738 08:51:35 # $SEMVER_REMOTE_NAME = origin 08:51:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:51:35 # $SEMVER_USER_NAME = edgex-jenkins 08:51:35 # $SEMVER_BRANCH = PR-738 08:51:35 # $SEMVER_TEMP = /tmp/semver-532326631 08:51:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:51:36 # '/tmp/semver-532326631' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver' 08:51:36 # -> Force: false 08:51:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-738/.semver [Pipeline] } 08:51:36 $ docker exec --env ******** --env ******** d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 ssh-agent -k 08:51:36 unset SSH_AUTH_SOCK; 08:51:36 unset SSH_AGENT_PID; 08:51:36 echo Agent pid 50 killed; 08:51:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:36 + git semver [Pipeline] } 08:51:36 $ docker stop --time=1 d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 08:51:39 $ docker rm -f d4d32b20229bd23d41edbc5bffc86e6ebc0fb3ad981962d2626c0c8b63bcab95 [Pipeline] // withDockerContainer [Pipeline] sh 08:51:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:51:40 Stashed 1 file(s) [Pipeline] echo 08:51:40 [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 08:51:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20954 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws 08:51:41 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:51:45 using credential edgex-jenkins-ssh 08:51:45 Cloning the remote Git repository 08:51:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:51:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:51:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:46 > git --version # timeout=10 08:51:46 > git --version # 'git version 2.17.1' 08:51:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:51:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:51:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:51:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:51:47 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:51:48 Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:51:48 Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) 08:51:47 > git config core.sparsecheckout # timeout=10 08:51:47 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 08:51:48 > git remote # timeout=10 08:51:48 > git config --get remote.origin.url # timeout=10 08:51:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:51:48 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 08:51:48 > git rev-parse HEAD^{commit} # timeout=10 08:51:48 > git config core.sparsecheckout # timeout=10 08:51:48 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 08:51:52 Commit message: "refactor: remove ValueType enumeration in Go-SDK" 08:51:52 > git --version # timeout=10 08:51:52 > git --version # 'git version 2.17.1' 08:51:52 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:54 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:51:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:51:54 + true 08:51:54 + sudo service docker restart 08:51:55 Still waiting to schedule task 08:51:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:51:57 provisioning config files... 08:51:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4841895949312520933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:57 ---> docker-login.sh 08:51:57 nexus3.edgexfoundry.org:10001 08:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:58 Configure a credential helper to remove this warning. See 08:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:58 08:51:58 Login Succeeded 08:51:58 nexus3.edgexfoundry.org:10002 08:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:59 Configure a credential helper to remove this warning. See 08:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:59 08:51:59 Login Succeeded 08:51:59 nexus3.edgexfoundry.org:10003 08:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:59 Configure a credential helper to remove this warning. See 08:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:59 08:51:59 Login Succeeded 08:51:59 nexus3.edgexfoundry.org:10004 08:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:00 Configure a credential helper to remove this warning. See 08:52:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:00 08:52:00 Login Succeeded 08:52:00 docker.io 08:52:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:52:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:52:01 Configure a credential helper to remove this warning. See 08:52:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:52:01 08:52:01 Login Succeeded 08:52:01 ---> docker-login.sh ends [Pipeline] } 08:52:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:52:01 ========================================================= 08:52:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:52:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:52:02 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 08:52:02 Sending build context to Docker daemon 2.566MB 08:52:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:52:02 Step 2/8 : FROM ${BASE} 08:52:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:52:02 5f621e34cdf4: Pulling fs layer 08:52:02 a4357932f1b6: Pulling fs layer 08:52:02 18c013af1878: Pulling fs layer 08:52:02 00ac8860ef70: Pulling fs layer 08:52:02 63d7cb157983: Pulling fs layer 08:52:02 b116817d02f9: Pulling fs layer 08:52:02 745a02a5169b: Pulling fs layer 08:52:02 63d7cb157983: Waiting 08:52:02 00ac8860ef70: Waiting 08:52:02 b116817d02f9: Waiting 08:52:02 745a02a5169b: Waiting 08:52:02 18c013af1878: Verifying Checksum 08:52:02 18c013af1878: Download complete 08:52:02 a4357932f1b6: Verifying Checksum 08:52:02 a4357932f1b6: Download complete 08:52:02 63d7cb157983: Verifying Checksum 08:52:02 63d7cb157983: Download complete 08:52:02 b116817d02f9: Verifying Checksum 08:52:02 b116817d02f9: Download complete 08:52:02 5f621e34cdf4: Verifying Checksum 08:52:02 5f621e34cdf4: Download complete 08:52:03 5f621e34cdf4: Pull complete 08:52:03 a4357932f1b6: Pull complete 08:52:04 18c013af1878: Pull complete 08:52:05 745a02a5169b: Verifying Checksum 08:52:05 745a02a5169b: Download complete 08:52:06 00ac8860ef70: Verifying Checksum 08:52:06 00ac8860ef70: Download complete 08:52:16 00ac8860ef70: Pull complete 08:52:17 63d7cb157983: Pull complete 08:52:17 b116817d02f9: Pull complete 08:52:21 745a02a5169b: Pull complete 08:52:21 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:52:21 ---> b7e6874047d6 08:52:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:52:24 ---> Running in 0105fb40b41d 08:52:24 Removing intermediate container 0105fb40b41d 08:52:24 ---> aec7d89a0659 08:52:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:24 ---> Running in d4c89b94c0eb 08:52:27 Removing intermediate container d4c89b94c0eb 08:52:27 ---> 37c34d7677d1 08:52:27 Step 5/8 : RUN apk add --update --no-cache make git 08:52:27 ---> Running in e71af25e2480 08:52:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:52:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:52:29 OK: 142 MiB in 39 packages 08:52:30 Removing intermediate container e71af25e2480 08:52:30 ---> 19520df34813 08:52:30 Step 6/8 : WORKDIR /device-sdk-go 08:52:30 ---> Running in 8c1dd347610a 08:52:31 Removing intermediate container 8c1dd347610a 08:52:31 ---> 55f7f346352f 08:52:31 Step 7/8 : COPY . . 08:52:32 ---> 6387b146231c 08:52:32 Step 8/8 : RUN go mod download 08:52:32 ---> Running in d80ba915aa71 08:52:54 Removing intermediate container d80ba915aa71 08:52:54 ---> dd79819a24b9 08:52:54 Successfully built dd79819a24b9 08:52:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:52:55 + docker inspect -f . ci-base-image-arm64 08:52:55 . [Pipeline] withDockerContainer 08:52:55 prd-ubuntu18.04-docker-arm64-4c-16g-20954 does not seem to be running inside a container 08:52:55 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:52:57 $ docker top 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:58 + go version 08:52:58 go version go1.15.5 linux/arm64 [Pipeline] } 08:52:58 $ docker stop --time=1 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 08:53:00 $ docker rm -f 6130f120e34ab1b83b437137e7d3d468d1761e963f1129d666a1cfa4677d1fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:53:01 + docker inspect -f . ci-base-image-arm64 08:53:01 . [Pipeline] withDockerContainer 08:53:01 prd-ubuntu18.04-docker-arm64-4c-16g-20954 does not seem to be running inside a container 08:53:01 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 08:53:03 $ docker top ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 -eo pid,comm [Pipeline] { [Pipeline] sh 08:53:04 + make test 08:53:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:53:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:54:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:54:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:54:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:54:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 19.4% of statements 08:54:08 Running on prd-centos7-docker-4c-2g-20969 in /w/workspace/dgexfoundry_device-sdk-go_PR-738 [Pipeline] { [Pipeline] ws 08:54:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:54:10 using credential edgex-jenkins-ssh 08:54:10 Cloning the remote Git repository 08:54:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.211s coverage: 97.1% of statements 08:54:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:54:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:54:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:54:10 > git --version # timeout=10 08:54:10 > git --version # 'git version 2.24.3' 08:54:10 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:54:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:54:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:54:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:54:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:54:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/738/head:refs/remotes/origin/PR-738 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:54:12 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:54:12 Merge succeeded, producing dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:54:12 Checking out Revision dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 (PR-738) 08:54:12 > git config core.sparsecheckout # timeout=10 08:54:12 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 08:54:12 > git remote # timeout=10 08:54:12 > git config --get remote.origin.url # timeout=10 08:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:54:12 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 08:54:12 > git rev-parse HEAD^{commit} # timeout=10 08:54:12 > git config core.sparsecheckout # timeout=10 08:54:12 > git checkout -f dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 # timeout=10 08:54:16 Commit message: "refactor: remove ValueType enumeration in Go-SDK" 08:54:16 > git --version # timeout=10 08:54:16 > git --version # 'git version 2.24.3' 08:54:16 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:54:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:54:18 + sudo service docker restart 08:54:18 + true 08:54:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:54:19 provisioning config files... 08:54:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8180592290057865982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:19 ---> docker-login.sh 08:54:19 nexus3.edgexfoundry.org:10001 08:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:20 Configure a credential helper to remove this warning. See 08:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:20 08:54:20 Login Succeeded 08:54:20 nexus3.edgexfoundry.org:10002 08:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:20 Configure a credential helper to remove this warning. See 08:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:20 08:54:20 Login Succeeded 08:54:20 nexus3.edgexfoundry.org:10003 08:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:20 Configure a credential helper to remove this warning. See 08:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:20 08:54:20 Login Succeeded 08:54:20 nexus3.edgexfoundry.org:10004 08:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:20 Configure a credential helper to remove this warning. See 08:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:20 08:54:20 Login Succeeded 08:54:20 docker.io 08:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:21 Configure a credential helper to remove this warning. See 08:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:21 08:54:21 Login Succeeded 08:54:21 ---> docker-login.sh ends [Pipeline] } 08:54:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:54:21 ========================================================= 08:54:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:54:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:54:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:54:22 Sending build context to Docker daemon 2.56MB 08:54:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:54:22 Step 2/8 : FROM ${BASE} 08:54:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:54:22 188c0c94c7c5: Pulling fs layer 08:54:22 0ef7d3d256c8: Pulling fs layer 08:54:22 de9db76c5a1d: Pulling fs layer 08:54:22 bca2f99d35d6: Pulling fs layer 08:54:22 93359f2a8cfa: Pulling fs layer 08:54:22 7c6f9722023f: Pulling fs layer 08:54:22 a35cf1a2eb13: Pulling fs layer 08:54:22 bca2f99d35d6: Waiting 08:54:22 7c6f9722023f: Waiting 08:54:22 93359f2a8cfa: Waiting 08:54:22 a35cf1a2eb13: Waiting 08:54:22 de9db76c5a1d: Verifying Checksum 08:54:22 de9db76c5a1d: Download complete 08:54:22 0ef7d3d256c8: Verifying Checksum 08:54:22 0ef7d3d256c8: Download complete 08:54:22 93359f2a8cfa: Verifying Checksum 08:54:22 93359f2a8cfa: Download complete 08:54:22 188c0c94c7c5: Verifying Checksum 08:54:22 188c0c94c7c5: Download complete 08:54:22 7c6f9722023f: Verifying Checksum 08:54:22 7c6f9722023f: Download complete 08:54:22 188c0c94c7c5: Pull complete 08:54:22 0ef7d3d256c8: Pull complete 08:54:22 de9db76c5a1d: Pull complete 08:54:24 a35cf1a2eb13: Verifying Checksum 08:54:24 a35cf1a2eb13: Download complete 08:54:25 bca2f99d35d6: Verifying Checksum 08:54:25 bca2f99d35d6: Download complete 08:54:30 bca2f99d35d6: Pull complete 08:54:30 93359f2a8cfa: Pull complete 08:54:30 7c6f9722023f: Pull complete 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.122s coverage: 9.4% of statements 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 21.7% of statements 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.621s coverage: 42.9% of statements 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.744s coverage: 68.9% of statements 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 53.8% of statements 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 30.4% of statements 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.738s coverage: 83.5% of statements 08:54:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements 08:54:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:54:38 GO111MODULE=on go vet ./... 08:54:40 a35cf1a2eb13: Pull complete 08:54:40 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:54:40 ---> a62c8e92a672 08:54:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:54:40 ---> Running in af1eb170491c 08:54:40 Removing intermediate container af1eb170491c 08:54:40 ---> d0a1c7177db1 08:54:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:40 ---> Running in a1f0336fdad5 08:54:41 Removing intermediate container a1f0336fdad5 08:54:41 ---> 6f76e015d828 08:54:41 Step 5/8 : RUN apk add --update --no-cache make git 08:54:41 ---> Running in 65798c0b2678 08:54:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:54:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:54:43 OK: 166 MiB in 39 packages 08:54:43 Removing intermediate container 65798c0b2678 08:54:43 ---> db351208a590 08:54:43 Step 6/8 : WORKDIR /device-sdk-go 08:54:43 ---> Running in b1872affbdde 08:54:43 Removing intermediate container b1872affbdde 08:54:43 ---> fdfa8b0dbd48 08:54:43 Step 7/8 : COPY . . 08:54:45 ---> 1bf65e2541b1 08:54:45 Step 8/8 : RUN go mod download 08:54:45 ---> Running in db454cc9538b 08:55:03 Removing intermediate container db454cc9538b 08:55:03 ---> 7db56c58b553 08:55:03 Successfully built 7db56c58b553 08:55:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:55:03 + docker inspect -f . ci-base-image-x86_64 08:55:03 . [Pipeline] withDockerContainer 08:55:04 prd-centos7-docker-4c-2g-20969 does not seem to be running inside a container 08:55:04 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:04 $ docker top 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:05 + go version 08:55:05 go version go1.15.5 linux/amd64 [Pipeline] } 08:55:05 $ docker stop --time=1 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 08:55:06 $ docker rm -f 6ab3f562da1c13bc80349eefee72ee8a2eb3f6728cf89f625365c0e75c954bf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:55:07 + docker inspect -f . ci-base-image-x86_64 08:55:07 . [Pipeline] withDockerContainer 08:55:08 prd-centos7-docker-4c-2g-20969 does not seem to be running inside a container 08:55:08 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:55:08 $ docker top 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:09 + make test 08:55:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:55:10 gofmt -l . 08:55:10 [ "`gofmt -l .`" = "" ] 08:55:10 ./bin/test-attribution-txt.sh 08:55:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:55:12 $ docker stop --time=1 ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 08:55:14 $ docker rm -f ab29e35a247126bb1c58584d8aa4fc20336fd30f0374ab2fa6f0e71398140279 [Pipeline] // withDockerContainer [Pipeline] sh 08:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:55:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:55:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:55:19 + ls -al . 08:55:19 total 252 08:55:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 08:55 . 08:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 .. 08:55:19 -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 08:51 .dockerignore 08:55:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 08:51 .git 08:55:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:51 .github 08:55:19 -rw-rw-r-- 1 jenkins jenkins 138 Jan 18 08:51 .gitignore 08:55:19 -rw-rw-r-- 1 jenkins jenkins 949 Jan 18 08:51 Dockerfile.build 08:55:19 -rw-rw-r-- 1 jenkins jenkins 901 Jan 18 08:51 Jenkinsfile 08:55:19 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 18 08:51 LICENSE 08:55:19 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 18 08:51 Makefile 08:55:19 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 18 08:51 README.md 08:55:19 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 18 08:51 RELEASE-NOTES.txt 08:55:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 08:51 VERSION 08:55:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 08:51 bin 08:55:19 -rw-r--r-- 1 jenkins jenkins 136158 Jan 18 08:54 coverage.out 08:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 example 08:55:19 -rw-r--r-- 1 jenkins jenkins 491 Jan 18 08:55 go.mod 08:55:19 -rw-r--r-- 1 jenkins jenkins 14124 Jan 18 08:55 go.sum 08:55:19 drwxrwxr-x 15 jenkins jenkins 4096 Jan 18 08:51 internal 08:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 openapi 08:55:19 drwxrwxr-x 5 jenkins jenkins 4096 Jan 18 08:51 pkg 08:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 08:51 snap 08:55:19 -rw-rw-r-- 1 jenkins jenkins 222 Jan 18 08:51 version.go [Pipeline] isUnix [Pipeline] sh 08:55:20 + 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=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 --label arch=arm64 --label version=0.0.0 . 08:55:20 Sending build context to Docker daemon 2.703MB 08:55:20 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:55:20 Step 2/24 : FROM ${BASE} AS builder 08:55:20 ---> dd79819a24b9 08:55:20 Step 3/24 : ARG MAKE='make build' 08:55:21 ---> Running in a86fb4f9cee3 08:55:21 Removing intermediate container a86fb4f9cee3 08:55:21 ---> 4c5d10e2b2e6 08:55:21 Step 4/24 : WORKDIR /device-sdk-go 08:55:21 ---> Running in 8abaebb0e8fe 08:55:22 Removing intermediate container 8abaebb0e8fe 08:55:22 ---> 02e9c2614cf3 08:55:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:22 ---> Running in 5181e529aae1 08:55:22 Removing intermediate container 5181e529aae1 08:55:22 ---> d04cf1fe3f69 08:55:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:55:22 ---> Running in c830e669ae72 08:55:25 Removing intermediate container c830e669ae72 08:55:25 ---> 7c7d42ff9cd4 08:55:25 Step 7/24 : RUN apk add --update --no-cache make git 08:55:25 ---> Running in b57cba695021 08:55:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:55:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:55:27 OK: 142 MiB in 39 packages 08:55:29 Removing intermediate container b57cba695021 08:55:29 ---> 2d0f64b1b420 08:55:29 Step 8/24 : COPY . . 08:55:30 ---> 3789ce38ce77 08:55:30 Step 9/24 : RUN ${MAKE} 08:55:30 ---> Running in c4cec55e189c 08:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:55:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements 08:55:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:55:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.463s coverage: 97.1% of statements 08:55:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:55:58 Removing intermediate container c4cec55e189c 08:55:58 ---> e347239ff39c 08:55:58 Step 10/24 : FROM scratch 08:55:58 ---> 08:55:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:55:58 ---> Running in 388d266129bf 08:55:58 Removing intermediate container 388d266129bf 08:55:58 ---> b728e8a04950 08:55:58 Step 12/24 : ENV APP_PORT=49990 08:55:58 ---> Running in b4a011e878d6 08:55:59 Removing intermediate container b4a011e878d6 08:55:59 ---> e24141a3305d 08:55:59 Step 13/24 : EXPOSE $APP_PORT 08:55:59 ---> Running in 7dbfb06ef1b6 08:55:59 Removing intermediate container 7dbfb06ef1b6 08:55:59 ---> da5e33e05308 08:55:59 Step 14/24 : WORKDIR / 08:55:59 ---> Running in 2d835a0bafc4 08:56:00 Removing intermediate container 2d835a0bafc4 08:56:00 ---> 7a2d30ab6bcc 08:56:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:56:01 ---> a6f04fd4098d 08:56:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:56:02 ---> 0e6c35aac6f8 08:56:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:56:02 ---> 204cd5886094 08:56:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:56:03 ---> cb267bc40a99 08:56:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:56:04 ---> f97e0f41996a 08:56:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:56:04 ---> Running in 11c794785bd6 08:56:04 Removing intermediate container 11c794785bd6 08:56:04 ---> c3427728d851 08:56:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:56:05 ---> Running in 4e6ecc1ba723 08:56:05 Removing intermediate container 4e6ecc1ba723 08:56:05 ---> eaaa669b7b97 08:56:05 Step 22/24 : LABEL arch=arm64 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.061s coverage: 21.7% of statements 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.198s coverage: 42.9% of statements 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.269s coverage: 68.9% of statements 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 30.4% of statements 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.342s coverage: 83.5% of statements 08:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements 08:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:56:05 GO111MODULE=on go vet ./... 08:56:05 ---> Running in 4fad01f9d071 08:56:06 Removing intermediate container 4fad01f9d071 08:56:06 ---> 02ec5c2c0c83 08:56:06 Step 23/24 : LABEL git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:56:06 ---> Running in 06232c0eee7b 08:56:06 Removing intermediate container 06232c0eee7b 08:56:06 ---> 421cb2cea074 08:56:06 Step 24/24 : LABEL version=0.0.0 08:56:06 ---> Running in 42f1b1a6b8a8 08:56:07 Removing intermediate container 42f1b1a6b8a8 08:56:07 ---> e1044e8588ae 08:56:07 [Warning] One or more build-args [ARCH] were not consumed 08:56:07 Successfully built e1044e8588ae 08:56:07 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] } 08:56:12 gofmt -l . 08:56:12 [ "`gofmt -l .`" = "" ] 08:56:12 ./bin/test-attribution-txt.sh 08:56:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:56:12 $ docker stop --time=1 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a 08:56:14 $ docker rm -f 05b34dcf7cdd83fd88a9cf974be5a8e6042caad3fa87617817c99f22832c8d7a [Pipeline] // withDockerContainer [Pipeline] sh 08:56:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:56:15 Warning: overwriting stash ‘coverage-report’ 08:56:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:56:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:56:17 + ls -al . 08:56:17 total 216 08:56:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 18 08:56 . 08:56:17 drwxrwxr-x. 4 jenkins jenkins 28 Jan 18 08:54 .. 08:56:17 drwxrwxr-x. 2 jenkins jenkins 64 Jan 18 08:54 bin 08:56:17 -rw-r--r--. 1 jenkins jenkins 136158 Jan 18 08:56 coverage.out 08:56:17 -rw-rw-r--. 1 jenkins jenkins 949 Jan 18 08:54 Dockerfile.build 08:56:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 18 08:54 .dockerignore 08:56:17 drwxrwxr-x. 4 jenkins jenkins 48 Jan 18 08:54 example 08:56:17 drwxrwxr-x. 8 jenkins jenkins 179 Jan 18 08:54 .git 08:56:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 18 08:54 .github 08:56:17 -rw-rw-r--. 1 jenkins jenkins 138 Jan 18 08:54 .gitignore 08:56:17 -rw-r--r--. 1 jenkins jenkins 491 Jan 18 08:56 go.mod 08:56:17 -rw-r--r--. 1 jenkins jenkins 14124 Jan 18 08:56 go.sum 08:56:17 drwxrwxr-x. 15 jenkins jenkins 211 Jan 18 08:54 internal 08:56:17 -rw-rw-r--. 1 jenkins jenkins 901 Jan 18 08:54 Jenkinsfile 08:56:17 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 18 08:54 LICENSE 08:56:17 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 18 08:54 Makefile 08:56:17 drwxrwxr-x. 4 jenkins jenkins 26 Jan 18 08:54 openapi 08:56:17 drwxrwxr-x. 5 jenkins jenkins 50 Jan 18 08:54 pkg 08:56:17 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 18 08:54 README.md 08:56:17 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 18 08:54 RELEASE-NOTES.txt 08:56:17 drwxrwxr-x. 4 jenkins jenkins 54 Jan 18 08:54 snap 08:56:17 -rw-rw-r--. 1 jenkins jenkins 5 Jan 18 08:51 VERSION 08:56:17 -rw-rw-r--. 1 jenkins jenkins 222 Jan 18 08:54 version.go [Pipeline] isUnix [Pipeline] sh 08:56:17 + 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=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 --label arch=amd64 --label version=0.0.0 . 08:56:17 Sending build context to Docker daemon 2.697MB 08:56:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:56:17 Step 2/24 : FROM ${BASE} AS builder 08:56:17 ---> 7db56c58b553 08:56:17 Step 3/24 : ARG MAKE='make build' 08:56:18 ---> Running in 03e9400188a3 08:56:18 Removing intermediate container 03e9400188a3 08:56:18 ---> 4fb95da20b26 08:56:18 Step 4/24 : WORKDIR /device-sdk-go 08:56:18 ---> Running in d59c943d8aa5 08:56:18 Removing intermediate container d59c943d8aa5 08:56:18 ---> b8f333edbccf 08:56:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:56:18 ---> Running in bfc5ac1acc65 08:56:19 Removing intermediate container bfc5ac1acc65 08:56:19 ---> 524ae1915a81 08:56:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:19 ---> Running in cbe07d3eafa3 08:56:20 Removing intermediate container cbe07d3eafa3 08:56:20 ---> 012ecfbedd2a 08:56:20 Step 7/24 : RUN apk add --update --no-cache make git 08:56:20 ---> Running in 1514e05c6308 08:56:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:56:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:56:21 OK: 166 MiB in 39 packages 08:56:22 Removing intermediate container 1514e05c6308 08:56:22 ---> 535c00d6104b 08:56:22 Step 8/24 : COPY . . 08:56:23 ---> c037f1e1054c 08:56:23 Step 9/24 : RUN ${MAKE} 08:56:23 ---> Running in 98e35822d8b9 08:56:23 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:56:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:56:34 Removing intermediate container 98e35822d8b9 08:56:34 ---> ed10a93d298e 08:56:34 Step 10/24 : FROM scratch 08:56:34 ---> 08:56:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:56:34 ---> Running in e40e73d6b241 08:56:34 Removing intermediate container e40e73d6b241 08:56:34 ---> cf883291bbb3 08:56:34 Step 12/24 : ENV APP_PORT=49990 08:56:34 ---> Running in 9033d362fba4 08:56:34 Removing intermediate container 9033d362fba4 08:56:34 ---> ff6da5e2fbb7 08:56:34 Step 13/24 : EXPOSE $APP_PORT 08:56:34 ---> Running in c0673270101d 08:56:34 Removing intermediate container c0673270101d 08:56:34 ---> c033976d9734 08:56:34 Step 14/24 : WORKDIR / 08:56:34 ---> Running in df4186fad0e9 08:56:34 Removing intermediate container df4186fad0e9 08:56:34 ---> f9201783d312 08:56:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:56:35 ---> de9920797db4 08:56:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:56:35 ---> bf0c516b69d6 08:56:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:56:35 ---> 7ba3d96cffde 08:56:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:56:35 ---> e761bb6be771 08:56:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:56:36 ---> e42735259f88 08:56:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:56:36 ---> Running in 5a87f45cd547 08:56:36 Removing intermediate container 5a87f45cd547 08:56:36 ---> d7e31200e6d7 08:56:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:56:36 ---> Running in 127b723e8a04 08:56:36 Removing intermediate container 127b723e8a04 08:56:36 ---> 2702dfacb2f9 08:56:36 Step 22/24 : LABEL arch=amd64 08:56:37 ---> Running in 5a12251333be 08:56:37 Removing intermediate container 5a12251333be 08:56:37 ---> 647f90bbbfbf 08:56:37 Step 23/24 : LABEL git_sha=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 08:56:37 ---> Running in 961a21eaba08 08:56:37 Removing intermediate container 961a21eaba08 08:56:37 ---> 8c43dbeda32f 08:56:37 Step 24/24 : LABEL version=0.0.0 08:56:37 ---> Running in b2a3276e4b4c 08:56:38 Removing intermediate container b2a3276e4b4c 08:56:38 ---> 692c4a10f0b1 08:56:38 [Warning] One or more build-args [ARCH] were not consumed 08:56:38 Successfully built 692c4a10f0b1 08:56:38 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:56:40 provisioning config files... 08:56:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config1987888982082723950tmp [Pipeline] { [Pipeline] sh 08:56:41 + set +x 08:56:41 + curl -s https://codecov.io/bash 08:56:41 + bash -s -- 08:56:41 08:56:41 _____ _ 08:56:41 / ____| | | 08:56:41 | | ___ __| | ___ ___ _____ __ 08:56:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:56:41 | |___| (_) | (_| | __/ (_| (_) \ V / 08:56:41 \_____\___/ \__,_|\___|\___\___/ \_/ 08:56:41 Bash-20210115-cec3c92 08:56:41 08:56:41 08:56:41 ==> git version 2.24.3 found 08:56:41 ==> 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 08:56:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:56:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:56:41 ==> Jenkins CI detected. 08:56:41 project root: . 08:56:41 --> token set from env 08:56:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:56:41 ==> Running gcov in . (disable via -X gcov) 08:56:41 ==> Python coveragepy not found 08:56:41 ==> Searching for coverage reports in: 08:56:41 + . 08:56:41 -> Found 1 reports 08:56:41 ==> Detecting git/mercurial file structure 08:56:41 ==> Reading reports 08:56:41 + ./coverage.out bytes=136158 08:56:41 ==> Appending adjustments 08:56:41 https://docs.codecov.io/docs/fixing-reports 08:56:42 + Found adjustments 08:56:42 ==> Gzipping contents 08:56:42 24K /tmp/codecov.onSuDG.gz 08:56:42 ==> Uploading reports 08:56:42 url: https://codecov.io 08:56:42 query: branch=PR-738&commit=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= 08:56:42 -> Pinging Codecov 08:56:42 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-738&commit=dd82d30efdce0c7c03bbef2a4778dc48fdaaa401&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-738%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=738&job=&cmd_args= 08:56:42 -> Uploading to 08:56:42 https://storage.googleapis.com/codecov/v4/raw/2021-01-18/7E55EF52A471D76F132DFD9A03CDDE97/dd82d30efdce0c7c03bbef2a4778dc48fdaaa401/d5c2ea82-bad2-4d11-9c9b-54b5ee34d7d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210118T085642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8bb03b0c69dd80dcc346b444c674d67fa30c15dfecd1104b1c79809f1c75ac3 08:56:42 % Total % Received % Xferd Average Speed Time Time Time Current 08:56:42 Dload Upload Total Spent Left Speed 08:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21380 0 0 100 21380 0 40477 --:--:-- --:--:-- --:--:-- 40492 08:56:42 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd82d30efdce0c7c03bbef2a4778dc48fdaaa401 [Pipeline] } 08:56:42 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 08:56:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:56:46 ---> package-listing.sh 08:56:46 ++ facter osfamily 08:56:46 ++ tr '[:upper:]' '[:lower:]' 08:56:46 + OS_FAMILY=redhat 08:56:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-738 08:56:46 + START_PACKAGES=/tmp/packages_start.txt 08:56:46 + END_PACKAGES=/tmp/packages_end.txt 08:56:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:56:46 + PACKAGES=/tmp/packages_start.txt 08:56:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' 08:56:46 + PACKAGES=/tmp/packages_end.txt 08:56:46 + case "${OS_FAMILY}" in 08:56:46 + rpm -qa 08:56:46 + sort 08:56:52 + '[' -f /tmp/packages_start.txt ']' 08:56:52 + '[' -f /tmp/packages_end.txt ']' 08:56:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:56:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-738 ']' 08:56:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ 08:56:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-738/archives/ [Pipeline] echo 08:56:52 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-738/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:56:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:56:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:52 08:56:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:56:53 alpine: Pulling from edgex-lftools-log-publisher 08:56:53 df20fa9351a1: Pulling fs layer 08:56:53 36b3adc4ff6f: Pulling fs layer 08:56:53 8ad3a11d3b57: Pulling fs layer 08:56:53 46f8f816bc3b: Pulling fs layer 08:56:53 93b61091891f: Pulling fs layer 08:56:53 93b9cdb0e59b: Pulling fs layer 08:56:53 5e14af77c1be: Pulling fs layer 08:56:53 01666e4c0597: Pulling fs layer 08:56:53 aa168da1d23b: Pulling fs layer 08:56:53 93b61091891f: Waiting 08:56:53 93b9cdb0e59b: Waiting 08:56:53 5e14af77c1be: Waiting 08:56:53 01666e4c0597: Waiting 08:56:53 aa168da1d23b: Waiting 08:56:53 46f8f816bc3b: Waiting 08:56:53 36b3adc4ff6f: Verifying Checksum 08:56:53 36b3adc4ff6f: Download complete 08:56:53 46f8f816bc3b: Verifying Checksum 08:56:53 46f8f816bc3b: Download complete 08:56:53 df20fa9351a1: Verifying Checksum 08:56:53 df20fa9351a1: Download complete 08:56:53 93b9cdb0e59b: Verifying Checksum 08:56:53 93b9cdb0e59b: Download complete 08:56:53 5e14af77c1be: Verifying Checksum 08:56:53 5e14af77c1be: Download complete 08:56:53 93b61091891f: Verifying Checksum 08:56:53 93b61091891f: Download complete 08:56:53 01666e4c0597: Verifying Checksum 08:56:53 01666e4c0597: Download complete 08:56:53 8ad3a11d3b57: Verifying Checksum 08:56:53 8ad3a11d3b57: Download complete 08:56:53 df20fa9351a1: Pull complete 08:56:53 36b3adc4ff6f: Pull complete 08:56:54 8ad3a11d3b57: Pull complete 08:56:54 46f8f816bc3b: Pull complete 08:56:54 93b61091891f: Pull complete 08:56:55 93b9cdb0e59b: Pull complete 08:56:55 5e14af77c1be: Pull complete 08:56:55 aa168da1d23b: Verifying Checksum 08:56:55 aa168da1d23b: Download complete 08:56:56 01666e4c0597: Pull complete 08:57:01 aa168da1d23b: Pull complete 08:57:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:57:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:57:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:57:01 prd-centos7-docker-4c-2g-20967 does not seem to be running inside a container 08:57:01 $ 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-738/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-738 -v /w/workspace/dgexfoundry_device-sdk-go_PR-738:/w/workspace/dgexfoundry_device-sdk-go_PR-738:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-738@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:57:07 $ docker top 554eeb761768ac3ecde6a998cd507964d43473546a6f1f7085706dd90e748837 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:08 + touch /tmp/pre-build-complete [Pipeline] sh 08:57:08 + mkdir -p /var/log/sa [Pipeline] sh 08:57:09 + ls /var/log/sa-host 08:57:09 + sadf -c /var/log/sa-host/sa18 08:57:09 file_magic: OK 08:57:09 HZ: Using current value: 100 08:57:09 file_header: OK 08:57:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:57:09 Statistics: 08:57:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:57:09 File successfully converted to sysstat format version 12.2.1 08:57:09 + sadf -c /var/log/sa-host/sa23 08:57:09 file_magic: OK 08:57:09 HZ: Using current value: 100 08:57:09 file_header: OK 08:57:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 08:57:09 Statistics: 08:57:09 Hnuu...uuuununununu... 08:57:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:57:09 provisioning config files... 08:57:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp/config318099769070322268tmp [Pipeline] { [Pipeline] echo 08:57:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:57:10 ---> create-netrc.sh [Pipeline] } 08:57:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:57:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:57:10 ---> python-tools-install.sh [Pipeline] echo 08:57:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:57:11 ---> sudo-logs.sh 08:57:11 Archiving 'sudo' log.. [Pipeline] echo 08:57:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:57:11 ---> job-cost.sh 08:57:11 lf-activate-venv: SKIPPING 08:57:11 INFO: No Stack... 08:57:12 INFO: Retrieving Pricing Info for: v1-standard-2 08:57:13 INFO: Archiving Costs [Pipeline] echo 08:57:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:57:13 ---> logs-deploy.sh 08:57:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-738/1 08:57:13 INFO: archiving workspace using pattern(s): 08:57:14 Archives upload complete. 08:57:15 INFO: archiving logs to Nexus 08:57:16 ---> uname -a: 08:57:16 Linux prd-centos7-docker-4c-2g-20967.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:57:16 08:57:16 08:57:16 ---> lscpu: 08:57:16 Architecture: x86_64 08:57:16 CPU op-mode(s): 32-bit, 64-bit 08:57:16 Byte Order: Little Endian 08:57:16 Address sizes: 40 bits physical, 48 bits virtual 08:57:16 CPU(s): 4 08:57:16 On-line CPU(s) list: 0-3 08:57:16 Thread(s) per core: 1 08:57:16 Core(s) per socket: 1 08:57:16 Socket(s): 4 08:57:16 NUMA node(s): 1 08:57:16 Vendor ID: GenuineIntel 08:57:16 CPU family: 6 08:57:16 Model: 44 08:57:16 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:57:16 Stepping: 1 08:57:16 CPU MHz: 2933.442 08:57:16 BogoMIPS: 5866.88 08:57:16 Virtualization: VT-x 08:57:16 Hypervisor vendor: KVM 08:57:16 Virtualization type: full 08:57:16 L1d cache: 128 KiB 08:57:16 L1i cache: 128 KiB 08:57:16 L2 cache: 16 MiB 08:57:16 L3 cache: 64 MiB 08:57:16 NUMA node0 CPU(s): 0-3 08:57:16 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:57:16 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:57:16 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:57:16 Vulnerability Meltdown: Mitigation; PTI 08:57:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:57:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:57:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:57:16 Vulnerability Srbds: Not affected 08:57:16 Vulnerability Tsx async abort: Not affected 08:57:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:57:16 08:57:16 08:57:16 ---> nproc: 08:57:16 4 08:57:16 08:57:16 08:57:16 ---> df -h: 08:57:16 Filesystem Size Used Available Use% Mounted on 08:57:16 overlay 50.0G 7.3G 42.7G 15% / 08:57:16 tmpfs 64.0M 0 64.0M 0% /dev 08:57:16 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:57:16 shm 64.0M 0 64.0M 0% /dev/shm 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-738 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-738@tmp 08:57:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:57:16 08:57:16 08:57:16 ---> free -m: 08:57:16 total used free shared buff/cache available 08:57:16 Mem: 1837 690 93 0 1053 1042 08:57:16 Swap: 1023 1 1022 08:57:16 08:57:16 08:57:16 ---> ip addr: 08:57:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:57:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:57:16 inet 127.0.0.1/8 scope host lo 08:57:16 valid_lft forever preferred_lft forever 08:57:16 inet6 ::1/128 scope host 08:57:16 valid_lft forever preferred_lft forever 08:57:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:57:16 link/ether fa:16:3e:40:6e:8b brd ff:ff:ff:ff:ff:ff 08:57:16 inet 10.30.123.22/23 brd 10.30.123.255 scope global dynamic eth0 08:57:16 valid_lft 86013sec preferred_lft 86013sec 08:57:16 inet6 fe80::f816:3eff:fe40:6e8b/64 scope link 08:57:16 valid_lft forever preferred_lft forever 08:57:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:57:16 link/ether 02:42:ee:91:2c:74 brd ff:ff:ff:ff:ff:ff 08:57:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:57:16 valid_lft forever preferred_lft forever 08:57:16 inet6 fe80::42:eeff:fe91:2c74/64 scope link 08:57:16 valid_lft forever preferred_lft forever 08:57:16 08:57:16 08:57:16 ---> sar -b -r -n DEV: 08:57:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 08:57:16 08:57:16 08:50:38 LINUX RESTART (4 CPU) 08:57:16 08:57:16 08:51:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:57:16 08:52:02 77.98 30.63 47.34 0.00 7205.06 4125.67 0.00 08:57:16 08:53:01 2.10 0.00 2.10 0.00 0.00 44.19 0.00 08:57:16 08:54:01 0.35 0.00 0.35 0.00 0.00 6.11 0.00 08:57:16 08:55:01 0.42 0.00 0.42 0.00 0.00 5.55 0.00 08:57:16 08:56:01 0.20 0.00 0.20 0.00 0.00 2.73 0.00 08:57:16 08:57:01 102.01 64.44 37.57 0.00 5517.16 14818.20 0.00 08:57:16 Average: 30.60 15.90 14.70 0.00 2127.16 3177.08 0.00 08:57:16 08:57:16 08:51:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:57:16 08:52:02 172152 0 582812 30.98 2620 1123960 1087284 37.11 388640 1121852 128 08:57:16 08:53:01 177148 0 577700 30.70 2620 1124076 1070404 36.53 390452 1115620 20 08:57:16 08:54:01 174468 0 580372 30.85 2620 1124084 1070632 36.54 393308 1115668 8 08:57:16 08:55:01 174932 0 579908 30.82 2620 1124084 1070536 36.54 411372 1096964 16 08:57:16 08:56:01 175692 0 579140 30.78 2620 1124092 1070404 36.53 403500 1104260 12 08:57:16 08:57:01 183452 0 669508 35.58 2620 1025964 1246952 42.56 451248 996744 92476 08:57:16 Average: 176307 0 594907 31.62 2620 1107710 1102702 37.63 406420 1091851 15443 08:57:16 08:57:16 08:51:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:57:16 08:52:02 eth0 508.27 371.60 1089.13 96.70 0.00 0.00 0.00 0.00 08:57:16 08:52:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:52:02 docker0 11.89 9.02 1.67 21.70 0.00 0.00 0.00 0.00 08:57:16 08:53:01 eth0 0.73 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:57:16 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:54:01 eth0 0.95 0.27 0.32 0.19 0.00 0.00 0.00 0.00 08:57:16 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:55:01 eth0 0.55 0.45 0.31 0.21 0.00 0.00 0.00 0.00 08:57:16 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:56:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 08:57:16 08:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:57:01 eth0 227.67 201.30 2173.34 20.54 0.00 0.00 0.00 0.00 08:57:16 08:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 08:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 Average: eth0 123.43 95.94 545.60 19.67 0.00 0.00 0.00 0.00 08:57:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:57:16 Average: docker0 1.99 1.51 0.28 3.63 0.00 0.00 0.00 0.00 08:57:16 08:57:16 08:57:16 ---> sar -P ALL: 08:57:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/18/21 _x86_64_ (4 CPU) 08:57:16 08:57:16 08:50:38 LINUX RESTART (4 CPU) 08:57:16 08:57:16 08:51:01 CPU %user %nice %system %iowait %steal %idle 08:57:16 08:52:02 all 11.46 0.00 3.00 1.98 0.01 83.54 08:57:16 08:52:02 0 10.21 0.00 3.60 0.30 0.02 85.87 08:57:16 08:52:02 1 11.17 0.00 3.30 3.45 0.02 82.07 08:57:16 08:52:02 2 11.96 0.00 2.27 1.68 0.00 84.09 08:57:16 08:52:02 3 12.50 0.00 2.84 2.50 0.02 82.14 08:57:16 08:53:01 all 0.15 0.00 0.03 0.00 0.00 99.81 08:57:16 08:53:01 0 0.02 0.00 0.03 0.00 0.00 99.95 08:57:16 08:53:01 1 0.07 0.00 0.07 0.00 0.00 99.86 08:57:16 08:53:01 2 0.51 0.00 0.02 0.00 0.02 99.46 08:57:16 08:53:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:57:16 08:54:01 all 0.17 0.00 0.03 0.00 0.00 99.80 08:57:16 08:54:01 0 0.03 0.00 0.03 0.00 0.02 99.92 08:57:16 08:54:01 1 0.15 0.00 0.03 0.00 0.00 99.82 08:57:16 08:54:01 2 0.45 0.00 0.02 0.00 0.00 99.53 08:57:16 08:54:01 3 0.05 0.00 0.03 0.00 0.00 99.92 08:57:16 08:55:01 all 0.14 0.00 0.03 0.00 0.00 99.83 08:57:16 08:55:01 0 0.02 0.00 0.00 0.00 0.00 99.98 08:57:16 08:55:01 1 0.50 0.00 0.02 0.00 0.00 99.48 08:57:16 08:55:01 2 0.03 0.00 0.03 0.00 0.00 99.93 08:57:16 08:55:01 3 0.02 0.00 0.05 0.00 0.00 99.93 08:57:16 08:56:01 all 0.09 0.00 0.08 0.00 0.00 99.83 08:57:16 08:56:01 0 0.02 0.00 0.03 0.00 0.00 99.95 08:57:16 08:56:01 1 0.28 0.00 0.20 0.00 0.00 99.52 08:57:16 08:56:01 2 0.03 0.00 0.02 0.00 0.00 99.95 08:57:16 08:56:01 3 0.03 0.00 0.05 0.00 0.00 99.92 08:57:16 08:57:01 all 5.25 0.00 2.52 1.77 0.00 90.46 08:57:16 08:57:01 0 5.34 0.00 2.45 0.45 0.00 91.75 08:57:16 08:57:01 1 4.25 0.00 2.49 0.59 0.00 92.68 08:57:16 08:57:01 2 5.56 0.00 2.44 4.65 0.00 87.35 08:57:16 08:57:01 3 5.83 0.00 2.69 1.39 0.02 90.07 08:57:16 Average: all 2.87 0.00 0.94 0.62 0.00 95.56 08:57:16 Average: 0 2.60 0.00 1.02 0.13 0.01 96.25 08:57:16 Average: 1 2.73 0.00 1.01 0.67 0.00 95.58 08:57:16 Average: 2 3.08 0.00 0.80 1.05 0.00 95.06 08:57:16 Average: 3 3.07 0.00 0.94 0.65 0.01 95.33 08:57:16 08:57:16 08:57:16