Pull request #744 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d2756aabe677c294d531a3266d146912d415d6f+69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb (4a81f24f32b8354e61e8263a1db8772333334309) 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-744/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 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-744/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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-21505 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [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-744 # 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/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 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 05:48:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:48:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:48:27 ========================================================= 05:48:27 EdgeX Global Pipelines Version Info 05:48:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:48:29 ------------------- 05:48:29 stable info: 05:48:29 ------------------- 05:48:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:48:29 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:48:29 Message: update stable to v1.0.179 05:48:30 ------------------- 05:48:30 experimental info: 05:48:30 ------------------- 05:48:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:48:30 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:48:30 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:48:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:48:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:48:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:48:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:48:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-744 [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-744 [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-744 [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d2756a [Pipeline] echo 05:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:35 provisioning config files... 05:48:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config5508557974772262107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:35 ---> docker-login.sh 05:48:35 nexus3.edgexfoundry.org:10001 05:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:36 Configure a credential helper to remove this warning. See 05:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:36 05:48:36 Login Succeeded 05:48:36 nexus3.edgexfoundry.org:10002 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:36 Configure a credential helper to remove this warning. See 05:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:36 05:48:36 Login Succeeded 05:48:36 nexus3.edgexfoundry.org:10003 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:36 Configure a credential helper to remove this warning. See 05:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:36 05:48:36 Login Succeeded 05:48:36 nexus3.edgexfoundry.org:10004 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:36 Configure a credential helper to remove this warning. See 05:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:36 05:48:36 Login Succeeded 05:48:36 docker.io 05:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:37 Configure a credential helper to remove this warning. See 05:48:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:37 05:48:37 Login Succeeded 05:48:37 ---> docker-login.sh ends [Pipeline] } 05:48:37 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 05:48:38 + git log --format=format:%s -1 0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] echo 05:48:38 GIT_COMMIT: 0d2756aabe677c294d531a3266d146912d415d6f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 05:48:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:48:38 05:48:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:48:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:48:39 latest: Pulling from edgex-devops/git-semver 05:48:39 31603596830f: Pulling fs layer 05:48:39 2a8b12db71e7: Pulling fs layer 05:48:39 6ca5941a6612: Pulling fs layer 05:48:39 ecc8261a40a4: Pulling fs layer 05:48:39 ecc8261a40a4: Waiting 05:48:39 2a8b12db71e7: Verifying Checksum 05:48:39 2a8b12db71e7: Download complete 05:48:39 31603596830f: Verifying Checksum 05:48:39 31603596830f: Download complete 05:48:39 ecc8261a40a4: Download complete 05:48:39 6ca5941a6612: Verifying Checksum 05:48:39 6ca5941a6612: Download complete 05:48:39 31603596830f: Pull complete 05:48:39 2a8b12db71e7: Pull complete 05:48:40 6ca5941a6612: Pull complete 05:48:41 ecc8261a40a4: Pull complete 05:48:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:48:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:48:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:48:41 prd-centos7-docker-4c-2g-21505 does not seem to be running inside a container 05:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-744 -v /w/workspace/dgexfoundry_device-sdk-go_PR-744:/w/workspace/dgexfoundry_device-sdk-go_PR-744:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-744@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 05:48:43 $ docker top 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:48:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:48:43 [ssh-agent] Looking for ssh-agent implementation... 05:48:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:48:44 $ docker exec 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent 05:48:44 SSH_AUTH_SOCK=/tmp/ssh-kWqoSKOPEgKk/agent.11 05:48:44 SSH_AGENT_PID=16 05:48:44 Running ssh-add (command line suppressed) 05:48:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_1733934174433676718.key (/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_1733934174433676718.key) 05:48:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:48:44 + git tag --points-at HEAD [Pipeline] } 05:48:44 $ docker exec --env ******** --env ******** 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent -k 05:48:45 unset SSH_AUTH_SOCK; 05:48:45 unset SSH_AGENT_PID; 05:48:45 echo Agent pid 16 killed; 05:48:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:48:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:48:45 [ssh-agent] Looking for ssh-agent implementation... 05:48:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:48:45 $ docker exec 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent 05:48:45 SSH_AUTH_SOCK=/tmp/ssh-2b6gvB4Hxd6h/agent.45 05:48:45 SSH_AGENT_PID=50 05:48:45 Running ssh-add (command line suppressed) 05:48:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_6012698424490582893.key (/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/private_key_6012698424490582893.key) 05:48:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:48:46 + git semver init 05:48:46 # -> Open(): unable to determine branch for HEAD 05:48:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-744/.git 05:48:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-744 05:48:46 # $SEMVER_REMOTE_NAME = origin 05:48:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:48:46 # $SEMVER_USER_NAME = edgex-jenkins 05:48:46 # $SEMVER_BRANCH = PR-744 05:48:46 # $SEMVER_TEMP = /tmp/semver-313349291 05:48:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:48:46 # '/tmp/semver-313349291' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-744/.semver' 05:48:47 # -> Force: false 05:48:47 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-744/.semver [Pipeline] } 05:48:47 $ docker exec --env ******** --env ******** 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 ssh-agent -k 05:48:47 unset SSH_AUTH_SOCK; 05:48:47 unset SSH_AGENT_PID; 05:48:47 echo Agent pid 50 killed; 05:48:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:48:47 + git semver [Pipeline] } 05:48:47 $ docker stop --time=1 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 05:48:49 $ docker rm -f 2c9f17c23430f7f7a6b791543f64ea1569f0a5e3cdbe0c6b0e3621a52a221401 [Pipeline] // withDockerContainer [Pipeline] sh 05:48:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:48:50 Stashed 1 file(s) [Pipeline] echo 05:48:50 [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 05:49:06 Still waiting to schedule task 05:49:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:49:06 Still waiting to schedule task 05:49:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:50:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21506 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [Pipeline] { [Pipeline] ws 05:50:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:51:04 using credential edgex-jenkins-ssh 05:51:04 Cloning the remote Git repository 05:51:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:51:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:51:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:05 > git --version # timeout=10 05:51:05 > git --version # 'git version 2.17.1' 05:51:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:06 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f 05:51:07 Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f 05:51:07 Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) 05:51:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:07 > git config core.sparsecheckout # timeout=10 05:51:07 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 05:51:07 > git remote # timeout=10 05:51:07 > git config --get remote.origin.url # timeout=10 05:51:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:07 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 05:51:07 > git rev-parse HEAD^{commit} # timeout=10 05:51:07 > git config core.sparsecheckout # timeout=10 05:51:07 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 05:51:11 Running on prd-centos7-docker-4c-2g-21507 in /w/workspace/dgexfoundry_device-sdk-go_PR-744 [Pipeline] { [Pipeline] ws 05:51:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:51:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 05:51:11 > git --version # timeout=10 05:51:11 > git --version # 'git version 2.17.1' 05:51:11 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:13 using credential edgex-jenkins-ssh 05:51:13 Cloning the remote Git repository 05:51:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 05:51:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:51:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 [Pipeline] sh 05:51:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:51:14 + sudo service docker restart 05:51:14 + true 05:51:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:13 > git --version # timeout=10 05:51:13 > git --version # 'git version 2.24.3' 05:51:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:51:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/744/head:refs/remotes/origin/PR-744 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:51:15 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit 0d2756aabe677c294d531a3266d146912d415d6f 05:51:15 Merge succeeded, producing 0d2756aabe677c294d531a3266d146912d415d6f 05:51:15 Checking out Revision 0d2756aabe677c294d531a3266d146912d415d6f (PR-744) 05:51:15 > git config core.sparsecheckout # timeout=10 05:51:15 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 05:51:15 > git remote # timeout=10 05:51:15 > git config --get remote.origin.url # timeout=10 05:51:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:51:15 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 05:51:15 > git rev-parse HEAD^{commit} # timeout=10 05:51:15 > git config core.sparsecheckout # timeout=10 05:51:15 > git checkout -f 0d2756aabe677c294d531a3266d146912d415d6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:51:17 provisioning config files... 05:51:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4774703014925341391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:17 ---> docker-login.sh 05:51:17 nexus3.edgexfoundry.org:10001 05:51:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 05:51:18 > git --version # timeout=10 05:51:18 > git --version # 'git version 2.24.3' 05:51:18 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 05:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:19 Configure a credential helper to remove this warning. See 05:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:19 05:51:19 Login Succeeded 05:51:19 nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:19 Configure a credential helper to remove this warning. See 05:51:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:19 05:51:19 Login Succeeded 05:51:19 nexus3.edgexfoundry.org:10003 05:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:20 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 05:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:20 Configure a credential helper to remove this warning. See 05:51:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:20 05:51:20 Login Succeeded 05:51:20 nexus3.edgexfoundry.org:10004 [Pipeline] sh 05:51:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:51:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:20 Configure a credential helper to remove this warning. See 05:51:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:20 05:51:20 Login Succeeded 05:51:20 docker.io 05:51:20 + sudo service docker restart 05:51:20 + true 05:51:20 Redirecting to /bin/systemctl restart docker.service 05:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:21 Configure a credential helper to remove this warning. See 05:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:21 05:51:21 Login Succeeded 05:51:21 ---> docker-login.sh ends [Pipeline] } 05:51:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:51:21 provisioning config files... 05:51:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9147398065269641838tmp [Pipeline] echo 05:51:21 ========================================================= 05:51:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:51:21 ========================================================= [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:51:22 ---> docker-login.sh 05:51:22 nexus3.edgexfoundry.org:10001 05:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:22 + 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 . 05:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:22 Configure a credential helper to remove this warning. See 05:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:22 05:51:22 Login Succeeded 05:51:22 nexus3.edgexfoundry.org:10002 05:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:22 Configure a credential helper to remove this warning. See 05:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:22 05:51:22 Login Succeeded 05:51:22 nexus3.edgexfoundry.org:10003 05:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:22 Configure a credential helper to remove this warning. See 05:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:22 05:51:22 Login Succeeded 05:51:22 nexus3.edgexfoundry.org:10004 05:51:23 Sending build context to Docker daemon 2.508MB 05:51:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:51:23 Step 2/8 : FROM ${BASE} 05:51:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:51:23 5f621e34cdf4: Pulling fs layer 05:51:23 a4357932f1b6: Pulling fs layer 05:51:23 18c013af1878: Pulling fs layer 05:51:23 00ac8860ef70: Pulling fs layer 05:51:23 63d7cb157983: Pulling fs layer 05:51:23 b116817d02f9: Pulling fs layer 05:51:23 745a02a5169b: Pulling fs layer 05:51:23 63d7cb157983: Waiting 05:51:23 b116817d02f9: Waiting 05:51:23 00ac8860ef70: Waiting 05:51:23 745a02a5169b: Waiting 05:51:23 18c013af1878: Download complete 05:51:23 a4357932f1b6: Verifying Checksum 05:51:23 a4357932f1b6: Download complete 05:51:23 63d7cb157983: Verifying Checksum 05:51:23 63d7cb157983: Download complete 05:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:23 Configure a credential helper to remove this warning. See 05:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:23 05:51:23 Login Succeeded 05:51:23 docker.io 05:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:23 Configure a credential helper to remove this warning. See 05:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:23 05:51:23 Login Succeeded 05:51:23 ---> docker-login.sh ends [Pipeline] } 05:51:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:24 ========================================================= 05:51:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:51:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:51:24 b116817d02f9: Verifying Checksum 05:51:24 b116817d02f9: Download complete 05:51:24 5f621e34cdf4: Verifying Checksum 05:51:24 5f621e34cdf4: Download complete 05:51:24 + 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 . 05:51:24 Sending build context to Docker daemon 2.509MB 05:51:24 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:51:24 Step 2/8 : FROM ${BASE} 05:51:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:51:24 188c0c94c7c5: Pulling fs layer 05:51:24 0ef7d3d256c8: Pulling fs layer 05:51:24 de9db76c5a1d: Pulling fs layer 05:51:24 bca2f99d35d6: Pulling fs layer 05:51:24 93359f2a8cfa: Pulling fs layer 05:51:24 7c6f9722023f: Pulling fs layer 05:51:24 a35cf1a2eb13: Pulling fs layer 05:51:24 93359f2a8cfa: Waiting 05:51:24 7c6f9722023f: Waiting 05:51:24 a35cf1a2eb13: Waiting 05:51:24 bca2f99d35d6: Waiting 05:51:24 0ef7d3d256c8: Verifying Checksum 05:51:24 0ef7d3d256c8: Download complete 05:51:24 93359f2a8cfa: Verifying Checksum 05:51:24 93359f2a8cfa: Download complete 05:51:24 7c6f9722023f: Verifying Checksum 05:51:24 7c6f9722023f: Download complete 05:51:24 5f621e34cdf4: Pull complete 05:51:25 a4357932f1b6: Pull complete 05:51:25 188c0c94c7c5: Verifying Checksum 05:51:25 188c0c94c7c5: Download complete 05:51:25 18c013af1878: Pull complete 05:51:25 188c0c94c7c5: Pull complete 05:51:26 0ef7d3d256c8: Pull complete 05:51:26 de9db76c5a1d: Pull complete 05:51:27 745a02a5169b: Verifying Checksum 05:51:27 745a02a5169b: Download complete 05:51:28 a35cf1a2eb13: Verifying Checksum 05:51:28 a35cf1a2eb13: Download complete 05:51:29 bca2f99d35d6: Download complete 05:51:29 00ac8860ef70: Verifying Checksum 05:51:29 00ac8860ef70: Download complete 05:51:34 bca2f99d35d6: Pull complete 05:51:34 93359f2a8cfa: Pull complete 05:51:34 7c6f9722023f: Pull complete 05:51:39 00ac8860ef70: Pull complete 05:51:39 63d7cb157983: Pull complete 05:51:39 b116817d02f9: Pull complete 05:51:40 a35cf1a2eb13: Pull complete 05:51:40 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:51:40 ---> a62c8e92a672 05:51:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:40 ---> Running in 21aa24beeaae 05:51:40 Removing intermediate container 21aa24beeaae 05:51:40 ---> 78cb7c307764 05:51:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:40 ---> Running in b6a35034549e 05:51:41 Removing intermediate container b6a35034549e 05:51:41 ---> f82d4abc7440 05:51:41 Step 5/8 : RUN apk add --update --no-cache make git 05:51:41 ---> Running in 665ac6cb5905 05:51:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:42 745a02a5169b: Pull complete 05:51:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:51:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:51:43 ---> b7e6874047d6 05:51:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:43 OK: 166 MiB in 39 packages 05:51:43 Removing intermediate container 665ac6cb5905 05:51:43 ---> f4e9a5669cee 05:51:43 Step 6/8 : WORKDIR /device-sdk-go 05:51:44 ---> Running in 9ae8548e1c05 05:51:44 Removing intermediate container 9ae8548e1c05 05:51:44 ---> 616cd745dcf9 05:51:44 Step 7/8 : COPY . . 05:51:45 ---> fc5b5c610db2 05:51:45 Step 8/8 : RUN go mod download 05:51:45 ---> Running in 968e36856e43 05:51:46 ---> Running in 801ba08ff16d 05:51:46 Removing intermediate container 801ba08ff16d 05:51:46 ---> 6b9621ad5099 05:51:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:46 ---> Running in 6f04aba3c9a5 05:51:49 Removing intermediate container 6f04aba3c9a5 05:51:49 ---> 7cdbab31be45 05:51:49 Step 5/8 : RUN apk add --update --no-cache make git 05:51:49 ---> Running in 7e341897e09a 05:51:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:51:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:51:51 OK: 142 MiB in 39 packages 05:51:52 Removing intermediate container 7e341897e09a 05:51:52 ---> aa41bed0da4f 05:51:52 Step 6/8 : WORKDIR /device-sdk-go 05:51:53 ---> Running in 68ab0f22b5ca 05:51:53 Removing intermediate container 68ab0f22b5ca 05:51:53 ---> b687fcd95cf9 05:51:53 Step 7/8 : COPY . . 05:51:55 ---> aa185ac79a44 05:51:55 Step 8/8 : RUN go mod download 05:51:55 ---> Running in 4dd0f9800ed1 05:52:03 Removing intermediate container 968e36856e43 05:52:03 ---> 912831e790b1 05:52:03 Successfully built 912831e790b1 05:52:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:52:04 + docker inspect -f . ci-base-image-x86_64 05:52:04 . [Pipeline] withDockerContainer 05:52:04 prd-centos7-docker-4c-2g-21507 does not seem to be running inside a container 05:52:04 $ 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 05:52:04 $ docker top 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:05 + go version 05:52:05 go version go1.15.5 linux/amd64 [Pipeline] } 05:52:05 $ docker stop --time=1 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 05:52:06 $ docker rm -f 8b53236ab24e05ad3c7456c2f0d9484d8de4f809c3bafe362cafae9bab38ca95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:08 + docker inspect -f . ci-base-image-x86_64 05:52:08 . [Pipeline] withDockerContainer 05:52:08 prd-centos7-docker-4c-2g-21507 does not seem to be running inside a container 05:52:08 $ 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 05:52:08 $ docker top 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:09 + make test 05:52:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:52:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:52:17 Removing intermediate container 4dd0f9800ed1 05:52:17 ---> dad841797707 05:52:17 Successfully built dad841797707 05:52:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:52:17 + docker inspect -f . ci-base-image-arm64 05:52:17 . [Pipeline] withDockerContainer 05:52:17 prd-ubuntu18.04-docker-arm64-4c-16g-21506 does not seem to be running inside a container 05:52:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:19 $ docker top 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:20 + go version 05:52:20 go version go1.15.5 linux/arm64 [Pipeline] } 05:52:20 $ docker stop --time=1 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 05:52:22 $ docker rm -f 56c74eb24723e41c111aa0b48ea0f6d8527924cd4e526780a7f746b1775ea6e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:23 + docker inspect -f . ci-base-image-arm64 05:52:23 . [Pipeline] withDockerContainer 05:52:24 prd-ubuntu18.04-docker-arm64-4c-16g-21506 does not seem to be running inside a container 05:52:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:52:25 $ docker top e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:26 + make test 05:52:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:52:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:52:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 19.4% of statements 05:52:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.415s coverage: 97.1% of statements 05:52:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.049s coverage: 9.4% of statements 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 21.7% of statements 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.197s coverage: 43.2% of statements 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.264s coverage: 68.9% of statements 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 53.8% of statements 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.057s coverage: 26.8% of statements 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.285s coverage: 68.9% of statements 05:53:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.2% of statements 05:53:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:53:03 GO111MODULE=on go vet ./... 05:53:10 gofmt -l . 05:53:10 [ "`gofmt -l .`" = "" ] 05:53:10 ./bin/test-attribution-txt.sh 05:53:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:53:10 $ docker stop --time=1 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 05:53:12 $ docker rm -f 610eca4911cae13680319304ea59ce2d0a2f790e828210679f837d0a89009162 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:53:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:53:17 + ls -al . 05:53:17 total 224 05:53:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 05:53 . 05:53:17 drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 05:51 .. 05:53:17 drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 05:51 bin 05:53:17 -rw-r--r--. 1 jenkins jenkins 143471 Jan 20 05:53 coverage.out 05:53:17 -rw-rw-r--. 1 jenkins jenkins 949 Jan 20 05:51 Dockerfile.build 05:53:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 05:51 .dockerignore 05:53:17 drwxrwxr-x. 4 jenkins jenkins 48 Jan 20 05:51 example 05:53:17 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 05:51 .git 05:53:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 05:51 .github 05:53:17 -rw-rw-r--. 1 jenkins jenkins 138 Jan 20 05:51 .gitignore 05:53:17 -rw-r--r--. 1 jenkins jenkins 491 Jan 20 05:53 go.mod 05:53:17 -rw-r--r--. 1 jenkins jenkins 14209 Jan 20 05:53 go.sum 05:53:17 drwxrwxr-x. 15 jenkins jenkins 211 Jan 20 05:51 internal 05:53:17 -rw-rw-r--. 1 jenkins jenkins 901 Jan 20 05:51 Jenkinsfile 05:53:17 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 20 05:51 LICENSE 05:53:17 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 20 05:51 Makefile 05:53:17 drwxrwxr-x. 4 jenkins jenkins 26 Jan 20 05:51 openapi 05:53:17 drwxrwxr-x. 5 jenkins jenkins 50 Jan 20 05:51 pkg 05:53:17 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 20 05:51 README.md 05:53:17 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 20 05:51 RELEASE-NOTES.txt 05:53:17 drwxrwxr-x. 4 jenkins jenkins 54 Jan 20 05:51 snap 05:53:17 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 05:48 VERSION 05:53:17 -rw-rw-r--. 1 jenkins jenkins 222 Jan 20 05:51 version.go [Pipeline] isUnix [Pipeline] sh 05:53:17 + 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=0d2756aabe677c294d531a3266d146912d415d6f --label arch=amd64 --label version=0.0.0 . 05:53:17 Sending build context to Docker daemon 2.654MB 05:53:17 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:53:17 Step 2/24 : FROM ${BASE} AS builder 05:53:17 ---> 912831e790b1 05:53:17 Step 3/24 : ARG MAKE='make build' 05:53:18 ---> Running in 43e6f87c9e71 05:53:18 Removing intermediate container 43e6f87c9e71 05:53:18 ---> 421ecae8878d 05:53:18 Step 4/24 : WORKDIR /device-sdk-go 05:53:18 ---> Running in 7ddf2c1be962 05:53:18 Removing intermediate container 7ddf2c1be962 05:53:18 ---> b27b40c06fcf 05:53:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:18 ---> Running in b76c8180211c 05:53:18 Removing intermediate container b76c8180211c 05:53:18 ---> 003a6513802c 05:53:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:18 ---> Running in 84c3821b2b31 05:53:19 Removing intermediate container 84c3821b2b31 05:53:19 ---> d8d834e425d3 05:53:19 Step 7/24 : RUN apk add --update --no-cache make git 05:53:19 ---> Running in da96f67ae0cd 05:53:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:53:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:53:21 OK: 166 MiB in 39 packages 05:53:21 Removing intermediate container da96f67ae0cd 05:53:21 ---> 81110ebf7280 05:53:21 Step 8/24 : COPY . . 05:53:22 ---> d1fcd620ee6f 05:53:22 Step 9/24 : RUN ${MAKE} 05:53:22 ---> Running in 147c4acce83b 05:53:23 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 05:53:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:53:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:53:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:53:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 19.4% of statements 05:53:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:53:32 Removing intermediate container 147c4acce83b 05:53:32 ---> 6dd9d8c1f4e2 05:53:32 Step 10/24 : FROM scratch 05:53:32 ---> 05:53:32 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:32 ---> Running in 6d830b8c9831 05:53:32 Removing intermediate container 6d830b8c9831 05:53:32 ---> cbde8a564a3d 05:53:32 Step 12/24 : ENV APP_PORT=49990 05:53:32 ---> Running in 32bf231c1672 05:53:32 Removing intermediate container 32bf231c1672 05:53:32 ---> e8d29d84a325 05:53:32 Step 13/24 : EXPOSE $APP_PORT 05:53:32 ---> Running in c9730349076b 05:53:33 Removing intermediate container c9730349076b 05:53:33 ---> 31513270fa9c 05:53:33 Step 14/24 : WORKDIR / 05:53:33 ---> Running in b37b0c23ca00 05:53:33 Removing intermediate container b37b0c23ca00 05:53:33 ---> a42cf0a6e312 05:53:33 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:53:33 ---> 4cbca5966aad 05:53:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:53:33 ---> 2f245fad112f 05:53:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:53:34 ---> d50261dc1413 05:53:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:53:34 ---> 79b8902b6834 05:53:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:53:34 ---> 5e70c3945cca 05:53:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:53:34 ---> Running in af4cef589579 05:53:34 Removing intermediate container af4cef589579 05:53:34 ---> 479f4ac8323b 05:53:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:53:35 ---> Running in 1362a659b2fc 05:53:35 Removing intermediate container 1362a659b2fc 05:53:35 ---> 67a60dfca292 05:53:35 Step 22/24 : LABEL arch=amd64 05:53:35 ---> Running in a823e670f9d3 05:53:35 Removing intermediate container a823e670f9d3 05:53:35 ---> c7a48e6232de 05:53:35 Step 23/24 : LABEL git_sha=0d2756aabe677c294d531a3266d146912d415d6f 05:53:35 ---> Running in a5f9ca7b9eae 05:53:35 Removing intermediate container a5f9ca7b9eae 05:53:35 ---> 5f4566bd23e6 05:53:35 Step 24/24 : LABEL version=0.0.0 05:53:35 ---> Running in 1df02e4dc354 05:53:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.187s coverage: 97.1% of statements 05:53:35 Removing intermediate container 1df02e4dc354 05:53:35 ---> 7cdd409f4da6 05:53:35 [Warning] One or more build-args [ARCH] were not consumed 05:53:35 Successfully built 7cdd409f4da6 05:53:35 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] } 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 9.4% of statements 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.120s coverage: 21.7% of statements 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.572s coverage: 43.2% of statements 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.764s coverage: 68.9% of statements 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.221s coverage: 53.8% of statements 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.197s coverage: 26.8% of statements 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.959s coverage: 68.9% of statements 05:54:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 4.2% of statements 05:54:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:54:02 GO111MODULE=on go vet ./... 05:54:35 gofmt -l . 05:54:35 [ "`gofmt -l .`" = "" ] 05:54:35 ./bin/test-attribution-txt.sh 05:54:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:54:36 $ docker stop --time=1 e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f 05:54:38 $ docker rm -f e88874225b90383186ecb2e780aa15c72cbbe75c7efb5b1105663efae51a358f [Pipeline] // withDockerContainer [Pipeline] sh 05:54:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:54:40 Warning: overwriting stash ‘coverage-report’ 05:54:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:54:42 + ls -al . 05:54:42 total 260 05:54:42 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 05:54 . 05:54:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 .. 05:54:42 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 05:51 .dockerignore 05:54:42 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 05:51 .git 05:54:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 05:51 .github 05:54:42 -rw-rw-r-- 1 jenkins jenkins 138 Jan 20 05:51 .gitignore 05:54:42 -rw-rw-r-- 1 jenkins jenkins 949 Jan 20 05:51 Dockerfile.build 05:54:42 -rw-rw-r-- 1 jenkins jenkins 901 Jan 20 05:51 Jenkinsfile 05:54:42 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 20 05:51 LICENSE 05:54:42 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 20 05:51 Makefile 05:54:42 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 20 05:51 README.md 05:54:42 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 20 05:51 RELEASE-NOTES.txt 05:54:42 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 05:48 VERSION 05:54:42 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 05:51 bin 05:54:42 -rw-r--r-- 1 jenkins jenkins 143471 Jan 20 05:54 coverage.out 05:54:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 example 05:54:42 -rw-r--r-- 1 jenkins jenkins 491 Jan 20 05:54 go.mod 05:54:42 -rw-r--r-- 1 jenkins jenkins 14209 Jan 20 05:54 go.sum 05:54:42 drwxrwxr-x 15 jenkins jenkins 4096 Jan 20 05:51 internal 05:54:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 openapi 05:54:42 drwxrwxr-x 5 jenkins jenkins 4096 Jan 20 05:51 pkg 05:54:42 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 05:51 snap 05:54:42 -rw-rw-r-- 1 jenkins jenkins 222 Jan 20 05:51 version.go [Pipeline] isUnix [Pipeline] sh 05:54:43 + 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=0d2756aabe677c294d531a3266d146912d415d6f --label arch=arm64 --label version=0.0.0 . 05:54:43 Sending build context to Docker daemon 2.653MB 05:54:43 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:54:43 Step 2/24 : FROM ${BASE} AS builder 05:54:43 ---> dad841797707 05:54:43 Step 3/24 : ARG MAKE='make build' 05:54:43 ---> Running in 8a47c1b32995 05:54:44 Removing intermediate container 8a47c1b32995 05:54:44 ---> 51f7b4b44e23 05:54:44 Step 4/24 : WORKDIR /device-sdk-go 05:54:44 ---> Running in d65397530404 05:54:45 Removing intermediate container d65397530404 05:54:45 ---> 42677dab0639 05:54:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:45 ---> Running in 9fee437dcbe4 05:54:45 Removing intermediate container 9fee437dcbe4 05:54:45 ---> 68cb5c5e65ea 05:54:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:45 ---> Running in 4e06005cfa1f 05:54:47 Removing intermediate container 4e06005cfa1f 05:54:47 ---> a0a07780be57 05:54:47 Step 7/24 : RUN apk add --update --no-cache make git 05:54:48 ---> Running in 0ac4c9dd1710 05:54:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:54:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:54:50 OK: 142 MiB in 39 packages 05:54:51 Removing intermediate container 0ac4c9dd1710 05:54:51 ---> aa482d0d508f 05:54:51 Step 8/24 : COPY . . 05:54:53 ---> af215fda5a31 05:54:53 Step 9/24 : RUN ${MAKE} 05:54:53 ---> Running in ddebe65edb4b 05:54:54 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 05:55:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:55:22 Removing intermediate container ddebe65edb4b 05:55:22 ---> b8092090a07a 05:55:22 Step 10/24 : FROM scratch 05:55:22 ---> 05:55:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:22 ---> Running in 32b6a624cf9f 05:55:22 Removing intermediate container 32b6a624cf9f 05:55:22 ---> a223d315e130 05:55:22 Step 12/24 : ENV APP_PORT=49990 05:55:22 ---> Running in 6d35a0039dcc 05:55:22 Removing intermediate container 6d35a0039dcc 05:55:22 ---> 39a2fb87fa00 05:55:22 Step 13/24 : EXPOSE $APP_PORT 05:55:22 ---> Running in 71f2623a2b91 05:55:23 Removing intermediate container 71f2623a2b91 05:55:23 ---> 9cf5892b1dfd 05:55:23 Step 14/24 : WORKDIR / 05:55:23 ---> Running in ff9e0bf6afb7 05:55:24 Removing intermediate container ff9e0bf6afb7 05:55:24 ---> 01bb692055d1 05:55:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:55:25 ---> 23f272bf7408 05:55:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:55:25 ---> fc6f9b1db9f5 05:55:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:55:26 ---> cbf0e8a969e5 05:55:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:55:27 ---> aceec0f1868c 05:55:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:55:27 ---> ebce99786955 05:55:27 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:55:27 ---> Running in 15d242944f9b 05:55:28 Removing intermediate container 15d242944f9b 05:55:28 ---> 5ae01c037bf2 05:55:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:28 ---> Running in 33147379a43d 05:55:28 Removing intermediate container 33147379a43d 05:55:28 ---> 9fa835388290 05:55:28 Step 22/24 : LABEL arch=arm64 05:55:28 ---> Running in 627a5ac451a2 05:55:29 Removing intermediate container 627a5ac451a2 05:55:29 ---> 7637ff1e1149 05:55:29 Step 23/24 : LABEL git_sha=0d2756aabe677c294d531a3266d146912d415d6f 05:55:29 ---> Running in ab2021135ebb 05:55:30 Removing intermediate container ab2021135ebb 05:55:30 ---> 0f2219617dea 05:55:30 Step 24/24 : LABEL version=0.0.0 05:55:30 ---> Running in 38b058b51d70 05:55:30 Removing intermediate container 38b058b51d70 05:55:30 ---> c8bcdf567383 05:55:30 [Warning] One or more build-args [ARCH] were not consumed 05:55:30 Successfully built c8bcdf567383 05:55:30 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:55:33 provisioning config files... 05:55:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config1885572686146367731tmp [Pipeline] { [Pipeline] sh 05:55:33 + set +x 05:55:33 + curl -s https://codecov.io/bash 05:55:33 + bash -s -- 05:55:34 05:55:34 _____ _ 05:55:34 / ____| | | 05:55:34 | | ___ __| | ___ ___ _____ __ 05:55:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:55:34 | |___| (_) | (_| | __/ (_| (_) \ V / 05:55:34 \_____\___/ \__,_|\___|\___\___/ \_/ 05:55:34 Bash-20210115-cec3c92 05:55:34 05:55:34 05:55:34 ==> git version 2.24.3 found 05:55:34 ==> 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 05:55:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:55:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:55:34 ==> Jenkins CI detected. 05:55:34 project root: . 05:55:34 --> token set from env 05:55:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:55:34 ==> Running gcov in . (disable via -X gcov) 05:55:34 ==> Python coveragepy not found 05:55:34 ==> Searching for coverage reports in: 05:55:34 + . 05:55:34 -> Found 1 reports 05:55:34 ==> Detecting git/mercurial file structure 05:55:34 ==> Reading reports 05:55:34 + ./coverage.out bytes=143471 05:55:34 ==> Appending adjustments 05:55:34 https://docs.codecov.io/docs/fixing-reports 05:55:34 + Found adjustments 05:55:34 ==> Gzipping contents 05:55:34 24K /tmp/codecov.xe5NhM.gz 05:55:34 ==> Uploading reports 05:55:34 url: https://codecov.io 05:55:34 query: branch=PR-744&commit=0d2756aabe677c294d531a3266d146912d415d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-744%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=744&job=&cmd_args= 05:55:34 -> Pinging Codecov 05:55:34 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-744&commit=0d2756aabe677c294d531a3266d146912d415d6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-744%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=744&job=&cmd_args= 05:55:35 -> Uploading to 05:55:35 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/7E55EF52A471D76F132DFD9A03CDDE97/0d2756aabe677c294d531a3266d146912d415d6f/9b174065-8eb7-4b4e-96c9-89bbc546c59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T055534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19eb05bea1a9f2bd4329b7c28b48a2a5056db47cd7dd2fd36a84c5ff3de51bb5 05:55:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:35 Dload Upload Total Spent Left Speed 05:55:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22239 0 0 100 22239 0 49472 --:--:-- --:--:-- --:--:-- 49530 05:55:35 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d2756aabe677c294d531a3266d146912d415d6f [Pipeline] } 05:55:35 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 05:55:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:55:40 ---> package-listing.sh 05:55:40 ++ facter osfamily 05:55:40 ++ tr '[:upper:]' '[:lower:]' 05:55:40 + OS_FAMILY=redhat 05:55:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-744 05:55:40 + START_PACKAGES=/tmp/packages_start.txt 05:55:40 + END_PACKAGES=/tmp/packages_end.txt 05:55:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:55:40 + PACKAGES=/tmp/packages_start.txt 05:55:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-744 ']' 05:55:40 + PACKAGES=/tmp/packages_end.txt 05:55:40 + case "${OS_FAMILY}" in 05:55:40 + rpm -qa 05:55:40 + sort 05:55:45 + '[' -f /tmp/packages_start.txt ']' 05:55:45 + '[' -f /tmp/packages_end.txt ']' 05:55:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:55:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-744 ']' 05:55:45 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-744/archives/ 05:55:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-744/archives/ [Pipeline] echo 05:55:45 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-744/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:55:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:55:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:46 05:55:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:55:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:46 alpine: Pulling from edgex-lftools-log-publisher 05:55:46 df20fa9351a1: Pulling fs layer 05:55:46 36b3adc4ff6f: Pulling fs layer 05:55:46 8ad3a11d3b57: Pulling fs layer 05:55:46 46f8f816bc3b: Pulling fs layer 05:55:46 93b61091891f: Pulling fs layer 05:55:46 93b9cdb0e59b: Pulling fs layer 05:55:46 5e14af77c1be: Pulling fs layer 05:55:46 01666e4c0597: Pulling fs layer 05:55:46 aa168da1d23b: Pulling fs layer 05:55:46 93b9cdb0e59b: Waiting 05:55:46 5e14af77c1be: Waiting 05:55:46 aa168da1d23b: Waiting 05:55:46 01666e4c0597: Waiting 05:55:46 46f8f816bc3b: Waiting 05:55:46 93b61091891f: Waiting 05:55:46 36b3adc4ff6f: Verifying Checksum 05:55:46 36b3adc4ff6f: Download complete 05:55:46 46f8f816bc3b: Verifying Checksum 05:55:46 46f8f816bc3b: Download complete 05:55:46 df20fa9351a1: Download complete 05:55:46 93b9cdb0e59b: Verifying Checksum 05:55:46 93b9cdb0e59b: Download complete 05:55:46 93b61091891f: Verifying Checksum 05:55:46 93b61091891f: Download complete 05:55:46 5e14af77c1be: Verifying Checksum 05:55:46 5e14af77c1be: Download complete 05:55:46 01666e4c0597: Verifying Checksum 05:55:46 01666e4c0597: Download complete 05:55:46 8ad3a11d3b57: Verifying Checksum 05:55:46 8ad3a11d3b57: Download complete 05:55:47 df20fa9351a1: Pull complete 05:55:47 36b3adc4ff6f: Pull complete 05:55:47 8ad3a11d3b57: Pull complete 05:55:47 46f8f816bc3b: Pull complete 05:55:48 aa168da1d23b: Verifying Checksum 05:55:48 aa168da1d23b: Download complete 05:55:49 93b61091891f: Pull complete 05:55:49 93b9cdb0e59b: Pull complete 05:55:49 5e14af77c1be: Pull complete 05:55:49 01666e4c0597: Pull complete 05:55:56 aa168da1d23b: Pull complete 05:55:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:55:56 prd-centos7-docker-4c-2g-21505 does not seem to be running inside a container 05:55:56 $ 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-744/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-744 -v /w/workspace/dgexfoundry_device-sdk-go_PR-744:/w/workspace/dgexfoundry_device-sdk-go_PR-744:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-744@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 05:56:00 $ docker top 0ae26b4eb6200e7f6f62b3fb8bde768db565e70c58bf38e6c9a10790a46edb19 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:01 + touch /tmp/pre-build-complete [Pipeline] sh 05:56:01 + mkdir -p /var/log/sa [Pipeline] sh 05:56:01 + ls /var/log/sa-host 05:56:01 + sadf -c /var/log/sa-host/sa20 05:56:01 file_magic: OK 05:56:01 HZ: Using current value: 100 05:56:01 file_header: OK 05:56:01 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 05:56:01 Statistics: 05:56:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:56:01 File successfully converted to sysstat format version 12.2.1 05:56:01 + sadf -c /var/log/sa-host/sa23 05:56:01 file_magic: OK 05:56:01 HZ: Using current value: 100 05:56:01 file_header: OK 05:56:01 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 05:56:01 Statistics: 05:56:01 Hnuu...uuuununununu... 05:56:01 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:02 provisioning config files... 05:56:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp/config7920584695378187939tmp [Pipeline] { [Pipeline] echo 05:56:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:02 ---> create-netrc.sh [Pipeline] } 05:56:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:56:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:56:03 ---> python-tools-install.sh [Pipeline] echo 05:56:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:56:03 ---> sudo-logs.sh 05:56:03 Archiving 'sudo' log.. [Pipeline] echo 05:56:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:56:04 ---> job-cost.sh 05:56:04 lf-activate-venv: SKIPPING 05:56:04 INFO: No Stack... 05:56:04 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:05 INFO: Archiving Costs [Pipeline] echo 05:56:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:05 ---> logs-deploy.sh 05:56:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-744/1 05:56:05 INFO: archiving workspace using pattern(s): 05:56:07 Archives upload complete. 05:56:07 INFO: archiving logs to Nexus 05:56:08 ---> uname -a: 05:56:08 Linux prd-centos7-docker-4c-2g-21505.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:56:08 05:56:08 05:56:08 ---> lscpu: 05:56:08 Architecture: x86_64 05:56:08 CPU op-mode(s): 32-bit, 64-bit 05:56:08 Byte Order: Little Endian 05:56:08 Address sizes: 40 bits physical, 48 bits virtual 05:56:08 CPU(s): 4 05:56:08 On-line CPU(s) list: 0-3 05:56:08 Thread(s) per core: 1 05:56:08 Core(s) per socket: 1 05:56:08 Socket(s): 4 05:56:08 NUMA node(s): 1 05:56:08 Vendor ID: GenuineIntel 05:56:08 CPU family: 6 05:56:08 Model: 44 05:56:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:56:08 Stepping: 1 05:56:08 CPU MHz: 2933.438 05:56:08 BogoMIPS: 5866.87 05:56:08 Virtualization: VT-x 05:56:08 Hypervisor vendor: KVM 05:56:08 Virtualization type: full 05:56:08 L1d cache: 128 KiB 05:56:08 L1i cache: 128 KiB 05:56:08 L2 cache: 16 MiB 05:56:08 L3 cache: 64 MiB 05:56:08 NUMA node0 CPU(s): 0-3 05:56:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:56:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:56:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:56:08 Vulnerability Meltdown: Mitigation; PTI 05:56:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:56:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:56:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:56:08 Vulnerability Srbds: Not affected 05:56:08 Vulnerability Tsx async abort: Not affected 05:56:08 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 05:56:08 05:56:08 05:56:08 ---> nproc: 05:56:08 4 05:56:08 05:56:08 05:56:08 ---> df -h: 05:56:08 Filesystem Size Used Available Use% Mounted on 05:56:08 overlay 50.0G 7.3G 42.7G 15% / 05:56:08 tmpfs 64.0M 0 64.0M 0% /dev 05:56:08 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 05:56:08 shm 64.0M 0 64.0M 0% /dev/shm 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-744 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-744@tmp 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 05:56:08 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 05:56:08 05:56:08 05:56:08 ---> free -m: 05:56:08 total used free shared buff/cache available 05:56:08 Mem: 1837 715 102 0 1020 1017 05:56:08 Swap: 1023 1 1022 05:56:08 05:56:08 05:56:08 ---> ip addr: 05:56:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:56:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:56:08 inet 127.0.0.1/8 scope host lo 05:56:08 valid_lft forever preferred_lft forever 05:56:08 inet6 ::1/128 scope host 05:56:08 valid_lft forever preferred_lft forever 05:56:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:56:08 link/ether fa:16:3e:df:80:14 brd ff:ff:ff:ff:ff:ff 05:56:08 inet 10.30.123.243/23 brd 10.30.123.255 scope global dynamic eth0 05:56:08 valid_lft 85900sec preferred_lft 85900sec 05:56:08 inet6 fe80::f816:3eff:fedf:8014/64 scope link 05:56:08 valid_lft forever preferred_lft forever 05:56:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:56:08 link/ether 02:42:74:32:67:93 brd ff:ff:ff:ff:ff:ff 05:56:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:56:08 valid_lft forever preferred_lft forever 05:56:08 inet6 fe80::42:74ff:fe32:6793/64 scope link 05:56:08 valid_lft forever preferred_lft forever 05:56:08 05:56:08 05:56:08 ---> sar -b -r -n DEV: 05:56:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 05:56:08 05:56:08 05:47:37 LINUX RESTART (4 CPU) 05:56:08 05:56:08 05:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:56:08 05:49:01 108.67 44.19 64.48 0.00 7906.92 20337.67 0.00 05:56:08 05:50:01 3.16 0.05 3.11 0.00 1.60 106.51 0.00 05:56:08 05:51:01 0.43 0.00 0.43 0.00 0.00 6.11 0.00 05:56:08 05:52:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 05:56:08 05:53:01 0.23 0.00 0.23 0.00 0.00 2.56 0.00 05:56:08 05:54:01 0.35 0.00 0.35 0.00 0.00 4.76 0.00 05:56:08 05:55:01 0.27 0.00 0.27 0.00 0.00 3.18 0.00 05:56:08 Average: 16.21 6.32 9.88 0.00 1130.35 2924.92 0.00 05:56:08 05:56:08 05:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:56:08 05:49:01 166320 0 622268 33.07 2620 1090336 1126016 38.43 430716 1085700 132 05:56:08 05:50:01 173192 0 615276 32.70 2620 1090456 1090440 37.21 427184 1083216 20 05:56:08 05:51:01 171864 0 616600 32.77 2620 1090460 1086292 37.07 439736 1072104 12 05:56:08 05:52:01 171124 0 617340 32.81 2620 1090460 1086448 37.08 440444 1072104 8 05:56:08 05:53:01 170864 0 617592 32.82 2620 1090468 1086280 37.07 456068 1056688 8 05:56:08 05:54:01 170332 0 618120 32.85 2620 1090472 1086364 37.08 461324 1051872 8 05:56:08 05:55:01 171088 0 617360 32.81 2620 1090476 1086280 37.07 460768 1051872 8 05:56:08 Average: 170683 0 617794 32.83 2620 1090447 1092589 37.29 445177 1067651 28 05:56:08 05:56:08 05:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:56:08 05:49:01 eth0 568.87 341.71 1096.32 95.25 0.00 0.00 0.00 0.00 05:56:08 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:49:01 docker0 6.59 5.18 1.29 21.56 0.00 0.00 0.00 0.00 05:56:08 05:50:01 eth0 4.73 2.41 3.89 0.17 0.00 0.00 0.00 0.00 05:56:08 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:51:01 eth0 0.95 0.13 0.17 0.01 0.00 0.00 0.00 0.00 05:56:08 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:52:01 eth0 0.83 0.50 0.45 0.39 0.00 0.00 0.00 0.00 05:56:08 05:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:53:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:56:08 05:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:54:01 eth0 0.33 0.22 0.14 0.07 0.00 0.00 0.00 0.00 05:56:08 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:55:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:56:08 05:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 05:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 Average: eth0 82.32 49.33 157.36 13.71 0.00 0.00 0.00 0.00 05:56:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:56:08 Average: docker0 0.94 0.74 0.18 3.08 0.00 0.00 0.00 0.00 05:56:08 05:56:08 05:56:08 ---> sar -P ALL: 05:56:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/20/21 _x86_64_ (4 CPU) 05:56:08 05:56:08 05:47:37 LINUX RESTART (4 CPU) 05:56:08 05:56:08 05:48:01 CPU %user %nice %system %iowait %steal %idle 05:56:08 05:49:01 all 14.54 0.00 6.33 3.61 0.12 75.41 05:56:08 05:49:01 0 14.15 0.00 7.68 4.68 0.14 73.35 05:56:08 05:49:01 1 18.35 0.00 4.61 3.13 0.10 73.81 05:56:08 05:49:01 2 13.25 0.00 7.08 3.70 0.14 75.82 05:56:08 05:49:01 3 12.39 0.00 5.93 2.91 0.10 78.67 05:56:08 05:50:01 all 0.23 0.00 0.06 0.00 0.00 99.71 05:56:08 05:50:01 0 0.12 0.00 0.08 0.00 0.00 99.80 05:56:08 05:50:01 1 0.60 0.00 0.03 0.00 0.00 99.37 05:56:08 05:50:01 2 0.07 0.00 0.07 0.00 0.00 99.87 05:56:08 05:50:01 3 0.13 0.00 0.05 0.00 0.00 99.82 05:56:08 05:51:01 all 0.15 0.00 0.05 0.00 0.00 99.79 05:56:08 05:51:01 0 0.05 0.00 0.05 0.00 0.00 99.90 05:56:08 05:51:01 1 0.48 0.00 0.07 0.00 0.00 99.45 05:56:08 05:51:01 2 0.05 0.00 0.07 0.00 0.02 99.87 05:56:08 05:51:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:56:08 05:52:01 all 0.17 0.00 0.10 0.00 0.00 99.73 05:56:08 05:52:01 0 0.07 0.00 0.10 0.00 0.02 99.82 05:56:08 05:52:01 1 0.47 0.00 0.12 0.00 0.00 99.42 05:56:08 05:52:01 2 0.03 0.00 0.10 0.00 0.00 99.87 05:56:08 05:52:01 3 0.10 0.00 0.08 0.00 0.00 99.82 05:56:08 05:53:01 all 0.19 0.00 0.21 0.00 0.01 99.59 05:56:08 05:53:01 0 0.05 0.00 0.22 0.00 0.02 99.72 05:56:08 05:53:01 1 0.15 0.00 0.17 0.00 0.02 99.67 05:56:08 05:53:01 2 0.50 0.00 0.28 0.00 0.00 99.22 05:56:08 05:53:01 3 0.05 0.00 0.18 0.00 0.02 99.75 05:56:08 05:54:01 all 0.16 0.00 0.05 0.00 0.00 99.80 05:56:08 05:54:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:56:08 05:54:01 1 0.55 0.00 0.05 0.00 0.00 99.40 05:56:08 05:54:01 2 0.05 0.00 0.08 0.00 0.00 99.87 05:56:08 05:54:01 3 0.02 0.00 0.03 0.00 0.00 99.95 05:56:08 05:55:01 all 0.16 0.00 0.04 0.00 0.00 99.80 05:56:08 05:55:01 0 0.05 0.00 0.05 0.00 0.00 99.90 05:56:08 05:55:01 1 0.55 0.00 0.03 0.00 0.00 99.42 05:56:08 05:55:01 2 0.02 0.00 0.03 0.00 0.00 99.95 05:56:08 05:55:01 3 0.03 0.00 0.05 0.00 0.00 99.92 05:56:08 Average: all 2.20 0.00 0.96 0.51 0.02 96.31 05:56:08 Average: 0 2.04 0.00 1.16 0.66 0.02 96.12 05:56:08 Average: 1 2.98 0.00 0.72 0.44 0.02 95.84 05:56:08 Average: 2 1.97 0.00 1.09 0.52 0.02 96.39 05:56:08 Average: 3 1.79 0.00 0.89 0.41 0.02 96.89 05:56:08 05:56:08 05:56:08