Pull request #767 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b36bb853df962b2c3f537a6caa55bf08c63b7f0d+3aea893206dfece0cb943228d650ae216607898f (4fa465a1256cd02b871ccf53c70689ba41646556) 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-767/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-767/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-24304 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [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-767 # 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 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) 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/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # 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 b36bb853df962b2c3f537a6caa55bf08c63b7f0d # 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 07:26:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:26:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:26:54 ========================================================= 07:26:54 EdgeX Global Pipelines Version Info 07:26:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:26:56 ------------------- 07:26:56 stable info: 07:26:56 ------------------- 07:26:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:56 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:26:56 Message: update stable to v1.0.179 07:26:57 ------------------- 07:26:57 experimental info: 07:26:57 ------------------- 07:26:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:57 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:26:57 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:26:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:26:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:26:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:26:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:26:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:27:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-767 [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-767 [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-767 [Pipeline] echo 07:27:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] echo 07:27:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b36bb85 [Pipeline] echo 07:27:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:27:02 provisioning config files... 07:27:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config1450495313497801238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:02 ---> docker-login.sh 07:27:02 nexus3.edgexfoundry.org:10001 07:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:03 Configure a credential helper to remove this warning. See 07:27:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:03 07:27:03 Login Succeeded 07:27:03 nexus3.edgexfoundry.org:10002 07:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:03 Configure a credential helper to remove this warning. See 07:27:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:03 07:27:03 Login Succeeded 07:27:03 nexus3.edgexfoundry.org:10003 07:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:03 Configure a credential helper to remove this warning. See 07:27:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:03 07:27:03 Login Succeeded 07:27:03 nexus3.edgexfoundry.org:10004 07:27:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:04 Configure a credential helper to remove this warning. See 07:27:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:04 07:27:04 Login Succeeded 07:27:04 docker.io 07:27:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:04 Configure a credential helper to remove this warning. See 07:27:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:04 07:27:04 Login Succeeded 07:27:04 ---> docker-login.sh ends [Pipeline] } 07:27:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:05 + git log --format=format:%s -1 b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] echo 07:27:05 GIT_COMMIT: b36bb853df962b2c3f537a6caa55bf08c63b7f0d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:27:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:27:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:06 07:27:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:27:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:06 latest: Pulling from edgex-devops/git-semver 07:27:06 31603596830f: Pulling fs layer 07:27:06 2a8b12db71e7: Pulling fs layer 07:27:06 6ca5941a6612: Pulling fs layer 07:27:06 ecc8261a40a4: Pulling fs layer 07:27:06 ecc8261a40a4: Waiting 07:27:06 2a8b12db71e7: Verifying Checksum 07:27:06 2a8b12db71e7: Download complete 07:27:06 31603596830f: Verifying Checksum 07:27:06 31603596830f: Download complete 07:27:06 6ca5941a6612: Verifying Checksum 07:27:06 6ca5941a6612: Download complete 07:27:06 ecc8261a40a4: Verifying Checksum 07:27:06 ecc8261a40a4: Download complete 07:27:07 31603596830f: Pull complete 07:27:07 2a8b12db71e7: Pull complete 07:27:08 6ca5941a6612: Pull complete 07:27:08 ecc8261a40a4: Pull complete 07:27:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:27:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:27:08 prd-centos7-docker-4c-2g-24304 does not seem to be running inside a container 07:27:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-767 -v /w/workspace/dgexfoundry_device-sdk-go_PR-767:/w/workspace/dgexfoundry_device-sdk-go_PR-767:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-767@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 07:27:11 $ docker top deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:27:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:11 [ssh-agent] Looking for ssh-agent implementation... 07:27:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:11 $ docker exec deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent 07:27:11 SSH_AUTH_SOCK=/tmp/ssh-9JL2v1AjP2OD/agent.11 07:27:11 SSH_AGENT_PID=16 07:27:12 Running ssh-add (command line suppressed) 07:27:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_6102573022807357163.key (/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_6102573022807357163.key) 07:27:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:12 + git tag --points-at HEAD [Pipeline] } 07:27:12 $ docker exec --env ******** --env ******** deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent -k 07:27:12 unset SSH_AUTH_SOCK; 07:27:12 unset SSH_AGENT_PID; 07:27:12 echo Agent pid 16 killed; 07:27:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:27:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:12 [ssh-agent] Looking for ssh-agent implementation... 07:27:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:13 $ docker exec deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent 07:27:13 SSH_AUTH_SOCK=/tmp/ssh-BNDIsriSQcy1/agent.45 07:27:13 SSH_AGENT_PID=50 07:27:13 Running ssh-add (command line suppressed) 07:27:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_4386950053074885683.key (/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/private_key_4386950053074885683.key) 07:27:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:13 + git semver init 07:27:13 # -> Open(): unable to determine branch for HEAD 07:27:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-767/.git 07:27:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-767 07:27:13 # $SEMVER_REMOTE_NAME = origin 07:27:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:27:13 # $SEMVER_USER_NAME = edgex-jenkins 07:27:13 # $SEMVER_BRANCH = PR-767 07:27:13 # $SEMVER_TEMP = /tmp/semver-387697024 07:27:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:27:14 # '/tmp/semver-387697024' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-767/.semver' 07:27:14 # -> Force: false 07:27:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-767/.semver [Pipeline] } 07:27:14 $ docker exec --env ******** --env ******** deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 ssh-agent -k 07:27:14 unset SSH_AUTH_SOCK; 07:27:14 unset SSH_AGENT_PID; 07:27:14 echo Agent pid 50 killed; 07:27:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:15 + git semver [Pipeline] } 07:27:15 $ docker stop --time=1 deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 07:27:16 $ docker rm -f deedc1dd89d1554100bca5557bea6a14c97cd37ff0165515296ffe2925021311 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:17 Stashed 1 file(s) [Pipeline] echo 07:27:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:27:33 Still waiting to schedule task 07:27:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:27:33 Still waiting to schedule task 07:27:33 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:29:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24305 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [Pipeline] { [Pipeline] ws 07:29:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:29:23 using credential edgex-jenkins-ssh 07:29:23 Cloning the remote Git repository 07:29:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:29:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:29:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:23 > git --version # timeout=10 07:29:23 > git --version # 'git version 2.17.1' 07:29:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:29:25 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d 07:29:25 Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d 07:29:25 Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) 07:29:25 > git config core.sparsecheckout # timeout=10 07:29:25 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 07:29:25 > git remote # timeout=10 07:29:25 > git config --get remote.origin.url # timeout=10 07:29:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:25 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 07:29:25 > git rev-parse HEAD^{commit} # timeout=10 07:29:25 > git config core.sparsecheckout # timeout=10 07:29:25 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 07:29:29 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:29:29 > git --version # timeout=10 07:29:29 > git --version # 'git version 2.17.1' 07:29:29 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:29:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:29:32 + sudo service docker restart 07:29:32 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:29:35 provisioning config files... 07:29:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3932075497668172933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:35 ---> docker-login.sh 07:29:35 nexus3.edgexfoundry.org:10001 07:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:37 Configure a credential helper to remove this warning. See 07:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:37 07:29:37 Login Succeeded 07:29:37 nexus3.edgexfoundry.org:10002 07:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:37 Configure a credential helper to remove this warning. See 07:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:37 07:29:37 Login Succeeded 07:29:37 nexus3.edgexfoundry.org:10003 07:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:38 Configure a credential helper to remove this warning. See 07:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:38 07:29:38 Login Succeeded 07:29:38 nexus3.edgexfoundry.org:10004 07:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:38 Configure a credential helper to remove this warning. See 07:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:38 07:29:38 Login Succeeded 07:29:38 docker.io 07:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:39 Configure a credential helper to remove this warning. See 07:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:39 07:29:39 Login Succeeded 07:29:39 ---> docker-login.sh ends [Pipeline] } 07:29:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:29:39 ========================================================= 07:29:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:29:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:29:40 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 07:29:40 Sending build context to Docker daemon 2.501MB 07:29:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:29:40 Step 2/8 : FROM ${BASE} 07:29:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:29:40 5f621e34cdf4: Pulling fs layer 07:29:40 a4357932f1b6: Pulling fs layer 07:29:40 18c013af1878: Pulling fs layer 07:29:40 00ac8860ef70: Pulling fs layer 07:29:40 63d7cb157983: Pulling fs layer 07:29:40 b116817d02f9: Pulling fs layer 07:29:40 745a02a5169b: Pulling fs layer 07:29:40 63d7cb157983: Waiting 07:29:40 b116817d02f9: Waiting 07:29:40 745a02a5169b: Waiting 07:29:40 00ac8860ef70: Waiting 07:29:40 18c013af1878: Download complete 07:29:40 a4357932f1b6: Download complete 07:29:40 63d7cb157983: Verifying Checksum 07:29:40 63d7cb157983: Download complete 07:29:40 b116817d02f9: Download complete 07:29:40 5f621e34cdf4: Verifying Checksum 07:29:40 5f621e34cdf4: Download complete 07:29:41 5f621e34cdf4: Pull complete 07:29:42 a4357932f1b6: Pull complete 07:29:42 18c013af1878: Pull complete 07:29:43 745a02a5169b: Verifying Checksum 07:29:43 745a02a5169b: Download complete 07:29:43 00ac8860ef70: Download complete 07:29:53 00ac8860ef70: Pull complete 07:29:53 63d7cb157983: Pull complete 07:29:54 b116817d02f9: Pull complete 07:29:57 745a02a5169b: Pull complete 07:29:57 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:29:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:29:57 ---> b7e6874047d6 07:29:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:30:00 ---> Running in 9477bb909d8a 07:30:01 Removing intermediate container 9477bb909d8a 07:30:01 ---> 7e9fe19b5b03 07:30:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:30:01 ---> Running in 8216e133d032 07:30:03 Removing intermediate container 8216e133d032 07:30:03 ---> 7e6533faf9bc 07:30:03 Step 5/8 : RUN apk add --update --no-cache make git 07:30:03 ---> Running in a7a34695d149 07:30:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:30:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:30:05 OK: 142 MiB in 39 packages 07:30:06 Removing intermediate container a7a34695d149 07:30:06 ---> db936131d19f 07:30:06 Step 6/8 : WORKDIR /device-sdk-go 07:30:07 ---> Running in bd027cec0652 07:30:07 Removing intermediate container bd027cec0652 07:30:07 ---> bfbe097b8e1e 07:30:07 Step 7/8 : COPY . . 07:30:08 ---> 779e3dacc43e 07:30:08 Step 8/8 : RUN go mod download 07:30:09 ---> Running in 149fe6c30c59 07:30:27 Running on prd-centos7-docker-4c-2g-24306 in /w/workspace/dgexfoundry_device-sdk-go_PR-767 [Pipeline] { [Pipeline] ws 07:30:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:30:31 Removing intermediate container 149fe6c30c59 07:30:31 ---> 3eda8c7c1884 07:30:31 Successfully built 3eda8c7c1884 07:30:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:30:31 + docker inspect -f . ci-base-image-arm64 07:30:31 . [Pipeline] withDockerContainer 07:30:31 prd-ubuntu18.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container 07:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:30:33 $ docker top afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:34 + go version 07:30:34 go version go1.15.5 linux/arm64 [Pipeline] } 07:30:34 $ docker stop --time=1 afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 07:30:34 using credential edgex-jenkins-ssh 07:30:34 Cloning the remote Git repository 07:30:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:30:34 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:30:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:35 > git --version # timeout=10 07:30:35 > git --version # 'git version 2.24.3' 07:30:35 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:36 $ docker rm -f afa79f5173629f44b0fdc66857fea7ccc9d540308d17d38af113850f4e5e0ea9 07:30:36 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] // withDockerContainer 07:30:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:30:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:30:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/767/head:refs/remotes/origin/PR-767 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:30:36 > git config core.sparsecheckout # timeout=10 07:30:36 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 07:30:36 > git remote # timeout=10 [Pipeline] } 07:30:37 Merge succeeded, producing b36bb853df962b2c3f537a6caa55bf08c63b7f0d 07:30:37 Checking out Revision b36bb853df962b2c3f537a6caa55bf08c63b7f0d (PR-767) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:30:38 + docker inspect -f . ci-base-image-arm64 07:30:38 . [Pipeline] withDockerContainer 07:30:38 prd-ubuntu18.04-docker-arm64-4c-16g-24305 does not seem to be running inside a container 07:30:36 > git config --get remote.origin.url # timeout=10 07:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:30:36 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 07:30:37 > git rev-parse HEAD^{commit} # timeout=10 07:30:37 > git config core.sparsecheckout # timeout=10 07:30:37 > git checkout -f b36bb853df962b2c3f537a6caa55bf08c63b7f0d # timeout=10 07:30:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:30:39 $ docker top a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:41 + make test 07:30:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:30:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:30:41 > git --version # timeout=10 07:30:41 > git --version # 'git version 2.24.3' 07:30:41 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:30:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:30:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:30:44 + sudo service docker restart 07:30:44 + true 07:30:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:30:45 provisioning config files... 07:30:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config76331284738378032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:30:46 ---> docker-login.sh 07:30:46 nexus3.edgexfoundry.org:10001 07:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:47 Configure a credential helper to remove this warning. See 07:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:47 07:30:47 Login Succeeded 07:30:47 nexus3.edgexfoundry.org:10002 07:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:47 Configure a credential helper to remove this warning. See 07:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:47 07:30:47 Login Succeeded 07:30:47 nexus3.edgexfoundry.org:10003 07:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:47 Configure a credential helper to remove this warning. See 07:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:47 07:30:47 Login Succeeded 07:30:47 nexus3.edgexfoundry.org:10004 07:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:48 Configure a credential helper to remove this warning. See 07:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:48 07:30:48 Login Succeeded 07:30:48 docker.io 07:30:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:30:48 Configure a credential helper to remove this warning. See 07:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:30:48 07:30:48 Login Succeeded 07:30:48 ---> docker-login.sh ends [Pipeline] } 07:30:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:30:50 ========================================================= 07:30:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:30:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:30:50 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 07:30:50 Sending build context to Docker daemon 2.493MB 07:30:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:30:50 Step 2/8 : FROM ${BASE} 07:30:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:30:50 188c0c94c7c5: Pulling fs layer 07:30:50 0ef7d3d256c8: Pulling fs layer 07:30:50 de9db76c5a1d: Pulling fs layer 07:30:50 bca2f99d35d6: Pulling fs layer 07:30:50 93359f2a8cfa: Pulling fs layer 07:30:50 7c6f9722023f: Pulling fs layer 07:30:50 a35cf1a2eb13: Pulling fs layer 07:30:50 93359f2a8cfa: Waiting 07:30:50 a35cf1a2eb13: Waiting 07:30:50 7c6f9722023f: Waiting 07:30:50 bca2f99d35d6: Waiting 07:30:50 de9db76c5a1d: Verifying Checksum 07:30:50 de9db76c5a1d: Download complete 07:30:50 0ef7d3d256c8: Verifying Checksum 07:30:50 0ef7d3d256c8: Download complete 07:30:50 93359f2a8cfa: Download complete 07:30:51 7c6f9722023f: Verifying Checksum 07:30:51 7c6f9722023f: Download complete 07:30:51 188c0c94c7c5: Download complete 07:30:51 188c0c94c7c5: Pull complete 07:30:51 0ef7d3d256c8: Pull complete 07:30:51 de9db76c5a1d: Pull complete 07:30:54 a35cf1a2eb13: Verifying Checksum 07:30:54 a35cf1a2eb13: Download complete 07:30:56 bca2f99d35d6: Download complete 07:31:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:31:08 bca2f99d35d6: Pull complete 07:31:08 93359f2a8cfa: Pull complete 07:31:08 7c6f9722023f: Pull complete 07:31:14 a35cf1a2eb13: Pull complete 07:31:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:31:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:31:14 ---> a62c8e92a672 07:31:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:31:14 ---> Running in bfae8c6c3fa0 07:31:14 Removing intermediate container bfae8c6c3fa0 07:31:14 ---> f77120ff05d1 07:31:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:31:14 ---> Running in 168cb6684017 07:31:15 Removing intermediate container 168cb6684017 07:31:15 ---> 6860ffa90291 07:31:15 Step 5/8 : RUN apk add --update --no-cache make git 07:31:15 ---> Running in 12fc1cd29809 07:31:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:31:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:31:18 OK: 166 MiB in 39 packages 07:31:18 Removing intermediate container 12fc1cd29809 07:31:18 ---> 4b5db058cc67 07:31:18 Step 6/8 : WORKDIR /device-sdk-go 07:31:18 ---> Running in b371499c4bd4 07:31:18 Removing intermediate container b371499c4bd4 07:31:18 ---> 89071fcd1bd0 07:31:18 Step 7/8 : COPY . . 07:31:20 ---> cb3f1e62c7dd 07:31:20 Step 8/8 : RUN go mod download 07:31:20 ---> Running in b5d73daf0716 07:31:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:31:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:31:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:31:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.203s coverage: 19.4% of statements 07:31:42 Removing intermediate container b5d73daf0716 07:31:42 ---> ebd6d5e7e0c4 07:31:42 Successfully built ebd6d5e7e0c4 07:31:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:31:43 + docker inspect -f . ci-base-image-x86_64 07:31:43 . [Pipeline] withDockerContainer 07:31:43 prd-centos7-docker-4c-2g-24306 does not seem to be running inside a container 07:31:43 $ 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 07:31:44 $ docker top 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:45 + go version 07:31:45 go version go1.15.5 linux/amd64 [Pipeline] } 07:31:45 $ docker stop --time=1 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 07:31:47 $ docker rm -f 393574f622013f6527a2b5f768873b8d69167c2f7bd68c570ad603338bbd7854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:31:48 + docker inspect -f . ci-base-image-x86_64 07:31:48 . [Pipeline] withDockerContainer 07:31:48 prd-centos7-docker-4c-2g-24306 does not seem to be running inside a container 07:31: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 ******** ci-base-image-x86_64 cat 07:31:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.124s coverage: 97.1% of statements 07:31:49 $ docker top e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e -eo pid,comm [Pipeline] { [Pipeline] sh 07:31:50 + make test 07:31:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:32:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.180s coverage: 9.4% of statements 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.576s coverage: 43.6% of statements 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.773s coverage: 68.9% of statements 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.183s coverage: 25.2% of statements 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.719s coverage: 83.5% of statements 07:32:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 4.2% of statements 07:32:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:32:16 GO111MODULE=on go vet ./... 07:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 19.4% of statements 07:32:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.119s coverage: 97.1% of statements 07:32:55 gofmt -l . 07:32:55 [ "`gofmt -l .`" = "" ] 07:32:55 ./bin/test-attribution-txt.sh 07:32:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:32:55 $ docker stop --time=1 a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 07:32:57 $ docker rm -f a55f78c1a15d4addbf4ff06e41f94d2dd8a40b22f1b85c8316cbad9ee19621b0 [Pipeline] // withDockerContainer [Pipeline] sh 07:32:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:32:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:03 + ls -al . 07:33:03 total 252 07:33:03 drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 07:32 . 07:33:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 .. 07:33:03 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 07:29 .dockerignore 07:33:03 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 07:29 .git 07:33:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 07:29 .github 07:33:03 -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 07:29 .gitignore 07:33:03 -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 07:29 Dockerfile.build 07:33:03 -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 07:29 Jenkinsfile 07:33:03 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 07:29 LICENSE 07:33:03 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 07:29 Makefile 07:33:03 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 07:29 README.md 07:33:03 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 07:29 RELEASE-NOTES.txt 07:33:03 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 07:27 VERSION 07:33:03 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 07:29 bin 07:33:03 -rw-r--r-- 1 jenkins jenkins 137332 Feb 1 07:32 coverage.out 07:33:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 example 07:33:03 -rw-r--r-- 1 jenkins jenkins 515 Feb 1 07:32 go.mod 07:33:03 -rw-r--r-- 1 jenkins jenkins 14193 Feb 1 07:32 go.sum 07:33:03 drwxrwxr-x 15 jenkins jenkins 4096 Feb 1 07:29 internal 07:33:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 openapi 07:33:03 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 07:29 pkg 07:33:03 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 07:29 snap 07:33:03 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 07:29 version.go [Pipeline] isUnix [Pipeline] sh 07:33:03 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b36bb853df962b2c3f537a6caa55bf08c63b7f0d --label arch=arm64 --label version=0.0.0 . 07:33:04 Sending build context to Docker daemon 2.639MB 07:33:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:33:04 Step 2/24 : FROM ${BASE} AS builder 07:33:04 ---> 3eda8c7c1884 07:33:04 Step 3/24 : ARG MAKE='make build' 07:33:04 ---> Running in cbd588cad08b 07:33:05 Removing intermediate container cbd588cad08b 07:33:05 ---> 924e92dc237b 07:33:05 Step 4/24 : WORKDIR /device-sdk-go 07:33:05 ---> Running in ed297e7296fd 07:33:05 Removing intermediate container ed297e7296fd 07:33:05 ---> fc97f54c0a0b 07:33:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:33:05 ---> Running in e11f7c10d123 07:33:06 Removing intermediate container e11f7c10d123 07:33:06 ---> 3eead3e9da41 07:33:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:06 ---> Running in d8f18ce59509 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.159s coverage: 9.4% of statements 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.093s coverage: 21.7% of statements 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.593s coverage: 43.6% of statements 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.458s coverage: 68.9% of statements 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 53.8% of statements 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.250s coverage: 25.2% of statements 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.822s coverage: 83.5% of statements 07:33:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.2% of statements 07:33:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:33:08 GO111MODULE=on go vet ./... 07:33:08 Removing intermediate container d8f18ce59509 07:33:08 ---> bf20c1c2b58d 07:33:08 Step 7/24 : RUN apk add --update --no-cache make git 07:33:08 ---> Running in ffcb12479537 07:33:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:33:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:33:11 OK: 142 MiB in 39 packages 07:33:11 Removing intermediate container ffcb12479537 07:33:11 ---> 7f624a83ee98 07:33:11 Step 8/24 : COPY . . 07:33:13 ---> b43f9c5720a5 07:33:13 Step 9/24 : RUN ${MAKE} 07:33:13 ---> Running in 3490a8869ceb 07:33:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:33:31 gofmt -l . 07:33:31 [ "`gofmt -l .`" = "" ] 07:33:31 ./bin/test-attribution-txt.sh 07:33:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:33:31 $ docker stop --time=1 e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e 07:33:33 $ docker rm -f e79ec8492f7e7b27a8bf65d343a927e04324d52ecac77bbeb81983c7ec66227e [Pipeline] // withDockerContainer [Pipeline] sh 07:33:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:34 Warning: overwriting stash ‘coverage-report’ 07:33:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:33:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:36 + ls -al . 07:33:36 total 216 07:33:36 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 07:33 . 07:33:36 drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 07:30 .. 07:33:36 drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 07:30 bin 07:33:36 -rw-r--r--. 1 jenkins jenkins 137332 Feb 1 07:33 coverage.out 07:33:36 -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 07:30 Dockerfile.build 07:33:36 -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 07:30 .dockerignore 07:33:36 drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 07:30 example 07:33:36 drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 07:30 .git 07:33:36 drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 07:30 .github 07:33:36 -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 07:30 .gitignore 07:33:36 -rw-r--r--. 1 jenkins jenkins 515 Feb 1 07:33 go.mod 07:33:36 -rw-r--r--. 1 jenkins jenkins 14193 Feb 1 07:33 go.sum 07:33:36 drwxrwxr-x. 15 jenkins jenkins 211 Feb 1 07:30 internal 07:33:36 -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 07:30 Jenkinsfile 07:33:36 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 07:30 LICENSE 07:33:36 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 07:30 Makefile 07:33:36 drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 07:30 openapi 07:33:36 drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 07:30 pkg 07:33:36 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 07:30 README.md 07:33:36 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 07:30 RELEASE-NOTES.txt 07:33:36 drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 07:30 snap 07:33:36 -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 07:27 VERSION 07:33:36 -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 07:30 version.go [Pipeline] isUnix [Pipeline] sh 07:33:36 + 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=b36bb853df962b2c3f537a6caa55bf08c63b7f0d --label arch=amd64 --label version=0.0.0 . 07:33:37 Sending build context to Docker daemon 2.631MB 07:33:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:33:37 Step 2/24 : FROM ${BASE} AS builder 07:33:37 ---> ebd6d5e7e0c4 07:33:37 Step 3/24 : ARG MAKE='make build' 07:33:37 ---> Running in 0e32ad9577c9 07:33:38 Removing intermediate container 0e32ad9577c9 07:33:38 ---> a65fa48eca22 07:33:38 Step 4/24 : WORKDIR /device-sdk-go 07:33:38 ---> Running in bdcd56edb9d0 07:33:38 Removing intermediate container bdcd56edb9d0 07:33:38 ---> 7501b5479253 07:33:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:33:38 ---> Running in f2a0fde5c672 07:33:38 Removing intermediate container f2a0fde5c672 07:33:38 ---> 5c4b596ecdab 07:33:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:38 ---> Running in 98533a725944 07:33:40 Removing intermediate container 98533a725944 07:33:40 ---> 2ad5119ee1aa 07:33:40 Step 7/24 : RUN apk add --update --no-cache make git 07:33:40 ---> Running in e71ca2d25b86 07:33:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:33:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:33:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:33:41 Removing intermediate container 3490a8869ceb 07:33:41 ---> 9ddddc71a682 07:33:41 Step 10/24 : FROM scratch 07:33:41 ---> 07:33:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:33:41 ---> Running in 26bdef7bd0f3 07:33:41 Removing intermediate container 26bdef7bd0f3 07:33:41 ---> 7f517ffcd70f 07:33:41 Step 12/24 : ENV APP_PORT=49990 07:33:42 ---> Running in 34ec15dc9cb0 07:33:42 OK: 166 MiB in 39 packages 07:33:42 Removing intermediate container 34ec15dc9cb0 07:33:42 ---> a3e576fe6f14 07:33:42 Step 13/24 : EXPOSE $APP_PORT 07:33:42 ---> Running in 89327a5b2ea8 07:33:42 Removing intermediate container 89327a5b2ea8 07:33:42 ---> 36ebcc89d014 07:33:42 Step 14/24 : WORKDIR / 07:33:42 ---> Running in f72d80b42029 07:33:42 Removing intermediate container e71ca2d25b86 07:33:42 ---> 2e4be42e1e52 07:33:42 Step 8/24 : COPY . . 07:33:43 Removing intermediate container f72d80b42029 07:33:43 ---> 8bde761cf693 07:33:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:33:43 ---> f4b8d8be2843 07:33:43 Step 9/24 : RUN ${MAKE} 07:33:43 ---> Running in 9c4158923fdb 07:33:44 ---> f698447c6c25 07:33:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:33:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:33:45 ---> 9bcff2d7b368 07:33:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:33:46 ---> 4eab9f122090 07:33:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:33:46 ---> 2ccf2edfa02a 07:33:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:33:47 ---> d0ee956ef24b 07:33:47 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:33:47 ---> Running in b9b5d7079540 07:33:47 Removing intermediate container b9b5d7079540 07:33:47 ---> 3342a7d5b75d 07:33:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:33:48 ---> Running in 7a1e314d2a55 07:33:48 Removing intermediate container 7a1e314d2a55 07:33:48 ---> 3df1b5c69812 07:33:48 Step 22/24 : LABEL arch=arm64 07:33:48 ---> Running in 7cd32da7d07f 07:33:49 Removing intermediate container 7cd32da7d07f 07:33:49 ---> ac60e610598d 07:33:49 Step 23/24 : LABEL git_sha=b36bb853df962b2c3f537a6caa55bf08c63b7f0d 07:33:49 ---> Running in de6caef37a4c 07:33:49 Removing intermediate container de6caef37a4c 07:33:49 ---> f4dafee43b8b 07:33:49 Step 24/24 : LABEL version=0.0.0 07:33:49 ---> Running in c9260d93af3e 07:33:50 Removing intermediate container c9260d93af3e 07:33:50 ---> c6e5fd9ee664 07:33:50 [Warning] One or more build-args [ARCH] were not consumed 07:33:50 Successfully built c6e5fd9ee664 07:33:50 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:34:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:34:04 Removing intermediate container 9c4158923fdb 07:34:04 ---> 885f44a8d93c 07:34:04 Step 10/24 : FROM scratch 07:34:04 ---> 07:34:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:34:04 ---> Running in f2e3fdc07ecb 07:34:04 Removing intermediate container f2e3fdc07ecb 07:34:04 ---> f247323172f2 07:34:04 Step 12/24 : ENV APP_PORT=49990 07:34:04 ---> Running in 9ce9ea74f40d 07:34:05 Removing intermediate container 9ce9ea74f40d 07:34:05 ---> 059e9d065413 07:34:05 Step 13/24 : EXPOSE $APP_PORT 07:34:05 ---> Running in fb74cf3dd178 07:34:05 Removing intermediate container fb74cf3dd178 07:34:05 ---> 954c49c1da5a 07:34:05 Step 14/24 : WORKDIR / 07:34:05 ---> Running in 12675593e36c 07:34:05 Removing intermediate container 12675593e36c 07:34:05 ---> 79332078f580 07:34:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:34:07 ---> 8b2edb80d46a 07:34:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:34:07 ---> 141713d4bbac 07:34:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:34:08 ---> ba7cf40a6f5d 07:34:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:34:08 ---> 0bb0a722c4c1 07:34:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:34:08 ---> ba81f9d5f847 07:34:08 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:34:08 ---> Running in 3f020ca93471 07:34:09 Removing intermediate container 3f020ca93471 07:34:09 ---> ddd9e9eb8ba6 07:34:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:34:09 ---> Running in 1297f16fe434 07:34:09 Removing intermediate container 1297f16fe434 07:34:09 ---> d35e07250e52 07:34:09 Step 22/24 : LABEL arch=amd64 07:34:09 ---> Running in cd434bfd05cf 07:34:09 Removing intermediate container cd434bfd05cf 07:34:09 ---> d05d6b00cd65 07:34:09 Step 23/24 : LABEL git_sha=b36bb853df962b2c3f537a6caa55bf08c63b7f0d 07:34:09 ---> Running in 30047295a061 07:34:10 Removing intermediate container 30047295a061 07:34:10 ---> 362df8c5a694 07:34:10 Step 24/24 : LABEL version=0.0.0 07:34:10 ---> Running in e5f1204a0c33 07:34:10 Removing intermediate container e5f1204a0c33 07:34:10 ---> b6884d99765a 07:34:10 [Warning] One or more build-args [ARCH] were not consumed 07:34:10 Successfully built b6884d99765a 07:34:10 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:34:12 provisioning config files... 07:34:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config7109397014818155047tmp [Pipeline] { [Pipeline] sh 07:34:13 + set +x 07:34:13 + curl -s https://codecov.io/bash 07:34:13 + bash -s -- 07:34:13 07:34:13 _____ _ 07:34:13 / ____| | | 07:34:13 | | ___ __| | ___ ___ _____ __ 07:34:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:34:13 | |___| (_) | (_| | __/ (_| (_) \ V / 07:34:13 \_____\___/ \__,_|\___|\___\___/ \_/ 07:34:13 Bash-20210129-7c25fce 07:34:13 07:34:13 07:34:13 ==> git version 2.24.3 found 07:34:13 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:34:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:34:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:34:13 ==> Jenkins CI detected. 07:34:13 project root: . 07:34:13 --> token set from env 07:34:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:34:13 ==> Running gcov in . (disable via -X gcov) 07:34:13 ==> Python coveragepy not found 07:34:13 ==> Searching for coverage reports in: 07:34:13 + . 07:34:13 -> Found 1 reports 07:34:13 ==> Detecting git/mercurial file structure 07:34:13 ==> Reading reports 07:34:13 + ./coverage.out bytes=137332 07:34:13 ==> Appending adjustments 07:34:13 https://docs.codecov.io/docs/fixing-reports 07:34:14 + Found adjustments 07:34:14 ==> Gzipping contents 07:34:14 24K /tmp/codecov.t4Dtt8.gz 07:34:14 ==> Uploading reports 07:34:14 url: https://codecov.io 07:34:14 query: branch=PR-767&commit=b36bb853df962b2c3f537a6caa55bf08c63b7f0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-767%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=767&job=&cmd_args= 07:34:14 -> Pinging Codecov 07:34:14 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-767&commit=b36bb853df962b2c3f537a6caa55bf08c63b7f0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-767%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=767&job=&cmd_args= 07:34:14 -> Uploading to 07:34:14 https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/b36bb853df962b2c3f537a6caa55bf08c63b7f0d/bb4d576f-af91-4dbc-9e9d-24e2fbff20a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T073414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=addd74cf6c5687d179109a29f264dac05baa27121e8c65506fcb10f063db8314 07:34:14 % Total % Received % Xferd Average Speed Time Time Time Current 07:34:14 Dload Upload Total Spent Left Speed 07:34:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21639 0 0 100 21639 0 43245 --:--:-- --:--:-- --:--:-- 43191 07:34:15 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b36bb853df962b2c3f537a6caa55bf08c63b7f0d [Pipeline] } 07:34:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 07:34:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:34:18 ---> package-listing.sh 07:34:18 ++ facter osfamily 07:34:18 ++ tr '[:upper:]' '[:lower:]' 07:34:18 + OS_FAMILY=redhat 07:34:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-767 07:34:18 + START_PACKAGES=/tmp/packages_start.txt 07:34:18 + END_PACKAGES=/tmp/packages_end.txt 07:34:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:34:18 + PACKAGES=/tmp/packages_start.txt 07:34:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-767 ']' 07:34:18 + PACKAGES=/tmp/packages_end.txt 07:34:18 + case "${OS_FAMILY}" in 07:34:18 + rpm -qa 07:34:18 + sort 07:34:24 + '[' -f /tmp/packages_start.txt ']' 07:34:24 + '[' -f /tmp/packages_end.txt ']' 07:34:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:34:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-767 ']' 07:34:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-767/archives/ 07:34:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-767/archives/ [Pipeline] echo 07:34:24 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-767/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:34:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:34:24 07:34:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:34:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:34:25 alpine: Pulling from edgex-lftools-log-publisher 07:34:25 df20fa9351a1: Pulling fs layer 07:34:25 36b3adc4ff6f: Pulling fs layer 07:34:25 8ad3a11d3b57: Pulling fs layer 07:34:25 46f8f816bc3b: Pulling fs layer 07:34:25 93b61091891f: Pulling fs layer 07:34:25 93b9cdb0e59b: Pulling fs layer 07:34:25 5e14af77c1be: Pulling fs layer 07:34:25 01666e4c0597: Pulling fs layer 07:34:25 aa168da1d23b: Pulling fs layer 07:34:25 93b9cdb0e59b: Waiting 07:34:25 46f8f816bc3b: Waiting 07:34:25 5e14af77c1be: Waiting 07:34:25 93b61091891f: Waiting 07:34:25 01666e4c0597: Waiting 07:34:25 aa168da1d23b: Waiting 07:34:25 36b3adc4ff6f: Verifying Checksum 07:34:25 36b3adc4ff6f: Download complete 07:34:25 46f8f816bc3b: Verifying Checksum 07:34:25 46f8f816bc3b: Download complete 07:34:25 df20fa9351a1: Verifying Checksum 07:34:25 df20fa9351a1: Download complete 07:34:25 93b9cdb0e59b: Verifying Checksum 07:34:25 93b9cdb0e59b: Download complete 07:34:25 5e14af77c1be: Verifying Checksum 07:34:25 5e14af77c1be: Download complete 07:34:25 93b61091891f: Verifying Checksum 07:34:25 93b61091891f: Download complete 07:34:25 01666e4c0597: Verifying Checksum 07:34:25 01666e4c0597: Download complete 07:34:25 df20fa9351a1: Pull complete 07:34:26 36b3adc4ff6f: Pull complete 07:34:26 8ad3a11d3b57: Download complete 07:34:27 8ad3a11d3b57: Pull complete 07:34:27 46f8f816bc3b: Pull complete 07:34:28 aa168da1d23b: Verifying Checksum 07:34:28 aa168da1d23b: Download complete 07:34:28 93b61091891f: Pull complete 07:34:28 93b9cdb0e59b: Pull complete 07:34:28 5e14af77c1be: Pull complete 07:34:28 01666e4c0597: Pull complete 07:34:35 aa168da1d23b: Pull complete 07:34:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:34:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:34:35 prd-centos7-docker-4c-2g-24304 does not seem to be running inside a container 07:34:35 $ 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-767/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-767 -v /w/workspace/dgexfoundry_device-sdk-go_PR-767:/w/workspace/dgexfoundry_device-sdk-go_PR-767:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-767@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 07:34:39 $ docker top 4ae5ffd73fbf5dbe62e2abbabaf2af3764ce7b10bd696fb3bd93e4184e2e0dc0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:39 + touch /tmp/pre-build-complete [Pipeline] sh 07:34:40 + mkdir -p /var/log/sa [Pipeline] sh 07:34:40 + ls /var/log/sa-host 07:34:40 + sadf -c /var/log/sa-host/sa01 07:34:40 file_magic: OK 07:34:40 HZ: Using current value: 100 07:34:40 file_header: OK 07:34:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:34:40 Statistics: 07:34:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:34:40 File successfully converted to sysstat format version 12.2.1 07:34:40 + sadf -c /var/log/sa-host/sa23 07:34:40 file_magic: OK 07:34:40 HZ: Using current value: 100 07:34:40 file_header: OK 07:34:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:34:40 Statistics: 07:34:40 Hnuu...uuuununununu... 07:34:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:40 provisioning config files... 07:34:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp/config547998980757201352tmp [Pipeline] { [Pipeline] echo 07:34:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:34:41 ---> create-netrc.sh [Pipeline] } 07:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:34:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:34:41 ---> python-tools-install.sh [Pipeline] echo 07:34:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:34:42 ---> sudo-logs.sh 07:34:42 Archiving 'sudo' log.. [Pipeline] echo 07:34:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:34:43 ---> job-cost.sh 07:34:43 lf-activate-venv: SKIPPING 07:34:43 INFO: No Stack... 07:34:45 INFO: Retrieving Pricing Info for: v1-standard-2 07:34:45 INFO: Archiving Costs [Pipeline] echo 07:34:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:34:46 ---> logs-deploy.sh 07:34:46 lf-activate-venv: SKIPPING 07:34:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-767/1 07:34:46 INFO: archiving workspace using pattern(s): 07:34:48 Archives upload complete. 07:34:48 INFO: archiving logs to Nexus 07:34:49 ---> uname -a: 07:34:49 Linux prd-centos7-docker-4c-2g-24304.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:34:49 07:34:49 07:34:49 ---> lscpu: 07:34:49 Architecture: x86_64 07:34:49 CPU op-mode(s): 32-bit, 64-bit 07:34:49 Byte Order: Little Endian 07:34:49 Address sizes: 40 bits physical, 48 bits virtual 07:34:49 CPU(s): 4 07:34:49 On-line CPU(s) list: 0-3 07:34:49 Thread(s) per core: 1 07:34:49 Core(s) per socket: 1 07:34:49 Socket(s): 4 07:34:49 NUMA node(s): 1 07:34:49 Vendor ID: GenuineIntel 07:34:49 CPU family: 6 07:34:49 Model: 44 07:34:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:34:49 Stepping: 1 07:34:49 CPU MHz: 2933.438 07:34:49 BogoMIPS: 5866.87 07:34:49 Virtualization: VT-x 07:34:49 Hypervisor vendor: KVM 07:34:49 Virtualization type: full 07:34:49 L1d cache: 128 KiB 07:34:49 L1i cache: 128 KiB 07:34:49 L2 cache: 16 MiB 07:34:49 L3 cache: 64 MiB 07:34:49 NUMA node0 CPU(s): 0-3 07:34:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:34:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:34:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:34:49 Vulnerability Meltdown: Mitigation; PTI 07:34:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:34:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:34:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:34:49 Vulnerability Srbds: Not affected 07:34:49 Vulnerability Tsx async abort: Not affected 07:34:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:34:49 07:34:49 07:34:49 ---> nproc: 07:34:49 4 07:34:49 07:34:49 07:34:49 ---> df -h: 07:34:49 Filesystem Size Used Available Use% Mounted on 07:34:49 overlay 50.0G 7.3G 42.7G 15% / 07:34:49 tmpfs 64.0M 0 64.0M 0% /dev 07:34:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:34:49 shm 64.0M 0 64.0M 0% /dev/shm 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-767 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-767@tmp 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:34:49 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:34:49 07:34:49 07:34:49 ---> free -m: 07:34:49 total used free shared buff/cache available 07:34:49 Mem: 1837 708 111 0 1017 1024 07:34:49 Swap: 1023 0 1023 07:34:49 07:34:49 07:34:49 ---> ip addr: 07:34:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:34:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:34:49 inet 127.0.0.1/8 scope host lo 07:34:49 valid_lft forever preferred_lft forever 07:34:49 inet6 ::1/128 scope host 07:34:49 valid_lft forever preferred_lft forever 07:34:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:34:49 link/ether fa:16:3e:c6:90:bb brd ff:ff:ff:ff:ff:ff 07:34:49 inet 10.30.122.105/23 brd 10.30.123.255 scope global dynamic eth0 07:34:49 valid_lft 85893sec preferred_lft 85893sec 07:34:49 inet6 fe80::f816:3eff:fec6:90bb/64 scope link 07:34:49 valid_lft forever preferred_lft forever 07:34:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:34:49 link/ether 02:42:25:c4:c2:58 brd ff:ff:ff:ff:ff:ff 07:34:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:34:49 valid_lft forever preferred_lft forever 07:34:49 inet6 fe80::42:25ff:fec4:c258/64 scope link 07:34:49 valid_lft forever preferred_lft forever 07:34:49 07:34:49 07:34:49 ---> sar -b -r -n DEV: 07:34:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/01/21 _x86_64_ (4 CPU) 07:34:49 07:34:49 07:26:12 LINUX RESTART (4 CPU) 07:34:49 07:34:49 07:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:34:49 07:28:01 30.50 11.49 19.01 0.00 4433.23 3053.32 0.00 07:34:49 07:29:01 2.13 0.00 2.13 0.00 0.00 39.96 0.00 07:34:49 07:30:01 0.25 0.00 0.25 0.00 0.00 2.73 0.00 07:34:49 07:31:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 07:34:49 07:32:01 0.22 0.00 0.22 0.00 0.00 2.76 0.00 07:34:49 07:33:01 0.35 0.00 0.35 0.00 0.00 5.05 0.00 07:34:49 07:34:01 0.35 0.00 0.35 0.00 0.00 4.88 0.00 07:34:49 Average: 4.87 1.64 3.23 0.00 633.57 444.77 0.00 07:34:49 07:34:49 07:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:34:49 07:28:01 160200 0 612844 32.57 2620 1105880 1119188 38.20 445640 1076456 20 07:34:49 07:29:01 168556 0 604480 32.13 2620 1105888 1078448 36.81 441356 1073900 8 07:34:49 07:30:01 165592 0 607440 32.28 2620 1105892 1078568 36.81 442344 1075484 8 07:34:49 07:31:01 166244 0 606788 32.25 2620 1105892 1078532 36.81 455420 1062076 8 07:34:49 07:32:01 165452 0 607572 32.29 2620 1105900 1078532 36.81 454280 1064496 8 07:34:49 07:33:01 165344 0 607676 32.30 2620 1105904 1078532 36.81 459184 1059604 8 07:34:49 07:34:01 165500 0 607516 32.29 2620 1105908 1078496 36.81 459060 1059676 12 07:34:49 Average: 165270 0 607759 32.30 2620 1105895 1084328 37.01 451041 1067385 10 07:34:49 07:34:49 07:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:34:49 07:28:01 eth0 84.15 69.07 362.66 30.59 0.00 0.00 0.00 0.00 07:34:49 07:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:28:01 docker0 8.64 7.81 1.25 22.01 0.00 0.00 0.00 0.00 07:34:49 07:29:01 eth0 0.68 0.07 0.06 0.01 0.00 0.00 0.00 0.00 07:34:49 07:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:30:01 eth0 1.08 0.37 0.32 0.20 0.00 0.00 0.00 0.00 07:34:49 07:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:31:01 eth0 0.48 0.30 0.27 0.17 0.00 0.00 0.00 0.00 07:34:49 07:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:32:01 eth0 0.27 0.20 0.14 0.10 0.00 0.00 0.00 0.00 07:34:49 07:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:33:01 eth0 1.03 0.37 0.32 0.20 0.00 0.00 0.00 0.00 07:34:49 07:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:34:01 eth0 0.25 0.17 0.16 0.01 0.00 0.00 0.00 0.00 07:34:49 07:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 07:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 Average: eth0 12.57 10.08 52.01 4.47 0.00 0.00 0.00 0.00 07:34:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:34:49 Average: docker0 1.23 1.12 0.18 3.15 0.00 0.00 0.00 0.00 07:34:49 07:34:49 07:34:49 ---> sar -P ALL: 07:34:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/01/21 _x86_64_ (4 CPU) 07:34:49 07:34:49 07:26:12 LINUX RESTART (4 CPU) 07:34:49 07:34:49 07:27:01 CPU %user %nice %system %iowait %steal %idle 07:34:49 07:28:01 all 2.69 0.00 1.89 0.59 0.03 94.81 07:34:49 07:28:01 0 2.45 0.00 1.61 1.17 0.03 94.73 07:34:49 07:28:01 1 2.68 0.00 1.95 0.25 0.03 95.09 07:34:49 07:28:01 2 2.95 0.00 2.21 0.64 0.02 94.19 07:34:49 07:28:01 3 2.67 0.00 1.78 0.29 0.03 95.23 07:34:49 07:29:01 all 0.13 0.00 0.05 0.00 0.00 99.82 07:34:49 07:29:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:34:49 07:29:01 1 0.05 0.00 0.07 0.00 0.00 99.88 07:34:49 07:29:01 2 0.45 0.00 0.05 0.00 0.00 99.50 07:34:49 07:29:01 3 0.00 0.00 0.05 0.00 0.02 99.93 07:34:49 07:30:01 all 0.17 0.00 0.04 0.00 0.00 99.79 07:34:49 07:30:01 0 0.02 0.00 0.03 0.00 0.00 99.95 07:34:49 07:30:01 1 0.07 0.00 0.05 0.00 0.00 99.88 07:34:49 07:30:01 2 0.55 0.00 0.05 0.00 0.02 99.38 07:34:49 07:30:01 3 0.03 0.00 0.03 0.00 0.00 99.93 07:34:49 07:31:01 all 0.15 0.00 0.03 0.00 0.00 99.82 07:34:49 07:31:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:34:49 07:31:01 1 0.03 0.00 0.03 0.00 0.00 99.93 07:34:49 07:31:01 2 0.53 0.00 0.02 0.00 0.00 99.45 07:34:49 07:31:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:34:49 07:32:01 all 0.16 0.00 0.08 0.00 0.01 99.75 07:34:49 07:32:01 0 0.02 0.00 0.08 0.00 0.00 99.90 07:34:49 07:32:01 1 0.05 0.00 0.07 0.00 0.02 99.87 07:34:49 07:32:01 2 0.52 0.00 0.08 0.00 0.02 99.38 07:34:49 07:32:01 3 0.05 0.00 0.08 0.00 0.00 99.87 07:34:49 07:33:01 all 0.06 0.00 0.05 0.00 0.00 99.89 07:34:49 07:33:01 0 0.03 0.00 0.03 0.00 0.00 99.93 07:34:49 07:33:01 1 0.03 0.00 0.07 0.00 0.00 99.90 07:34:49 07:33:01 2 0.12 0.00 0.05 0.00 0.00 99.83 07:34:49 07:33:01 3 0.05 0.00 0.05 0.00 0.00 99.90 07:34:49 07:34:01 all 0.08 0.00 0.04 0.00 0.00 99.88 07:34:49 07:34:01 0 0.02 0.00 0.02 0.00 0.00 99.97 07:34:49 07:34:01 1 0.02 0.00 0.03 0.00 0.00 99.95 07:34:49 07:34:01 2 0.25 0.00 0.05 0.00 0.00 99.70 07:34:49 07:34:01 3 0.03 0.00 0.05 0.00 0.00 99.92 07:34:49 Average: all 0.49 0.00 0.31 0.08 0.01 99.11 07:34:49 Average: 0 0.36 0.00 0.26 0.17 0.00 99.21 07:34:49 Average: 1 0.42 0.00 0.32 0.04 0.01 99.22 07:34:49 Average: 2 0.77 0.00 0.36 0.09 0.01 98.78 07:34:49 Average: 3 0.41 0.00 0.30 0.04 0.01 99.25 07:34:49 07:34:49 07:34:49