Pull request #740 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 35ee523cb24eaab0980062b9876f9bdfc7769fe0+81b7f98a259e7befb955434734c5049d14a607c4 (28d9844ec4637a84944ca90afd077b898a535002) 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-740/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-740/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21118 in /w/workspace/dgexfoundry_device-sdk-go_PR-740 [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-740 # 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/740/head:refs/remotes/origin/PR-740 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 35ee523cb24eaab0980062b9876f9bdfc7769fe0 Merge succeeded, producing 35ee523cb24eaab0980062b9876f9bdfc7769fe0 Checking out Revision 35ee523cb24eaab0980062b9876f9bdfc7769fe0 (PR-740) > git config core.sparsecheckout # timeout=10 > git checkout -f 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # 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 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 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 03:57:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:57:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:57:15 ========================================================= 03:57:15 EdgeX Global Pipelines Version Info 03:57:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:57:17 ------------------- 03:57:17 stable info: 03:57:17 ------------------- 03:57:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:57:17 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 03:57:17 Message: update stable to v1.0.177 03:57:18 ------------------- 03:57:18 experimental info: 03:57:18 ------------------- 03:57:18 Commited By: **** collab-it+edgex@linuxfoundation.org 03:57:18 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 03:57:18 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:57:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:57:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:57:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:57:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:57:22 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-740 [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-740 [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-740 [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35ee523cb24eaab0980062b9876f9bdfc7769fe0 [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35ee523 [Pipeline] echo 03:57:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:57:24 provisioning config files... 03:57:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/config8560051614090152076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:24 ---> docker-login.sh 03:57:24 nexus3.edgexfoundry.org:10001 03:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:24 Configure a credential helper to remove this warning. See 03:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:24 03:57:24 Login Succeeded 03:57:24 nexus3.edgexfoundry.org:10002 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 nexus3.edgexfoundry.org:10003 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 nexus3.edgexfoundry.org:10004 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 docker.io 03:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:25 Configure a credential helper to remove this warning. See 03:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:25 03:57:25 Login Succeeded 03:57:25 ---> docker-login.sh ends [Pipeline] } 03:57:25 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 03:57:27 + git log --format=format:%s -1 35ee523cb24eaab0980062b9876f9bdfc7769fe0 [Pipeline] echo 03:57:27 GIT_COMMIT: 35ee523cb24eaab0980062b9876f9bdfc7769fe0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 03:57:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:57:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:27 03:57:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:57:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:28 latest: Pulling from edgex-devops/git-semver 03:57:28 31603596830f: Pulling fs layer 03:57:28 2a8b12db71e7: Pulling fs layer 03:57:28 6ca5941a6612: Pulling fs layer 03:57:28 ecc8261a40a4: Pulling fs layer 03:57:28 ecc8261a40a4: Waiting 03:57:28 2a8b12db71e7: Verifying Checksum 03:57:28 2a8b12db71e7: Download complete 03:57:28 31603596830f: Verifying Checksum 03:57:28 31603596830f: Download complete 03:57:28 ecc8261a40a4: Verifying Checksum 03:57:28 ecc8261a40a4: Download complete 03:57:28 6ca5941a6612: Verifying Checksum 03:57:28 6ca5941a6612: Download complete 03:57:28 31603596830f: Pull complete 03:57:28 2a8b12db71e7: Pull complete 03:57:29 6ca5941a6612: Pull complete 03:57:29 ecc8261a40a4: Pull complete 03:57:29 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:57:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:57:30 prd-centos7-docker-4c-2g-21118 does not seem to be running inside a container 03:57:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-740 -v /w/workspace/dgexfoundry_device-sdk-go_PR-740:/w/workspace/dgexfoundry_device-sdk-go_PR-740:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:32 $ docker top 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:57:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:32 [ssh-agent] Looking for ssh-agent implementation... 03:57:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:33 $ docker exec 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 ssh-agent 03:57:33 SSH_AUTH_SOCK=/tmp/ssh-OSZmZJe3csXz/agent.11 03:57:33 SSH_AGENT_PID=16 03:57:33 Running ssh-add (command line suppressed) 03:57:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/private_key_3937689171010561036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/private_key_3937689171010561036.key) 03:57:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:33 + git tag --points-at HEAD [Pipeline] } 03:57:33 $ docker exec --env ******** --env ******** 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 ssh-agent -k 03:57:34 unset SSH_AUTH_SOCK; 03:57:34 unset SSH_AGENT_PID; 03:57:34 echo Agent pid 16 killed; 03:57:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:57:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:34 [ssh-agent] Looking for ssh-agent implementation... 03:57:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:34 $ docker exec 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 ssh-agent 03:57:34 SSH_AUTH_SOCK=/tmp/ssh-KIOs3fB1iaRT/agent.45 03:57:34 SSH_AGENT_PID=51 03:57:34 Running ssh-add (command line suppressed) 03:57:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/private_key_4331167027887421759.key (/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/private_key_4331167027887421759.key) 03:57:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:35 + git semver init 03:57:35 # -> Open(): unable to determine branch for HEAD 03:57:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-740/.git 03:57:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-740 03:57:35 # $SEMVER_REMOTE_NAME = origin 03:57:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:57:35 # $SEMVER_USER_NAME = edgex-jenkins 03:57:35 # $SEMVER_BRANCH = PR-740 03:57:35 # $SEMVER_TEMP = /tmp/semver-792666790 03:57:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:57:35 # '/tmp/semver-792666790' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-740/.semver' 03:57:35 # -> Force: false 03:57:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-740/.semver [Pipeline] } 03:57:35 $ docker exec --env ******** --env ******** 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 ssh-agent -k 03:57:35 unset SSH_AUTH_SOCK; 03:57:35 unset SSH_AGENT_PID; 03:57:35 echo Agent pid 51 killed; 03:57:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:57:36 + git semver [Pipeline] } 03:57:36 $ docker stop --time=1 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 03:57:38 $ docker rm -f 7f1807dc57163cd5781647210c30a5293edcd3af94b4dd805a95346c8671cea8 [Pipeline] // withDockerContainer [Pipeline] sh 03:57:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:57:39 Stashed 1 file(s) [Pipeline] echo 03:57:39 [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 03:57:50 Running on prd-centos7-docker-4c-2g-21121 in /w/workspace/dgexfoundry_device-sdk-go_PR-740 [Pipeline] { [Pipeline] ws 03:57:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:57:52 using credential edgex-jenkins-ssh 03:57:52 Cloning the remote Git repository 03:57:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:57:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:57:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:57:53 > git --version # timeout=10 03:57:53 > git --version # 'git version 2.24.3' 03:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:54 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 35ee523cb24eaab0980062b9876f9bdfc7769fe0 03:57:54 Merge succeeded, producing 35ee523cb24eaab0980062b9876f9bdfc7769fe0 03:57:54 Checking out Revision 35ee523cb24eaab0980062b9876f9bdfc7769fe0 (PR-740) 03:57:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:57:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:57:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:57:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:57:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/740/head:refs/remotes/origin/PR-740 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:57:54 > git config core.sparsecheckout # timeout=10 03:57:54 > git checkout -f 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # timeout=10 03:57:54 > git remote # timeout=10 03:57:54 > git config --get remote.origin.url # timeout=10 03:57:54 using GIT_SSH to set credentials SSH Credentials for GitHub 03:57:54 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 03:57:54 > git rev-parse HEAD^{commit} # timeout=10 03:57:54 > git config core.sparsecheckout # timeout=10 03:57:54 > git checkout -f 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # timeout=10 03:57:55 Still waiting to schedule task 03:57:55 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:57:58 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 03:57:58 > git --version # timeout=10 03:57:58 > git --version # 'git version 2.24.3' 03:57:58 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:57:59 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:57:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:58:00 + sudo service docker restart 03:58:00 + true 03:58:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:58:01 provisioning config files... 03:58:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5052115836309318496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:01 ---> docker-login.sh 03:58:01 nexus3.edgexfoundry.org:10001 03:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:02 Configure a credential helper to remove this warning. See 03:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:02 03:58:02 Login Succeeded 03:58:02 nexus3.edgexfoundry.org:10002 03:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:02 Configure a credential helper to remove this warning. See 03:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:02 03:58:02 Login Succeeded 03:58:02 nexus3.edgexfoundry.org:10003 03:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:02 Configure a credential helper to remove this warning. See 03:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:02 03:58:02 Login Succeeded 03:58:02 nexus3.edgexfoundry.org:10004 03:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:02 Configure a credential helper to remove this warning. See 03:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:02 03:58:02 Login Succeeded 03:58:02 docker.io 03:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:03 Configure a credential helper to remove this warning. See 03:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:03 03:58:03 Login Succeeded 03:58:03 ---> docker-login.sh ends [Pipeline] } 03:58:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:03 ========================================================= 03:58:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:58:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:58:04 + 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 . 03:58:04 Sending build context to Docker daemon 2.515MB 03:58:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:58:04 Step 2/8 : FROM ${BASE} 03:58:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:58:04 188c0c94c7c5: Pulling fs layer 03:58:04 0ef7d3d256c8: Pulling fs layer 03:58:04 de9db76c5a1d: Pulling fs layer 03:58:04 bca2f99d35d6: Pulling fs layer 03:58:04 93359f2a8cfa: Pulling fs layer 03:58:04 7c6f9722023f: Pulling fs layer 03:58:04 a35cf1a2eb13: Pulling fs layer 03:58:04 93359f2a8cfa: Waiting 03:58:04 7c6f9722023f: Waiting 03:58:04 a35cf1a2eb13: Waiting 03:58:04 bca2f99d35d6: Waiting 03:58:04 de9db76c5a1d: Verifying Checksum 03:58:04 de9db76c5a1d: Download complete 03:58:04 0ef7d3d256c8: Verifying Checksum 03:58:04 0ef7d3d256c8: Download complete 03:58:04 93359f2a8cfa: Download complete 03:58:04 188c0c94c7c5: Verifying Checksum 03:58:04 188c0c94c7c5: Download complete 03:58:04 7c6f9722023f: Verifying Checksum 03:58:04 7c6f9722023f: Download complete 03:58:05 188c0c94c7c5: Pull complete 03:58:05 0ef7d3d256c8: Pull complete 03:58:05 de9db76c5a1d: Pull complete 03:58:06 a35cf1a2eb13: Verifying Checksum 03:58:06 a35cf1a2eb13: Download complete 03:58:07 bca2f99d35d6: Verifying Checksum 03:58:07 bca2f99d35d6: Download complete 03:58:13 bca2f99d35d6: Pull complete 03:58:13 93359f2a8cfa: Pull complete 03:58:13 7c6f9722023f: Pull complete 03:58:17 a35cf1a2eb13: Pull complete 03:58:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:58:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:58:17 ---> a62c8e92a672 03:58:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:58:17 ---> Running in 2b8d98ff4ab5 03:58:17 Removing intermediate container 2b8d98ff4ab5 03:58:17 ---> d7483ac7733a 03:58:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:17 ---> Running in a747d7399ce1 03:58:18 Removing intermediate container a747d7399ce1 03:58:18 ---> c67724fc4d4d 03:58:18 Step 5/8 : RUN apk add --update --no-cache make git 03:58:18 ---> Running in 49a5f8ad7f02 03:58:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:58:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:58:21 OK: 166 MiB in 39 packages 03:58:21 Removing intermediate container 49a5f8ad7f02 03:58:21 ---> e813d6e2efc1 03:58:21 Step 6/8 : WORKDIR /device-sdk-go 03:58:21 ---> Running in 5357b0252022 03:58:22 Removing intermediate container 5357b0252022 03:58:22 ---> 04c3e2795af1 03:58:22 Step 7/8 : COPY . . 03:58:23 ---> de9871d8c5fa 03:58:23 Step 8/8 : RUN go mod download 03:58:23 ---> Running in 8e212bba7399 03:58:41 Removing intermediate container 8e212bba7399 03:58:41 ---> f8f9c1efad32 03:58:41 Successfully built f8f9c1efad32 03:58:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:58:42 + docker inspect -f . ci-base-image-x86_64 03:58:42 . [Pipeline] withDockerContainer 03:58:42 prd-centos7-docker-4c-2g-21121 does not seem to be running inside a container 03:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:58:43 $ docker top 21cfec945127868198870f84ba966d34b2782be42fce884e770b5d57f96f6054 -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:44 + go version 03:58:44 go version go1.15.5 linux/amd64 [Pipeline] } 03:58:44 $ docker stop --time=1 21cfec945127868198870f84ba966d34b2782be42fce884e770b5d57f96f6054 03:58:45 $ docker rm -f 21cfec945127868198870f84ba966d34b2782be42fce884e770b5d57f96f6054 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:58:46 + docker inspect -f . ci-base-image-x86_64 03:58:46 . [Pipeline] withDockerContainer 03:58:46 prd-centos7-docker-4c-2g-21121 does not seem to be running inside a container 03:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:58:47 $ docker top 52eb67a4304ad5e717a128863a8a669c299e32041653cdd6f431b647b8f125b4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:48 + make test 03:58:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:58:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:59:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:59:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:59:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:59:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 19.4% of statements 03:59:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.527s coverage: 97.1% of statements 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.059s coverage: 9.4% of statements 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.990s coverage: 42.9% of statements 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.276s coverage: 68.9% of statements 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 53.8% of statements 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 25.6% of statements 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.488s coverage: 68.9% of statements 03:59:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 03:59:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:59:42 GO111MODULE=on go vet ./... 03:59:52 gofmt -l . 03:59:52 [ "`gofmt -l .`" = "" ] 03:59:52 ./bin/test-attribution-txt.sh 03:59:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:59:54 $ docker stop --time=1 52eb67a4304ad5e717a128863a8a669c299e32041653cdd6f431b647b8f125b4 03:59:56 $ docker rm -f 52eb67a4304ad5e717a128863a8a669c299e32041653cdd6f431b647b8f125b4 [Pipeline] // withDockerContainer [Pipeline] sh 03:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:59:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:59:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:59:58 + ls -al . 03:59:58 total 224 03:59:58 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 03:59 . 03:59:58 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 03:57 .. 03:59:58 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 03:57 bin 03:59:58 -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 03:59 coverage.out 03:59:58 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 03:57 Dockerfile.build 03:59:58 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 03:57 .dockerignore 03:59:58 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 03:57 example 03:59:58 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 03:57 .git 03:59:58 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 03:57 .github 03:59:58 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 03:57 .gitignore 03:59:58 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 03:59 go.mod 03:59:58 -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 03:59 go.sum 03:59:58 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 03:57 internal 03:59:58 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 03:57 Jenkinsfile 03:59:58 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 03:57 LICENSE 03:59:58 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 03:57 Makefile 03:59:58 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 03:57 openapi 03:59:58 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 03:57 pkg 03:59:58 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 03:57 README.md 03:59:58 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 03:57 RELEASE-NOTES.txt 03:59:58 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 03:57 snap 03:59:58 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 03:57 VERSION 03:59:58 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 03:57 version.go [Pipeline] isUnix [Pipeline] sh 03:59:59 + 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=35ee523cb24eaab0980062b9876f9bdfc7769fe0 --label arch=amd64 --label version=0.0.0 . 03:59:59 Sending build context to Docker daemon 2.66MB 03:59:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:59:59 Step 2/24 : FROM ${BASE} AS builder 03:59:59 ---> f8f9c1efad32 03:59:59 Step 3/24 : ARG MAKE='make build' 04:00:00 ---> Running in 3f1308988cad 04:00:00 Removing intermediate container 3f1308988cad 04:00:00 ---> fdb36f6edad3 04:00:00 Step 4/24 : WORKDIR /device-sdk-go 04:00:00 ---> Running in 874ea0d7f9ea 04:00:00 Removing intermediate container 874ea0d7f9ea 04:00:00 ---> b44ccfd51238 04:00:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:00:00 ---> Running in 9fa28981b7b8 04:00:00 Removing intermediate container 9fa28981b7b8 04:00:00 ---> 70239c0bc8a0 04:00:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:00 ---> Running in ba6519475a6a 04:00:01 Removing intermediate container ba6519475a6a 04:00:01 ---> bc2613cce427 04:00:01 Step 7/24 : RUN apk add --update --no-cache make git 04:00:01 ---> Running in 39a3a977ce25 04:00:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:00:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:00:04 OK: 166 MiB in 39 packages 04:00:04 Removing intermediate container 39a3a977ce25 04:00:04 ---> e701c9164199 04:00:04 Step 8/24 : COPY . . 04:00:06 ---> 65dda4ec4fd3 04:00:06 Step 9/24 : RUN ${MAKE} 04:00:06 ---> Running in dd97045f1ca5 04:00:06 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 04:00:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21122 in /w/workspace/dgexfoundry_device-sdk-go_PR-740 [Pipeline] { [Pipeline] ws 04:00:14 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:00:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:00:18 Removing intermediate container dd97045f1ca5 04:00:18 ---> f579605ee3cc 04:00:18 Step 10/24 : FROM scratch 04:00:18 ---> 04:00:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:00:18 ---> Running in 91d4a8c6f2b9 04:00:18 Removing intermediate container 91d4a8c6f2b9 04:00:18 ---> eb11752cf21a 04:00:18 Step 12/24 : ENV APP_PORT=49990 04:00:18 ---> Running in 0d2ce8879c54 04:00:18 Removing intermediate container 0d2ce8879c54 04:00:18 ---> c896c21dd015 04:00:18 Step 13/24 : EXPOSE $APP_PORT 04:00:18 ---> Running in f007a3af4e1f 04:00:18 Removing intermediate container f007a3af4e1f 04:00:18 ---> 7735adb45cae 04:00:18 Step 14/24 : WORKDIR / 04:00:18 ---> Running in 08ee3cf0ce8f 04:00:18 Removing intermediate container 08ee3cf0ce8f 04:00:18 ---> 5a6984440eb7 04:00:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:00:19 ---> 9216570915b6 04:00:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:00:19 ---> 5b93c29748ae 04:00:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:00:19 ---> c7be93818a34 04:00:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:00:20 ---> 459e1642e75c 04:00:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:00:20 using credential edgex-jenkins-ssh 04:00:20 Cloning the remote Git repository 04:00:20 ---> 89e7db7adfec 04:00:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:00:20 ---> Running in 8f020081a333 04:00:20 Removing intermediate container 8f020081a333 04:00:20 ---> 9a8c7950b821 04:00:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:00:20 ---> Running in e6684392130e 04:00:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:00:20 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:00:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:20 > git --version # timeout=10 04:00:20 > git --version # 'git version 2.17.1' 04:00:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:20 Removing intermediate container e6684392130e 04:00:20 ---> cf337dbf198d 04:00:20 Step 22/24 : LABEL arch=amd64 04:00:20 ---> Running in caaa4092adfb 04:00:20 Removing intermediate container caaa4092adfb 04:00:20 ---> d9908e9728ec 04:00:20 Step 23/24 : LABEL git_sha=35ee523cb24eaab0980062b9876f9bdfc7769fe0 04:00:21 ---> Running in 8aefb2c5a983 04:00:21 Removing intermediate container 8aefb2c5a983 04:00:21 ---> cf9239e23df9 04:00:21 Step 24/24 : LABEL version=0.0.0 04:00:21 ---> Running in d3b2a4d7cd79 04:00:21 Removing intermediate container d3b2a4d7cd79 04:00:21 ---> ab8dec8b0419 04:00:21 [Warning] One or more build-args [ARCH] were not consumed 04:00:21 Successfully built ab8dec8b0419 04:00:21 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 04:00:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/740/head:refs/remotes/origin/PR-740 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:00:22 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 35ee523cb24eaab0980062b9876f9bdfc7769fe0 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 04:00:22 Merge succeeded, producing 35ee523cb24eaab0980062b9876f9bdfc7769fe0 04:00:22 Checking out Revision 35ee523cb24eaab0980062b9876f9bdfc7769fe0 (PR-740) [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:00:22 > git config core.sparsecheckout # timeout=10 04:00:22 > git checkout -f 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # timeout=10 04:00:22 > git remote # timeout=10 04:00:22 > git config --get remote.origin.url # timeout=10 04:00:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:22 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 04:00:22 > git rev-parse HEAD^{commit} # timeout=10 04:00:22 > git config core.sparsecheckout # timeout=10 04:00:22 > git checkout -f 35ee523cb24eaab0980062b9876f9bdfc7769fe0 # timeout=10 04:00:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 04:00:27 > git --version # timeout=10 04:00:27 > git --version # 'git version 2.17.1' 04:00:27 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:29 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:00:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:00:29 + true 04:00:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:00:32 provisioning config files... 04:00:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3683777613073824774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:33 ---> docker-login.sh 04:00:33 nexus3.edgexfoundry.org:10001 04:00:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:34 Configure a credential helper to remove this warning. See 04:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:34 04:00:34 Login Succeeded 04:00:34 nexus3.edgexfoundry.org:10002 04:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:35 Configure a credential helper to remove this warning. See 04:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:35 04:00:35 Login Succeeded 04:00:35 nexus3.edgexfoundry.org:10003 04:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:35 Configure a credential helper to remove this warning. See 04:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:35 04:00:35 Login Succeeded 04:00:35 nexus3.edgexfoundry.org:10004 04:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:36 Configure a credential helper to remove this warning. See 04:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:36 04:00:36 Login Succeeded 04:00:36 docker.io 04:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:37 Configure a credential helper to remove this warning. See 04:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:37 04:00:37 Login Succeeded 04:00:37 ---> docker-login.sh ends [Pipeline] } 04:00:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:37 ========================================================= 04:00:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:00:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:00:38 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 04:00:39 Sending build context to Docker daemon 2.521MB 04:00:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:00:39 Step 2/8 : FROM ${BASE} 04:00:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:00:39 5f621e34cdf4: Pulling fs layer 04:00:39 a4357932f1b6: Pulling fs layer 04:00:39 18c013af1878: Pulling fs layer 04:00:39 00ac8860ef70: Pulling fs layer 04:00:39 63d7cb157983: Pulling fs layer 04:00:39 b116817d02f9: Pulling fs layer 04:00:39 745a02a5169b: Pulling fs layer 04:00:39 00ac8860ef70: Waiting 04:00:39 63d7cb157983: Waiting 04:00:39 b116817d02f9: Waiting 04:00:39 745a02a5169b: Waiting 04:00:39 18c013af1878: Verifying Checksum 04:00:39 18c013af1878: Download complete 04:00:39 a4357932f1b6: Verifying Checksum 04:00:39 a4357932f1b6: Download complete 04:00:39 63d7cb157983: Verifying Checksum 04:00:39 63d7cb157983: Download complete 04:00:39 b116817d02f9: Verifying Checksum 04:00:39 b116817d02f9: Download complete 04:00:39 5f621e34cdf4: Download complete 04:00:40 5f621e34cdf4: Pull complete 04:00:40 a4357932f1b6: Pull complete 04:00:40 18c013af1878: Pull complete 04:00:41 745a02a5169b: Verifying Checksum 04:00:41 745a02a5169b: Download complete 04:00:43 00ac8860ef70: Verifying Checksum 04:00:43 00ac8860ef70: Download complete 04:00:53 00ac8860ef70: Pull complete 04:00:53 63d7cb157983: Pull complete 04:00:53 b116817d02f9: Pull complete 04:00:57 745a02a5169b: Pull complete 04:00:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:00:57 ---> b7e6874047d6 04:00:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:01:00 ---> Running in fa671dc80b94 04:01:00 Removing intermediate container fa671dc80b94 04:01:00 ---> 9a847dd611c0 04:01:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:00 ---> Running in 8f2c8e98dd64 04:01:03 Removing intermediate container 8f2c8e98dd64 04:01:03 ---> c7090e689dc9 04:01:03 Step 5/8 : RUN apk add --update --no-cache make git 04:01:03 ---> Running in 460cf39b2ce1 04:01:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:01:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:01:05 OK: 142 MiB in 39 packages 04:01:07 Removing intermediate container 460cf39b2ce1 04:01:07 ---> f85b8223f67d 04:01:07 Step 6/8 : WORKDIR /device-sdk-go 04:01:07 ---> Running in 233e2f609e3e 04:01:08 Removing intermediate container 233e2f609e3e 04:01:08 ---> 07dbd1c9ba4f 04:01:08 Step 7/8 : COPY . . 04:01:09 ---> 0a53ae92c36e 04:01:09 Step 8/8 : RUN go mod download 04:01:09 ---> Running in b88763220e33 04:01:31 Removing intermediate container b88763220e33 04:01:31 ---> 9525fb559c84 04:01:31 Successfully built 9525fb559c84 04:01:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:01:32 + docker inspect -f . ci-base-image-arm64 04:01:32 . [Pipeline] withDockerContainer 04:01:32 prd-ubuntu18.04-docker-arm64-4c-16g-21122 does not seem to be running inside a container 04:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:01:33 $ docker top 337e8c9f84b4660caeb8bc95892a26682d0f97cb772df9c2f98c974dbfa17e2c -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:35 + go version 04:01:35 go version go1.15.5 linux/arm64 [Pipeline] } 04:01:35 $ docker stop --time=1 337e8c9f84b4660caeb8bc95892a26682d0f97cb772df9c2f98c974dbfa17e2c 04:01:37 $ docker rm -f 337e8c9f84b4660caeb8bc95892a26682d0f97cb772df9c2f98c974dbfa17e2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:01:38 + docker inspect -f . ci-base-image-arm64 04:01:38 . [Pipeline] withDockerContainer 04:01:38 prd-ubuntu18.04-docker-arm64-4c-16g-21122 does not seem to be running inside a container 04:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:01:40 $ docker top f38db42684de0f55bbbb140c7e47f8f9577d49c08ae890f21598aa500d90b72c -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:41 + make test 04:01:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:02:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:02:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:02:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:02:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:02:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.174s coverage: 19.4% of statements 04:02:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.224s coverage: 97.1% of statements 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.124s coverage: 9.4% of statements 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 21.7% of statements 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.650s coverage: 42.9% of statements 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.775s coverage: 68.9% of statements 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.215s coverage: 53.8% of statements 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.194s coverage: 25.6% of statements 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.826s coverage: 68.9% of statements 04:03:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 04:03:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:03:23 GO111MODULE=on go vet ./... 04:03:55 gofmt -l . 04:03:55 [ "`gofmt -l .`" = "" ] 04:03:55 ./bin/test-attribution-txt.sh 04:03:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:03:56 $ docker stop --time=1 f38db42684de0f55bbbb140c7e47f8f9577d49c08ae890f21598aa500d90b72c 04:03:59 $ docker rm -f f38db42684de0f55bbbb140c7e47f8f9577d49c08ae890f21598aa500d90b72c [Pipeline] // withDockerContainer [Pipeline] sh 04:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:00 Warning: overwriting stash ‘coverage-report’ 04:04:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:02 + ls -al . 04:04:02 total 260 04:04:02 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:03 . 04:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:00 .. 04:04:02 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 04:00 .dockerignore 04:04:02 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:00 .git 04:04:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:00 .github 04:04:02 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 04:00 .gitignore 04:04:02 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 04:00 Dockerfile.build 04:04:02 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 04:00 Jenkinsfile 04:04:02 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 04:00 LICENSE 04:04:02 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 04:00 Makefile 04:04:02 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 04:00 README.md 04:04:02 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 04:00 RELEASE-NOTES.txt 04:04:02 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 03:57 VERSION 04:04:02 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:00 bin 04:04:02 -rw-r--r-- 1 jenkins jenkins 144064 Jan 19 04:03 coverage.out 04:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:00 example 04:04:02 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 04:03 go.mod 04:04:02 -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 04:03 go.sum 04:04:02 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 04:00 internal 04:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:00 openapi 04:04:02 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 04:00 pkg 04:04:02 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:00 snap 04:04:02 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 04:00 version.go [Pipeline] isUnix [Pipeline] sh 04:04:03 + 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=35ee523cb24eaab0980062b9876f9bdfc7769fe0 --label arch=arm64 --label version=0.0.0 . 04:04:03 Sending build context to Docker daemon 2.666MB 04:04:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:04:03 Step 2/24 : FROM ${BASE} AS builder 04:04:03 ---> 9525fb559c84 04:04:03 Step 3/24 : ARG MAKE='make build' 04:04:03 ---> Running in 2d2c22d1f641 04:04:04 Removing intermediate container 2d2c22d1f641 04:04:04 ---> 479d28c8d216 04:04:04 Step 4/24 : WORKDIR /device-sdk-go 04:04:04 ---> Running in e7beba0e0622 04:04:05 Removing intermediate container e7beba0e0622 04:04:05 ---> 7e0004c9aaee 04:04:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:04:05 ---> Running in 8a75279acc87 04:04:05 Removing intermediate container 8a75279acc87 04:04:05 ---> 1fd1696d4d8c 04:04:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:05 ---> Running in ed06852fa6af 04:04:08 Removing intermediate container ed06852fa6af 04:04:08 ---> ec856d770307 04:04:08 Step 7/24 : RUN apk add --update --no-cache make git 04:04:08 ---> Running in d22ecf4430be 04:04:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:04:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:04:11 OK: 142 MiB in 39 packages 04:04:12 Removing intermediate container d22ecf4430be 04:04:12 ---> 9b1fc19aa6b3 04:04:12 Step 8/24 : COPY . . 04:04:13 ---> 5663014a9380 04:04:13 Step 9/24 : RUN ${MAKE} 04:04:14 ---> Running in f2841a730d62 04:04:15 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 04:04:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:04:43 Removing intermediate container f2841a730d62 04:04:43 ---> 60e4ca109f2d 04:04:43 Step 10/24 : FROM scratch 04:04:43 ---> 04:04:43 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:04:43 ---> Running in ee83a77e9df5 04:04:44 Removing intermediate container ee83a77e9df5 04:04:44 ---> 6105c908c430 04:04:44 Step 12/24 : ENV APP_PORT=49990 04:04:44 ---> Running in b66463ecde13 04:04:44 Removing intermediate container b66463ecde13 04:04:44 ---> 1f000d1c385d 04:04:44 Step 13/24 : EXPOSE $APP_PORT 04:04:44 ---> Running in ccc729e89c05 04:04:45 Removing intermediate container ccc729e89c05 04:04:45 ---> e3d4eed546f1 04:04:45 Step 14/24 : WORKDIR / 04:04:45 ---> Running in a36a9aa35870 04:04:45 Removing intermediate container a36a9aa35870 04:04:45 ---> 943a1411436e 04:04:45 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:04:47 ---> f0717515f696 04:04:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:04:47 ---> 5736cfc02bcb 04:04:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:04:48 ---> c8eb29f50993 04:04:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:04:49 ---> 33c8004ac64c 04:04:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:04:49 ---> fc78f8c539b4 04:04:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:04:50 ---> Running in 7bf4ee53f395 04:04:50 Removing intermediate container 7bf4ee53f395 04:04:50 ---> 0bb1cc99c3dd 04:04:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:04:50 ---> Running in a1a45c7063d7 04:04:51 Removing intermediate container a1a45c7063d7 04:04:51 ---> 2882ce61f31d 04:04:51 Step 22/24 : LABEL arch=arm64 04:04:51 ---> Running in 851ab9f40ac2 04:04:51 Removing intermediate container 851ab9f40ac2 04:04:51 ---> 6ee62af494a3 04:04:51 Step 23/24 : LABEL git_sha=35ee523cb24eaab0980062b9876f9bdfc7769fe0 04:04:51 ---> Running in 675ebfeb1acf 04:04:52 Removing intermediate container 675ebfeb1acf 04:04:52 ---> 59e2adcd7970 04:04:52 Step 24/24 : LABEL version=0.0.0 04:04:52 ---> Running in a3aaf50c5c42 04:04:53 Removing intermediate container a3aaf50c5c42 04:04:53 ---> c4c8bab19b45 04:04:53 [Warning] One or more build-args [ARCH] were not consumed 04:04:53 Successfully built c4c8bab19b45 04:04:53 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 04:04:56 provisioning config files... 04:04:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/config3897989465035101798tmp [Pipeline] { [Pipeline] sh 04:04:57 + set +x 04:04:57 + curl -s https://codecov.io/bash 04:04:57 + bash -s -- 04:04:57 04:04:57 _____ _ 04:04:57 / ____| | | 04:04:57 | | ___ __| | ___ ___ _____ __ 04:04:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:04:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:04:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:04:57 Bash-20210115-cec3c92 04:04:57 04:04:57 04:04:57 ==> git version 2.24.3 found 04:04:57 ==> 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 04:04:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:04:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:04:57 ==> Jenkins CI detected. 04:04:57 project root: . 04:04:57 --> token set from env 04:04:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:04:57 ==> Running gcov in . (disable via -X gcov) 04:04:57 ==> Python coveragepy not found 04:04:57 ==> Searching for coverage reports in: 04:04:57 + . 04:04:57 -> Found 1 reports 04:04:57 ==> Detecting git/mercurial file structure 04:04:57 ==> Reading reports 04:04:57 + ./coverage.out bytes=144064 04:04:57 ==> Appending adjustments 04:04:57 https://docs.codecov.io/docs/fixing-reports 04:04:57 + Found adjustments 04:04:57 ==> Gzipping contents 04:04:57 24K /tmp/codecov.CuuN27.gz 04:04:57 ==> Uploading reports 04:04:57 url: https://codecov.io 04:04:57 query: branch=PR-740&commit=35ee523cb24eaab0980062b9876f9bdfc7769fe0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-740%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=740&job=&cmd_args= 04:04:57 -> Pinging Codecov 04:04:57 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-740&commit=35ee523cb24eaab0980062b9876f9bdfc7769fe0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-740%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=740&job=&cmd_args= 04:04:58 -> Uploading to 04:04:58 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/35ee523cb24eaab0980062b9876f9bdfc7769fe0/5dd82e72-e661-4cf4-8afe-45cc4066261f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T040457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56fc0417b02aa509b7d5677a04889a26e1b9acb05d206325bef27f10b35c8b20 04:04:58 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:58 Dload Upload Total Spent Left Speed 04:04:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22328 0 0 100 22328 0 46337 --:--:-- --:--:-- --:--:-- 46323 04:04:58 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/35ee523cb24eaab0980062b9876f9bdfc7769fe0 [Pipeline] } 04:04:58 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 04:05:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:05:02 ---> package-listing.sh 04:05:02 ++ facter osfamily 04:05:02 ++ tr '[:upper:]' '[:lower:]' 04:05:02 + OS_FAMILY=redhat 04:05:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-740 04:05:02 + START_PACKAGES=/tmp/packages_start.txt 04:05:02 + END_PACKAGES=/tmp/packages_end.txt 04:05:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:02 + PACKAGES=/tmp/packages_start.txt 04:05:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-740 ']' 04:05:02 + PACKAGES=/tmp/packages_end.txt 04:05:02 + case "${OS_FAMILY}" in 04:05:02 + rpm -qa 04:05:02 + sort 04:05:07 + '[' -f /tmp/packages_start.txt ']' 04:05:07 + '[' -f /tmp/packages_end.txt ']' 04:05:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-740 ']' 04:05:07 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-740/archives/ 04:05:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-740/archives/ [Pipeline] echo 04:05:07 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-740/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:05:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:08 04:05:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:09 alpine: Pulling from edgex-lftools-log-publisher 04:05:09 df20fa9351a1: Pulling fs layer 04:05:09 36b3adc4ff6f: Pulling fs layer 04:05:09 8ad3a11d3b57: Pulling fs layer 04:05:09 46f8f816bc3b: Pulling fs layer 04:05:09 93b61091891f: Pulling fs layer 04:05:09 93b9cdb0e59b: Pulling fs layer 04:05:09 5e14af77c1be: Pulling fs layer 04:05:09 01666e4c0597: Pulling fs layer 04:05:09 aa168da1d23b: Pulling fs layer 04:05:09 46f8f816bc3b: Waiting 04:05:09 5e14af77c1be: Waiting 04:05:09 93b61091891f: Waiting 04:05:09 01666e4c0597: Waiting 04:05:09 93b9cdb0e59b: Waiting 04:05:09 aa168da1d23b: Waiting 04:05:09 36b3adc4ff6f: Verifying Checksum 04:05:09 36b3adc4ff6f: Download complete 04:05:09 46f8f816bc3b: Verifying Checksum 04:05:09 46f8f816bc3b: Download complete 04:05:09 df20fa9351a1: Verifying Checksum 04:05:09 93b9cdb0e59b: Verifying Checksum 04:05:09 93b9cdb0e59b: Download complete 04:05:09 5e14af77c1be: Verifying Checksum 04:05:09 5e14af77c1be: Download complete 04:05:09 93b61091891f: Verifying Checksum 04:05:09 93b61091891f: Download complete 04:05:09 01666e4c0597: Verifying Checksum 04:05:09 01666e4c0597: Download complete 04:05:09 8ad3a11d3b57: Verifying Checksum 04:05:09 8ad3a11d3b57: Download complete 04:05:09 df20fa9351a1: Pull complete 04:05:09 36b3adc4ff6f: Pull complete 04:05:10 8ad3a11d3b57: Pull complete 04:05:10 46f8f816bc3b: Pull complete 04:05:10 93b61091891f: Pull complete 04:05:11 aa168da1d23b: Verifying Checksum 04:05:11 aa168da1d23b: Download complete 04:05:11 93b9cdb0e59b: Pull complete 04:05:12 5e14af77c1be: Pull complete 04:05:12 01666e4c0597: Pull complete 04:05:17 aa168da1d23b: Pull complete 04:05:17 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:05:17 prd-centos7-docker-4c-2g-21118 does not seem to be running inside a container 04:05:17 $ 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-740/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-740 -v /w/workspace/dgexfoundry_device-sdk-go_PR-740:/w/workspace/dgexfoundry_device-sdk-go_PR-740:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:05:23 $ docker top f7f74d86e370f186f5efb82b201f529c9531f10a2d7d5db4c5e6090d373ca62d -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:23 + touch /tmp/pre-build-complete [Pipeline] sh 04:05:24 + mkdir -p /var/log/sa [Pipeline] sh 04:05:24 + ls /var/log/sa-host 04:05:24 + sadf -c /var/log/sa-host/sa19 04:05:24 file_magic: OK 04:05:24 HZ: Using current value: 100 04:05:24 file_header: OK 04:05:24 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 04:05:24 Statistics: 04:05:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:05:24 File successfully converted to sysstat format version 12.2.1 04:05:24 + sadf -c /var/log/sa-host/sa23 04:05:24 file_magic: OK 04:05:24 HZ: Using current value: 100 04:05:24 file_header: OK 04:05:24 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 04:05:24 Statistics: 04:05:24 Hnuu...uuuununununu... 04:05:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:24 provisioning config files... 04:05:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-740@tmp/config4500854829287348970tmp [Pipeline] { [Pipeline] echo 04:05:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:05:25 ---> create-netrc.sh [Pipeline] } 04:05:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:05:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:05:25 ---> python-tools-install.sh [Pipeline] echo 04:05:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:05:26 ---> sudo-logs.sh 04:05:26 Archiving 'sudo' log.. [Pipeline] echo 04:05:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:05:26 ---> job-cost.sh 04:05:26 lf-activate-venv: SKIPPING 04:05:26 INFO: No Stack... 04:05:27 INFO: Retrieving Pricing Info for: v1-standard-2 04:05:28 INFO: Archiving Costs [Pipeline] echo 04:05:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:05:28 ---> logs-deploy.sh 04:05:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-740/1 04:05:28 INFO: archiving workspace using pattern(s): 04:05:29 Archives upload complete. 04:05:29 INFO: archiving logs to Nexus