Pull request #765 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (3fe99edbadbf61ea88586b2000cb06a46eee0cc7) 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-765/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-765/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-23905 in /w/workspace/dgexfoundry_device-sdk-go_PR-765 [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-765 # 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/765/head:refs/remotes/origin/PR-765 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba Merge succeeded, producing 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba Checking out Revision 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba (PR-765) > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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:01:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:01:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:01:01 ========================================================= 06:01:01 EdgeX Global Pipelines Version Info 06:01:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:01:02 ------------------- 06:01:02 stable info: 06:01:02 ------------------- 06:01:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:01:02 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:01:02 Message: update stable to v1.0.179 06:01:03 ------------------- 06:01:03 experimental info: 06:01:03 ------------------- 06:01:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:01:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:01:03 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:01:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:01:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:01:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:01:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:01:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:01:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:01:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:01:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:01:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-765 [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-765 [Pipeline] echo 06:01:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-765 [Pipeline] echo 06:01:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba [Pipeline] echo 06:01:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d9281d [Pipeline] echo 06:01:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:09 provisioning config files... 06:01:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/config2594320907227183392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:10 ---> docker-login.sh 06:01:10 nexus3.edgexfoundry.org:10001 06:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:10 Configure a credential helper to remove this warning. See 06:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:10 06:01:10 Login Succeeded 06:01:10 nexus3.edgexfoundry.org:10002 06:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:10 Configure a credential helper to remove this warning. See 06:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:10 06:01:10 Login Succeeded 06:01:10 nexus3.edgexfoundry.org:10003 06:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:11 Configure a credential helper to remove this warning. See 06:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:11 06:01:11 Login Succeeded 06:01:11 nexus3.edgexfoundry.org:10004 06:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:11 Configure a credential helper to remove this warning. See 06:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:11 06:01:11 Login Succeeded 06:01:11 docker.io 06:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:11 Configure a credential helper to remove this warning. See 06:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:11 06:01:11 Login Succeeded 06:01:11 ---> docker-login.sh ends [Pipeline] } 06:01:11 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:01:12 + git log --format=format:%s -1 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba [Pipeline] echo 06:01:12 GIT_COMMIT: 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:01:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:14 06:01:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:01:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:14 latest: Pulling from edgex-devops/git-semver 06:01:14 31603596830f: Pulling fs layer 06:01:14 2a8b12db71e7: Pulling fs layer 06:01:14 6ca5941a6612: Pulling fs layer 06:01:14 ecc8261a40a4: Pulling fs layer 06:01:14 ecc8261a40a4: Waiting 06:01:14 2a8b12db71e7: Download complete 06:01:14 31603596830f: Verifying Checksum 06:01:14 31603596830f: Download complete 06:01:14 ecc8261a40a4: Verifying Checksum 06:01:14 ecc8261a40a4: Download complete 06:01:14 6ca5941a6612: Verifying Checksum 06:01:14 6ca5941a6612: Download complete 06:01:15 31603596830f: Pull complete 06:01:15 2a8b12db71e7: Pull complete 06:01:16 6ca5941a6612: Pull complete 06:01:16 ecc8261a40a4: Pull complete 06:01:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:01:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:01:16 prd-centos7-docker-4c-2g-23905 does not seem to be running inside a container 06:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-765 -v /w/workspace/dgexfoundry_device-sdk-go_PR-765:/w/workspace/dgexfoundry_device-sdk-go_PR-765:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-765@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:01:19 $ docker top 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:19 [ssh-agent] Looking for ssh-agent implementation... 06:01:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:19 $ docker exec 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 ssh-agent 06:01:20 SSH_AUTH_SOCK=/tmp/ssh-sp9s13skyQDn/agent.12 06:01:20 SSH_AGENT_PID=17 06:01:20 Running ssh-add (command line suppressed) 06:01:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/private_key_1947416842071342294.key (/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/private_key_1947416842071342294.key) 06:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:20 + git tag --points-at HEAD [Pipeline] } 06:01:20 $ docker exec --env ******** --env ******** 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 ssh-agent -k 06:01:20 unset SSH_AUTH_SOCK; 06:01:20 unset SSH_AGENT_PID; 06:01:20 echo Agent pid 17 killed; 06:01:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:01:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:01:21 [ssh-agent] Looking for ssh-agent implementation... 06:01:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:01:21 $ docker exec 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 ssh-agent 06:01:21 SSH_AUTH_SOCK=/tmp/ssh-sYQffxkwXkS0/agent.45 06:01:21 SSH_AGENT_PID=50 06:01:21 Running ssh-add (command line suppressed) 06:01:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/private_key_8657852318105608142.key (/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/private_key_8657852318105608142.key) 06:01:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:01:22 + git semver init 06:01:22 # -> Open(): unable to determine branch for HEAD 06:01:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-765/.git 06:01:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-765 06:01:22 # $SEMVER_REMOTE_NAME = origin 06:01:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:01:22 # $SEMVER_USER_NAME = edgex-jenkins 06:01:22 # $SEMVER_BRANCH = PR-765 06:01:22 # $SEMVER_TEMP = /tmp/semver-931137069 06:01:22 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:01:22 # '/tmp/semver-931137069' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-765/.semver' 06:01:22 # -> Force: false 06:01:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-765/.semver [Pipeline] } 06:01:22 $ docker exec --env ******** --env ******** 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 ssh-agent -k 06:01:22 unset SSH_AUTH_SOCK; 06:01:22 unset SSH_AGENT_PID; 06:01:22 echo Agent pid 50 killed; 06:01:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:01:23 + git semver [Pipeline] } 06:01:23 $ docker stop --time=1 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 06:01:24 $ docker rm -f 64fbbbf8358ba0296f85a6213e971e4030d5c886bc7e1a6b69cf416016794d57 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:01:25 Stashed 1 file(s) [Pipeline] echo 06:01:25 [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:41 Still waiting to schedule task 06:01:41 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-23905’ 06:01:42 Still waiting to schedule task 06:01:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:03:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23906 in /w/workspace/dgexfoundry_device-sdk-go_PR-765 [Pipeline] { [Pipeline] ws 06:03:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:03:32 using credential edgex-jenkins-ssh 06:03:32 Cloning the remote Git repository 06:03:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:03:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:03:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:32 > git --version # timeout=10 06:03:32 > git --version # 'git version 2.17.1' 06:03:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:34 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:03:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/765/head:refs/remotes/origin/PR-765 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:03:34 > git config core.sparsecheckout # timeout=10 06:03:34 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # timeout=10 06:03:34 > git remote # timeout=10 06:03:34 > git config --get remote.origin.url # timeout=10 06:03:35 Merge succeeded, producing 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:03:35 Checking out Revision 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba (PR-765) 06:03:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:34 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 06:03:34 > git rev-parse HEAD^{commit} # timeout=10 06:03:35 > git config core.sparsecheckout # timeout=10 06:03:35 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # timeout=10 06:03:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:03:39 > git --version # timeout=10 06:03:39 > git --version # 'git version 2.17.1' 06:03:39 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:03:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:03:42 + sudo service docker restart 06:03:42 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:03:44 provisioning config files... 06:03:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5379305669561284118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:44 ---> docker-login.sh 06:03:44 nexus3.edgexfoundry.org:10001 06:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:46 Configure a credential helper to remove this warning. See 06:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:46 06:03:46 Login Succeeded 06:03:46 nexus3.edgexfoundry.org:10002 06:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:46 Configure a credential helper to remove this warning. See 06:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:46 06:03:46 Login Succeeded 06:03:46 nexus3.edgexfoundry.org:10003 06:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:47 Configure a credential helper to remove this warning. See 06:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:47 06:03:47 Login Succeeded 06:03:47 nexus3.edgexfoundry.org:10004 06:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:47 Configure a credential helper to remove this warning. See 06:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:47 06:03:47 Login Succeeded 06:03:47 docker.io 06:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:48 Configure a credential helper to remove this warning. See 06:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:48 06:03:48 Login Succeeded 06:03:48 ---> docker-login.sh ends [Pipeline] } 06:03:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:49 ========================================================= 06:03:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:03:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:03:49 + 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:03:49 Sending build context to Docker daemon 2.461MB 06:03:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:03:50 Step 2/8 : FROM ${BASE} 06:03:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:50 5f621e34cdf4: Pulling fs layer 06:03:50 a4357932f1b6: Pulling fs layer 06:03:50 18c013af1878: Pulling fs layer 06:03:50 00ac8860ef70: Pulling fs layer 06:03:50 63d7cb157983: Pulling fs layer 06:03:50 b116817d02f9: Pulling fs layer 06:03:50 745a02a5169b: Pulling fs layer 06:03:50 00ac8860ef70: Waiting 06:03:50 63d7cb157983: Waiting 06:03:50 b116817d02f9: Waiting 06:03:50 745a02a5169b: Waiting 06:03:50 18c013af1878: Verifying Checksum 06:03:50 18c013af1878: Download complete 06:03:50 a4357932f1b6: Verifying Checksum 06:03:50 a4357932f1b6: Download complete 06:03:50 63d7cb157983: Verifying Checksum 06:03:50 63d7cb157983: Download complete 06:03:50 b116817d02f9: Verifying Checksum 06:03:50 b116817d02f9: Download complete 06:03:50 5f621e34cdf4: Verifying Checksum 06:03:50 5f621e34cdf4: Download complete 06:03:51 5f621e34cdf4: Pull complete 06:03:51 a4357932f1b6: Pull complete 06:03:51 18c013af1878: Pull complete 06:03:52 745a02a5169b: Verifying Checksum 06:03:53 00ac8860ef70: Verifying Checksum 06:03:53 00ac8860ef70: Download complete 06:04:03 00ac8860ef70: Pull complete 06:04:03 63d7cb157983: Pull complete 06:04:04 b116817d02f9: Pull complete 06:04:08 745a02a5169b: Pull complete 06:04:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:04:08 ---> b7e6874047d6 06:04:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:11 ---> Running in 3fe67333d554 06:04:11 Removing intermediate container 3fe67333d554 06:04:11 ---> 94f11f038d06 06:04:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:11 ---> Running in 67cd038c4a53 06:04:13 Removing intermediate container 67cd038c4a53 06:04:13 ---> c48b1d07775d 06:04:13 Step 5/8 : RUN apk add --update --no-cache make git 06:04:13 ---> Running in 6dcc13cd8c92 06:04:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:04:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:04:16 OK: 142 MiB in 39 packages 06:04:17 Removing intermediate container 6dcc13cd8c92 06:04:17 ---> 3454667a01bd 06:04:17 Step 6/8 : WORKDIR /device-sdk-go 06:04:18 ---> Running in 49d7155280d7 06:04:18 Removing intermediate container 49d7155280d7 06:04:18 ---> 991e441de0c1 06:04:18 Step 7/8 : COPY . . 06:04:19 ---> 45b3a68453d1 06:04:19 Step 8/8 : RUN go mod download 06:04:20 ---> Running in e6764922389f 06:04:37 Running on prd-centos7-docker-4c-2g-23908 in /w/workspace/dgexfoundry_device-sdk-go_PR-765 [Pipeline] { [Pipeline] ws 06:04:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:04:42 Removing intermediate container e6764922389f 06:04:42 ---> edcc482f000b 06:04:42 Successfully built edcc482f000b 06:04:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:04:42 + docker inspect -f . ci-base-image-arm64 06:04:42 . [Pipeline] withDockerContainer 06:04:42 prd-ubuntu18.04-docker-arm64-4c-16g-23906 does not seem to be running inside a container 06:04: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-arm64 cat 06:04:44 using credential edgex-jenkins-ssh 06:04:44 Cloning the remote Git repository 06:04:44 $ docker top ee92031182ba5d0a7ec54f1cf820081432c9eb33e224ecb6a90d3f12e31c5265 -eo pid,comm 06:04:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:04:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:04:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:04:44 > git --version # timeout=10 06:04:44 > git --version # 'git version 2.24.3' 06:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh 06:04:45 + go version 06:04:45 go version go1.15.5 linux/arm64 [Pipeline] } 06:04:45 $ docker stop --time=1 ee92031182ba5d0a7ec54f1cf820081432c9eb33e224ecb6a90d3f12e31c5265 06:04:45 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:04:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:04:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:04:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/765/head:refs/remotes/origin/PR-765 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:04:45 > git config core.sparsecheckout # timeout=10 06:04:45 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # timeout=10 06:04:46 Merge succeeded, producing 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:04:46 Checking out Revision 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba (PR-765) 06:04:45 > git remote # timeout=10 06:04:45 > git config --get remote.origin.url # timeout=10 06:04:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:04:45 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 06:04:46 > git rev-parse HEAD^{commit} # timeout=10 06:04:46 > git config core.sparsecheckout # timeout=10 06:04:46 > git checkout -f 3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba # timeout=10 06:04:47 $ docker rm -f ee92031182ba5d0a7ec54f1cf820081432c9eb33e224ecb6a90d3f12e31c5265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:48 + docker inspect -f . ci-base-image-arm64 06:04:48 . [Pipeline] withDockerContainer 06:04:48 prd-ubuntu18.04-docker-arm64-4c-16g-23906 does not seem to be running inside a container 06:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:04:50 > git --version # timeout=10 06:04:50 > git --version # 'git version 2.24.3' 06:04:50 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 06:04:50 $ docker top 7d7b472b347cd21629d3bb315a6cb1f0a0b774d1afea50ae54315a8afd2f54af -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:51 + make test 06:04:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:04:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:04:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:04:52 + true 06:04:52 + sudo service docker restart 06:04:52 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:04:54 provisioning config files... 06:04:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7599985985330153855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:55 ---> docker-login.sh 06:04:55 nexus3.edgexfoundry.org:10001 06:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:55 Configure a credential helper to remove this warning. See 06:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:55 06:04:55 Login Succeeded 06:04:55 nexus3.edgexfoundry.org:10002 06:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:56 Configure a credential helper to remove this warning. See 06:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:56 06:04:56 Login Succeeded 06:04:56 nexus3.edgexfoundry.org:10003 06:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:56 Configure a credential helper to remove this warning. See 06:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:56 06:04:56 Login Succeeded 06:04:56 nexus3.edgexfoundry.org:10004 06:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:57 Configure a credential helper to remove this warning. See 06:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:57 06:04:57 Login Succeeded 06:04:57 docker.io 06:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:57 Configure a credential helper to remove this warning. See 06:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:57 06:04:57 Login Succeeded 06:04:57 ---> docker-login.sh ends [Pipeline] } 06:04:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:58 ========================================================= 06:04:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:04:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:04:59 + 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:04:59 Sending build context to Docker daemon 2.469MB 06:04:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:04:59 Step 2/8 : FROM ${BASE} 06:04:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:59 188c0c94c7c5: Pulling fs layer 06:04:59 0ef7d3d256c8: Pulling fs layer 06:04:59 de9db76c5a1d: Pulling fs layer 06:04:59 bca2f99d35d6: Pulling fs layer 06:04:59 93359f2a8cfa: Pulling fs layer 06:04:59 7c6f9722023f: Pulling fs layer 06:04:59 a35cf1a2eb13: Pulling fs layer 06:04:59 93359f2a8cfa: Waiting 06:04:59 7c6f9722023f: Waiting 06:04:59 a35cf1a2eb13: Waiting 06:04:59 bca2f99d35d6: Waiting 06:04:59 de9db76c5a1d: Verifying Checksum 06:04:59 de9db76c5a1d: Download complete 06:04:59 0ef7d3d256c8: Download complete 06:04:59 93359f2a8cfa: Verifying Checksum 06:04:59 93359f2a8cfa: Download complete 06:05:00 7c6f9722023f: Verifying Checksum 06:05:00 7c6f9722023f: Download complete 06:05:00 188c0c94c7c5: Verifying Checksum 06:05:00 188c0c94c7c5: Download complete 06:05:00 188c0c94c7c5: Pull complete 06:05:00 0ef7d3d256c8: Pull complete 06:05:00 de9db76c5a1d: Pull complete 06:05:03 a35cf1a2eb13: Verifying Checksum 06:05:03 a35cf1a2eb13: Download complete 06:05:03 bca2f99d35d6: Verifying Checksum 06:05:03 bca2f99d35d6: Download complete 06:05:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:05:14 bca2f99d35d6: Pull complete 06:05:14 93359f2a8cfa: Pull complete 06:05:14 7c6f9722023f: Pull complete 06:05:19 a35cf1a2eb13: Pull complete 06:05:19 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:05:19 ---> a62c8e92a672 06:05:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:05:19 ---> Running in 75f88daae19e 06:05:20 Removing intermediate container 75f88daae19e 06:05:20 ---> f1d348cbbfd2 06:05:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:20 ---> Running in 8668916787a7 06:05:22 Removing intermediate container 8668916787a7 06:05:22 ---> 04eb96b873d9 06:05:22 Step 5/8 : RUN apk add --update --no-cache make git 06:05:22 ---> Running in a415bbfc4e36 06:05:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:05:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:05:24 OK: 166 MiB in 39 packages 06:05:24 Removing intermediate container a415bbfc4e36 06:05:24 ---> 48efb9248819 06:05:24 Step 6/8 : WORKDIR /device-sdk-go 06:05:24 ---> Running in a3629d7af2ce 06:05:25 Removing intermediate container a3629d7af2ce 06:05:25 ---> 5f39a6204c98 06:05:25 Step 7/8 : COPY . . 06:05:26 ---> 323218bdedf7 06:05:26 Step 8/8 : RUN go mod download 06:05:26 ---> Running in 575020ccc8c9 06:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:05:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.153s coverage: 19.4% of statements 06:05:53 Removing intermediate container 575020ccc8c9 06:05:53 ---> 6420b8d152ad 06:05:53 Successfully built 6420b8d152ad 06:05:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:05:53 + docker inspect -f . ci-base-image-x86_64 06:05:54 . [Pipeline] withDockerContainer 06:05:54 prd-centos7-docker-4c-2g-23908 does not seem to be running inside a container 06:05:54 $ 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 06:05:55 $ docker top c8c92f2a822194180028997165db1b47647267c4e60f3ad8b1194e76e60166d3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:56 + go version 06:05:56 go version go1.15.5 linux/amd64 [Pipeline] } 06:05:56 $ docker stop --time=1 c8c92f2a822194180028997165db1b47647267c4e60f3ad8b1194e76e60166d3 06:05:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.132s coverage: 97.1% of statements 06:05:58 $ docker rm -f c8c92f2a822194180028997165db1b47647267c4e60f3ad8b1194e76e60166d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:05:59 + docker inspect -f . ci-base-image-x86_64 06:05:59 . [Pipeline] withDockerContainer 06:05:59 prd-centos7-docker-4c-2g-23908 does not seem to be running inside a container 06:05:59 $ 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 06:06:00 $ docker top ccea3031efb97772cf7cb4667b5a1e6f52d522982a4543ea18cf7b9f769611ff -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:01 + make test 06:06:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:06:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 9.4% of statements 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 21.7% of statements 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.573s coverage: 43.2% of statements 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.776s coverage: 68.9% of statements 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.173s coverage: 53.8% of statements 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.211s coverage: 26.8% of statements 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.683s coverage: 83.5% of statements 06:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 4.2% of statements 06:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:06:29 GO111MODULE=on go vet ./... 06:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.101s coverage: 19.4% of statements 06:06:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.967s coverage: 97.1% of statements 06:07:02 gofmt -l . 06:07:02 [ "`gofmt -l .`" = "" ] 06:07:02 ./bin/test-attribution-txt.sh 06:07:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:07:02 $ docker stop --time=1 7d7b472b347cd21629d3bb315a6cb1f0a0b774d1afea50ae54315a8afd2f54af 06:07:04 $ docker rm -f 7d7b472b347cd21629d3bb315a6cb1f0a0b774d1afea50ae54315a8afd2f54af [Pipeline] // withDockerContainer [Pipeline] sh 06:07:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:09 + ls -al . 06:07:09 total 252 06:07:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 06:07 . 06:07:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 06:03 .. 06:07:09 -rw-rw-r-- 1 jenkins jenkins 140 Jan 29 06:03 .dockerignore 06:07:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 06:03 .git 06:07:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 06:03 .github 06:07:09 -rw-rw-r-- 1 jenkins jenkins 138 Jan 29 06:03 .gitignore 06:07:09 -rw-rw-r-- 1 jenkins jenkins 949 Jan 29 06:03 Dockerfile.build 06:07:09 -rw-rw-r-- 1 jenkins jenkins 901 Jan 29 06:03 Jenkinsfile 06:07:09 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 29 06:03 LICENSE 06:07:09 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 29 06:03 Makefile 06:07:09 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 29 06:03 README.md 06:07:09 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 29 06:03 RELEASE-NOTES.txt 06:07:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 06:01 VERSION 06:07:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 06:03 bin 06:07:09 -rw-r--r-- 1 jenkins jenkins 136842 Jan 29 06:06 coverage.out 06:07:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 06:03 example 06:07:09 -rw-r--r-- 1 jenkins jenkins 515 Jan 29 06:07 go.mod 06:07:09 -rw-r--r-- 1 jenkins jenkins 14193 Jan 29 06:07 go.sum 06:07:09 drwxrwxr-x 15 jenkins jenkins 4096 Jan 29 06:03 internal 06:07:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 06:03 openapi 06:07:09 drwxrwxr-x 5 jenkins jenkins 4096 Jan 29 06:03 pkg 06:07:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 06:03 snap 06:07:09 -rw-rw-r-- 1 jenkins jenkins 222 Jan 29 06:03 version.go [Pipeline] isUnix [Pipeline] sh 06:07:10 + 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=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba --label arch=arm64 --label version=0.0.0 . 06:07:10 Sending build context to Docker daemon 2.599MB 06:07:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:07:10 Step 2/24 : FROM ${BASE} AS builder 06:07:10 ---> edcc482f000b 06:07:10 Step 3/24 : ARG MAKE='make build' 06:07:10 ---> Running in 344dee094ef2 06:07:11 Removing intermediate container 344dee094ef2 06:07:11 ---> a40bdf9aeba1 06:07:11 Step 4/24 : WORKDIR /device-sdk-go 06:07:11 ---> Running in d46673989219 06:07:11 Removing intermediate container d46673989219 06:07:11 ---> ffceda14c5d4 06:07:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:11 ---> Running in 90786b24b806 06:07:12 Removing intermediate container 90786b24b806 06:07:12 ---> e1cd98eb18f3 06:07:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:12 ---> Running in 2811a4f8d9d1 06:07:14 Removing intermediate container 2811a4f8d9d1 06:07:14 ---> 3a69aaee9779 06:07:14 Step 7/24 : RUN apk add --update --no-cache make git 06:07:14 ---> Running in e6d1f4c146e9 06:07:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:07:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:07:17 OK: 142 MiB in 39 packages 06:07:18 Removing intermediate container e6d1f4c146e9 06:07:18 ---> 6d8e97373af3 06:07:18 Step 8/24 : COPY . . 06:07:19 ---> 23d449f48a4c 06:07:19 Step 9/24 : RUN ${MAKE} 06:07:19 ---> Running in 7f3ed73f2f25 06:07:20 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:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.107s coverage: 9.4% of statements 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 21.7% of statements 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.568s coverage: 43.2% of statements 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.720s coverage: 68.9% of statements 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.163s coverage: 53.8% of statements 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.123s coverage: 26.8% of statements 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.688s coverage: 83.5% of statements 06:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.194s coverage: 4.2% of statements 06:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:07:21 GO111MODULE=on go vet ./... 06:07:40 gofmt -l . 06:07:40 [ "`gofmt -l .`" = "" ] 06:07:40 ./bin/test-attribution-txt.sh 06:07:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:07:42 $ docker stop --time=1 ccea3031efb97772cf7cb4667b5a1e6f52d522982a4543ea18cf7b9f769611ff 06:07:45 $ docker rm -f ccea3031efb97772cf7cb4667b5a1e6f52d522982a4543ea18cf7b9f769611ff [Pipeline] // withDockerContainer [Pipeline] sh 06:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:46 Warning: overwriting stash ‘coverage-report’ 06:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:07:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:07:47 Removing intermediate container 7f3ed73f2f25 06:07:47 ---> 86427a9fe3aa 06:07:47 Step 10/24 : FROM scratch 06:07:47 ---> 06:07:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:47 ---> Running in 896e37b4e5ec 06:07:47 Removing intermediate container 896e37b4e5ec 06:07:47 ---> f7afbe55bf5a 06:07:47 Step 12/24 : ENV APP_PORT=49990 06:07:47 ---> Running in 4afef9d0133f 06:07:47 + ls -al . 06:07:47 total 216 06:07:47 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 29 06:07 . 06:07:47 drwxrwxr-x. 4 jenkins jenkins 28 Jan 29 06:04 .. 06:07:47 drwxrwxr-x. 2 jenkins jenkins 64 Jan 29 06:04 bin 06:07:47 -rw-r--r--. 1 jenkins jenkins 136843 Jan 29 06:07 coverage.out 06:07:47 -rw-rw-r--. 1 jenkins jenkins 949 Jan 29 06:04 Dockerfile.build 06:07:47 -rw-rw-r--. 1 jenkins jenkins 140 Jan 29 06:04 .dockerignore 06:07:47 drwxrwxr-x. 4 jenkins jenkins 48 Jan 29 06:04 example 06:07:47 drwxrwxr-x. 8 jenkins jenkins 179 Jan 29 06:04 .git 06:07:47 drwxrwxr-x. 2 jenkins jenkins 103 Jan 29 06:04 .github 06:07:47 -rw-rw-r--. 1 jenkins jenkins 138 Jan 29 06:04 .gitignore 06:07:47 -rw-r--r--. 1 jenkins jenkins 515 Jan 29 06:07 go.mod 06:07:47 -rw-r--r--. 1 jenkins jenkins 14193 Jan 29 06:07 go.sum 06:07:47 drwxrwxr-x. 15 jenkins jenkins 211 Jan 29 06:04 internal 06:07:47 -rw-rw-r--. 1 jenkins jenkins 901 Jan 29 06:04 Jenkinsfile 06:07:47 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 29 06:04 LICENSE 06:07:47 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 29 06:04 Makefile 06:07:47 drwxrwxr-x. 4 jenkins jenkins 26 Jan 29 06:04 openapi 06:07:47 drwxrwxr-x. 5 jenkins jenkins 50 Jan 29 06:04 pkg 06:07:47 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 29 06:04 README.md 06:07:47 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 29 06:04 RELEASE-NOTES.txt 06:07:47 drwxrwxr-x. 4 jenkins jenkins 54 Jan 29 06:04 snap 06:07:47 -rw-rw-r--. 1 jenkins jenkins 5 Jan 29 06:01 VERSION 06:07:47 -rw-rw-r--. 1 jenkins jenkins 222 Jan 29 06:04 version.go [Pipeline] isUnix [Pipeline] sh 06:07:48 + 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=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba --label arch=amd64 --label version=0.0.0 . 06:07:48 Removing intermediate container 4afef9d0133f 06:07:48 ---> 7e6f063c0b8c 06:07:48 Step 13/24 : EXPOSE $APP_PORT 06:07:48 ---> Running in 91b18475909c 06:07:48 Sending build context to Docker daemon 2.607MB 06:07:48 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:07:48 Step 2/24 : FROM ${BASE} AS builder 06:07:48 ---> 6420b8d152ad 06:07:48 Step 3/24 : ARG MAKE='make build' 06:07:48 Removing intermediate container 91b18475909c 06:07:48 ---> e4ab86a643cf 06:07:48 Step 14/24 : WORKDIR / 06:07:48 ---> Running in d7196e106c4f 06:07:49 Removing intermediate container d7196e106c4f 06:07:49 ---> 59d875ca3095 06:07:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:07:49 ---> Running in 2d7052488f98 06:07:49 Removing intermediate container 2d7052488f98 06:07:49 ---> 526713faaab4 06:07:49 Step 4/24 : WORKDIR /device-sdk-go 06:07:49 ---> Running in fa54fd4bf1d4 06:07:49 Removing intermediate container fa54fd4bf1d4 06:07:49 ---> 6d1ef556ae25 06:07:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:07:49 ---> Running in 52ddb6aaa3ee 06:07:50 Removing intermediate container 52ddb6aaa3ee 06:07:50 ---> 78627d2697c9 06:07:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:50 ---> d1e756fe9e5e 06:07:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:07:50 ---> Running in a6e8f229d3c8 06:07:51 ---> 259edc15d667 06:07:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:07:51 ---> f57ce47b0825 06:07:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:07:52 Removing intermediate container a6e8f229d3c8 06:07:52 ---> 590fc9fb2c82 06:07:52 Step 7/24 : RUN apk add --update --no-cache make git 06:07:52 ---> Running in 3efdfb467780 06:07:52 ---> 2ee3e144d6fd 06:07:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:07:52 ---> 04c40b7e66d2 06:07:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:07:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:07:53 ---> Running in d3ccda01e1c2 06:07:53 Removing intermediate container d3ccda01e1c2 06:07:53 ---> bf647bc9b86f 06:07:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:07:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:07:53 ---> Running in 6454ea4dd306 06:07:54 OK: 166 MiB in 39 packages 06:07:54 Removing intermediate container 6454ea4dd306 06:07:54 ---> 08ad53de268a 06:07:54 Step 22/24 : LABEL arch=arm64 06:07:54 ---> Running in 055a63e609f9 06:07:54 Removing intermediate container 055a63e609f9 06:07:54 ---> c5a6d1df9a47 06:07:54 Step 23/24 : LABEL git_sha=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:07:54 ---> Running in 56f75b7b27dd 06:07:54 Removing intermediate container 3efdfb467780 06:07:54 ---> 9a93f387c94e 06:07:54 Step 8/24 : COPY . . 06:07:55 Removing intermediate container 56f75b7b27dd 06:07:55 ---> eebe3a39a5f5 06:07:55 Step 24/24 : LABEL version=0.0.0 06:07:55 ---> Running in 25d174a938af 06:07:55 Removing intermediate container 25d174a938af 06:07:55 ---> 0f9ce9d58aa3 06:07:55 [Warning] One or more build-args [ARCH] were not consumed 06:07:55 ---> f5e0e70ebffe 06:07:55 Step 9/24 : RUN ${MAKE} 06:07:56 Successfully built 0f9ce9d58aa3 06:07:56 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } 06:07:56 ---> Running in f4284a2ceb07 [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 06:07:57 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 [Pipeline] } [Pipeline] // stage [Pipeline] } 06:08:17 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:08:18 Removing intermediate container f4284a2ceb07 06:08:18 ---> 7c35281f4012 06:08:18 Step 10/24 : FROM scratch 06:08:18 ---> 06:08:18 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:08:18 ---> Running in 087782316c64 06:08:19 Removing intermediate container 087782316c64 06:08:19 ---> 2169ab65b9c3 06:08:19 Step 12/24 : ENV APP_PORT=49990 06:08:19 ---> Running in a7ca68556524 06:08:19 Removing intermediate container a7ca68556524 06:08:19 ---> 3c4012d7475f 06:08:19 Step 13/24 : EXPOSE $APP_PORT 06:08:20 ---> Running in 4209c92f6fb1 06:08:20 Removing intermediate container 4209c92f6fb1 06:08:20 ---> 0416ebeb4d75 06:08:20 Step 14/24 : WORKDIR / 06:08:20 ---> Running in 420259c44c36 06:08:21 Removing intermediate container 420259c44c36 06:08:21 ---> 32533e556168 06:08:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:08:21 ---> 8ddfe7230280 06:08:21 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:08:21 ---> 7a5246b76dc1 06:08:21 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:08:22 ---> 59c8132831f9 06:08:22 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:08:22 ---> e7d8b21bb367 06:08:22 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:08:23 ---> c8b4122790c8 06:08:23 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:08:23 ---> Running in 4f1e7d204e7d 06:08:24 Removing intermediate container 4f1e7d204e7d 06:08:24 ---> 71498ef11983 06:08:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:24 ---> Running in cb6b3fa2610f 06:08:24 Removing intermediate container cb6b3fa2610f 06:08:24 ---> e50e37efdb6d 06:08:24 Step 22/24 : LABEL arch=amd64 06:08:24 ---> Running in d8d7d1ef9c4b 06:08:24 Removing intermediate container d8d7d1ef9c4b 06:08:24 ---> f3ed9355fecf 06:08:24 Step 23/24 : LABEL git_sha=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba 06:08:24 ---> Running in 261d3f3ed996 06:08:25 Removing intermediate container 261d3f3ed996 06:08:25 ---> 3480501da724 06:08:25 Step 24/24 : LABEL version=0.0.0 06:08:25 ---> Running in 699bda4eda84 06:08:25 Removing intermediate container 699bda4eda84 06:08:25 ---> bcd3e3d5688d 06:08:25 [Warning] One or more build-args [ARCH] were not consumed 06:08:25 Successfully built bcd3e3d5688d 06:08:25 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:08:27 provisioning config files... 06:08:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/config6562383217527155513tmp [Pipeline] { [Pipeline] sh 06:08:28 + set +x 06:08:28 + curl -s https://codecov.io/bash 06:08:28 + bash -s -- 06:08:28 06:08:28 _____ _ 06:08:28 / ____| | | 06:08:28 | | ___ __| | ___ ___ _____ __ 06:08:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:08:28 | |___| (_) | (_| | __/ (_| (_) \ V / 06:08:28 \_____\___/ \__,_|\___|\___\___/ \_/ 06:08:28 Bash-20210128-d4071a2 06:08:28 06:08:28 06:08:28 ==> git version 2.24.3 found 06:08:28 ==> 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:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:08:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:08:28 ==> Jenkins CI detected. 06:08:28 project root: . 06:08:28 --> token set from env 06:08:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:08:28 ==> Running gcov in . (disable via -X gcov) 06:08:28 ==> Python coveragepy not found 06:08:28 ==> Searching for coverage reports in: 06:08:28 + . 06:08:28 -> Found 1 reports 06:08:28 ==> Detecting git/mercurial file structure 06:08:28 ==> Reading reports 06:08:28 + ./coverage.out bytes=136843 06:08:28 ==> Appending adjustments 06:08:28 https://docs.codecov.io/docs/fixing-reports 06:08:29 + Found adjustments 06:08:29 ==> Gzipping contents 06:08:29 24K /tmp/codecov.nSkvWe.gz 06:08:29 ==> Uploading reports 06:08:29 url: https://codecov.io 06:08:29 query: branch=PR-765&commit=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-765%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=765&job=&cmd_args= 06:08:29 -> Pinging Codecov 06:08:29 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-765&commit=3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-765%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=765&job=&cmd_args= 06:08:29 -> Uploading to 06:08:29 https://storage.googleapis.com/codecov/v4/raw/2021-01-29/7E55EF52A471D76F132DFD9A03CDDE97/3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba/eedfb304-cf66-4483-aadf-a7b65a20e2cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210129T060829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7643410b18c96b8f2a614e85616d927da007f694682c0da9c9482b85b44e7ed 06:08:29 % Total % Received % Xferd Average Speed Time Time Time Current 06:08:29 Dload Upload Total Spent Left Speed 06:08:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21543 0 0 100 21543 0 45256 --:--:-- --:--:-- --:--:-- 45258 06:08:29 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3d9281de9b1e1b2336c87ff2d2ec1e080d99e3ba [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-765 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-765 ']' 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:39 + '[' -f /tmp/packages_start.txt ']' 06:08:39 + '[' -f /tmp/packages_end.txt ']' 06:08:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:08:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-765 ']' 06:08:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-765/archives/ 06:08:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-765/archives/ [Pipeline] echo 06:08:39 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-765/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 df20fa9351a1: Download complete 06:08:40 93b9cdb0e59b: Verifying Checksum 06:08:40 93b9cdb0e59b: 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 93b61091891f: Verifying Checksum 06:08:40 8ad3a11d3b57: Verifying Checksum 06:08:40 8ad3a11d3b57: Download complete 06:08:40 df20fa9351a1: Pull complete 06:08:41 36b3adc4ff6f: Pull complete 06:08:41 8ad3a11d3b57: Pull complete 06:08:41 46f8f816bc3b: Pull complete 06:08:42 93b61091891f: Pull complete 06:08:42 93b9cdb0e59b: Pull complete 06:08:42 aa168da1d23b: Download complete 06:08:42 5e14af77c1be: Pull complete 06:08:42 01666e4c0597: Pull complete 06:08:49 aa168da1d23b: Pull complete 06:08:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:08:49 prd-centos7-docker-4c-2g-23905 does not seem to be running inside a container 06:08:49 $ 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-765/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-765 -v /w/workspace/dgexfoundry_device-sdk-go_PR-765:/w/workspace/dgexfoundry_device-sdk-go_PR-765:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:08:52 $ docker top 9396f1952f55100fd3ef73fc8168e724ada5eadda16f0eb183e5a20aef7c4c15 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:53 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:53 + mkdir -p /var/log/sa [Pipeline] sh 06:08:53 + ls /var/log/sa-host 06:08:53 + sadf -c /var/log/sa-host/sa23 06:08:53 file_magic: OK 06:08:53 HZ: Using current value: 100 06:08:53 file_header: OK 06:08:53 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:53 Statistics: 06:08:53 Hnuu...uuuununununu... 06:08:53 File successfully converted to sysstat format version 12.2.1 06:08:53 + sadf -c /var/log/sa-host/sa29 06:08:53 file_magic: OK 06:08:53 HZ: Using current value: 100 06:08:53 file_header: OK 06:08:53 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:53 Statistics: 06:08:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:08:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:54 provisioning config files... 06:08:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp/config2616789947246470657tmp [Pipeline] { [Pipeline] echo 06:08:54 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:55 ---> python-tools-install.sh [Pipeline] echo 06:08:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:55 ---> sudo-logs.sh 06:08:55 Archiving 'sudo' log.. [Pipeline] echo 06:08:55 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:57 INFO: Retrieving Pricing Info for: v1-standard-2 06:08:57 INFO: Archiving Costs [Pipeline] echo 06:08:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:57 ---> logs-deploy.sh 06:08:57 lf-activate-venv: SKIPPING 06:08:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-765/1 06:08:57 INFO: archiving workspace using pattern(s): 06:08:59 Archives upload complete. 06:08:59 INFO: archiving logs to Nexus 06:09:00 ---> uname -a: 06:09:00 Linux prd-centos7-docker-4c-2g-23905.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:00 06:09:00 06:09:00 ---> lscpu: 06:09:00 Architecture: x86_64 06:09:00 CPU op-mode(s): 32-bit, 64-bit 06:09:00 Byte Order: Little Endian 06:09:00 Address sizes: 40 bits physical, 48 bits virtual 06:09:00 CPU(s): 4 06:09:00 On-line CPU(s) list: 0-3 06:09:00 Thread(s) per core: 1 06:09:00 Core(s) per socket: 1 06:09:00 Socket(s): 4 06:09:00 NUMA node(s): 1 06:09:00 Vendor ID: GenuineIntel 06:09:00 CPU family: 6 06:09:00 Model: 44 06:09:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:09:00 Stepping: 1 06:09:00 CPU MHz: 2933.442 06:09:00 BogoMIPS: 5866.88 06:09:00 Virtualization: VT-x 06:09:00 Hypervisor vendor: KVM 06:09:00 Virtualization type: full 06:09:00 L1d cache: 128 KiB 06:09:00 L1i cache: 128 KiB 06:09:00 L2 cache: 16 MiB 06:09:00 L3 cache: 64 MiB 06:09:00 NUMA node0 CPU(s): 0-3 06:09:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:09:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:09:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:09:00 Vulnerability Meltdown: Mitigation; PTI 06:09:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:09:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:09:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:09:00 Vulnerability Srbds: Not affected 06:09:00 Vulnerability Tsx async abort: Not affected 06:09:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:09:00 06:09:00 06:09:00 ---> nproc: 06:09:00 4 06:09:00 06:09:00 06:09:00 ---> df -h: 06:09:00 Filesystem Size Used Available Use% Mounted on 06:09:00 overlay 50.0G 7.3G 42.7G 15% / 06:09:00 tmpfs 64.0M 0 64.0M 0% /dev 06:09:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:09:00 shm 64.0M 0 64.0M 0% /dev/shm 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-765@tmp 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:09:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-765 06:09:00 06:09:00 06:09:00 ---> free -m: 06:09:00 total used free shared buff/cache available 06:09:00 Mem: 1837 700 102 0 1033 1032 06:09:00 Swap: 1023 0 1023 06:09:00 06:09:00 06:09:00 ---> ip addr: 06:09:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:09:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:09:00 inet 127.0.0.1/8 scope host lo 06:09:00 valid_lft forever preferred_lft forever 06:09:00 inet6 ::1/128 scope host 06:09:00 valid_lft forever preferred_lft forever 06:09:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:09:00 link/ether fa:16:3e:b4:de:b6 brd ff:ff:ff:ff:ff:ff 06:09:00 inet 10.30.123.84/23 brd 10.30.123.255 scope global dynamic eth0 06:09:00 valid_lft 85889sec preferred_lft 85889sec 06:09:00 inet6 fe80::f816:3eff:feb4:deb6/64 scope link 06:09:00 valid_lft forever preferred_lft forever 06:09:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:09:00 link/ether 02:42:d5:c3:e7:0f brd ff:ff:ff:ff:ff:ff 06:09:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:09:00 valid_lft forever preferred_lft forever 06:09:00 inet6 fe80::42:d5ff:fec3:e70f/64 scope link 06:09:00 valid_lft forever preferred_lft forever 06:09:00 06:09:00