Pull request #706 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 50ef2d3a22209c137ae5d80e35bef38fe433aad4+42e5a1ea61e0adb23423a933a3224d1395f33e87 (65b29826003ce34d3a175cd919da91b4679f39a3) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-706/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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-706/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17585 in /w/workspace/dgexfoundry_device-sdk-go_PR-706 [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-706 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/706/head:refs/remotes/origin/PR-706 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 50ef2d3a22209c137ae5d80e35bef38fe433aad4 Merge succeeded, producing 50ef2d3a22209c137ae5d80e35bef38fe433aad4 Checking out Revision 50ef2d3a22209c137ae5d80e35bef38fe433aad4 (PR-706) > git config core.sparsecheckout # timeout=10 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:27 ========================================================= 06:15:27 EdgeX Global Pipelines Version Info 06:15:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:32 ------------------- 06:15:32 stable info: 06:15:32 ------------------- 06:15:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:32 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:32 Message: update stable to v1.0.173 06:15:33 ------------------- 06:15:33 experimental info: 06:15:33 ------------------- 06:15:33 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:33 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:15:33 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:15:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:15:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-706 [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-706 [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-706 [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50ef2d3a22209c137ae5d80e35bef38fe433aad4 [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50ef2d3 [Pipeline] echo 06:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:15:38 provisioning config files... 06:15:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/config372495117903561589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:38 ---> docker-login.sh 06:15:38 nexus3.edgexfoundry.org:10001 06:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:39 Configure a credential helper to remove this warning. See 06:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:39 06:15:39 Login Succeeded 06:15:39 nexus3.edgexfoundry.org:10002 06:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:40 Configure a credential helper to remove this warning. See 06:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:40 06:15:40 Login Succeeded 06:15:40 nexus3.edgexfoundry.org:10003 06:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:40 Configure a credential helper to remove this warning. See 06:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:40 06:15:40 Login Succeeded 06:15:40 nexus3.edgexfoundry.org:10004 06:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:40 Configure a credential helper to remove this warning. See 06:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:40 06:15:40 Login Succeeded 06:15:40 docker.io 06:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:41 Configure a credential helper to remove this warning. See 06:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:41 06:15:41 Login Succeeded 06:15:41 ---> docker-login.sh ends [Pipeline] } 06:15:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:42 + git log --format=format:%s -1 50ef2d3a22209c137ae5d80e35bef38fe433aad4 [Pipeline] echo 06:15:42 GIT_COMMIT: 50ef2d3a22209c137ae5d80e35bef38fe433aad4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:15:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:43 06:15:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:15:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:44 latest: Pulling from edgex-devops/git-semver 06:15:44 31603596830f: Pulling fs layer 06:15:44 2a8b12db71e7: Pulling fs layer 06:15:44 6ca5941a6612: Pulling fs layer 06:15:44 ecc8261a40a4: Pulling fs layer 06:15:44 ecc8261a40a4: Waiting 06:15:44 2a8b12db71e7: Verifying Checksum 06:15:44 2a8b12db71e7: Download complete 06:15:44 31603596830f: Verifying Checksum 06:15:44 31603596830f: Download complete 06:15:44 6ca5941a6612: Verifying Checksum 06:15:44 6ca5941a6612: Download complete 06:15:45 ecc8261a40a4: Verifying Checksum 06:15:45 ecc8261a40a4: Download complete 06:15:45 31603596830f: Pull complete 06:15:45 2a8b12db71e7: Pull complete 06:15:47 6ca5941a6612: Pull complete 06:15:47 ecc8261a40a4: Pull complete 06:15:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:15:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:15:47 prd-centos7-docker-4c-2g-17585 does not seem to be running inside a container 06:15:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-706 -v /w/workspace/dgexfoundry_device-sdk-go_PR-706:/w/workspace/dgexfoundry_device-sdk-go_PR-706:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:15:51 $ docker top 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:52 [ssh-agent] Looking for ssh-agent implementation... 06:15:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:52 $ docker exec 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 ssh-agent 06:15:53 SSH_AUTH_SOCK=/tmp/ssh-szbOGdpa7cU0/agent.12 06:15:53 SSH_AGENT_PID=18 06:15:53 Running ssh-add (command line suppressed) 06:15:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/private_key_8419868504153872894.key (/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/private_key_8419868504153872894.key) 06:15:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:54 + git tag --points-at HEAD [Pipeline] } 06:15:54 $ docker exec --env ******** --env ******** 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 ssh-agent -k 06:15:54 unset SSH_AUTH_SOCK; 06:15:54 unset SSH_AGENT_PID; 06:15:54 echo Agent pid 18 killed; 06:15:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:54 [ssh-agent] Looking for ssh-agent implementation... 06:15:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:55 $ docker exec 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 ssh-agent 06:15:56 SSH_AUTH_SOCK=/tmp/ssh-5jsXQ8n43RD6/agent.46 06:15:56 SSH_AGENT_PID=51 06:15:56 Running ssh-add (command line suppressed) 06:15:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/private_key_6612401433433328568.key (/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/private_key_6612401433433328568.key) 06:15:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:57 + git semver init 06:15:57 # -> Open(): unable to determine branch for HEAD 06:15:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-706/.git 06:15:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-706 06:15:57 # $SEMVER_REMOTE_NAME = origin 06:15:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:15:57 # $SEMVER_USER_NAME = edgex-jenkins 06:15:57 # $SEMVER_BRANCH = PR-706 06:15:57 # $SEMVER_TEMP = /tmp/semver-497909729 06:15:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:15:58 # '/tmp/semver-497909729' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-706/.semver' 06:15:58 # -> Force: false 06:15:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-706/.semver [Pipeline] } 06:15:58 $ docker exec --env ******** --env ******** 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 ssh-agent -k 06:15:58 unset SSH_AUTH_SOCK; 06:15:58 unset SSH_AGENT_PID; 06:15:58 echo Agent pid 51 killed; 06:15:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:59 + git semver [Pipeline] } 06:15:59 $ docker stop --time=1 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 06:16:01 $ docker rm -f 2641c984dd84732b3e3ec5ca1be699facb6210de182901794622b36ad0b470c7 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:03 Stashed 1 file(s) [Pipeline] echo 06:16:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:16:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17580 in /w/workspace/dgexfoundry_device-sdk-go_PR-706 [Pipeline] { [Pipeline] ws 06:16:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:16:09 using credential edgex-jenkins-ssh 06:16:09 Cloning the remote Git repository 06:16:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:16:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:16:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:09 > git --version # timeout=10 06:16:09 > git --version # 'git version 2.17.1' 06:16:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:11 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 50ef2d3a22209c137ae5d80e35bef38fe433aad4 06:16:11 Merge succeeded, producing 50ef2d3a22209c137ae5d80e35bef38fe433aad4 06:16:11 Checking out Revision 50ef2d3a22209c137ae5d80e35bef38fe433aad4 (PR-706) 06:16:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/706/head:refs/remotes/origin/PR-706 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:16:11 > git config core.sparsecheckout # timeout=10 06:16:11 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # timeout=10 06:16:11 > git remote # timeout=10 06:16:11 > git config --get remote.origin.url # timeout=10 06:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:11 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 06:16:11 > git rev-parse HEAD^{commit} # timeout=10 06:16:11 > git config core.sparsecheckout # timeout=10 06:16:11 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # timeout=10 06:16:15 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:16:15 > git --version # timeout=10 06:16:15 > git --version # 'git version 2.17.1' 06:16:15 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:16:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:16:18 + + truesudo 06:16:18 service docker restart 06:16:18 Still waiting to schedule task 06:16:18 Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:20 provisioning config files... 06:16:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6569269012505157749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:20 ---> docker-login.sh 06:16:20 nexus3.edgexfoundry.org:10001 06:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:22 Configure a credential helper to remove this warning. See 06:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:22 06:16:22 Login Succeeded 06:16:22 nexus3.edgexfoundry.org:10002 06:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:22 Configure a credential helper to remove this warning. See 06:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:22 06:16:22 Login Succeeded 06:16:22 nexus3.edgexfoundry.org:10003 06:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:23 Configure a credential helper to remove this warning. See 06:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:23 06:16:23 Login Succeeded 06:16:23 nexus3.edgexfoundry.org:10004 06:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:23 Configure a credential helper to remove this warning. See 06:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:23 06:16:23 Login Succeeded 06:16:23 docker.io 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 ---> docker-login.sh ends [Pipeline] } 06:16:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:24 ========================================================= 06:16:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:16:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:25 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:16:25 Sending build context to Docker daemon 2.419MB 06:16:25 Step 1/8 : ARG BASE=golang:1.15-alpine 06:16:25 Step 2/8 : FROM ${BASE} 06:16:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:25 5f621e34cdf4: Pulling fs layer 06:16:25 a4357932f1b6: Pulling fs layer 06:16:25 18c013af1878: Pulling fs layer 06:16:25 00ac8860ef70: Pulling fs layer 06:16:25 63d7cb157983: Pulling fs layer 06:16:25 b116817d02f9: Pulling fs layer 06:16:25 745a02a5169b: Pulling fs layer 06:16:25 00ac8860ef70: Waiting 06:16:25 63d7cb157983: Waiting 06:16:25 b116817d02f9: Waiting 06:16:25 745a02a5169b: Waiting 06:16:25 18c013af1878: Verifying Checksum 06:16:25 18c013af1878: Download complete 06:16:25 a4357932f1b6: Verifying Checksum 06:16:25 a4357932f1b6: Download complete 06:16:25 63d7cb157983: Verifying Checksum 06:16:25 63d7cb157983: Download complete 06:16:25 b116817d02f9: Verifying Checksum 06:16:25 b116817d02f9: Download complete 06:16:25 5f621e34cdf4: Verifying Checksum 06:16:25 5f621e34cdf4: Download complete 06:16:26 5f621e34cdf4: Pull complete 06:16:27 a4357932f1b6: Pull complete 06:16:27 18c013af1878: Pull complete 06:16:28 745a02a5169b: Verifying Checksum 06:16:28 745a02a5169b: Download complete 06:16:29 00ac8860ef70: Verifying Checksum 06:16:29 00ac8860ef70: Download complete 06:16:42 00ac8860ef70: Pull complete 06:16:42 63d7cb157983: Pull complete 06:16:42 b116817d02f9: Pull complete 06:16:44 745a02a5169b: Pull complete 06:16:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:16:44 ---> b7e6874047d6 06:16:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:47 ---> Running in 7bda24a11491 06:16:48 Removing intermediate container 7bda24a11491 06:16:48 ---> 2542a67a3ab1 06:16:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:48 ---> Running in 4de793318f26 06:16:50 Removing intermediate container 4de793318f26 06:16:50 ---> 8efba36db4da 06:16:50 Step 5/8 : RUN apk add --no-cache make git 06:16:50 ---> Running in 1e0242391018 06:16:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:16:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:16:53 OK: 142 MiB in 39 packages 06:16:54 Removing intermediate container 1e0242391018 06:16:54 ---> d5f016d709a9 06:16:54 Step 6/8 : WORKDIR /device-sdk-go 06:16:56 ---> Running in 0bc99f9bc2ad 06:16:56 Removing intermediate container 0bc99f9bc2ad 06:16:56 ---> 95cc81a8846e 06:16:56 Step 7/8 : COPY . . 06:16:58 ---> a281576e8c80 06:16:58 Step 8/8 : RUN go mod download 06:16:58 ---> Running in 7df9193b7ab3 06:17:20 Removing intermediate container 7df9193b7ab3 06:17:20 ---> 1e7372bef732 06:17:20 Successfully built 1e7372bef732 06:17:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:17:20 + docker inspect -f . ci-base-image-arm64 06:17:20 . [Pipeline] withDockerContainer 06:17:21 prd-ubuntu18.04-docker-arm64-4c-16g-17580 does not seem to be running inside a container 06:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:17:22 $ docker top 173b91d96cb768cdcc3cfb7ece33f8e16d29dfe5e4e2b912b6c55a76cd3f56cf -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:23 + go version 06:17:23 go version go1.15.5 linux/arm64 [Pipeline] } 06:17:23 $ docker stop --time=1 173b91d96cb768cdcc3cfb7ece33f8e16d29dfe5e4e2b912b6c55a76cd3f56cf 06:17:25 $ docker rm -f 173b91d96cb768cdcc3cfb7ece33f8e16d29dfe5e4e2b912b6c55a76cd3f56cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:17:26 + docker inspect -f . ci-base-image-arm64 06:17:26 . [Pipeline] withDockerContainer 06:17:27 prd-ubuntu18.04-docker-arm64-4c-16g-17580 does not seem to be running inside a container 06:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:17:28 $ docker top dee580b6a293cceeec080c98ad8893391ff913ee9e0047015afd1c08d68177e5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:29 + make test 06:17:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:51 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:18:24 # github.com/edgexfoundry/device-sdk-go/internal/v2/application 06:18:24 internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString 06:18:24 internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool 06:18:24 internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray 06:18:24 internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 06:18:24 internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array 06:18:24 internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 06:18:24 internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array 06:18:24 internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 06:18:24 internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array 06:18:24 internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 06:18:24 internal/v2/application/command.go:560:23: too many errors 06:18:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 19.4% of statements 06:18:33 Running on prd-centos7-docker-4c-2g-17586 in /w/workspace/dgexfoundry_device-sdk-go_PR-706 [Pipeline] { [Pipeline] ws 06:18:33 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:18:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.176s coverage: 97.1% of statements 06:18:35 using credential edgex-jenkins-ssh 06:18:35 Cloning the remote Git repository 06:18:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:18:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:18:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:35 > git --version # timeout=10 06:18:35 > git --version # 'git version 2.24.3' 06:18:35 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/706/head:refs/remotes/origin/PR-706 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:18:37 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit 50ef2d3a22209c137ae5d80e35bef38fe433aad4 06:18:37 Merge succeeded, producing 50ef2d3a22209c137ae5d80e35bef38fe433aad4 06:18:37 Checking out Revision 50ef2d3a22209c137ae5d80e35bef38fe433aad4 (PR-706) 06:18:37 > git config core.sparsecheckout # timeout=10 06:18:37 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # timeout=10 06:18:37 > git remote # timeout=10 06:18:37 > git config --get remote.origin.url # timeout=10 06:18:37 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:37 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 06:18:37 > git rev-parse HEAD^{commit} # timeout=10 06:18:37 > git config core.sparsecheckout # timeout=10 06:18:37 > git checkout -f 50ef2d3a22209c137ae5d80e35bef38fe433aad4 # timeout=10 06:18:40 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:18:40 > git --version # timeout=10 06:18:40 > git --version # 'git version 2.24.3' 06:18:41 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:18:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:18:43 + sudo service docker restart 06:18:43 + true 06:18:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:18:44 provisioning config files... 06:18:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4592363906530048985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:45 ---> docker-login.sh 06:18:45 nexus3.edgexfoundry.org:10001 06:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:45 Configure a credential helper to remove this warning. See 06:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:45 06:18:45 Login Succeeded 06:18:45 nexus3.edgexfoundry.org:10002 06:18:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:45 Configure a credential helper to remove this warning. See 06:18:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:45 06:18:45 Login Succeeded 06:18:45 nexus3.edgexfoundry.org:10003 06:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:46 Configure a credential helper to remove this warning. See 06:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:46 06:18:46 Login Succeeded 06:18:46 nexus3.edgexfoundry.org:10004 06:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:46 Configure a credential helper to remove this warning. See 06:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:46 06:18:46 Login Succeeded 06:18:46 docker.io 06:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:46 Configure a credential helper to remove this warning. See 06:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:46 06:18:46 Login Succeeded 06:18:46 ---> docker-login.sh ends [Pipeline] } 06:18:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:47 ========================================================= 06:18:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:18:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:18:47 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:18:47 Sending build context to Docker daemon 2.421MB 06:18:47 Step 1/8 : ARG BASE=golang:1.15-alpine 06:18:47 Step 2/8 : FROM ${BASE} 06:18:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:18:47 188c0c94c7c5: Pulling fs layer 06:18:47 0ef7d3d256c8: Pulling fs layer 06:18:47 de9db76c5a1d: Pulling fs layer 06:18:47 bca2f99d35d6: Pulling fs layer 06:18:47 93359f2a8cfa: Pulling fs layer 06:18:47 7c6f9722023f: Pulling fs layer 06:18:47 a35cf1a2eb13: Pulling fs layer 06:18:47 93359f2a8cfa: Waiting 06:18:47 7c6f9722023f: Waiting 06:18:47 a35cf1a2eb13: Waiting 06:18:47 bca2f99d35d6: Waiting 06:18:47 de9db76c5a1d: Verifying Checksum 06:18:47 de9db76c5a1d: Download complete 06:18:47 0ef7d3d256c8: Verifying Checksum 06:18:47 0ef7d3d256c8: Download complete 06:18:47 93359f2a8cfa: Verifying Checksum 06:18:47 93359f2a8cfa: Download complete 06:18:48 7c6f9722023f: Verifying Checksum 06:18:48 7c6f9722023f: Download complete 06:18:48 188c0c94c7c5: Verifying Checksum 06:18:48 188c0c94c7c5: Download complete 06:18:48 188c0c94c7c5: Pull complete 06:18:49 0ef7d3d256c8: Pull complete 06:18:49 de9db76c5a1d: Pull complete 06:18:50 a35cf1a2eb13: Verifying Checksum 06:18:50 a35cf1a2eb13: Download complete 06:18:51 bca2f99d35d6: Download complete 06:18:56 bca2f99d35d6: Pull complete 06:18:56 93359f2a8cfa: Pull complete 06:18:56 7c6f9722023f: Pull complete 06:19:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.128s coverage: 9.4% of statements 06:19:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 06:19:00 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:19:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 68.9% of statements 06:19:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.213s coverage: 53.8% of statements 06:19:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.644s coverage: 68.9% of statements 06:19:00 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 06:19:00 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:19:00 $ docker stop --time=1 dee580b6a293cceeec080c98ad8893391ff913ee9e0047015afd1c08d68177e5 06:19:02 $ docker rm -f dee580b6a293cceeec080c98ad8893391ff913ee9e0047015afd1c08d68177e5 06:19:03 a35cf1a2eb13: Pull complete 06:19:03 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:19:03 ---> a62c8e92a672 06:19:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:03 ---> Running in 60f195ce1226 06:19:03 Removing intermediate container 60f195ce1226 06:19:03 ---> 003e8378eb22 06:19:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:03 ---> Running in e28832c39ee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 06:19:04 Removing intermediate container e28832c39ee4 06:19:04 ---> e86eca820d78 06:19:04 Step 5/8 : RUN apk add --no-cache make git 06:19:04 ---> Running in ab5b1d0c09d5 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 06:19:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } 06:19:05 Failed in branch arm64 06:19:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:19:07 OK: 166 MiB in 39 packages 06:19:07 Removing intermediate container ab5b1d0c09d5 06:19:07 ---> d45d88183e51 06:19:07 Step 6/8 : WORKDIR /device-sdk-go 06:19:07 ---> Running in 63b07d29afe6 06:19:08 Removing intermediate container 63b07d29afe6 06:19:08 ---> 68df571bc614 06:19:08 Step 7/8 : COPY . . 06:19:09 ---> 8442a2667eb9 06:19:09 Step 8/8 : RUN go mod download 06:19:09 ---> Running in 21398474db3d 06:19:27 Removing intermediate container 21398474db3d 06:19:27 ---> 877fb3e15ff2 06:19:27 Successfully built 877fb3e15ff2 06:19:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:19:27 + docker inspect -f . ci-base-image-x86_64 06:19:27 . [Pipeline] withDockerContainer 06:19:28 prd-centos7-docker-4c-2g-17586 does not seem to be running inside a container 06:19:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:19:28 $ docker top c472ec8ecb907a43be00380fa13345a395918b9d662b7f02a713d8ec5a0252d4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:29 + go version 06:19:29 go version go1.15.5 linux/amd64 [Pipeline] } 06:19:29 $ docker stop --time=1 c472ec8ecb907a43be00380fa13345a395918b9d662b7f02a713d8ec5a0252d4 06:19:30 $ docker rm -f c472ec8ecb907a43be00380fa13345a395918b9d662b7f02a713d8ec5a0252d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:19:31 + docker inspect -f . ci-base-image-x86_64 06:19:31 . [Pipeline] withDockerContainer 06:19:32 prd-centos7-docker-4c-2g-17586 does not seem to be running inside a container 06:19:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:19:33 $ docker top afc477ea239decbff9ee1dda0833e08e5d9598a34c0f7cf0d29599b488459554 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:33 + make test 06:19:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:19:40 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:19:52 # github.com/edgexfoundry/device-sdk-go/internal/v2/application 06:19:52 internal/v2/application/command.go:494:23: undefined: dtos.ValueTypeString 06:19:52 internal/v2/application/command.go:496:23: undefined: dtos.ValueTypeBool 06:19:52 internal/v2/application/command.go:502:23: undefined: dtos.ValueTypeBoolArray 06:19:52 internal/v2/application/command.go:509:23: undefined: dtos.ValueTypeUint8 06:19:52 internal/v2/application/command.go:515:23: undefined: dtos.ValueTypeUint8Array 06:19:52 internal/v2/application/command.go:526:23: undefined: dtos.ValueTypeUint16 06:19:52 internal/v2/application/command.go:532:23: undefined: dtos.ValueTypeUint16Array 06:19:52 internal/v2/application/command.go:543:23: undefined: dtos.ValueTypeUint32 06:19:52 internal/v2/application/command.go:549:23: undefined: dtos.ValueTypeUint32Array 06:19:52 internal/v2/application/command.go:560:23: undefined: dtos.ValueTypeUint64 06:19:52 internal/v2/application/command.go:560:23: too many errors 06:19:54 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 19.4% of statements 06:19:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.460s coverage: 97.1% of statements 06:20:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 06:20:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements 06:20:28 FAIL github.com/edgexfoundry/device-sdk-go/internal/controller [build failed] 06:20:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.292s coverage: 68.9% of statements 06:20:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 53.8% of statements 06:20:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.441s coverage: 68.9% of statements 06:20:28 FAIL github.com/edgexfoundry/device-sdk-go/pkg/service [build failed] 06:20:28 make: *** [Makefile:32: test] Error 2 [Pipeline] } 06:20:28 $ docker stop --time=1 afc477ea239decbff9ee1dda0833e08e5d9598a34c0f7cf0d29599b488459554 06:20:29 $ docker rm -f afc477ea239decbff9ee1dda0833e08e5d9598a34c0f7cf0d29599b488459554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:20:32 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:20:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:20:37 ---> package-listing.sh 06:20:37 ++ facter osfamily 06:20:37 ++ tr '[:upper:]' '[:lower:]' 06:20:38 + OS_FAMILY=redhat 06:20:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-706 06:20:38 + START_PACKAGES=/tmp/packages_start.txt 06:20:38 + END_PACKAGES=/tmp/packages_end.txt 06:20:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:20:38 + PACKAGES=/tmp/packages_start.txt 06:20:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-706 ']' 06:20:38 + PACKAGES=/tmp/packages_end.txt 06:20:38 + case "${OS_FAMILY}" in 06:20:38 + rpm -qa 06:20:38 + sort 06:20:43 + '[' -f /tmp/packages_start.txt ']' 06:20:43 + '[' -f /tmp/packages_end.txt ']' 06:20:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:20:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-706 ']' 06:20:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-706/archives/ 06:20:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-706/archives/ [Pipeline] echo 06:20:43 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-706/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:20:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:44 06:20:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:20:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:45 alpine: Pulling from edgex-lftools-log-publisher 06:20:45 df20fa9351a1: Pulling fs layer 06:20:45 36b3adc4ff6f: Pulling fs layer 06:20:45 8ad3a11d3b57: Pulling fs layer 06:20:45 46f8f816bc3b: Pulling fs layer 06:20:45 93b61091891f: Pulling fs layer 06:20:45 93b9cdb0e59b: Pulling fs layer 06:20:45 5e14af77c1be: Pulling fs layer 06:20:45 01666e4c0597: Pulling fs layer 06:20:45 aa168da1d23b: Pulling fs layer 06:20:45 46f8f816bc3b: Waiting 06:20:45 93b61091891f: Waiting 06:20:45 93b9cdb0e59b: Waiting 06:20:45 5e14af77c1be: Waiting 06:20:45 01666e4c0597: Waiting 06:20:45 aa168da1d23b: Waiting 06:20:45 36b3adc4ff6f: Verifying Checksum 06:20:45 36b3adc4ff6f: Download complete 06:20:45 46f8f816bc3b: Verifying Checksum 06:20:45 46f8f816bc3b: Download complete 06:20:45 df20fa9351a1: Verifying Checksum 06:20:45 df20fa9351a1: Download complete 06:20:45 93b9cdb0e59b: Verifying Checksum 06:20:45 93b9cdb0e59b: Download complete 06:20:45 5e14af77c1be: Verifying Checksum 06:20:45 5e14af77c1be: Download complete 06:20:45 01666e4c0597: Verifying Checksum 06:20:45 01666e4c0597: Download complete 06:20:45 93b61091891f: Verifying Checksum 06:20:45 93b61091891f: Download complete 06:20:46 df20fa9351a1: Pull complete 06:20:46 36b3adc4ff6f: Pull complete 06:20:46 8ad3a11d3b57: Verifying Checksum 06:20:46 8ad3a11d3b57: Download complete 06:20:48 8ad3a11d3b57: Pull complete 06:20:48 46f8f816bc3b: Pull complete 06:20:49 93b61091891f: Pull complete 06:20:49 93b9cdb0e59b: Pull complete 06:20:50 5e14af77c1be: Pull complete 06:20:51 01666e4c0597: Pull complete 06:20:52 aa168da1d23b: Verifying Checksum 06:20:52 aa168da1d23b: Download complete 06:21:07 aa168da1d23b: Pull complete 06:21:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:21:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:21:08 prd-centos7-docker-4c-2g-17585 does not seem to be running inside a container 06:21:08 $ 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-706/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-706 -v /w/workspace/dgexfoundry_device-sdk-go_PR-706:/w/workspace/dgexfoundry_device-sdk-go_PR-706:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:21:12 $ docker top 52e7c65ff54bf50ef5c1680a5efb99b5de9de4e4212ba1f213cda5706111ab43 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:13 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:14 + mkdir -p /var/log/sa [Pipeline] sh 06:21:14 + ls /var/log/sa-host 06:21:14 + sadf -c /var/log/sa-host/sa23 06:21:14 file_magic: OK 06:21:14 HZ: Using current value: 100 06:21:14 file_header: OK 06:21:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:21:14 Statistics: 06:21:14 Hnuu...uuuununununu... 06:21:14 File successfully converted to sysstat format version 12.2.1 06:21:14 + sadf -c /var/log/sa-host/sa29 06:21:14 file_magic: OK 06:21:14 HZ: Using current value: 100 06:21:14 file_header: OK 06:21:14 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:21:14 Statistics: 06:21:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:15 provisioning config files... 06:21:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp/config6794677928023998490tmp [Pipeline] { [Pipeline] echo 06:21:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:16 ---> create-netrc.sh [Pipeline] } 06:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:21:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:17 ---> python-tools-install.sh [Pipeline] echo 06:21:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:17 ---> sudo-logs.sh 06:21:17 Archiving 'sudo' log.. [Pipeline] echo 06:21:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:17 ---> job-cost.sh 06:21:18 lf-activate-venv: SKIPPING 06:21:18 INFO: No Stack... 06:21:20 INFO: Retrieving Pricing Info for: v1-standard-2 06:21:20 INFO: Archiving Costs [Pipeline] echo 06:21:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:21 ---> logs-deploy.sh 06:21:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-706/1 06:21:21 INFO: archiving workspace using pattern(s): 06:21:23 Archives upload complete. 06:21:23 INFO: archiving logs to Nexus 06:21:25 ---> uname -a: 06:21:25 Linux prd-centos7-docker-4c-2g-17585.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:21:25 06:21:25 06:21:25 ---> lscpu: 06:21:25 Architecture: x86_64 06:21:25 CPU op-mode(s): 32-bit, 64-bit 06:21:25 Byte Order: Little Endian 06:21:25 Address sizes: 40 bits physical, 48 bits virtual 06:21:25 CPU(s): 4 06:21:25 On-line CPU(s) list: 0-3 06:21:25 Thread(s) per core: 1 06:21:25 Core(s) per socket: 1 06:21:25 Socket(s): 4 06:21:25 NUMA node(s): 1 06:21:25 Vendor ID: GenuineIntel 06:21:25 CPU family: 6 06:21:25 Model: 44 06:21:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:21:25 Stepping: 1 06:21:25 CPU MHz: 2933.438 06:21:25 BogoMIPS: 5866.87 06:21:25 Virtualization: VT-x 06:21:25 Hypervisor vendor: KVM 06:21:25 Virtualization type: full 06:21:25 L1d cache: 128 KiB 06:21:25 L1i cache: 128 KiB 06:21:25 L2 cache: 16 MiB 06:21:25 L3 cache: 64 MiB 06:21:25 NUMA node0 CPU(s): 0-3 06:21:25 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:21:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:21:25 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:21:25 Vulnerability Meltdown: Mitigation; PTI 06:21:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:21:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:21:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:21:25 Vulnerability Srbds: Not affected 06:21:25 Vulnerability Tsx async abort: Not affected 06:21:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:21:25 06:21:25 06:21:25 ---> nproc: 06:21:25 4 06:21:25 06:21:25 06:21:25 ---> df -h: 06:21:25 Filesystem Size Used Available Use% Mounted on 06:21:25 overlay 50.0G 7.3G 42.7G 15% / 06:21:25 tmpfs 64.0M 0 64.0M 0% /dev 06:21:25 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:21:25 shm 64.0M 0 64.0M 0% /dev/shm 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-706 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-706@tmp 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:21:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:21:25 06:21:25 06:21:25 ---> free -m: 06:21:25 total used free shared buff/cache available 06:21:25 Mem: 1837 717 77 0 1042 1015 06:21:25 Swap: 1023 1 1022 06:21:25 06:21:25 06:21:25 ---> ip addr: 06:21:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:21:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:21:25 inet 127.0.0.1/8 scope host lo 06:21:25 valid_lft forever preferred_lft forever 06:21:25 inet6 ::1/128 scope host 06:21:25 valid_lft forever preferred_lft forever 06:21:25 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:21:25 link/ether fa:16:3e:f7:d1:7a brd ff:ff:ff:ff:ff:ff 06:21:25 inet 10.30.123.48/23 brd 10.30.123.255 scope global dynamic eth0 06:21:25 valid_lft 85989sec preferred_lft 85989sec 06:21:25 inet6 fe80::f816:3eff:fef7:d17a/64 scope link 06:21:25 valid_lft forever preferred_lft forever 06:21:25 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:21:25 link/ether 02:42:0e:e7:a1:5d brd ff:ff:ff:ff:ff:ff 06:21:25 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:21:25 valid_lft forever preferred_lft forever 06:21:25 inet6 fe80::42:eff:fee7:a15d/64 scope link 06:21:25 valid_lft forever preferred_lft forever 06:21:25 06:21:25 06:21:25 ---> sar -b -r -n DEV: 06:21:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 06:21:25 06:21:25 06:14:22 LINUX RESTART (4 CPU) 06:21:25 06:21:25 06:15:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:21:25 06:16:01 69.76 26.01 43.75 0.00 6140.50 3919.75 0.00 06:21:25 06:17:01 4.74 0.62 4.13 0.00 43.53 121.36 0.00 06:21:25 06:18:01 0.40 0.00 0.40 0.00 0.00 5.83 0.00 06:21:25 06:19:01 0.22 0.00 0.22 0.00 0.00 2.19 0.00 06:21:25 06:20:02 0.27 0.00 0.27 0.00 0.00 3.11 0.00 06:21:25 06:21:01 87.31 50.74 36.57 0.00 4166.49 13239.83 0.00 06:21:25 Average: 26.82 12.75 14.07 0.00 1705.22 2850.20 0.00 06:21:25 06:21:25 06:15:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:21:25 06:16:01 144932 0 613096 32.58 2620 1120896 1334280 45.54 448136 1087336 60 06:21:25 06:17:01 172172 0 586156 31.15 2620 1120596 1137964 38.84 422484 1086772 20 06:21:25 06:18:01 183848 0 574476 30.53 2620 1120600 1062044 36.25 425132 1073928 8 06:21:25 06:19:01 181072 0 577192 30.68 2620 1120660 1062284 36.25 428588 1073428 24 06:21:25 06:20:02 182576 0 575740 30.60 2620 1120608 1062044 36.25 434908 1065656 8 06:21:25 06:21:01 80836 0 679016 36.09 2620 1119072 1481608 50.56 572916 1002560 36844 06:21:25 Average: 157573 0 600946 31.94 2620 1120405 1190037 40.61 455361 1064947 6161 06:21:25 06:21:25 06:15:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:21:25 06:16:01 eth0 239.13 178.20 1059.13 86.55 0.00 0.00 0.00 0.00 06:21:25 06:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:16:01 docker0 6.26 5.06 1.21 20.97 0.00 0.00 0.00 0.00 06:21:25 06:17:01 eth0 5.84 4.66 9.38 2.22 0.00 0.00 0.00 0.00 06:21:25 06:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:18:01 eth0 0.37 0.08 0.03 0.01 0.00 0.00 0.00 0.00 06:21:25 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:19:01 eth0 0.70 0.43 0.33 0.21 0.00 0.00 0.00 0.00 06:21:25 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:20:02 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:21:25 06:20:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:20:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:21:01 eth0 200.47 160.19 2201.09 17.57 0.00 0.00 0.00 0.00 06:21:25 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 Average: eth0 73.59 56.63 538.88 17.56 0.00 0.00 0.00 0.00 06:21:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:21:25 Average: docker0 1.03 0.83 0.20 3.45 0.00 0.00 0.00 0.00 06:21:25 06:21:25 06:21:25 ---> sar -P ALL: 06:21:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 06:21:25 06:21:25 06:14:22 LINUX RESTART (4 CPU) 06:21:25 06:21:25 06:15:02 CPU %user %nice %system %iowait %steal %idle 06:21:25 06:16:01 all 12.48 0.00 4.75 1.78 18.88 62.11 06:21:25 06:16:01 0 11.66 0.00 5.54 1.92 20.40 60.48 06:21:25 06:16:01 1 13.65 0.00 3.74 1.99 19.13 61.49 06:21:25 06:16:01 2 12.70 0.00 5.36 1.46 17.18 63.30 06:21:25 06:16:01 3 11.85 0.00 4.41 1.77 18.81 63.17 06:21:25 06:17:01 all 0.30 0.00 0.13 0.07 1.12 98.38 06:21:25 06:17:01 0 0.33 0.00 0.07 0.02 0.95 98.64 06:21:25 06:17:01 1 0.41 0.00 0.22 0.17 1.23 97.98 06:21:25 06:17:01 2 0.08 0.00 0.08 0.07 1.13 98.64 06:21:25 06:17:01 3 0.37 0.00 0.15 0.03 1.20 98.26 06:21:25 06:18:01 all 0.11 0.00 0.15 0.00 0.72 99.02 06:21:25 06:18:01 0 0.02 0.00 0.05 0.00 0.60 99.34 06:21:25 06:18:01 1 0.08 0.00 0.28 0.00 0.57 99.07 06:21:25 06:18:01 2 0.05 0.00 0.10 0.00 0.93 98.92 06:21:25 06:18:01 3 0.30 0.00 0.15 0.00 0.80 98.76 06:21:25 06:19:01 all 0.14 0.00 0.03 0.00 0.55 99.28 06:21:25 06:19:01 0 0.41 0.00 0.03 0.00 0.63 98.93 06:21:25 06:19:01 1 0.07 0.00 0.05 0.00 0.48 99.41 06:21:25 06:19:01 2 0.03 0.00 0.02 0.00 0.32 99.64 06:21:25 06:19:01 3 0.05 0.00 0.02 0.00 0.76 99.17 06:21:25 06:20:02 all 0.09 0.00 0.10 0.00 0.75 99.06 06:21:25 06:20:02 0 0.30 0.00 0.03 0.00 0.60 99.07 06:21:25 06:20:02 1 0.02 0.00 0.15 0.02 0.86 98.96 06:21:25 06:20:02 2 0.03 0.00 0.10 0.00 0.89 98.98 06:21:25 06:20:02 3 0.02 0.00 0.12 0.00 0.65 99.22 06:21:25 06:21:01 all 2.87 0.00 2.39 1.29 10.67 82.77 06:21:25 06:21:01 0 2.86 0.00 2.28 0.22 10.80 83.85 06:21:25 06:21:01 1 2.45 0.00 2.44 1.04 10.57 83.50 06:21:25 06:21:01 2 2.25 0.00 2.08 0.15 10.65 84.87 06:21:25 06:21:01 3 3.96 0.00 2.78 3.80 10.66 78.80 06:21:25 Average: all 2.64 0.00 1.25 0.52 5.40 90.19 06:21:25 Average: 0 2.55 0.00 1.31 0.35 5.58 90.22 06:21:25 Average: 1 2.80 0.00 1.15 0.54 5.49 90.02 06:21:25 Average: 2 2.48 0.00 1.27 0.27 5.13 90.83 06:21:25 Average: 3 2.72 0.00 1.25 0.92 5.41 89.70 06:21:25 06:21:25 06:21:25