Pull request #743 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 b000b54993c898c4f26458fdb0e0cda1abfff3e1+81b7f98a259e7befb955434734c5049d14a607c4 (bc14b2d70653a329ad61c7637ff8c5aefd4da972) 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-743/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-743/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-21153 in /w/workspace/dgexfoundry_device-sdk-go_PR-743 [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-743 # 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/743/head:refs/remotes/origin/PR-743 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit b000b54993c898c4f26458fdb0e0cda1abfff3e1 Merge succeeded, producing b000b54993c898c4f26458fdb0e0cda1abfff3e1 Checking out Revision b000b54993c898c4f26458fdb0e0cda1abfff3e1 (PR-743) > git config core.sparsecheckout # timeout=10 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # 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 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # timeout=10 Commit message: "feat: update v2 callback API" 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 07:12:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:12:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:12:12 ========================================================= 07:12:12 EdgeX Global Pipelines Version Info 07:12:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:12:13 ------------------- 07:12:13 stable info: 07:12:13 ------------------- 07:12:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:12:13 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 07:12:13 Message: update stable to v1.0.177 07:12:14 ------------------- 07:12:14 experimental info: 07:12:14 ------------------- 07:12:14 Commited By: **** collab-it+edgex@linuxfoundation.org 07:12:14 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 07:12:14 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:12:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:12:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:12:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:12:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-743 [Pipeline] echo 07:12:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-743 [Pipeline] echo 07:12:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-743 [Pipeline] echo 07:12:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b000b54993c898c4f26458fdb0e0cda1abfff3e1 [Pipeline] echo 07:12:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b000b54 [Pipeline] echo 07:12:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:12:19 provisioning config files... 07:12:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/config1324223263391839930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:20 ---> docker-login.sh 07:12:20 nexus3.edgexfoundry.org:10001 07:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:20 Configure a credential helper to remove this warning. See 07:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:20 07:12:20 Login Succeeded 07:12:20 nexus3.edgexfoundry.org:10002 07:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:20 Configure a credential helper to remove this warning. See 07:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:20 07:12:20 Login Succeeded 07:12:20 nexus3.edgexfoundry.org:10003 07:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:21 Configure a credential helper to remove this warning. See 07:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:21 07:12:21 Login Succeeded 07:12:21 nexus3.edgexfoundry.org:10004 07:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:21 Configure a credential helper to remove this warning. See 07:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:21 07:12:21 Login Succeeded 07:12:21 docker.io 07:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:21 Configure a credential helper to remove this warning. See 07:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:21 07:12:21 Login Succeeded 07:12:21 ---> docker-login.sh ends [Pipeline] } 07:12:21 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 07:12:22 + git log --format=format:%s -1 b000b54993c898c4f26458fdb0e0cda1abfff3e1 [Pipeline] echo 07:12:22 GIT_COMMIT: b000b54993c898c4f26458fdb0e0cda1abfff3e1, Commit Message: feat: update v2 callback API [Pipeline] echo 07:12:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:23 07:12:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:12:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:24 latest: Pulling from edgex-devops/git-semver 07:12:24 31603596830f: Pulling fs layer 07:12:24 2a8b12db71e7: Pulling fs layer 07:12:24 6ca5941a6612: Pulling fs layer 07:12:24 ecc8261a40a4: Pulling fs layer 07:12:24 ecc8261a40a4: Waiting 07:12:24 2a8b12db71e7: Verifying Checksum 07:12:24 2a8b12db71e7: Download complete 07:12:24 31603596830f: Verifying Checksum 07:12:24 31603596830f: Download complete 07:12:24 ecc8261a40a4: Verifying Checksum 07:12:24 ecc8261a40a4: Download complete 07:12:24 6ca5941a6612: Download complete 07:12:24 31603596830f: Pull complete 07:12:24 2a8b12db71e7: Pull complete 07:12:25 6ca5941a6612: Pull complete 07:12:25 ecc8261a40a4: Pull complete 07:12:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:12:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:12:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:12:26 prd-centos7-docker-4c-2g-21153 does not seem to be running inside a container 07:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-743 -v /w/workspace/dgexfoundry_device-sdk-go_PR-743:/w/workspace/dgexfoundry_device-sdk-go_PR-743:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-743@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 07:12:28 $ docker top 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:12:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:28 [ssh-agent] Looking for ssh-agent implementation... 07:12:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:29 $ docker exec 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 ssh-agent 07:12:29 SSH_AUTH_SOCK=/tmp/ssh-MV7VelwmOc4Z/agent.11 07:12:29 SSH_AGENT_PID=16 07:12:29 Running ssh-add (command line suppressed) 07:12:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/private_key_8056603314770136396.key (/w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/private_key_8056603314770136396.key) 07:12:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:29 + git tag --points-at HEAD [Pipeline] } 07:12:29 $ docker exec --env ******** --env ******** 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 ssh-agent -k 07:12:29 unset SSH_AUTH_SOCK; 07:12:29 unset SSH_AGENT_PID; 07:12:29 echo Agent pid 16 killed; 07:12:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:12:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:12:30 [ssh-agent] Looking for ssh-agent implementation... 07:12:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:12:30 $ docker exec 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 ssh-agent 07:12:30 SSH_AUTH_SOCK=/tmp/ssh-iA0aybdcKl7L/agent.44 07:12:30 SSH_AGENT_PID=49 07:12:30 Running ssh-add (command line suppressed) 07:12:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/private_key_3171539856841307594.key (/w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/private_key_3171539856841307594.key) 07:12:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:12:31 + git semver init 07:12:31 # -> Open(): unable to determine branch for HEAD 07:12:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-743/.git 07:12:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-743 07:12:31 # $SEMVER_REMOTE_NAME = origin 07:12:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:12:31 # $SEMVER_USER_NAME = edgex-jenkins 07:12:31 # $SEMVER_BRANCH = PR-743 07:12:31 # $SEMVER_TEMP = /tmp/semver-009751145 07:12:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:12:31 # '/tmp/semver-009751145' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-743/.semver' 07:12:31 # -> Force: false 07:12:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-743/.semver [Pipeline] } 07:12:31 $ docker exec --env ******** --env ******** 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 ssh-agent -k 07:12:32 unset SSH_AUTH_SOCK; 07:12:32 unset SSH_AGENT_PID; 07:12:32 echo Agent pid 49 killed; 07:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:12:32 + git semver [Pipeline] } 07:12:32 $ docker stop --time=1 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 07:12:34 $ docker rm -f 1bf33deb69243a4e8781d4c0c5ecdb1d3bd0ae663d371444c5ba297b115f41f1 [Pipeline] // withDockerContainer [Pipeline] sh 07:12:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:12:35 Stashed 1 file(s) [Pipeline] echo 07:12:35 [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 07:12:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21149 in /w/workspace/dgexfoundry_device-sdk-go_PR-743 [Pipeline] { [Pipeline] ws 07:12:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:12:41 using credential edgex-jenkins-ssh 07:12:41 Cloning the remote Git repository 07:12:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:12:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:12:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:41 > git --version # timeout=10 07:12:41 > git --version # 'git version 2.17.1' 07:12:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:12:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:12:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/743/head:refs/remotes/origin/PR-743 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:12:43 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:12:43 Merge succeeded, producing b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:12:43 Checking out Revision b000b54993c898c4f26458fdb0e0cda1abfff3e1 (PR-743) 07:12:43 > git config core.sparsecheckout # timeout=10 07:12:43 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # timeout=10 07:12:43 > git remote # timeout=10 07:12:43 > git config --get remote.origin.url # timeout=10 07:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:43 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 07:12:43 > git rev-parse HEAD^{commit} # timeout=10 07:12:43 > git config core.sparsecheckout # timeout=10 07:12:43 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # timeout=10 07:12:47 Commit message: "feat: update v2 callback API" 07:12:47 > git --version # timeout=10 07:12:47 > git --version # 'git version 2.17.1' 07:12:47 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:49 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:12:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:12:50 + true 07:12:50 + sudo service docker restart 07:12:51 Still waiting to schedule task 07:12:51 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:12:52 provisioning config files... 07:12:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2708004441808059465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:12:53 ---> docker-login.sh 07:12:53 nexus3.edgexfoundry.org:10001 07:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:54 Configure a credential helper to remove this warning. See 07:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:54 07:12:54 Login Succeeded 07:12:54 nexus3.edgexfoundry.org:10002 07:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:54 Configure a credential helper to remove this warning. See 07:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:54 07:12:54 Login Succeeded 07:12:54 nexus3.edgexfoundry.org:10003 07:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:55 Configure a credential helper to remove this warning. See 07:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:55 07:12:55 Login Succeeded 07:12:55 nexus3.edgexfoundry.org:10004 07:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:55 Configure a credential helper to remove this warning. See 07:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:55 07:12:55 Login Succeeded 07:12:55 docker.io 07:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:12:56 Configure a credential helper to remove this warning. See 07:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:12:56 07:12:56 Login Succeeded 07:12:56 ---> docker-login.sh ends [Pipeline] } 07:12:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:12:57 ========================================================= 07:12:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:12:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:12:57 + 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 . 07:12:58 Sending build context to Docker daemon 2.562MB 07:12:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:12:58 Step 2/8 : FROM ${BASE} 07:12:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:12:58 5f621e34cdf4: Pulling fs layer 07:12:58 a4357932f1b6: Pulling fs layer 07:12:58 18c013af1878: Pulling fs layer 07:12:58 00ac8860ef70: Pulling fs layer 07:12:58 63d7cb157983: Pulling fs layer 07:12:58 b116817d02f9: Pulling fs layer 07:12:58 745a02a5169b: Pulling fs layer 07:12:58 00ac8860ef70: Waiting 07:12:58 63d7cb157983: Waiting 07:12:58 b116817d02f9: Waiting 07:12:58 745a02a5169b: Waiting 07:12:58 18c013af1878: Verifying Checksum 07:12:58 18c013af1878: Download complete 07:12:58 a4357932f1b6: Verifying Checksum 07:12:58 a4357932f1b6: Download complete 07:12:58 63d7cb157983: Download complete 07:12:58 b116817d02f9: Verifying Checksum 07:12:58 b116817d02f9: Download complete 07:12:58 5f621e34cdf4: Verifying Checksum 07:12:58 5f621e34cdf4: Download complete 07:12:59 5f621e34cdf4: Pull complete 07:12:59 a4357932f1b6: Pull complete 07:12:59 18c013af1878: Pull complete 07:13:01 745a02a5169b: Verifying Checksum 07:13:01 745a02a5169b: Download complete 07:13:02 00ac8860ef70: Verifying Checksum 07:13:02 00ac8860ef70: Download complete 07:13:12 00ac8860ef70: Pull complete 07:13:12 63d7cb157983: Pull complete 07:13:13 b116817d02f9: Pull complete 07:13:16 745a02a5169b: Pull complete 07:13:16 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:13:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:13:16 ---> b7e6874047d6 07:13:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:13:20 ---> Running in 040d59b49d0e 07:13:20 Removing intermediate container 040d59b49d0e 07:13:20 ---> 88a8a19560b3 07:13:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:13:20 ---> Running in cfc1e3707711 07:13:22 Removing intermediate container cfc1e3707711 07:13:22 ---> fee41d81483a 07:13:22 Step 5/8 : RUN apk add --update --no-cache make git 07:13:22 ---> Running in 04d44dc4de37 07:13:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:13:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:13:25 OK: 142 MiB in 39 packages 07:13:26 Removing intermediate container 04d44dc4de37 07:13:26 ---> f93161cb2a82 07:13:26 Step 6/8 : WORKDIR /device-sdk-go 07:13:26 ---> Running in f29db561c3ff 07:13:26 Removing intermediate container f29db561c3ff 07:13:26 ---> 379ed5315f89 07:13:26 Step 7/8 : COPY . . 07:13:28 ---> a6c8f2a3f6c9 07:13:28 Step 8/8 : RUN go mod download 07:13:28 ---> Running in 56c68fae51b3 07:13:50 Removing intermediate container 56c68fae51b3 07:13:50 ---> d4d748d0af31 07:13:50 Successfully built d4d748d0af31 07:13:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:13:51 + docker inspect -f . ci-base-image-arm64 07:13:51 . [Pipeline] withDockerContainer 07:13:51 prd-ubuntu18.04-docker-arm64-4c-16g-21149 does not seem to be running inside a container 07:13:51 $ 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 07:13:52 $ docker top 1f4220e7fa779394a41f59639d2250e12413cc392a8dff32198ab90a0bd7246f -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:54 + go version 07:13:54 go version go1.15.5 linux/arm64 [Pipeline] } 07:13:54 $ docker stop --time=1 1f4220e7fa779394a41f59639d2250e12413cc392a8dff32198ab90a0bd7246f 07:13:56 $ docker rm -f 1f4220e7fa779394a41f59639d2250e12413cc392a8dff32198ab90a0bd7246f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:13:57 + docker inspect -f . ci-base-image-arm64 07:13:57 . [Pipeline] withDockerContainer 07:13:57 prd-ubuntu18.04-docker-arm64-4c-16g-21149 does not seem to be running inside a container 07:13:57 $ 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 07:13:59 $ docker top 8f374440112b3b0941741bba34d4c3f777435f5cdc63d87de1af44c929b3a8d0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:00 + make test 07:14:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:14:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:15:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:15:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:15:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:15:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 19.4% of statements 07:15:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.198s coverage: 97.1% of statements 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.128s coverage: 9.4% of statements 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.131s coverage: 21.7% of statements 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.608s coverage: 43.2% of statements 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.819s coverage: 68.9% of statements 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.186s coverage: 53.8% of statements 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.169s coverage: 26.8% of statements 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.657s coverage: 68.9% of statements 07:15:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 07:15:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:15:34 GO111MODULE=on go vet ./... 07:15:42 Running on prd-centos7-docker-4c-2g-21154 in /w/workspace/dgexfoundry_device-sdk-go_PR-743 [Pipeline] { [Pipeline] ws 07:15:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:15:44 using credential edgex-jenkins-ssh 07:15:44 Cloning the remote Git repository 07:15:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:15:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:15:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:15:45 > git --version # timeout=10 07:15:45 > git --version # 'git version 2.24.3' 07:15:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:15:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:15:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:15:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/743/head:refs/remotes/origin/PR-743 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:15:46 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:15:46 Merge succeeded, producing b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:15:46 Checking out Revision b000b54993c898c4f26458fdb0e0cda1abfff3e1 (PR-743) 07:15:46 > git config core.sparsecheckout # timeout=10 07:15:46 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # timeout=10 07:15:46 > git remote # timeout=10 07:15:46 > git config --get remote.origin.url # timeout=10 07:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:46 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 07:15:46 > git rev-parse HEAD^{commit} # timeout=10 07:15:46 > git config core.sparsecheckout # timeout=10 07:15:46 > git checkout -f b000b54993c898c4f26458fdb0e0cda1abfff3e1 # timeout=10 07:15:50 Commit message: "feat: update v2 callback API" 07:15:50 > git --version # timeout=10 07:15:50 > git --version # 'git version 2.24.3' 07:15:50 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:51 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:15:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:15:52 + sudo service docker restart 07:15:52 + true 07:15:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:15:53 provisioning config files... 07:15:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7389274967404755694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:53 ---> docker-login.sh 07:15:53 nexus3.edgexfoundry.org:10001 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 nexus3.edgexfoundry.org:10002 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 nexus3.edgexfoundry.org:10003 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 nexus3.edgexfoundry.org:10004 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 docker.io 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:55 Configure a credential helper to remove this warning. See 07:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:55 07:15:55 Login Succeeded 07:15:55 ---> docker-login.sh ends [Pipeline] } 07:15:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:55 ========================================================= 07:15:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:15:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:15:56 + 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 . 07:15:56 Sending build context to Docker daemon 2.571MB 07:15:56 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:15:56 Step 2/8 : FROM ${BASE} 07:15:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:56 188c0c94c7c5: Pulling fs layer 07:15:56 0ef7d3d256c8: Pulling fs layer 07:15:56 de9db76c5a1d: Pulling fs layer 07:15:56 bca2f99d35d6: Pulling fs layer 07:15:56 93359f2a8cfa: Pulling fs layer 07:15:56 7c6f9722023f: Pulling fs layer 07:15:56 a35cf1a2eb13: Pulling fs layer 07:15:56 93359f2a8cfa: Waiting 07:15:56 7c6f9722023f: Waiting 07:15:56 a35cf1a2eb13: Waiting 07:15:56 bca2f99d35d6: Waiting 07:15:56 de9db76c5a1d: Verifying Checksum 07:15:56 de9db76c5a1d: Download complete 07:15:56 0ef7d3d256c8: Download complete 07:15:56 93359f2a8cfa: Download complete 07:15:56 188c0c94c7c5: Verifying Checksum 07:15:56 188c0c94c7c5: Download complete 07:15:56 7c6f9722023f: Verifying Checksum 07:15:56 7c6f9722023f: Download complete 07:15:56 188c0c94c7c5: Pull complete 07:15:56 0ef7d3d256c8: Pull complete 07:15:56 de9db76c5a1d: Pull complete 07:15:58 a35cf1a2eb13: Verifying Checksum 07:15:58 a35cf1a2eb13: Download complete 07:15:59 bca2f99d35d6: Verifying Checksum 07:15:59 bca2f99d35d6: Download complete 07:16:04 bca2f99d35d6: Pull complete 07:16:04 93359f2a8cfa: Pull complete 07:16:04 7c6f9722023f: Pull complete 07:16:06 gofmt -l . 07:16:06 [ "`gofmt -l .`" = "" ] 07:16:07 ./bin/test-attribution-txt.sh 07:16:08 ./bin/test-go-mod-tidy.sh 07:16:08 a35cf1a2eb13: Pull complete 07:16:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:16:08 ---> a62c8e92a672 07:16:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] } 07:16:08 $ docker stop --time=1 8f374440112b3b0941741bba34d4c3f777435f5cdc63d87de1af44c929b3a8d0 07:16:08 ---> Running in 4a25e47d1d5c 07:16:09 Removing intermediate container 4a25e47d1d5c 07:16:09 ---> 19206427b26c 07:16:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:09 ---> Running in 143b904b07eb 07:16:10 Removing intermediate container 143b904b07eb 07:16:10 ---> 94760b7377df 07:16:10 Step 5/8 : RUN apk add --update --no-cache make git 07:16:10 ---> Running in 6b4a49984e96 07:16:11 $ docker rm -f 8f374440112b3b0941741bba34d4c3f777435f5cdc63d87de1af44c929b3a8d0 07:16:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] sh 07:16:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:16:12 OK: 166 MiB in 39 packages 07:16:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 07:16:13 Removing intermediate container 6b4a49984e96 07:16:13 ---> d57843773349 07:16:13 Step 6/8 : WORKDIR /device-sdk-go 07:16:13 ---> Running in 61d5ff332d63 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:16:13 Removing intermediate container 61d5ff332d63 07:16:13 ---> c6f886fb76b4 07:16:13 Step 7/8 : COPY . . [Pipeline] script [Pipeline] { 07:16:15 ---> c86a325cbaaa 07:16:15 Step 8/8 : RUN go mod download 07:16:15 ---> Running in 47fe465997d6 [Pipeline] sh 07:16:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:16 + ls -al . 07:16:16 total 260 07:16:16 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 07:16 . 07:16:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:12 .. 07:16:16 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 07:12 .dockerignore 07:16:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 07:12 .git 07:16:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:12 .github 07:16:16 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 07:12 .gitignore 07:16:16 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 07:12 Dockerfile.build 07:16:16 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 07:12 Jenkinsfile 07:16:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 07:12 LICENSE 07:16:16 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 07:12 Makefile 07:16:16 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 07:12 README.md 07:16:16 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 07:12 RELEASE-NOTES.txt 07:16:16 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 07:12 VERSION 07:16:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 07:12 bin 07:16:16 -rw-r--r-- 1 jenkins jenkins 143471 Jan 19 07:15 coverage.out 07:16:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:12 example 07:16:16 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 07:16 go.mod 07:16:16 -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 07:16 go.sum 07:16:16 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 07:12 internal 07:16:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:12 openapi 07:16:16 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 07:12 pkg 07:16:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 07:12 snap 07:16:16 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 07:12 version.go [Pipeline] isUnix [Pipeline] sh 07:16:16 + 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=b000b54993c898c4f26458fdb0e0cda1abfff3e1 --label arch=arm64 --label version=0.0.0 . 07:16:17 Sending build context to Docker daemon 2.706MB 07:16:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:16:17 Step 2/24 : FROM ${BASE} AS builder 07:16:17 ---> d4d748d0af31 07:16:17 Step 3/24 : ARG MAKE='make build' 07:16:17 ---> Running in dadd28bf6afa 07:16:18 Removing intermediate container dadd28bf6afa 07:16:18 ---> 3cdfb4e16277 07:16:18 Step 4/24 : WORKDIR /device-sdk-go 07:16:18 ---> Running in 190ed9a1bcae 07:16:18 Removing intermediate container 190ed9a1bcae 07:16:18 ---> 6c0e14c20ca2 07:16:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:18 ---> Running in 82eaed7a3be9 07:16:19 Removing intermediate container 82eaed7a3be9 07:16:19 ---> 590f4e5ec591 07:16:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:19 ---> Running in 1a4f8fa49bea 07:16:21 Removing intermediate container 1a4f8fa49bea 07:16:21 ---> d947107586b9 07:16:21 Step 7/24 : RUN apk add --update --no-cache make git 07:16:21 ---> Running in c9129c21d363 07:16:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:16:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:16:24 OK: 142 MiB in 39 packages 07:16:25 Removing intermediate container c9129c21d363 07:16:25 ---> e719f2f4e703 07:16:25 Step 8/24 : COPY . . 07:16:26 ---> 94ee0882255d 07:16:26 Step 9/24 : RUN ${MAKE} 07:16:26 ---> Running in 6895e4092763 07:16:28 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 07:16:33 Removing intermediate container 47fe465997d6 07:16:33 ---> 403b52bdfe3a 07:16:33 Successfully built 403b52bdfe3a 07:16:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:16:33 + docker inspect -f . ci-base-image-x86_64 07:16:33 . [Pipeline] withDockerContainer 07:16:33 prd-centos7-docker-4c-2g-21154 does not seem to be running inside a container 07:16:33 $ 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 07:16:34 $ docker top ce8de1fb39090a6777ee4d8fd933cd2419f0711c808b48df284eaf180b2c7445 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:35 + go version 07:16:35 go version go1.15.5 linux/amd64 [Pipeline] } 07:16:35 $ docker stop --time=1 ce8de1fb39090a6777ee4d8fd933cd2419f0711c808b48df284eaf180b2c7445 07:16:36 $ docker rm -f ce8de1fb39090a6777ee4d8fd933cd2419f0711c808b48df284eaf180b2c7445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:16:37 + docker inspect -f . ci-base-image-x86_64 07:16:37 . [Pipeline] withDockerContainer 07:16:37 prd-centos7-docker-4c-2g-21154 does not seem to be running inside a container 07:16:37 $ 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 07:16:38 $ docker top 8cd81fed6cf86699d614952dd8711a9d164a8fe6e96ae446a8df81c8ee20c893 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:39 + make test 07:16:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:16:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:16:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:16:54 Removing intermediate container 6895e4092763 07:16:54 ---> bf3bb1bcb83a 07:16:54 Step 10/24 : FROM scratch 07:16:54 ---> 07:16:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:16:55 ---> Running in 4ebac290a727 07:16:55 Removing intermediate container 4ebac290a727 07:16:55 ---> d51b89f72dd6 07:16:55 Step 12/24 : ENV APP_PORT=49990 07:16:55 ---> Running in b43068b3629a 07:16:56 Removing intermediate container b43068b3629a 07:16:56 ---> 71202a949fe2 07:16:56 Step 13/24 : EXPOSE $APP_PORT 07:16:56 ---> Running in 586909ef95b0 07:16:56 Removing intermediate container 586909ef95b0 07:16:56 ---> a1b3492c23af 07:16:56 Step 14/24 : WORKDIR / 07:16:56 ---> Running in b8ab507bb79e 07:16:57 Removing intermediate container b8ab507bb79e 07:16:57 ---> 52b3baa7e684 07:16:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:16:58 ---> f539b4dd14af 07:16:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:16:59 ---> fb92e423f63a 07:16:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:16:59 ---> 1d2d83ec93b7 07:16:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:17:00 ---> 6c340d29287e 07:17:00 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:17:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:17:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 19.4% of statements 07:17:01 ---> 7ea1c6d617d0 07:17:01 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:17:01 ---> Running in c637741db81a 07:17:01 Removing intermediate container c637741db81a 07:17:01 ---> acc7fa3773e6 07:17:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:17:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.453s coverage: 97.1% of statements 07:17:02 ---> Running in a13385ce8c62 07:17:02 Removing intermediate container a13385ce8c62 07:17:02 ---> 9a19fef47bb1 07:17:02 Step 22/24 : LABEL arch=arm64 07:17:02 ---> Running in 7c31e3b28426 07:17:03 Removing intermediate container 7c31e3b28426 07:17:03 ---> d03d29187e2f 07:17:03 Step 23/24 : LABEL git_sha=b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:17:03 ---> Running in 17ec0a78349d 07:17:03 Removing intermediate container 17ec0a78349d 07:17:03 ---> bb7d31dcb561 07:17:03 Step 24/24 : LABEL version=0.0.0 07:17:03 ---> Running in 1c86390a5798 07:17:04 Removing intermediate container 1c86390a5798 07:17:04 ---> 75b7596e29ee 07:17:04 [Warning] One or more build-args [ARCH] were not consumed 07:17:04 Successfully built 75b7596e29ee 07:17:04 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] } 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 9.4% of statements 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.050s coverage: 21.7% of statements 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s coverage: 43.2% of statements 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.285s coverage: 68.9% of statements 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 53.8% of statements 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 26.8% of statements 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.282s coverage: 68.9% of statements 07:17:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 07:17:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:17:34 GO111MODULE=on go vet ./... 07:17:40 gofmt -l . 07:17:40 [ "`gofmt -l .`" = "" ] 07:17:40 ./bin/test-attribution-txt.sh 07:17:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:17:41 $ docker stop --time=1 8cd81fed6cf86699d614952dd8711a9d164a8fe6e96ae446a8df81c8ee20c893 07:17:43 $ docker rm -f 8cd81fed6cf86699d614952dd8711a9d164a8fe6e96ae446a8df81c8ee20c893 [Pipeline] // withDockerContainer [Pipeline] sh 07:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:17:44 Warning: overwriting stash ‘coverage-report’ 07:17:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:17:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:46 + ls -al . 07:17:46 total 224 07:17:46 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 07:17 . 07:17:46 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 07:15 .. 07:17:46 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 07:15 bin 07:17:46 -rw-r--r--. 1 jenkins jenkins 143471 Jan 19 07:17 coverage.out 07:17:46 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 07:15 Dockerfile.build 07:17:46 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 07:15 .dockerignore 07:17:46 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 07:15 example 07:17:46 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 07:15 .git 07:17:46 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 07:15 .github 07:17:46 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 07:15 .gitignore 07:17:46 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 07:17 go.mod 07:17:46 -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 07:17 go.sum 07:17:46 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 07:15 internal 07:17:46 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 07:15 Jenkinsfile 07:17:46 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 07:15 LICENSE 07:17:46 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 07:15 Makefile 07:17:46 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 07:15 openapi 07:17:46 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 07:15 pkg 07:17:46 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 07:15 README.md 07:17:46 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 07:15 RELEASE-NOTES.txt 07:17:46 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 07:15 snap 07:17:46 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 07:12 VERSION 07:17:46 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 07:15 version.go [Pipeline] isUnix [Pipeline] sh 07:17:46 + 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=b000b54993c898c4f26458fdb0e0cda1abfff3e1 --label arch=amd64 --label version=0.0.0 . 07:17:47 Sending build context to Docker daemon 2.716MB 07:17:47 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:17:47 Step 2/24 : FROM ${BASE} AS builder 07:17:47 ---> 403b52bdfe3a 07:17:47 Step 3/24 : ARG MAKE='make build' 07:17:47 ---> Running in 84a3ba298e79 07:17:48 Removing intermediate container 84a3ba298e79 07:17:48 ---> 809b28b1154d 07:17:48 Step 4/24 : WORKDIR /device-sdk-go 07:17:48 ---> Running in 64d37f76dffe 07:17:48 Removing intermediate container 64d37f76dffe 07:17:48 ---> 12e7a29fa6f1 07:17:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:17:48 ---> Running in 8aa66c865b42 07:17:48 Removing intermediate container 8aa66c865b42 07:17:48 ---> a923f5b235b7 07:17:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:48 ---> Running in 44851432dbd7 07:17:49 Removing intermediate container 44851432dbd7 07:17:49 ---> c48e3eca891b 07:17:49 Step 7/24 : RUN apk add --update --no-cache make git 07:17:49 ---> Running in 648a861de2ca 07:17:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:17:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:17:51 OK: 166 MiB in 39 packages 07:17:51 Removing intermediate container 648a861de2ca 07:17:51 ---> 0a370d74c100 07:17:51 Step 8/24 : COPY . . 07:17:52 ---> 554df4fbd204 07:17:52 Step 9/24 : RUN ${MAKE} 07:17:53 ---> Running in 5b0635ea9fdc 07:17:53 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 07:18:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:18:02 Removing intermediate container 5b0635ea9fdc 07:18:02 ---> 4fc72b6c24c5 07:18:02 Step 10/24 : FROM scratch 07:18:02 ---> 07:18:02 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:18:02 ---> Running in 9f417314d616 07:18:03 Removing intermediate container 9f417314d616 07:18:03 ---> 19abd47fcaf3 07:18:03 Step 12/24 : ENV APP_PORT=49990 07:18:03 ---> Running in 6d257c23f24a 07:18:04 Removing intermediate container 6d257c23f24a 07:18:04 ---> 521cb8ef0bd9 07:18:04 Step 13/24 : EXPOSE $APP_PORT 07:18:04 ---> Running in 9d5129fcdd02 07:18:04 Removing intermediate container 9d5129fcdd02 07:18:04 ---> ee6d49a5bc4b 07:18:04 Step 14/24 : WORKDIR / 07:18:04 ---> Running in 1cf269d16b23 07:18:04 Removing intermediate container 1cf269d16b23 07:18:04 ---> 733513a419e5 07:18:04 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:18:05 ---> 5487b6837b70 07:18:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:18:05 ---> a0dd6425fa8d 07:18:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:18:05 ---> 6429af8576f6 07:18:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:18:05 ---> 78db03183034 07:18:05 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:18:06 ---> 88c8559d2908 07:18:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:18:06 ---> Running in 6501620e3d94 07:18:06 Removing intermediate container 6501620e3d94 07:18:06 ---> 237231cbd0bb 07:18:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:18:06 ---> Running in 245823b11c8d 07:18:06 Removing intermediate container 245823b11c8d 07:18:06 ---> 2a80007e7c3a 07:18:06 Step 22/24 : LABEL arch=amd64 07:18:06 ---> Running in c6882528222f 07:18:06 Removing intermediate container c6882528222f 07:18:06 ---> 82bcbe7453b4 07:18:06 Step 23/24 : LABEL git_sha=b000b54993c898c4f26458fdb0e0cda1abfff3e1 07:18:06 ---> Running in ab90ed786635 07:18:07 Removing intermediate container ab90ed786635 07:18:07 ---> 54bb74200c05 07:18:07 Step 24/24 : LABEL version=0.0.0 07:18:07 ---> Running in 324ea01b9049 07:18:07 Removing intermediate container 324ea01b9049 07:18:07 ---> 3d439015af36 07:18:07 [Warning] One or more build-args [ARCH] were not consumed 07:18:07 Successfully built 3d439015af36 07:18:07 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 07:18:10 provisioning config files... 07:18:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/config3844625155926443222tmp [Pipeline] { [Pipeline] sh 07:18:10 + set +x 07:18:10 + curl -s https://codecov.io/bash 07:18:10 + bash -s -- 07:18:10 07:18:10 _____ _ 07:18:10 / ____| | | 07:18:10 | | ___ __| | ___ ___ _____ __ 07:18:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:18:10 | |___| (_) | (_| | __/ (_| (_) \ V / 07:18:10 \_____\___/ \__,_|\___|\___\___/ \_/ 07:18:10 Bash-20210115-cec3c92 07:18:10 07:18:10 07:18:10 ==> git version 2.24.3 found 07:18:10 ==> 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 07:18:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:18:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:18:10 ==> Jenkins CI detected. 07:18:10 project root: . 07:18:10 --> token set from env 07:18:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:18:10 ==> Running gcov in . (disable via -X gcov) 07:18:10 ==> Python coveragepy not found 07:18:10 ==> Searching for coverage reports in: 07:18:10 + . 07:18:10 -> Found 1 reports 07:18:10 ==> Detecting git/mercurial file structure 07:18:10 ==> Reading reports 07:18:10 + ./coverage.out bytes=143471 07:18:10 ==> Appending adjustments 07:18:10 https://docs.codecov.io/docs/fixing-reports 07:18:11 + Found adjustments 07:18:11 ==> Gzipping contents 07:18:11 24K /tmp/codecov.pk7OaY.gz 07:18:11 ==> Uploading reports 07:18:11 url: https://codecov.io 07:18:11 query: branch=PR-743&commit=b000b54993c898c4f26458fdb0e0cda1abfff3e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-743%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=743&job=&cmd_args= 07:18:11 -> Pinging Codecov 07:18:11 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-743&commit=b000b54993c898c4f26458fdb0e0cda1abfff3e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-743%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=743&job=&cmd_args= 07:18:11 -> Uploading to 07:18:11 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/b000b54993c898c4f26458fdb0e0cda1abfff3e1/2941959c-cec9-40e7-84c4-81b635c42cfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T071811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4db26c312a54acfc53b8a47b12e86bf691177eb75809149c98a8d7d384ac975f 07:18:11 % Total % Received % Xferd Average Speed Time Time Time Current 07:18:11 Dload Upload Total Spent Left Speed 07:18:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22269 0 0 100 22269 0 44561 --:--:-- --:--:-- --:--:-- 44538 07:18:12 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b000b54993c898c4f26458fdb0e0cda1abfff3e1 [Pipeline] } 07:18:12 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 07:18:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:18:16 ---> package-listing.sh 07:18:16 ++ facter osfamily 07:18:16 ++ tr '[:upper:]' '[:lower:]' 07:18:16 + OS_FAMILY=redhat 07:18:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-743 07:18:16 + START_PACKAGES=/tmp/packages_start.txt 07:18:16 + END_PACKAGES=/tmp/packages_end.txt 07:18:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:18:16 + PACKAGES=/tmp/packages_start.txt 07:18:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-743 ']' 07:18:16 + PACKAGES=/tmp/packages_end.txt 07:18:16 + case "${OS_FAMILY}" in 07:18:16 + rpm -qa 07:18:16 + sort 07:18:21 + '[' -f /tmp/packages_start.txt ']' 07:18:21 + '[' -f /tmp/packages_end.txt ']' 07:18:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:18:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-743 ']' 07:18:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-743/archives/ 07:18:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-743/archives/ [Pipeline] echo 07:18:21 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-743/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:18:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:18:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:22 07:18:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:18:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:22 alpine: Pulling from edgex-lftools-log-publisher 07:18:22 df20fa9351a1: Pulling fs layer 07:18:22 36b3adc4ff6f: Pulling fs layer 07:18:22 8ad3a11d3b57: Pulling fs layer 07:18:22 46f8f816bc3b: Pulling fs layer 07:18:22 93b61091891f: Pulling fs layer 07:18:22 93b9cdb0e59b: Pulling fs layer 07:18:22 5e14af77c1be: Pulling fs layer 07:18:22 01666e4c0597: Pulling fs layer 07:18:22 aa168da1d23b: Pulling fs layer 07:18:22 46f8f816bc3b: Waiting 07:18:22 93b61091891f: Waiting 07:18:22 93b9cdb0e59b: Waiting 07:18:22 5e14af77c1be: Waiting 07:18:22 01666e4c0597: Waiting 07:18:22 aa168da1d23b: Waiting 07:18:22 36b3adc4ff6f: Verifying Checksum 07:18:22 36b3adc4ff6f: Download complete 07:18:22 46f8f816bc3b: Verifying Checksum 07:18:22 46f8f816bc3b: Download complete 07:18:22 df20fa9351a1: Download complete 07:18:23 93b9cdb0e59b: Verifying Checksum 07:18:23 93b9cdb0e59b: Download complete 07:18:23 5e14af77c1be: Verifying Checksum 07:18:23 5e14af77c1be: Download complete 07:18:23 01666e4c0597: Verifying Checksum 07:18:23 01666e4c0597: Download complete 07:18:23 93b61091891f: Download complete 07:18:23 df20fa9351a1: Pull complete 07:18:23 36b3adc4ff6f: Pull complete 07:18:23 8ad3a11d3b57: Verifying Checksum 07:18:23 8ad3a11d3b57: Download complete 07:18:24 8ad3a11d3b57: Pull complete 07:18:24 46f8f816bc3b: Pull complete 07:18:25 93b61091891f: Pull complete 07:18:25 93b9cdb0e59b: Pull complete 07:18:25 5e14af77c1be: Pull complete 07:18:25 aa168da1d23b: Verifying Checksum 07:18:25 aa168da1d23b: Download complete 07:18:25 01666e4c0597: Pull complete 07:18:32 aa168da1d23b: Pull complete 07:18:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:18:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:18:32 prd-centos7-docker-4c-2g-21153 does not seem to be running inside a container 07:18:32 $ 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-743/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-743 -v /w/workspace/dgexfoundry_device-sdk-go_PR-743:/w/workspace/dgexfoundry_device-sdk-go_PR-743:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-743@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 07:18:35 $ docker top 6d93a3f2b2bc8d2a9ff104a27a63c1f30356faec27001abf565c98774fdfb256 -eo pid,comm [Pipeline] { [Pipeline] sh 07:18:36 + touch /tmp/pre-build-complete [Pipeline] sh 07:18:36 + mkdir -p /var/log/sa [Pipeline] sh 07:18:37 + ls /var/log/sa-host 07:18:37 + sadf -c /var/log/sa-host/sa19 07:18:37 file_magic: OK 07:18:37 HZ: Using current value: 100 07:18:37 file_header: OK 07:18:37 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 07:18:37 Statistics: 07:18:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:18:37 File successfully converted to sysstat format version 12.2.1 07:18:37 + sadf -c /var/log/sa-host/sa23 07:18:37 file_magic: OK 07:18:37 HZ: Using current value: 100 07:18:37 file_header: OK 07:18:37 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 07:18:37 Statistics: 07:18:37 Hnuu...uuuununununu... 07:18:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:37 provisioning config files... 07:18:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp/config4354529178838901446tmp [Pipeline] { [Pipeline] echo 07:18:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:18:38 ---> create-netrc.sh [Pipeline] } 07:18:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:18:38 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:18:38 ---> python-tools-install.sh [Pipeline] echo 07:18:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:18:39 ---> sudo-logs.sh 07:18:39 Archiving 'sudo' log.. [Pipeline] echo 07:18:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:18:39 ---> job-cost.sh 07:18:39 lf-activate-venv: SKIPPING 07:18:39 INFO: No Stack... 07:18:40 INFO: Retrieving Pricing Info for: v1-standard-2 07:18:40 INFO: Archiving Costs [Pipeline] echo 07:18:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:18:41 ---> logs-deploy.sh 07:18:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-743/1 07:18:41 INFO: archiving workspace using pattern(s): 07:18:42 Archives upload complete. 07:18:42 INFO: archiving logs to Nexus 07:18:43 ---> uname -a: 07:18:43 Linux prd-centos7-docker-4c-2g-21153.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:18:43 07:18:43 07:18:43 ---> lscpu: 07:18:43 Architecture: x86_64 07:18:43 CPU op-mode(s): 32-bit, 64-bit 07:18:43 Byte Order: Little Endian 07:18:43 Address sizes: 40 bits physical, 48 bits virtual 07:18:43 CPU(s): 4 07:18:43 On-line CPU(s) list: 0-3 07:18:43 Thread(s) per core: 1 07:18:43 Core(s) per socket: 1 07:18:43 Socket(s): 4 07:18:43 NUMA node(s): 1 07:18:43 Vendor ID: GenuineIntel 07:18:43 CPU family: 6 07:18:43 Model: 44 07:18:43 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:18:43 Stepping: 1 07:18:43 CPU MHz: 2933.442 07:18:43 BogoMIPS: 5866.88 07:18:43 Virtualization: VT-x 07:18:43 Hypervisor vendor: KVM 07:18:43 Virtualization type: full 07:18:43 L1d cache: 128 KiB 07:18:43 L1i cache: 128 KiB 07:18:43 L2 cache: 16 MiB 07:18:43 L3 cache: 64 MiB 07:18:43 NUMA node0 CPU(s): 0-3 07:18:43 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:18:43 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:18:43 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:18:43 Vulnerability Meltdown: Mitigation; PTI 07:18:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:18:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:18:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:18:43 Vulnerability Srbds: Not affected 07:18:43 Vulnerability Tsx async abort: Not affected 07:18:43 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 07:18:43 07:18:43 07:18:43 ---> nproc: 07:18:43 4 07:18:43 07:18:43 07:18:43 ---> df -h: 07:18:43 Filesystem Size Used Available Use% Mounted on 07:18:43 overlay 50.0G 7.3G 42.7G 15% / 07:18:43 tmpfs 64.0M 0 64.0M 0% /dev 07:18:43 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:18:43 shm 64.0M 0 64.0M 0% /dev/shm 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-743 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-743@tmp 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:18:43 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:18:43 07:18:43 07:18:43 ---> free -m: 07:18:43 total used free shared buff/cache available 07:18:43 Mem: 1837 697 81 0 1058 1035 07:18:43 Swap: 1023 0 1023 07:18:43 07:18:43 07:18:43 ---> ip addr: 07:18:43 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:18:43 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:18:43 inet 127.0.0.1/8 scope host lo 07:18:43 valid_lft forever preferred_lft forever 07:18:43 inet6 ::1/128 scope host 07:18:43 valid_lft forever preferred_lft forever 07:18:43 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:18:43 link/ether fa:16:3e:01:5f:f6 brd ff:ff:ff:ff:ff:ff 07:18:43 inet 10.30.123.184/23 brd 10.30.123.255 scope global dynamic eth0 07:18:43 valid_lft 85975sec preferred_lft 85975sec 07:18:43 inet6 fe80::f816:3eff:fe01:5ff6/64 scope link 07:18:43 valid_lft forever preferred_lft forever 07:18:43 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:18:43 link/ether 02:42:37:d2:df:e5 brd ff:ff:ff:ff:ff:ff 07:18:43 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:18:43 valid_lft forever preferred_lft forever 07:18:43 inet6 fe80::42:37ff:fed2:dfe5/64 scope link 07:18:43 valid_lft forever preferred_lft forever 07:18:43 07:18:43 07:18:43 ---> sar -b -r -n DEV: 07:18:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 07:18:43 07:18:43 07:11:28 LINUX RESTART (4 CPU) 07:18:43 07:18:43 07:12:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:18:43 07:13:01 51.92 14.47 37.46 0.00 4622.87 3309.89 0.00 07:18:43 07:14:01 1.65 0.00 1.65 0.00 0.00 28.65 0.00 07:18:43 07:15:01 0.27 0.00 0.27 0.00 0.00 3.28 0.00 07:18:43 07:16:01 0.28 0.00 0.28 0.00 0.00 2.93 0.00 07:18:43 07:17:01 0.20 0.00 0.20 0.00 0.00 2.75 0.00 07:18:43 07:18:01 0.25 0.00 0.25 0.00 0.00 3.40 0.00 07:18:43 Average: 9.10 2.41 6.69 0.00 770.86 558.76 0.00 07:18:43 07:18:43 07:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:18:43 07:13:01 157836 0 568232 30.20 2620 1152856 1090144 37.20 402072 1120956 128 07:18:43 07:14:01 163772 0 562292 29.88 2620 1152860 1056576 36.06 400004 1118408 20 07:18:43 07:15:01 163472 0 562584 29.90 2620 1152868 1056572 36.06 410056 1108488 8 07:18:43 07:16:01 161004 0 565052 30.03 2620 1152868 1056792 36.07 412944 1107916 20 07:18:43 07:17:01 162268 0 563780 29.96 2620 1152876 1056660 36.06 417348 1102920 20 07:18:43 07:18:01 162580 0 563464 29.95 2620 1152880 1056624 36.06 417196 1102920 12 07:18:43 Average: 161822 0 564234 29.99 2620 1152868 1062228 36.25 409937 1110268 35 07:18:43 07:18:43 07:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:18:43 07:13:01 eth0 394.81 281.02 752.00 79.37 0.00 0.00 0.00 0.00 07:18:43 07:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:13:01 docker0 8.44 6.46 1.45 21.59 0.00 0.00 0.00 0.00 07:18:43 07:14:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 07:18:43 07:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:15:01 eth0 0.20 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:18:43 07:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:16:01 eth0 0.93 0.40 0.32 0.21 0.00 0.00 0.00 0.00 07:18:43 07:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:17:01 eth0 0.20 0.15 0.08 0.04 0.00 0.00 0.00 0.00 07:18:43 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:18:01 eth0 0.17 0.13 0.07 0.04 0.00 0.00 0.00 0.00 07:18:43 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 Average: eth0 66.09 47.00 125.48 13.28 0.00 0.00 0.00 0.00 07:18:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:18:43 Average: docker0 1.41 1.08 0.24 3.60 0.00 0.00 0.00 0.00 07:18:43 07:18:43 07:18:43 ---> sar -P ALL: 07:18:43 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/19/21 _x86_64_ (4 CPU) 07:18:43 07:18:43 07:11:28 LINUX RESTART (4 CPU) 07:18:43 07:18:43 07:12:01 CPU %user %nice %system %iowait %steal %idle 07:18:43 07:13:01 all 6.87 0.00 2.35 1.20 0.01 89.57 07:18:43 07:13:01 0 6.06 0.00 2.86 0.84 0.02 90.23 07:18:43 07:13:01 1 7.65 0.00 2.00 0.52 0.00 89.83 07:18:43 07:13:01 2 7.18 0.00 2.12 0.18 0.00 90.52 07:18:43 07:13:01 3 6.58 0.00 2.45 3.27 0.02 87.68 07:18:43 07:14:01 all 0.15 0.00 0.03 0.00 0.00 99.83 07:18:43 07:14:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:18:43 07:14:01 1 0.03 0.00 0.02 0.00 0.00 99.95 07:18:43 07:14:01 2 0.52 0.00 0.03 0.00 0.00 99.45 07:18:43 07:14:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:18:43 07:15:01 all 0.15 0.00 0.04 0.00 0.00 99.81 07:18:43 07:15:01 0 0.05 0.00 0.03 0.00 0.00 99.92 07:18:43 07:15:01 1 0.02 0.00 0.03 0.00 0.00 99.95 07:18:43 07:15:01 2 0.48 0.00 0.05 0.00 0.02 99.45 07:18:43 07:15:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:18:43 07:16:01 all 0.14 0.00 0.01 0.00 0.00 99.85 07:18:43 07:16:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:18:43 07:16:01 1 0.03 0.00 0.02 0.00 0.00 99.95 07:18:43 07:16:01 2 0.43 0.00 0.00 0.00 0.00 99.57 07:18:43 07:16:01 3 0.07 0.00 0.02 0.00 0.00 99.92 07:18:43 07:17:01 all 0.15 0.00 0.03 0.00 0.00 99.81 07:18:43 07:17:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:18:43 07:17:01 1 0.08 0.00 0.03 0.00 0.00 99.88 07:18:43 07:17:01 2 0.52 0.00 0.07 0.00 0.00 99.42 07:18:43 07:17:01 3 0.00 0.00 0.02 0.00 0.00 99.98 07:18:43 07:18:01 all 0.15 0.00 0.02 0.00 0.00 99.83 07:18:43 07:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:18:43 07:18:01 1 0.03 0.00 0.03 0.00 0.02 99.92 07:18:43 07:18:01 2 0.52 0.00 0.00 0.00 0.00 99.48 07:18:43 07:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 07:18:43 Average: all 1.26 0.00 0.41 0.20 0.00 98.13 07:18:43 Average: 0 1.02 0.00 0.49 0.14 0.00 98.34 07:18:43 Average: 1 1.30 0.00 0.35 0.09 0.00 98.26 07:18:43 Average: 2 1.60 0.00 0.38 0.03 0.00 97.99 07:18:43 Average: 3 1.12 0.00 0.43 0.54 0.00 97.91 07:18:43 07:18:43 07:18:43