Pull request #771 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ad5dd9197fb445d937a42df0f73fccfaf076c058+3aea893206dfece0cb943228d650ae216607898f (8d2e613e46089a99541e5082a592087d871b968c) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-771/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-771/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24515 in /w/workspace/dgexfoundry_device-sdk-go_PR-771 [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-771 # 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/771/head:refs/remotes/origin/PR-771 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ad5dd9197fb445d937a42df0f73fccfaf076c058 Merge succeeded, producing ad5dd9197fb445d937a42df0f73fccfaf076c058 Checking out Revision ad5dd9197fb445d937a42df0f73fccfaf076c058 (PR-771) > git config core.sparsecheckout # timeout=10 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # 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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:00:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:00:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:00:22 ========================================================= 06:00:22 EdgeX Global Pipelines Version Info 06:00:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:00:23 ------------------- 06:00:23 stable info: 06:00:23 ------------------- 06:00:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:23 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:00:23 Message: update stable to v1.0.179 06:00:24 ------------------- 06:00:24 experimental info: 06:00:24 ------------------- 06:00:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:00:24 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:00:24 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:00:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:00:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:00:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:00:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:00:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-771 [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-771 [Pipeline] echo 06:00:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-771 [Pipeline] echo 06:00:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad5dd9197fb445d937a42df0f73fccfaf076c058 [Pipeline] echo 06:00:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad5dd91 [Pipeline] echo 06:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:29 provisioning config files... 06:00:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/config2592195997969424429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:30 ---> docker-login.sh 06:00:30 nexus3.edgexfoundry.org:10001 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10002 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10003 06:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:30 Configure a credential helper to remove this warning. See 06:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:30 06:00:30 Login Succeeded 06:00:30 nexus3.edgexfoundry.org:10004 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 docker.io 06:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:31 Configure a credential helper to remove this warning. See 06:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:31 06:00:31 Login Succeeded 06:00:31 ---> docker-login.sh ends [Pipeline] } 06:00:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:32 + git log --format=format:%s -1 ad5dd9197fb445d937a42df0f73fccfaf076c058 [Pipeline] echo 06:00:32 GIT_COMMIT: ad5dd9197fb445d937a42df0f73fccfaf076c058, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 06:00:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:33 06:00:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:00:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:33 latest: Pulling from edgex-devops/git-semver 06:00:33 31603596830f: Pulling fs layer 06:00:33 2a8b12db71e7: Pulling fs layer 06:00:33 6ca5941a6612: Pulling fs layer 06:00:33 ecc8261a40a4: Pulling fs layer 06:00:33 ecc8261a40a4: Waiting 06:00:33 2a8b12db71e7: Download complete 06:00:33 31603596830f: Verifying Checksum 06:00:33 31603596830f: Download complete 06:00:34 ecc8261a40a4: Verifying Checksum 06:00:34 ecc8261a40a4: Download complete 06:00:34 6ca5941a6612: Verifying Checksum 06:00:34 6ca5941a6612: Download complete 06:00:34 31603596830f: Pull complete 06:00:34 2a8b12db71e7: Pull complete 06:00:35 6ca5941a6612: Pull complete 06:00:35 ecc8261a40a4: Pull complete 06:00:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:00:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:00:35 prd-centos7-docker-4c-2g-24515 does not seem to be running inside a container 06:00:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-771 -v /w/workspace/dgexfoundry_device-sdk-go_PR-771:/w/workspace/dgexfoundry_device-sdk-go_PR-771:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:00:37 $ docker top 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:00:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:38 [ssh-agent] Looking for ssh-agent implementation... 06:00:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:38 $ docker exec 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 ssh-agent 06:00:38 SSH_AUTH_SOCK=/tmp/ssh-r2HM085uGmUh/agent.11 06:00:38 SSH_AGENT_PID=16 06:00:38 Running ssh-add (command line suppressed) 06:00:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/private_key_2158903092146482769.key (/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/private_key_2158903092146482769.key) 06:00:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:39 + git tag --points-at HEAD [Pipeline] } 06:00:39 $ docker exec --env ******** --env ******** 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 ssh-agent -k 06:00:39 unset SSH_AUTH_SOCK; 06:00:39 unset SSH_AGENT_PID; 06:00:39 echo Agent pid 16 killed; 06:00:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:00:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:00:39 [ssh-agent] Looking for ssh-agent implementation... 06:00:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:00:39 $ docker exec 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 ssh-agent 06:00:39 SSH_AUTH_SOCK=/tmp/ssh-IneSkaxXVzJ9/agent.45 06:00:39 SSH_AGENT_PID=50 06:00:39 Running ssh-add (command line suppressed) 06:00:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/private_key_3896056191360071375.key (/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/private_key_3896056191360071375.key) 06:00:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:00:40 + git semver init 06:00:40 # -> Open(): unable to determine branch for HEAD 06:00:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-771/.git 06:00:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-771 06:00:40 # $SEMVER_REMOTE_NAME = origin 06:00:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:00:40 # $SEMVER_USER_NAME = edgex-jenkins 06:00:40 # $SEMVER_BRANCH = PR-771 06:00:40 # $SEMVER_TEMP = /tmp/semver-485378319 06:00:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:00:40 # '/tmp/semver-485378319' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-771/.semver' 06:00:40 # -> Force: false 06:00:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-771/.semver [Pipeline] } 06:00:40 $ docker exec --env ******** --env ******** 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 ssh-agent -k 06:00:41 unset SSH_AUTH_SOCK; 06:00:41 unset SSH_AGENT_PID; 06:00:41 echo Agent pid 50 killed; 06:00:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:00:41 + git semver [Pipeline] } 06:00:41 $ docker stop --time=1 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 06:00:43 $ docker rm -f 93691ffd4cca3852ea6deed084df4aae90bb1ca53148bf09734056a7690db4d4 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:44 Stashed 1 file(s) [Pipeline] echo 06:00:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:01:00 Still waiting to schedule task 06:01:00 ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-24516’ is offline 06:01:00 Still waiting to schedule task 06:01:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:03:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24520 in /w/workspace/dgexfoundry_device-sdk-go_PR-771 [Pipeline] { [Pipeline] ws 06:03:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:03:53 using credential edgex-jenkins-ssh 06:03:53 Cloning the remote Git repository 06:03:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:03:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:03:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:53 > git --version # timeout=10 06:03:53 > git --version # 'git version 2.17.1' 06:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:55 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ad5dd9197fb445d937a42df0f73fccfaf076c058 06:03:55 Merge succeeded, producing ad5dd9197fb445d937a42df0f73fccfaf076c058 06:03:55 Checking out Revision ad5dd9197fb445d937a42df0f73fccfaf076c058 (PR-771) 06:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/771/head:refs/remotes/origin/PR-771 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:03:55 > git config core.sparsecheckout # timeout=10 06:03:55 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # timeout=10 06:03:55 > git remote # timeout=10 06:03:55 > git config --get remote.origin.url # timeout=10 06:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:55 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 06:03:55 > git rev-parse HEAD^{commit} # timeout=10 06:03:55 > git config core.sparsecheckout # timeout=10 06:03:55 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # timeout=10 06:03:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 06:03:59 > git --version # timeout=10 06:03:59 > git --version # 'git version 2.17.1' 06:03:59 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:04:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:04:02 + true 06:04:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:04:04 provisioning config files... 06:04:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1617398463835966400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:05 ---> docker-login.sh 06:04:05 nexus3.edgexfoundry.org:10001 06:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:06 Configure a credential helper to remove this warning. See 06:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:06 06:04:06 Login Succeeded 06:04:06 nexus3.edgexfoundry.org:10002 06:04:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:06 Configure a credential helper to remove this warning. See 06:04:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:06 06:04:06 Login Succeeded 06:04:06 nexus3.edgexfoundry.org:10003 06:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:07 Configure a credential helper to remove this warning. See 06:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:07 06:04:07 Login Succeeded 06:04:07 nexus3.edgexfoundry.org:10004 06:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:07 Configure a credential helper to remove this warning. See 06:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:07 06:04:07 Login Succeeded 06:04:07 docker.io 06:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:08 Configure a credential helper to remove this warning. See 06:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:08 06:04:08 Login Succeeded 06:04:08 ---> docker-login.sh ends [Pipeline] } 06:04:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:09 ========================================================= 06:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:04:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:04:09 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:04:10 Sending build context to Docker daemon 2.505MB 06:04:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:04:10 Step 2/8 : FROM ${BASE} 06:04:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:04:10 5f621e34cdf4: Pulling fs layer 06:04:10 a4357932f1b6: Pulling fs layer 06:04:10 18c013af1878: Pulling fs layer 06:04:10 00ac8860ef70: Pulling fs layer 06:04:10 63d7cb157983: Pulling fs layer 06:04:10 b116817d02f9: Pulling fs layer 06:04:10 745a02a5169b: Pulling fs layer 06:04:10 63d7cb157983: Waiting 06:04:10 00ac8860ef70: Waiting 06:04:10 745a02a5169b: Waiting 06:04:10 b116817d02f9: Waiting 06:04:10 a4357932f1b6: Verifying Checksum 06:04:10 a4357932f1b6: Download complete 06:04:10 18c013af1878: Download complete 06:04:10 63d7cb157983: Verifying Checksum 06:04:10 63d7cb157983: Download complete 06:04:10 b116817d02f9: Download complete 06:04:10 5f621e34cdf4: Verifying Checksum 06:04:10 5f621e34cdf4: Download complete 06:04:11 5f621e34cdf4: Pull complete 06:04:11 a4357932f1b6: Pull complete 06:04:11 18c013af1878: Pull complete 06:04:12 745a02a5169b: Verifying Checksum 06:04:12 745a02a5169b: Download complete 06:04:13 00ac8860ef70: Verifying Checksum 06:04:13 00ac8860ef70: Download complete 06:04:23 00ac8860ef70: Pull complete 06:04:23 63d7cb157983: Pull complete 06:04:24 b116817d02f9: Pull complete 06:04:28 745a02a5169b: Pull complete 06:04:28 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:04:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:04:28 ---> b7e6874047d6 06:04:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:30 ---> Running in 36fcb7cd90f4 06:04:30 Removing intermediate container 36fcb7cd90f4 06:04:30 ---> 2bd9bea67560 06:04:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:31 ---> Running in 8133eca026f7 06:04:33 Removing intermediate container 8133eca026f7 06:04:33 ---> a96eface2629 06:04:33 Step 5/8 : RUN apk add --update --no-cache make git 06:04:33 ---> Running in f6f4fe246a4d 06:04:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:04:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:04:36 OK: 142 MiB in 39 packages 06:04:37 Removing intermediate container f6f4fe246a4d 06:04:37 ---> f9059dcb1a89 06:04:37 Step 6/8 : WORKDIR /device-sdk-go 06:04:37 ---> Running in 9a9de69b2500 06:04:37 Removing intermediate container 9a9de69b2500 06:04:37 ---> c00f296392da 06:04:37 Step 7/8 : COPY . . 06:04:38 ---> 0ceed4598842 06:04:38 Step 8/8 : RUN go mod download 06:04:39 ---> Running in cfacabcadd68 06:05:11 Removing intermediate container cfacabcadd68 06:05:11 ---> 8ed8b3f87ccd 06:05:11 Successfully built 8ed8b3f87ccd 06:05:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:05:11 + docker inspect -f . ci-base-image-arm64 06:05:11 . [Pipeline] withDockerContainer 06:05:12 prd-ubuntu18.04-docker-arm64-4c-16g-24520 does not seem to be running inside a container 06:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:13 $ docker top 050d6afb47d57f11f997e6ef1685a07ca5b9746980ae69839d739712d7a8f859 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:14 + go version 06:05:14 go version go1.15.5 linux/arm64 [Pipeline] } 06:05:14 $ docker stop --time=1 050d6afb47d57f11f997e6ef1685a07ca5b9746980ae69839d739712d7a8f859 06:05:16 $ docker rm -f 050d6afb47d57f11f997e6ef1685a07ca5b9746980ae69839d739712d7a8f859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:05:18 + docker inspect -f . ci-base-image-arm64 06:05:18 . [Pipeline] withDockerContainer 06:05:18 prd-ubuntu18.04-docker-arm64-4c-16g-24520 does not seem to be running inside a container 06:05:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:05:19 $ docker top 6f64d48099f734d9c9857b56bf5ba85c2b8ef9626f4fd46701203c5f9f5b4026 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:21 + make test 06:05:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:05:42 Running on prd-centos7-docker-4c-2g-24522 in /w/workspace/dgexfoundry_device-sdk-go_PR-771 [Pipeline] { [Pipeline] ws 06:05:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:05:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:05:44 using credential edgex-jenkins-ssh 06:05:44 Cloning the remote Git repository 06:05:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:05:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:05:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:05:45 > git --version # timeout=10 06:05:45 > git --version # 'git version 2.24.3' 06:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:46 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit ad5dd9197fb445d937a42df0f73fccfaf076c058 06:05:46 Merge succeeded, producing ad5dd9197fb445d937a42df0f73fccfaf076c058 06:05:46 Checking out Revision ad5dd9197fb445d937a42df0f73fccfaf076c058 (PR-771) 06:05:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:05:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:05:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:05:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:05:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/771/head:refs/remotes/origin/PR-771 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:05:46 > git config core.sparsecheckout # timeout=10 06:05:46 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # timeout=10 06:05:46 > git remote # timeout=10 06:05:46 > git config --get remote.origin.url # timeout=10 06:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:05:46 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 06:05:46 > git rev-parse HEAD^{commit} # timeout=10 06:05:46 > git config core.sparsecheckout # timeout=10 06:05:46 > git checkout -f ad5dd9197fb445d937a42df0f73fccfaf076c058 # timeout=10 06:05:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 06:05:50 > git --version # timeout=10 06:05:50 > git --version # 'git version 2.24.3' 06:05:50 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:05:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:05:52 + sudo service docker restart 06:05:52 + true 06:05:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:05:53 provisioning config files... 06:05:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1763208462288061617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:54 ---> docker-login.sh 06:05:54 nexus3.edgexfoundry.org:10001 06:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:54 Configure a credential helper to remove this warning. See 06:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:54 06:05:54 Login Succeeded 06:05:54 nexus3.edgexfoundry.org:10002 06:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:54 Configure a credential helper to remove this warning. See 06:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:54 06:05:54 Login Succeeded 06:05:54 nexus3.edgexfoundry.org:10003 06:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:55 Configure a credential helper to remove this warning. See 06:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:55 06:05:55 Login Succeeded 06:05:55 nexus3.edgexfoundry.org:10004 06:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:55 Configure a credential helper to remove this warning. See 06:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:55 06:05:55 Login Succeeded 06:05:55 docker.io 06:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:55 Configure a credential helper to remove this warning. See 06:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:55 06:05:55 Login Succeeded 06:05:55 ---> docker-login.sh ends [Pipeline] } 06:05:55 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:05:56 ========================================================= 06:05:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:05:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:05: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 . 06:05:57 Sending build context to Docker daemon 2.499MB 06:05:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:05:57 Step 2/8 : FROM ${BASE} 06:05:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:05:57 188c0c94c7c5: Pulling fs layer 06:05:57 0ef7d3d256c8: Pulling fs layer 06:05:57 de9db76c5a1d: Pulling fs layer 06:05:57 bca2f99d35d6: Pulling fs layer 06:05:57 93359f2a8cfa: Pulling fs layer 06:05:57 7c6f9722023f: Pulling fs layer 06:05:57 a35cf1a2eb13: Pulling fs layer 06:05:57 93359f2a8cfa: Waiting 06:05:57 7c6f9722023f: Waiting 06:05:57 a35cf1a2eb13: Waiting 06:05:57 bca2f99d35d6: Waiting 06:05:57 de9db76c5a1d: Verifying Checksum 06:05:57 de9db76c5a1d: Download complete 06:05:57 0ef7d3d256c8: Verifying Checksum 06:05:57 0ef7d3d256c8: Download complete 06:05:57 93359f2a8cfa: Verifying Checksum 06:05:57 93359f2a8cfa: Download complete 06:05:57 7c6f9722023f: Verifying Checksum 06:05:57 188c0c94c7c5: Verifying Checksum 06:05:57 188c0c94c7c5: Download complete 06:05:57 7c6f9722023f: Download complete 06:05:57 188c0c94c7c5: Pull complete 06:05:59 0ef7d3d256c8: Pull complete 06:05:59 de9db76c5a1d: Pull complete 06:05:59 a35cf1a2eb13: Verifying Checksum 06:05:59 a35cf1a2eb13: Download complete 06:06:00 bca2f99d35d6: Verifying Checksum 06:06:00 bca2f99d35d6: Download complete 06:06:05 bca2f99d35d6: Pull complete 06:06:05 93359f2a8cfa: Pull complete 06:06:06 7c6f9722023f: Pull complete 06:06:10 a35cf1a2eb13: Pull complete 06:06:10 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:06:10 ---> a62c8e92a672 06:06:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:10 ---> Running in f38dd9d741a8 06:06:11 Removing intermediate container f38dd9d741a8 06:06:11 ---> 945b29d62006 06:06:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:11 ---> Running in 69f7679173fa 06:06:12 Removing intermediate container 69f7679173fa 06:06:12 ---> ebee8efa693e 06:06:12 Step 5/8 : RUN apk add --update --no-cache make git 06:06:12 ---> Running in 835c37c38b72 06:06:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:06:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:06:14 OK: 166 MiB in 39 packages 06:06:14 Removing intermediate container 835c37c38b72 06:06:14 ---> a6a19bf8280e 06:06:14 Step 6/8 : WORKDIR /device-sdk-go 06:06:15 ---> Running in ab09ba8afffc 06:06:15 Removing intermediate container ab09ba8afffc 06:06:15 ---> 5171c7243f1c 06:06:15 Step 7/8 : COPY . . 06:06:16 ---> f8742bd298b0 06:06:16 Step 8/8 : RUN go mod download 06:06:16 ---> Running in ed5e417cea83 06:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:06:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 19.4% of statements 06:06:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.153s coverage: 97.1% of statements 06:06:34 Removing intermediate container ed5e417cea83 06:06:34 ---> 379ac3abdf0a 06:06:34 Successfully built 379ac3abdf0a 06:06:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:06:35 + docker inspect -f . ci-base-image-x86_64 06:06:35 . [Pipeline] withDockerContainer 06:06:35 prd-centos7-docker-4c-2g-24522 does not seem to be running inside a container 06:06:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:06:37 $ docker top 4564ea3c482caef281f36a8470a8cd52f5883d684e0081d2774639dbe0a0d3cc -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:37 + go version 06:06:37 go version go1.15.5 linux/amd64 [Pipeline] } 06:06:37 $ docker stop --time=1 4564ea3c482caef281f36a8470a8cd52f5883d684e0081d2774639dbe0a0d3cc 06:06:39 $ docker rm -f 4564ea3c482caef281f36a8470a8cd52f5883d684e0081d2774639dbe0a0d3cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:06:40 + docker inspect -f . ci-base-image-x86_64 06:06:40 . [Pipeline] withDockerContainer 06:06:40 prd-centos7-docker-4c-2g-24522 does not seem to be running inside a container 06:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:06:41 $ docker top 70b26af96b5755d783014834f2c7f9f0afa55a6b1461f84729e5a064552681a5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:42 + make test 06:06:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:06:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.123s coverage: 9.4% of statements 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.125s coverage: 21.7% of statements 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.604s coverage: 43.6% of statements 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.713s coverage: 68.9% of statements 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.186s coverage: 53.8% of statements 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 25.2% of statements 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.944s coverage: 83.5% of statements 06:06:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements 06:06:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:06:55 GO111MODULE=on go vet ./... 06:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:07:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 06:07:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.471s coverage: 97.1% of statements 06:07:27 gofmt -l . 06:07:27 [ "`gofmt -l .`" = "" ] 06:07:28 ./bin/test-attribution-txt.sh 06:07:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:07:29 $ docker stop --time=1 6f64d48099f734d9c9857b56bf5ba85c2b8ef9626f4fd46701203c5f9f5b4026 06:07:32 $ docker rm -f 6f64d48099f734d9c9857b56bf5ba85c2b8ef9626f4fd46701203c5f9f5b4026 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:36 + ls -al . 06:07:36 total 252 06:07:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 06:07 . 06:07:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:03 .. 06:07:36 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 06:03 .dockerignore 06:07:36 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 06:03 .git 06:07:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:03 .github 06:07:36 -rw-rw-r-- 1 jenkins jenkins 138 Feb 2 06:03 .gitignore 06:07:36 -rw-rw-r-- 1 jenkins jenkins 949 Feb 2 06:03 Dockerfile.build 06:07:36 -rw-rw-r-- 1 jenkins jenkins 901 Feb 2 06:03 Jenkinsfile 06:07:36 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 06:03 LICENSE 06:07:36 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 2 06:03 Makefile 06:07:36 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 2 06:03 README.md 06:07:36 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 2 06:03 RELEASE-NOTES.txt 06:07:36 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 06:00 VERSION 06:07:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:03 bin 06:07:36 -rw-r--r-- 1 jenkins jenkins 137332 Feb 2 06:06 coverage.out 06:07:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:03 example 06:07:36 -rw-r--r-- 1 jenkins jenkins 514 Feb 2 06:07 go.mod 06:07:36 -rw-r--r-- 1 jenkins jenkins 14302 Feb 2 06:07 go.sum 06:07:36 drwxrwxr-x 15 jenkins jenkins 4096 Feb 2 06:03 internal 06:07:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:03 openapi 06:07:36 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 06:03 pkg 06:07:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:03 snap 06:07:36 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 06:03 version.go [Pipeline] isUnix [Pipeline] sh 06:07:36 + 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=ad5dd9197fb445d937a42df0f73fccfaf076c058 --label arch=arm64 --label version=0.0.0 . 06:07:37 Sending build context to Docker daemon 2.643MB 06:07:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:07:37 Step 2/24 : FROM ${BASE} AS builder 06:07:37 ---> 8ed8b3f87ccd 06:07:37 Step 3/24 : ARG MAKE='make build' 06:07:37 ---> Running in 7e4d95886bce 06:07:37 Removing intermediate container 7e4d95886bce 06:07:37 ---> df63b74dcd1b 06:07:37 Step 4/24 : WORKDIR /device-sdk-go 06:07:38 ---> Running in 5adfa7d482ff 06:07:38 Removing intermediate container 5adfa7d482ff 06:07:38 ---> 25f26b5c56d3 06:07:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:38 ---> Running in 2e88038600af 06:07:39 Removing intermediate container 2e88038600af 06:07:39 ---> 0f20428a2f00 06:07:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:39 ---> Running in d98b691718e6 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 21.7% of statements 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s coverage: 43.6% of statements 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.283s coverage: 68.9% of statements 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 25.2% of statements 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.477s coverage: 83.5% of statements 06:07:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements 06:07:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:07:40 GO111MODULE=on go vet ./... 06:07:41 Removing intermediate container d98b691718e6 06:07:41 ---> 375346915601 06:07:41 Step 7/24 : RUN apk add --update --no-cache make git 06:07:41 ---> Running in c41714892224 06:07:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:07:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:07:44 OK: 142 MiB in 39 packages 06:07:45 Removing intermediate container c41714892224 06:07:45 ---> 4a91c135ced3 06:07:45 Step 8/24 : COPY . . 06:07:46 gofmt -l . 06:07:46 [ "`gofmt -l .`" = "" ] 06:07:46 ---> 9c07c8e598d7 06:07:46 Step 9/24 : RUN ${MAKE} 06:07:47 ./bin/test-attribution-txt.sh 06:07:47 ---> Running in 9c24c891389e 06:07:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:07:48 $ docker stop --time=1 70b26af96b5755d783014834f2c7f9f0afa55a6b1461f84729e5a064552681a5 06:07:48 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 06:07:50 $ docker rm -f 70b26af96b5755d783014834f2c7f9f0afa55a6b1461f84729e5a064552681a5 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:50 Warning: overwriting stash ‘coverage-report’ 06:07:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:52 + ls -al . 06:07:52 total 216 06:07:52 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 06:07 . 06:07:52 drwxrwxr-x. 4 jenkins jenkins 28 Feb 2 06:05 .. 06:07:52 drwxrwxr-x. 2 jenkins jenkins 64 Feb 2 06:05 bin 06:07:52 -rw-r--r--. 1 jenkins jenkins 137332 Feb 2 06:07 coverage.out 06:07:52 -rw-rw-r--. 1 jenkins jenkins 949 Feb 2 06:05 Dockerfile.build 06:07:52 -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 06:05 .dockerignore 06:07:52 drwxrwxr-x. 4 jenkins jenkins 48 Feb 2 06:05 example 06:07:52 drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 06:05 .git 06:07:52 drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 06:05 .github 06:07:52 -rw-rw-r--. 1 jenkins jenkins 138 Feb 2 06:05 .gitignore 06:07:52 -rw-r--r--. 1 jenkins jenkins 514 Feb 2 06:07 go.mod 06:07:52 -rw-r--r--. 1 jenkins jenkins 14302 Feb 2 06:07 go.sum 06:07:52 drwxrwxr-x. 15 jenkins jenkins 211 Feb 2 06:05 internal 06:07:52 -rw-rw-r--. 1 jenkins jenkins 901 Feb 2 06:05 Jenkinsfile 06:07:52 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 2 06:05 LICENSE 06:07:52 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 2 06:05 Makefile 06:07:52 drwxrwxr-x. 4 jenkins jenkins 26 Feb 2 06:05 openapi 06:07:52 drwxrwxr-x. 5 jenkins jenkins 50 Feb 2 06:05 pkg 06:07:52 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 2 06:05 README.md 06:07:52 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 2 06:05 RELEASE-NOTES.txt 06:07:52 drwxrwxr-x. 4 jenkins jenkins 54 Feb 2 06:05 snap 06:07:52 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 06:00 VERSION 06:07:52 -rw-rw-r--. 1 jenkins jenkins 222 Feb 2 06:05 version.go [Pipeline] isUnix [Pipeline] sh 06:07:52 + 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=ad5dd9197fb445d937a42df0f73fccfaf076c058 --label arch=amd64 --label version=0.0.0 . 06:07:53 Sending build context to Docker daemon 2.637MB 06:07:53 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:07:53 Step 2/24 : FROM ${BASE} AS builder 06:07:53 ---> 379ac3abdf0a 06:07:53 Step 3/24 : ARG MAKE='make build' 06:07:53 ---> Running in fe9bbcbac1ba 06:07:53 Removing intermediate container fe9bbcbac1ba 06:07:53 ---> 9c21c3c4a065 06:07:53 Step 4/24 : WORKDIR /device-sdk-go 06:07:53 ---> Running in 76e0cfced9e2 06:07:54 Removing intermediate container 76e0cfced9e2 06:07:54 ---> ad8552805820 06:07:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:54 ---> Running in b75b888263cd 06:07:54 Removing intermediate container b75b888263cd 06:07:54 ---> 1b96351e3119 06:07:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:54 ---> Running in a8312cd3eedc 06:07:55 Removing intermediate container a8312cd3eedc 06:07:55 ---> 76c0e18281fe 06:07:55 Step 7/24 : RUN apk add --update --no-cache make git 06:07:55 ---> Running in 0bb3a3b5d204 06:07:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:07:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:07:57 OK: 166 MiB in 39 packages 06:07:57 Removing intermediate container 0bb3a3b5d204 06:07:57 ---> 3539ae2fc7c5 06:07:57 Step 8/24 : COPY . . 06:07:58 ---> 44b0a532f265 06:07:58 Step 9/24 : RUN ${MAKE} 06:07:58 ---> Running in 1e7e58b663cf 06:07:59 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 06:08:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:08:10 Removing intermediate container 1e7e58b663cf 06:08:10 ---> 8d0ac3abd047 06:08:10 Step 10/24 : FROM scratch 06:08:10 ---> 06:08:10 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:10 ---> Running in 10ce965cbc3c 06:08:10 Removing intermediate container 10ce965cbc3c 06:08:10 ---> 9648a0b5af98 06:08:10 Step 12/24 : ENV APP_PORT=49990 06:08:10 ---> Running in 0b8be37968f3 06:08:11 Removing intermediate container 0b8be37968f3 06:08:11 ---> 9dd55ab4a9c7 06:08:11 Step 13/24 : EXPOSE $APP_PORT 06:08:11 ---> Running in 6d508259fa50 06:08:11 Removing intermediate container 6d508259fa50 06:08:11 ---> 2d64a4c7a41f 06:08:11 Step 14/24 : WORKDIR / 06:08:11 ---> Running in d6fbf280a954 06:08:11 Removing intermediate container d6fbf280a954 06:08:11 ---> ca3c2e10059a 06:08:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:08:12 ---> 68b49c262899 06:08:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:08:12 ---> 5fd3a56b1cdd 06:08:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:08:12 ---> c6043e0a4271 06:08:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:08:12 ---> 14bebe17ba35 06:08:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:08:13 ---> c1cb43339629 06:08:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:08:13 ---> Running in b3ead0b700d3 06:08:13 Removing intermediate container b3ead0b700d3 06:08:13 ---> 0c563f6f5aa4 06:08:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:13 ---> Running in f6ca86604161 06:08:13 Removing intermediate container f6ca86604161 06:08:13 ---> 670ac909af44 06:08:13 Step 22/24 : LABEL arch=amd64 06:08:13 ---> Running in 2d1428b7f678 06:08:13 Removing intermediate container 2d1428b7f678 06:08:13 ---> b2824f99d199 06:08:13 Step 23/24 : LABEL git_sha=ad5dd9197fb445d937a42df0f73fccfaf076c058 06:08:13 ---> Running in d9ee5f551f7d 06:08:13 Removing intermediate container d9ee5f551f7d 06:08:13 ---> 368e8a76f544 06:08:13 Step 24/24 : LABEL version=0.0.0 06:08:13 ---> Running in 8db1e5ace37e 06:08:14 Removing intermediate container 8db1e5ace37e 06:08:14 ---> 4474bb0a5aa4 06:08:14 [Warning] One or more build-args [ARCH] were not consumed 06:08:14 Successfully built 4474bb0a5aa4 06:08:14 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 06:08:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:08:15 Removing intermediate container 9c24c891389e 06:08:15 ---> 20c785db1807 06:08:15 Step 10/24 : FROM scratch 06:08:15 ---> 06:08:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:15 ---> Running in e7e57ac1b620 [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 06:08:15 Removing intermediate container e7e57ac1b620 06:08:15 ---> 1968812d4933 06:08:15 Step 12/24 : ENV APP_PORT=49990 [Pipeline] } [Pipeline] // node [Pipeline] } 06:08:15 ---> Running in bd296c1d35aa [Pipeline] // stage [Pipeline] } 06:08:16 Removing intermediate container bd296c1d35aa 06:08:16 ---> fdb3d8dec0db 06:08:16 Step 13/24 : EXPOSE $APP_PORT 06:08:16 ---> Running in fd19d6595f05 06:08:16 Removing intermediate container fd19d6595f05 06:08:16 ---> f555e3cc6f08 06:08:16 Step 14/24 : WORKDIR / 06:08:16 ---> Running in 1966208b6aaf 06:08:17 Removing intermediate container 1966208b6aaf 06:08:17 ---> b5f2ab090c54 06:08:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:08:18 ---> fb72647d9aae 06:08:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:08:18 ---> 28a272592bf7 06:08:18 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:08:19 ---> 031a9d79a169 06:08:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:08:20 ---> fbef9830b79d 06:08:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:08:21 ---> 4f8ab6be07ca 06:08:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:08:21 ---> Running in 6f4e4781528f 06:08:21 Removing intermediate container 6f4e4781528f 06:08:21 ---> 32c4cecc6ba9 06:08:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:21 ---> Running in 7bed1a5c0230 06:08:22 Removing intermediate container 7bed1a5c0230 06:08:22 ---> 9575cdbfbaf3 06:08:22 Step 22/24 : LABEL arch=arm64 06:08:22 ---> Running in a1b8ce425d68 06:08:23 Removing intermediate container a1b8ce425d68 06:08:23 ---> ea4ff74760db 06:08:23 Step 23/24 : LABEL git_sha=ad5dd9197fb445d937a42df0f73fccfaf076c058 06:08:23 ---> Running in 96775715744e 06:08:23 Removing intermediate container 96775715744e 06:08:23 ---> ef133537cb34 06:08:23 Step 24/24 : LABEL version=0.0.0 06:08:23 ---> Running in 9086fa8bd484 06:08:23 Removing intermediate container 9086fa8bd484 06:08:23 ---> 670a79205f1e 06:08:23 [Warning] One or more build-args [ARCH] were not consumed 06:08:24 Successfully built 670a79205f1e 06:08:24 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:08:26 provisioning config files... 06:08:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/config6441760674396287872tmp [Pipeline] { [Pipeline] sh 06:08:27 + set +x 06:08:27 + bash -s -- 06:08:27 + curl -s https://codecov.io/bash 06:08:27 06:08:27 _____ _ 06:08:27 / ____| | | 06:08:27 | | ___ __| | ___ ___ _____ __ 06:08:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:27 Bash-20210129-7c25fce 06:08:27 06:08:27 06:08:27 ==> git version 2.24.3 found 06:08:27 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:08:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:08:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:08:27 ==> Jenkins CI detected. 06:08:27 project root: . 06:08:27 --> token set from env 06:08:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:27 ==> Running gcov in . (disable via -X gcov) 06:08:27 ==> Python coveragepy not found 06:08:27 ==> Searching for coverage reports in: 06:08:27 + . 06:08:27 -> Found 1 reports 06:08:27 ==> Detecting git/mercurial file structure 06:08:27 ==> Reading reports 06:08:27 + ./coverage.out bytes=137332 06:08:27 ==> Appending adjustments 06:08:27 https://docs.codecov.io/docs/fixing-reports 06:08:28 + Found adjustments 06:08:28 ==> Gzipping contents 06:08:28 24K /tmp/codecov.tUZLmO.gz 06:08:28 ==> Uploading reports 06:08:28 url: https://codecov.io 06:08:28 query: branch=PR-771&commit=ad5dd9197fb445d937a42df0f73fccfaf076c058&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-771%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=771&job=&cmd_args= 06:08:28 -> Pinging Codecov 06:08:28 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-771&commit=ad5dd9197fb445d937a42df0f73fccfaf076c058&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-771%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=771&job=&cmd_args= 06:08:28 -> Uploading to 06:08:28 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/7E55EF52A471D76F132DFD9A03CDDE97/ad5dd9197fb445d937a42df0f73fccfaf076c058/eef34419-524a-453b-98d9-6c31abf43335.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T060828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d2517dfc8f5ec0a0f15a70a7543e9c70aacd60de162b52a3910d21ebd8a0136 06:08:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:28 Dload Upload Total Spent Left Speed 06:08:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21636 0 0 100 21636 0 44498 --:--:-- --:--:-- --:--:-- 44427 100 21636 0 0 100 21636 0 44478 --:--:-- --:--:-- --:--:-- 44427 06:08:29 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ad5dd9197fb445d937a42df0f73fccfaf076c058 [Pipeline] } 06:08:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:08:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:08:33 ---> package-listing.sh 06:08:33 ++ facter osfamily 06:08:33 ++ tr '[:upper:]' '[:lower:]' 06:08:33 + OS_FAMILY=redhat 06:08:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-771 06:08:33 + START_PACKAGES=/tmp/packages_start.txt 06:08:33 + END_PACKAGES=/tmp/packages_end.txt 06:08:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:08:33 + PACKAGES=/tmp/packages_start.txt 06:08:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-771 ']' 06:08:33 + PACKAGES=/tmp/packages_end.txt 06:08:33 + case "${OS_FAMILY}" in 06:08:33 + rpm -qa 06:08:33 + sort 06:08:38 + '[' -f /tmp/packages_start.txt ']' 06:08:38 + '[' -f /tmp/packages_end.txt ']' 06:08:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-771 ']' 06:08:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-771/archives/ 06:08:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-771/archives/ [Pipeline] echo 06:08:38 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-771/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:08:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:39 06:08:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:08:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:40 alpine: Pulling from edgex-lftools-log-publisher 06:08:40 df20fa9351a1: Pulling fs layer 06:08:40 36b3adc4ff6f: Pulling fs layer 06:08:40 8ad3a11d3b57: Pulling fs layer 06:08:40 46f8f816bc3b: Pulling fs layer 06:08:40 93b61091891f: Pulling fs layer 06:08:40 93b9cdb0e59b: Pulling fs layer 06:08:40 5e14af77c1be: Pulling fs layer 06:08:40 01666e4c0597: Pulling fs layer 06:08:40 aa168da1d23b: Pulling fs layer 06:08:40 46f8f816bc3b: Waiting 06:08:40 93b61091891f: Waiting 06:08:40 93b9cdb0e59b: Waiting 06:08:40 5e14af77c1be: Waiting 06:08:40 01666e4c0597: Waiting 06:08:40 aa168da1d23b: Waiting 06:08:40 36b3adc4ff6f: Verifying Checksum 06:08:40 36b3adc4ff6f: Download complete 06:08:40 46f8f816bc3b: Verifying Checksum 06:08:40 46f8f816bc3b: Download complete 06:08:40 df20fa9351a1: Verifying Checksum 06:08:40 93b9cdb0e59b: Verifying Checksum 06:08:40 93b9cdb0e59b: Download complete 06:08:40 93b61091891f: Verifying Checksum 06:08:40 93b61091891f: Download complete 06:08:40 5e14af77c1be: Verifying Checksum 06:08:40 5e14af77c1be: Download complete 06:08:40 01666e4c0597: Verifying Checksum 06:08:40 01666e4c0597: Download complete 06:08:40 df20fa9351a1: Pull complete 06:08:41 36b3adc4ff6f: Pull complete 06:08:41 8ad3a11d3b57: Verifying Checksum 06:08:41 8ad3a11d3b57: Download complete 06:08:41 8ad3a11d3b57: Pull complete 06:08:41 46f8f816bc3b: Pull complete 06:08:42 93b61091891f: Pull complete 06:08:42 aa168da1d23b: Verifying Checksum 06:08:42 aa168da1d23b: Download complete 06:08:43 93b9cdb0e59b: Pull complete 06:08:43 5e14af77c1be: Pull complete 06:08:43 01666e4c0597: Pull complete 06:08:50 aa168da1d23b: Pull complete 06:08:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:08:50 prd-centos7-docker-4c-2g-24515 does not seem to be running inside a container 06:08:50 $ 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-771/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-771 -v /w/workspace/dgexfoundry_device-sdk-go_PR-771:/w/workspace/dgexfoundry_device-sdk-go_PR-771:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:08:53 $ docker top 46d9aa07785ba4471a89f4c643a1c0a4b72659342f23f081378f3d342697f302 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:54 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:54 + mkdir -p /var/log/sa [Pipeline] sh 06:08:54 + ls /var/log/sa-host 06:08:54 + sadf -c /var/log/sa-host/sa02 06:08:54 file_magic: OK 06:08:54 HZ: Using current value: 100 06:08:54 file_header: OK 06:08:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:08:54 Statistics: 06:08:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:08:54 File successfully converted to sysstat format version 12.2.1 06:08:54 + sadf -c /var/log/sa-host/sa23 06:08:54 file_magic: OK 06:08:54 HZ: Using current value: 100 06:08:54 file_header: OK 06:08:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:08:54 Statistics: 06:08:54 Hnuu...uuuununununu... 06:08:54 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:54 provisioning config files... 06:08:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-771@tmp/config7710687819521398091tmp [Pipeline] { [Pipeline] echo 06:08:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:55 ---> create-netrc.sh [Pipeline] } 06:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:08:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:08:56 ---> python-tools-install.sh [Pipeline] echo 06:08:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:56 ---> sudo-logs.sh 06:08:56 Archiving 'sudo' log.. [Pipeline] echo 06:08:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:56 ---> job-cost.sh 06:08:56 lf-activate-venv: SKIPPING 06:08:56 INFO: No Stack... 06:08:58 INFO: Retrieving Pricing Info for: v1-standard-2 06:08:59 INFO: Archiving Costs [Pipeline] echo 06:08:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:00 ---> logs-deploy.sh 06:09:00 lf-activate-venv: SKIPPING 06:09:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-771/1 06:09:00 INFO: archiving workspace using pattern(s): 06:09:01 Archives upload complete. 06:09:01 INFO: archiving logs to Nexus 06:09:02 ---> uname -a: 06:09:02 Linux prd-centos7-docker-4c-2g-24515.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:09:02 06:09:02