Pull request #728 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b9424ee36f13deccfd90190bf56ac595345a6bfa+1f15288997641a3d0d3a625c9b3944aa45f594eb (5b2294115ad4379a3fa40b20d3110145d98241ef) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-728/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-728/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 f82e9360b4159668f7e3e090307a6179e9a8e48d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20161 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit b9424ee36f13deccfd90190bf56ac595345a6bfa Merge succeeded, producing b9424ee36f13deccfd90190bf56ac595345a6bfa Checking out Revision b9424ee36f13deccfd90190bf56ac595345a6bfa (PR-728) > git config core.sparsecheckout # timeout=10 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # 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 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:12:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:12:40 ========================================================= 06:12:40 EdgeX Global Pipelines Version Info 06:12:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:12:42 ------------------- 06:12:42 stable info: 06:12:42 ------------------- 06:12:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:12:42 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:12:42 Message: update stable to v1.0.177 06:12:43 ------------------- 06:12:43 experimental info: 06:12:43 ------------------- 06:12:43 Commited By: **** collab-it+edgex@linuxfoundation.org 06:12:43 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:12:43 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:12:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:12:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:12:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:12:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:12:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:12:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:12:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:12:46 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9424ee36f13deccfd90190bf56ac595345a6bfa [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9424ee [Pipeline] echo 06:12:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:12:48 provisioning config files... 06:12:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3864092568043020625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:48 ---> docker-login.sh 06:12:48 nexus3.edgexfoundry.org:10001 06:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 nexus3.edgexfoundry.org:10002 06:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 nexus3.edgexfoundry.org:10003 06:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 nexus3.edgexfoundry.org:10004 06:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 docker.io 06:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:49 Configure a credential helper to remove this warning. See 06:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:49 06:12:49 Login Succeeded 06:12:49 ---> docker-login.sh ends [Pipeline] } 06:12:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:12:51 + git log --format=format:%s -1 b9424ee36f13deccfd90190bf56ac595345a6bfa [Pipeline] echo 06:12:51 GIT_COMMIT: b9424ee36f13deccfd90190bf56ac595345a6bfa, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 06:12:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:12:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:52 06:12:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:12:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:52 latest: Pulling from edgex-devops/git-semver 06:12:52 31603596830f: Pulling fs layer 06:12:52 2a8b12db71e7: Pulling fs layer 06:12:52 6ca5941a6612: Pulling fs layer 06:12:52 ecc8261a40a4: Pulling fs layer 06:12:52 ecc8261a40a4: Waiting 06:12:52 2a8b12db71e7: Download complete 06:12:52 31603596830f: Download complete 06:12:53 ecc8261a40a4: Verifying Checksum 06:12:53 ecc8261a40a4: Download complete 06:12:53 6ca5941a6612: Verifying Checksum 06:12:53 6ca5941a6612: Download complete 06:12:53 31603596830f: Pull complete 06:12:53 2a8b12db71e7: Pull complete 06:12:54 6ca5941a6612: Pull complete 06:12:54 ecc8261a40a4: Pull complete 06:12:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:12:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:12:54 prd-centos7-docker-4c-2g-20161 does not seem to be running inside a container 06:12:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:12:56 $ docker top 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:12:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:57 [ssh-agent] Looking for ssh-agent implementation... 06:12:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:57 $ docker exec 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 ssh-agent 06:12:57 SSH_AUTH_SOCK=/tmp/ssh-Ca6j3OVRoYVf/agent.12 06:12:57 SSH_AGENT_PID=18 06:12:57 Running ssh-add (command line suppressed) 06:12:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6535109269998138465.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6535109269998138465.key) 06:12:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:58 + git tag --points-at HEAD [Pipeline] } 06:12:58 $ docker exec --env ******** --env ******** 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 ssh-agent -k 06:12:58 unset SSH_AUTH_SOCK; 06:12:58 unset SSH_AGENT_PID; 06:12:58 echo Agent pid 18 killed; 06:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:12:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:12:58 [ssh-agent] Looking for ssh-agent implementation... 06:12:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:12:58 $ docker exec 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 ssh-agent 06:12:58 SSH_AUTH_SOCK=/tmp/ssh-24dpQIpK0zPy/agent.49 06:12:58 SSH_AGENT_PID=54 06:12:58 Running ssh-add (command line suppressed) 06:12:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6722981201499792201.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_6722981201499792201.key) 06:12:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:12:59 + git semver init 06:12:59 # -> Open(): unable to determine branch for HEAD 06:12:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 06:12:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 06:12:59 # $SEMVER_REMOTE_NAME = origin 06:12:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:12:59 # $SEMVER_USER_NAME = edgex-jenkins 06:12:59 # $SEMVER_BRANCH = PR-728 06:12:59 # $SEMVER_TEMP = /tmp/semver-164880292 06:12:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:12:59 # '/tmp/semver-164880292' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 06:12:59 # -> Force: false 06:12:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 06:12:59 $ docker exec --env ******** --env ******** 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 ssh-agent -k 06:13:00 unset SSH_AUTH_SOCK; 06:13:00 unset SSH_AGENT_PID; 06:13:00 echo Agent pid 54 killed; 06:13:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:00 + git semver [Pipeline] } 06:13:00 $ docker stop --time=1 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 06:13:02 $ docker rm -f 34a6225e33cbe596e774a634aa11a4879efe95531cf028d194ae54d092e44107 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:13:03 Stashed 1 file(s) [Pipeline] echo 06:13:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:13:19 Still waiting to schedule task 06:13:19 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20162’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 06:13:19 Still waiting to schedule task 06:13:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:14:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20163 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 06:14:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:15:03 using credential edgex-jenkins-ssh 06:15:03 Cloning the remote Git repository 06:15:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:15:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:04 > git --version # timeout=10 06:15:04 > git --version # 'git version 2.17.1' 06:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:06 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit b9424ee36f13deccfd90190bf56ac595345a6bfa 06:15:06 Running on prd-centos7-docker-4c-2g-20164 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 06:15:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 06:15:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:06 > git config core.sparsecheckout # timeout=10 06:15:06 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 [Pipeline] checkout 06:15:07 Merge succeeded, producing b9424ee36f13deccfd90190bf56ac595345a6bfa 06:15:07 Checking out Revision b9424ee36f13deccfd90190bf56ac595345a6bfa (PR-728) 06:15:06 > git remote # timeout=10 06:15:06 > git config --get remote.origin.url # timeout=10 06:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:06 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:15:06 > git rev-parse HEAD^{commit} # timeout=10 06:15:07 > git config core.sparsecheckout # timeout=10 06:15:07 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 06:15:09 using credential edgex-jenkins-ssh 06:15:09 Cloning the remote Git repository 06:15:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:15:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:09 > git --version # timeout=10 06:15:09 > git --version # 'git version 2.24.3' 06:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:15:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:15:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:15:10 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit b9424ee36f13deccfd90190bf56ac595345a6bfa 06:15:10 Merge succeeded, producing b9424ee36f13deccfd90190bf56ac595345a6bfa 06:15:10 Checking out Revision b9424ee36f13deccfd90190bf56ac595345a6bfa (PR-728) 06:15:11 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" 06:15:11 > git --version # timeout=10 06:15:11 > git --version # 'git version 2.17.1' 06:15:11 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d 06:15:10 > git config core.sparsecheckout # timeout=10 06:15:10 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 06:15:10 > git remote # timeout=10 06:15:10 > git config --get remote.origin.url # timeout=10 06:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:15:10 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:15:10 > git rev-parse HEAD^{commit} # timeout=10 06:15:10 > git config core.sparsecheckout # timeout=10 06:15:10 > git checkout -f b9424ee36f13deccfd90190bf56ac595345a6bfa # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:15:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:15:14 + sudo service+ docker restart 06:15:14 true 06:15:14 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" 06:15:14 > git --version # timeout=10 06:15:14 > git --version # 'git version 2.24.3' 06:15:14 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:15:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:15:16 + sudo service docker restart 06:15:16 + true 06:15:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:15:17 provisioning config files... 06:15:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config710505474996978249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:17 ---> docker-login.sh 06:15:17 nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:15:17 provisioning config files... 06:15:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6818750931800065822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:18 ---> docker-login.sh 06:15:18 nexus3.edgexfoundry.org:10001 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:18 Configure a credential helper to remove this warning. See 06:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:18 06:15:18 Login Succeeded 06:15:18 nexus3.edgexfoundry.org:10002 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:18 Configure a credential helper to remove this warning. See 06:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:18 06:15:18 Login Succeeded 06:15:18 nexus3.edgexfoundry.org:10003 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:18 Configure a credential helper to remove this warning. See 06:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:18 06:15:18 Login Succeeded 06:15:18 nexus3.edgexfoundry.org:10004 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:18 Configure a credential helper to remove this warning. See 06:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:18 06:15:18 Login Succeeded 06:15:18 docker.io 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 nexus3.edgexfoundry.org:10002 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 nexus3.edgexfoundry.org:10003 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 ---> docker-login.sh ends [Pipeline] } 06:15:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 nexus3.edgexfoundry.org:10004 [Pipeline] echo 06:15:20 ========================================================= 06:15:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:15:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:15:20 Sending build context to Docker daemon 2.474MB 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 docker.io 06:15:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:15:20 Step 2/8 : FROM ${BASE} 06:15:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:20 188c0c94c7c5: Pulling fs layer 06:15:20 0ef7d3d256c8: Pulling fs layer 06:15:20 de9db76c5a1d: Pulling fs layer 06:15:20 bca2f99d35d6: Pulling fs layer 06:15:20 93359f2a8cfa: Pulling fs layer 06:15:20 7c6f9722023f: Pulling fs layer 06:15:20 a35cf1a2eb13: Pulling fs layer 06:15:20 93359f2a8cfa: Waiting 06:15:20 7c6f9722023f: Waiting 06:15:20 a35cf1a2eb13: Waiting 06:15:20 bca2f99d35d6: Waiting 06:15:20 de9db76c5a1d: Verifying Checksum 06:15:20 de9db76c5a1d: Download complete 06:15:20 0ef7d3d256c8: Verifying Checksum 06:15:20 0ef7d3d256c8: Download complete 06:15:20 93359f2a8cfa: Verifying Checksum 06:15:20 7c6f9722023f: Verifying Checksum 06:15:20 7c6f9722023f: Download complete 06:15:20 188c0c94c7c5: Verifying Checksum 06:15:20 188c0c94c7c5: Download complete 06:15:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 188c0c94c7c5: Pull complete 06:15:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:21 Configure a credential helper to remove this warning. See 06:15:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:21 06:15:21 Login Succeeded 06:15:21 ---> docker-login.sh ends [Pipeline] } 06:15:21 Deleting 1 temporary files [Pipeline] // wrap 06:15:21 0ef7d3d256c8: Pull complete 06:15:21 de9db76c5a1d: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:21 ========================================================= 06:15:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:15:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:15: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 . 06:15:22 Sending build context to Docker daemon 2.473MB 06:15:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:15:22 Step 2/8 : FROM ${BASE} 06:15:23 a35cf1a2eb13: Verifying Checksum 06:15:23 a35cf1a2eb13: Download complete 06:15:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:15:23 5f621e34cdf4: Pulling fs layer 06:15:23 a4357932f1b6: Pulling fs layer 06:15:23 18c013af1878: Pulling fs layer 06:15:23 00ac8860ef70: Pulling fs layer 06:15:23 63d7cb157983: Pulling fs layer 06:15:23 b116817d02f9: Pulling fs layer 06:15:23 745a02a5169b: Pulling fs layer 06:15:23 b116817d02f9: Waiting 06:15:23 00ac8860ef70: Waiting 06:15:23 745a02a5169b: Waiting 06:15:23 63d7cb157983: Waiting 06:15:23 18c013af1878: Verifying Checksum 06:15:23 18c013af1878: Download complete 06:15:23 a4357932f1b6: Download complete 06:15:23 63d7cb157983: Verifying Checksum 06:15:23 63d7cb157983: Download complete 06:15:23 b116817d02f9: Verifying Checksum 06:15:23 b116817d02f9: Download complete 06:15:23 5f621e34cdf4: Verifying Checksum 06:15:23 5f621e34cdf4: Download complete 06:15:24 5f621e34cdf4: Pull complete 06:15:24 a4357932f1b6: Pull complete 06:15:24 18c013af1878: Pull complete 06:15:25 bca2f99d35d6: Download complete 06:15:26 745a02a5169b: Download complete 06:15:27 00ac8860ef70: Verifying Checksum 06:15:27 00ac8860ef70: Download complete 06:15:30 bca2f99d35d6: Pull complete 06:15:30 93359f2a8cfa: Pull complete 06:15:30 7c6f9722023f: Pull complete 06:15:35 a35cf1a2eb13: Pull complete 06:15:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:15:35 ---> a62c8e92a672 06:15:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:15:35 ---> Running in fb7b145395c9 06:15:35 Removing intermediate container fb7b145395c9 06:15:35 ---> f19f532e5f15 06:15:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:35 ---> Running in 65d336774bd5 06:15:36 Removing intermediate container 65d336774bd5 06:15:36 ---> 2d8d7bf96801 06:15:36 Step 5/8 : RUN apk add --update --no-cache make git 06:15:36 ---> Running in 4da8be0c4673 06:15:37 00ac8860ef70: Pull complete 06:15:37 63d7cb157983: Pull complete 06:15:37 b116817d02f9: Pull complete 06:15:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:15:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:15:39 OK: 166 MiB in 39 packages 06:15:39 Removing intermediate container 4da8be0c4673 06:15:39 ---> b0fea525d6e3 06:15:39 Step 6/8 : WORKDIR /device-sdk-go 06:15:39 ---> Running in 33ad221b2df3 06:15:40 Removing intermediate container 33ad221b2df3 06:15:40 ---> 865d7de57fb8 06:15:40 Step 7/8 : COPY . . 06:15:40 745a02a5169b: Pull complete 06:15:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:15:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:15:40 ---> b7e6874047d6 06:15:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:15:41 ---> de8d047e37eb 06:15:41 Step 8/8 : RUN go mod download 06:15:41 ---> Running in 292f4e5358b0 06:15:44 ---> Running in b2869824f4ed 06:15:44 Removing intermediate container b2869824f4ed 06:15:44 ---> 9b04439edb88 06:15:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:44 ---> Running in aa463c677107 06:15:46 Removing intermediate container aa463c677107 06:15:46 ---> f10ac8ce8caa 06:15:46 Step 5/8 : RUN apk add --update --no-cache make git 06:15:46 ---> Running in d44d98b2faac 06:15:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:15:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:15:49 OK: 142 MiB in 39 packages 06:15:50 Removing intermediate container d44d98b2faac 06:15:50 ---> cc97555edc9c 06:15:50 Step 6/8 : WORKDIR /device-sdk-go 06:15:50 ---> Running in 7dbc61df6c42 06:15:51 Removing intermediate container 7dbc61df6c42 06:15:51 ---> ab967c2d33af 06:15:51 Step 7/8 : COPY . . 06:15:52 ---> 38f9f22c5cf6 06:15:52 Step 8/8 : RUN go mod download 06:15:52 ---> Running in 8a272e199d76 06:16:03 Removing intermediate container 292f4e5358b0 06:16:03 ---> ae617df77c7d 06:16:03 Successfully built ae617df77c7d 06:16:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:16:03 + docker inspect -f . ci-base-image-x86_64 06:16:03 . [Pipeline] withDockerContainer 06:16:03 prd-centos7-docker-4c-2g-20164 does not seem to be running inside a container 06:16:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:04 $ docker top 732f5ec0a6f978da32730657000ad8d98382738a2863c1b09a341da5a587060b -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:05 + go version 06:16:05 go version go1.15.5 linux/amd64 [Pipeline] } 06:16:05 $ docker stop --time=1 732f5ec0a6f978da32730657000ad8d98382738a2863c1b09a341da5a587060b 06:16:06 $ docker rm -f 732f5ec0a6f978da32730657000ad8d98382738a2863c1b09a341da5a587060b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:07 + docker inspect -f . ci-base-image-x86_64 06:16:07 . [Pipeline] withDockerContainer 06:16:07 prd-centos7-docker-4c-2g-20164 does not seem to be running inside a container 06:16:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:08 $ docker top e42463d354f232ca18d8eb092384e40b1c8fd6b28080a34bf8e3909337808cf5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:09 + make test 06:16:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:16:14 Removing intermediate container 8a272e199d76 06:16:14 ---> f4c9a02bf4ae 06:16:14 Successfully built f4c9a02bf4ae 06:16:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:16:15 + docker inspect -f . ci-base-image-arm64 06:16:15 . [Pipeline] withDockerContainer 06:16:15 prd-ubuntu18.04-docker-arm64-4c-16g-20163 does not seem to be running inside a container 06:16:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:15 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:16:17 $ docker top f8696424449cd76187e84d84662a8cc158efad06153ecb1ce83b993a9323fc30 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:18 + go version 06:16:18 go version go1.15.5 linux/arm64 [Pipeline] } 06:16:18 $ docker stop --time=1 f8696424449cd76187e84d84662a8cc158efad06153ecb1ce83b993a9323fc30 06:16:20 $ docker rm -f f8696424449cd76187e84d84662a8cc158efad06153ecb1ce83b993a9323fc30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:21 + docker inspect -f . ci-base-image-arm64 06:16:21 . [Pipeline] withDockerContainer 06:16:21 prd-ubuntu18.04-docker-arm64-4c-16g-20163 does not seem to be running inside a container 06:16:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:16:23 $ docker top 896c1e4fef9acd6213126b476d1529b90e658abf06fdc18c96c7fdfc8cf99d3f -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:24 + make test 06:16:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:16:30 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:16:30 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:16:30 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:16:30 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 19.4% of statements 06:16:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.449s coverage: 97.1% of statements 06:16:46 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.7% of statements 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.205s coverage: 42.9% of statements 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.291s coverage: 68.9% of statements 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:17:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:17:05 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.076s coverage: 31.3% of statements 06:17:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.278s coverage: 68.9% of statements 06:17:05 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 06:17:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:17:05 GO111MODULE=on go vet ./... 06:17:11 gofmt -l . 06:17:11 [ "`gofmt -l .`" = "" ] 06:17:11 ./bin/test-attribution-txt.sh 06:17:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:17:11 $ docker stop --time=1 e42463d354f232ca18d8eb092384e40b1c8fd6b28080a34bf8e3909337808cf5 06:17:13 $ docker rm -f e42463d354f232ca18d8eb092384e40b1c8fd6b28080a34bf8e3909337808cf5 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:17:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:17 + ls -al . 06:17:17 total 216 06:17:17 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 14 06:17 . 06:17:17 drwxrwxr-x. 4 jenkins jenkins 28 Jan 14 06:15 .. 06:17:17 drwxrwxr-x. 2 jenkins jenkins 64 Jan 14 06:15 bin 06:17:17 -rw-r--r--. 1 jenkins jenkins 137952 Jan 14 06:17 coverage.out 06:17:17 -rw-rw-r--. 1 jenkins jenkins 949 Jan 14 06:15 Dockerfile.build 06:17:17 -rw-rw-r--. 1 jenkins jenkins 140 Jan 14 06:15 .dockerignore 06:17:17 drwxrwxr-x. 4 jenkins jenkins 48 Jan 14 06:15 example 06:17:17 drwxrwxr-x. 8 jenkins jenkins 179 Jan 14 06:15 .git 06:17:17 drwxrwxr-x. 2 jenkins jenkins 103 Jan 14 06:15 .github 06:17:17 -rw-rw-r--. 1 jenkins jenkins 138 Jan 14 06:15 .gitignore 06:17:17 -rw-r--r--. 1 jenkins jenkins 488 Jan 14 06:17 go.mod 06:17:17 -rw-r--r--. 1 jenkins jenkins 14214 Jan 14 06:17 go.sum 06:17:17 drwxrwxr-x. 15 jenkins jenkins 211 Jan 14 06:15 internal 06:17:17 -rw-rw-r--. 1 jenkins jenkins 901 Jan 14 06:15 Jenkinsfile 06:17:17 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 14 06:15 LICENSE 06:17:17 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 14 06:15 Makefile 06:17:17 drwxrwxr-x. 4 jenkins jenkins 26 Jan 14 06:15 openapi 06:17:17 drwxrwxr-x. 5 jenkins jenkins 50 Jan 14 06:15 pkg 06:17:17 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 14 06:15 README.md 06:17:17 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 14 06:15 RELEASE-NOTES.txt 06:17:17 drwxrwxr-x. 4 jenkins jenkins 54 Jan 14 06:15 snap 06:17:17 -rw-rw-r--. 1 jenkins jenkins 5 Jan 14 06:13 VERSION 06:17:17 -rw-rw-r--. 1 jenkins jenkins 222 Jan 14 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:17:18 + 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=b9424ee36f13deccfd90190bf56ac595345a6bfa --label arch=amd64 --label version=0.0.0 . 06:17:18 Sending build context to Docker daemon 2.613MB 06:17:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:17:18 Step 2/24 : FROM ${BASE} AS builder 06:17:18 ---> ae617df77c7d 06:17:18 Step 3/24 : ARG MAKE='make build' 06:17:19 ---> Running in aa0fd992d93d 06:17:19 Removing intermediate container aa0fd992d93d 06:17:19 ---> f0ce152eca17 06:17:19 Step 4/24 : WORKDIR /device-sdk-go 06:17:19 ---> Running in cbfcbc24a3e9 06:17:19 Removing intermediate container cbfcbc24a3e9 06:17:19 ---> 4737dc24a975 06:17:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:19 ---> Running in c6a1efa21c4b 06:17:19 Removing intermediate container c6a1efa21c4b 06:17:19 ---> b51ef063a9d4 06:17:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:19 ---> Running in 02563a19e6aa 06:17:20 Removing intermediate container 02563a19e6aa 06:17:20 ---> 2e22d0ca5c09 06:17:20 Step 7/24 : RUN apk add --update --no-cache make git 06:17:20 ---> Running in 96f9e2a5e6bd 06:17:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:17:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:17:22 OK: 166 MiB in 39 packages 06:17:23 Removing intermediate container 96f9e2a5e6bd 06:17:23 ---> 9f298c73517c 06:17:23 Step 8/24 : COPY . . 06:17:24 ---> 7ee8211e973c 06:17:24 Step 9/24 : RUN ${MAKE} 06:17:24 ---> Running in ff24d418695b 06:17:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:17:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:17:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:17:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:17:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:17:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 19.4% of statements 06:17:33 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.223s coverage: 97.1% of statements 06:17:34 Removing intermediate container ff24d418695b 06:17:34 ---> 319b6789f032 06:17:34 Step 10/24 : FROM scratch 06:17:34 ---> 06:17:34 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:34 ---> Running in ae4ad29176af 06:17:34 Removing intermediate container ae4ad29176af 06:17:34 ---> b462bff32acc 06:17:34 Step 12/24 : ENV APP_PORT=49990 06:17:34 ---> Running in 23beabfa12cb 06:17:35 Removing intermediate container 23beabfa12cb 06:17:35 ---> 8d3ee0f66f37 06:17:35 Step 13/24 : EXPOSE $APP_PORT 06:17:35 ---> Running in 8e775c723438 06:17:35 Removing intermediate container 8e775c723438 06:17:35 ---> 690b4db00a9e 06:17:35 Step 14/24 : WORKDIR / 06:17:35 ---> Running in 551c501b14f2 06:17:35 Removing intermediate container 551c501b14f2 06:17:35 ---> 1089c54f37bd 06:17:35 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:17:35 ---> 322b33e2d4c7 06:17:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:17:36 ---> 0c21cf7d84f9 06:17:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:17:36 ---> 8dc33cc26a19 06:17:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:17:36 ---> 6d44ea42684a 06:17:36 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:17:36 ---> 9e9c752d5cc7 06:17:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:17:36 ---> Running in c550eede218b 06:17:37 Removing intermediate container c550eede218b 06:17:37 ---> 7b008bfe886a 06:17:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:17:37 ---> Running in 0216b46a8e20 06:17:37 Removing intermediate container 0216b46a8e20 06:17:37 ---> 4ed2b70f9b59 06:17:37 Step 22/24 : LABEL arch=amd64 06:17:37 ---> Running in dabe8fb037b3 06:17:37 Removing intermediate container dabe8fb037b3 06:17:37 ---> 24604961e630 06:17:37 Step 23/24 : LABEL git_sha=b9424ee36f13deccfd90190bf56ac595345a6bfa 06:17:37 ---> Running in b6709e27d423 06:17:37 Removing intermediate container b6709e27d423 06:17:37 ---> bf624292383d 06:17:37 Step 24/24 : LABEL version=0.0.0 06:17:37 ---> Running in e857bb145bdf 06:17:37 Removing intermediate container e857bb145bdf 06:17:37 ---> 81455609a395 06:17:37 [Warning] One or more build-args [ARCH] were not consumed 06:17:38 Successfully built 81455609a395 06:17:38 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] } 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.168s coverage: 9.4% of statements 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.7% of statements 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.663s coverage: 42.9% of statements 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.807s coverage: 68.9% of statements 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 53.8% of statements 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:18:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:18:00 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.213s coverage: 31.3% of statements 06:18:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.088s coverage: 68.9% of statements 06:18:00 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.2% of statements 06:18:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:18:00 GO111MODULE=on go vet ./... 06:18:39 gofmt -l . 06:18:39 [ "`gofmt -l .`" = "" ] 06:18:39 ./bin/test-attribution-txt.sh 06:18:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:18:39 $ docker stop --time=1 896c1e4fef9acd6213126b476d1529b90e658abf06fdc18c96c7fdfc8cf99d3f 06:18:41 $ docker rm -f 896c1e4fef9acd6213126b476d1529b90e658abf06fdc18c96c7fdfc8cf99d3f [Pipeline] // withDockerContainer [Pipeline] sh 06:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:42 Warning: overwriting stash ‘coverage-report’ 06:18:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:45 + ls -al . 06:18:45 total 252 06:18:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 06:18 . 06:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:15 .. 06:18:45 -rw-rw-r-- 1 jenkins jenkins 140 Jan 14 06:15 .dockerignore 06:18:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 06:15 .git 06:18:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 06:15 .github 06:18:45 -rw-rw-r-- 1 jenkins jenkins 138 Jan 14 06:15 .gitignore 06:18:45 -rw-rw-r-- 1 jenkins jenkins 949 Jan 14 06:15 Dockerfile.build 06:18:45 -rw-rw-r-- 1 jenkins jenkins 901 Jan 14 06:15 Jenkinsfile 06:18:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 14 06:15 LICENSE 06:18:45 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 14 06:15 Makefile 06:18:45 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 14 06:15 README.md 06:18:45 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 14 06:15 RELEASE-NOTES.txt 06:18:45 -rw-rw-r-- 1 jenkins jenkins 5 Jan 14 06:13 VERSION 06:18:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 06:15 bin 06:18:45 -rw-r--r-- 1 jenkins jenkins 137952 Jan 14 06:17 coverage.out 06:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:15 example 06:18:45 -rw-r--r-- 1 jenkins jenkins 488 Jan 14 06:18 go.mod 06:18:45 -rw-r--r-- 1 jenkins jenkins 14214 Jan 14 06:18 go.sum 06:18:45 drwxrwxr-x 15 jenkins jenkins 4096 Jan 14 06:15 internal 06:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:15 openapi 06:18:45 drwxrwxr-x 5 jenkins jenkins 4096 Jan 14 06:15 pkg 06:18:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:15 snap 06:18:45 -rw-rw-r-- 1 jenkins jenkins 222 Jan 14 06:15 version.go [Pipeline] isUnix [Pipeline] sh 06:18:45 + 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=b9424ee36f13deccfd90190bf56ac595345a6bfa --label arch=arm64 --label version=0.0.0 . 06:18:46 Sending build context to Docker daemon 2.612MB 06:18:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:18:46 Step 2/24 : FROM ${BASE} AS builder 06:18:46 ---> f4c9a02bf4ae 06:18:46 Step 3/24 : ARG MAKE='make build' 06:18:46 ---> Running in 070c273d500a 06:18:47 Removing intermediate container 070c273d500a 06:18:47 ---> ca2e39a49cba 06:18:47 Step 4/24 : WORKDIR /device-sdk-go 06:18:47 ---> Running in 7eb8bf7acb7a 06:18:47 Removing intermediate container 7eb8bf7acb7a 06:18:47 ---> b9c870d6e7d5 06:18:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:47 ---> Running in bc8fed8beb70 06:18:48 Removing intermediate container bc8fed8beb70 06:18:48 ---> 8df454cdf655 06:18:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:48 ---> Running in fe102008ef7f 06:18:51 Removing intermediate container fe102008ef7f 06:18:51 ---> 602403f62933 06:18:51 Step 7/24 : RUN apk add --update --no-cache make git 06:18:51 ---> Running in da4b19681a63 06:18:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:18:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:18:53 OK: 142 MiB in 39 packages 06:18:54 Removing intermediate container da4b19681a63 06:18:54 ---> f41f3c73ef27 06:18:54 Step 8/24 : COPY . . 06:18:56 ---> 4ddc42223312 06:18:56 Step 9/24 : RUN ${MAKE} 06:18:56 ---> Running in abbb2366f29c 06:18:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:19:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:19:29 Removing intermediate container abbb2366f29c 06:19:29 ---> 8221c8e68baa 06:19:29 Step 10/24 : FROM scratch 06:19:29 ---> 06:19:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:29 ---> Running in 339086878a98 06:19:29 Removing intermediate container 339086878a98 06:19:29 ---> 2720ae0eb455 06:19:29 Step 12/24 : ENV APP_PORT=49990 06:19:29 ---> Running in 5bd89cb18d6a 06:19:29 Removing intermediate container 5bd89cb18d6a 06:19:29 ---> 16a16cd506a3 06:19:29 Step 13/24 : EXPOSE $APP_PORT 06:19:29 ---> Running in 8eb137a21a16 06:19:29 Removing intermediate container 8eb137a21a16 06:19:29 ---> 403480569226 06:19:29 Step 14/24 : WORKDIR / 06:19:29 ---> Running in b56a288e9f92 06:19:30 Removing intermediate container b56a288e9f92 06:19:30 ---> 35019d36c694 06:19:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:19:31 ---> df435b425882 06:19:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:19:32 ---> 8b01b0cdf3ea 06:19:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:19:32 ---> d7d406023fb2 06:19:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:19:33 ---> d1d322e2912a 06:19:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:19:34 ---> 7537536003c0 06:19:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:19:34 ---> Running in ca4970dcd7d7 06:19:35 Removing intermediate container ca4970dcd7d7 06:19:35 ---> 2327dfd4ccff 06:19:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:19:35 ---> Running in de4093aa502c 06:19:35 Removing intermediate container de4093aa502c 06:19:35 ---> daafb204a42a 06:19:35 Step 22/24 : LABEL arch=arm64 06:19:35 ---> Running in 27ce3175250d 06:19:36 Removing intermediate container 27ce3175250d 06:19:36 ---> 28a6fc3b9302 06:19:36 Step 23/24 : LABEL git_sha=b9424ee36f13deccfd90190bf56ac595345a6bfa 06:19:36 ---> Running in 312229a605f9 06:19:36 Removing intermediate container 312229a605f9 06:19:36 ---> 472037f8d69d 06:19:36 Step 24/24 : LABEL version=0.0.0 06:19:36 ---> Running in 101100c6a52f 06:19:37 Removing intermediate container 101100c6a52f 06:19:37 ---> 2985d54de57c 06:19:37 [Warning] One or more build-args [ARCH] were not consumed 06:19:37 Successfully built 2985d54de57c 06:19:37 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:19:39 provisioning config files... 06:19:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config7370801180921234985tmp [Pipeline] { [Pipeline] sh 06:19:39 + set +x 06:19:39 + curl -s https://codecov.io/bash 06:19:39 + bash -s -- 06:19:40 06:19:40 _____ _ 06:19:40 / ____| | | 06:19:40 | | ___ __| | ___ ___ _____ __ 06:19:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:19:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:19:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:19:40 Bash-20201231-23d4836 06:19:40 06:19:40 06:19:40 ==> git version 2.24.3 found 06:19:40 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:19:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:19:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:19:40 ==> Jenkins CI detected. 06:19:40 project root: . 06:19:40 --> token set from env 06:19:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:19:40 ==> Running gcov in . (disable via -X gcov) 06:19:40 ==> Python coveragepy not found 06:19:40 ==> Searching for coverage reports in: 06:19:40 + . 06:19:40 -> Found 1 reports 06:19:40 ==> Detecting git/mercurial file structure 06:19:40 ==> Reading reports 06:19:40 + ./coverage.out bytes=137952 06:19:40 ==> Appending adjustments 06:19:40 https://docs.codecov.io/docs/fixing-reports 06:19:40 + Found adjustments 06:19:40 ==> Gzipping contents 06:19:40 24K /tmp/codecov.vAS1jM.gz 06:19:40 ==> Uploading reports 06:19:40 url: https://codecov.io 06:19:40 query: branch=PR-728&commit=b9424ee36f13deccfd90190bf56ac595345a6bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 06:19:40 -> Pinging Codecov 06:19:40 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-728&commit=b9424ee36f13deccfd90190bf56ac595345a6bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 06:19:41 -> Uploading to 06:19:41 https://storage.googleapis.com/codecov/v4/raw/2021-01-14/7E55EF52A471D76F132DFD9A03CDDE97/b9424ee36f13deccfd90190bf56ac595345a6bfa/ecf3e05f-2ea3-4836-a4d6-0d01869e1547.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210114T061940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ba91c0500b0660f378642d6706fc05d6fe8b18e5a5a13432a18b11c984d499dd 06:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:41 Dload Upload Total Spent Left Speed 06:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22071 0 0 100 22071 0 48753 --:--:-- --:--:-- --:--:-- 48829 06:19:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b9424ee36f13deccfd90190bf56ac595345a6bfa [Pipeline] } 06:19:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:19:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:19:45 ---> package-listing.sh 06:19:45 ++ facter osfamily 06:19:45 ++ tr '[:upper:]' '[:lower:]' 06:19:45 + OS_FAMILY=redhat 06:19:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 06:19:45 + START_PACKAGES=/tmp/packages_start.txt 06:19:45 + END_PACKAGES=/tmp/packages_end.txt 06:19:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:19:45 + PACKAGES=/tmp/packages_start.txt 06:19:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 06:19:45 + PACKAGES=/tmp/packages_end.txt 06:19:45 + case "${OS_FAMILY}" in 06:19:45 + rpm -qa 06:19:45 + sort 06:19:50 + '[' -f /tmp/packages_start.txt ']' 06:19:50 + '[' -f /tmp/packages_end.txt ']' 06:19:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:19:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 06:19:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 06:19:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo 06:19:50 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:19:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:19:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:51 06:19:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:19:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:19:51 alpine: Pulling from edgex-lftools-log-publisher 06:19:51 df20fa9351a1: Pulling fs layer 06:19:51 36b3adc4ff6f: Pulling fs layer 06:19:51 8ad3a11d3b57: Pulling fs layer 06:19:51 46f8f816bc3b: Pulling fs layer 06:19:51 93b61091891f: Pulling fs layer 06:19:51 93b9cdb0e59b: Pulling fs layer 06:19:51 5e14af77c1be: Pulling fs layer 06:19:51 01666e4c0597: Pulling fs layer 06:19:51 aa168da1d23b: Pulling fs layer 06:19:51 46f8f816bc3b: Waiting 06:19:51 93b61091891f: Waiting 06:19:51 93b9cdb0e59b: Waiting 06:19:51 5e14af77c1be: Waiting 06:19:51 01666e4c0597: Waiting 06:19:51 aa168da1d23b: Waiting 06:19:51 36b3adc4ff6f: Verifying Checksum 06:19:51 36b3adc4ff6f: Download complete 06:19:52 46f8f816bc3b: Verifying Checksum 06:19:52 46f8f816bc3b: Download complete 06:19:52 df20fa9351a1: Verifying Checksum 06:19:52 df20fa9351a1: Download complete 06:19:52 93b9cdb0e59b: Verifying Checksum 06:19:52 93b9cdb0e59b: Download complete 06:19:52 5e14af77c1be: Verifying Checksum 06:19:52 5e14af77c1be: Download complete 06:19:52 93b61091891f: Download complete 06:19:52 01666e4c0597: Verifying Checksum 06:19:52 01666e4c0597: Download complete 06:19:52 df20fa9351a1: Pull complete 06:19:52 36b3adc4ff6f: Pull complete 06:19:52 8ad3a11d3b57: Verifying Checksum 06:19:52 8ad3a11d3b57: Download complete 06:19:53 8ad3a11d3b57: Pull complete 06:19:54 46f8f816bc3b: Pull complete 06:19:54 93b61091891f: Pull complete 06:19:54 aa168da1d23b: Verifying Checksum 06:19:54 aa168da1d23b: Download complete 06:19:55 93b9cdb0e59b: Pull complete 06:19:55 5e14af77c1be: Pull complete 06:19:55 01666e4c0597: Pull complete 06:20:01 aa168da1d23b: Pull complete 06:20:01 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:20:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:20:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:20:02 prd-centos7-docker-4c-2g-20161 does not seem to be running inside a container 06:20:02 $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:20:06 $ docker top 2a883b955c2841d9d104dadb3f16f25079819b1a2523ea09efc0079131ff9f90 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:07 + touch /tmp/pre-build-complete [Pipeline] sh 06:20:07 + mkdir -p /var/log/sa [Pipeline] sh 06:20:07 + ls /var/log/sa-host 06:20:07 + sadf -c /var/log/sa-host/sa14 06:20:07 file_magic: OK 06:20:07 HZ: Using current value: 100 06:20:07 file_header: OK 06:20:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:20:07 Statistics: 06:20:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:20:07 File successfully converted to sysstat format version 12.2.1 06:20:07 + sadf -c /var/log/sa-host/sa23 06:20:07 file_magic: OK 06:20:07 HZ: Using current value: 100 06:20:07 file_header: OK 06:20:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:20:07 Statistics: 06:20:07 Hnuu...uuuununununu... 06:20:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:08 provisioning config files... 06:20:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3114151575075829143tmp [Pipeline] { [Pipeline] echo 06:20:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:20:09 ---> create-netrc.sh [Pipeline] } 06:20:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:20:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:20:09 ---> python-tools-install.sh [Pipeline] echo 06:20:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:20:09 ---> sudo-logs.sh 06:20:09 Archiving 'sudo' log.. [Pipeline] echo 06:20:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:20:10 ---> job-cost.sh 06:20:10 lf-activate-venv: SKIPPING 06:20:10 INFO: No Stack... 06:20:11 INFO: Retrieving Pricing Info for: v1-standard-2 06:20:11 INFO: Archiving Costs [Pipeline] echo 06:20:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:20:12 ---> logs-deploy.sh 06:20:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/1 06:20:12 INFO: archiving workspace using pattern(s): 06:20:15 Archives upload complete. 06:20:15 INFO: archiving logs to Nexus 06:20:16 ---> uname -a: 06:20:16 Linux prd-centos7-docker-4c-2g-20161.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:20:16 06:20:16 06:20:16 ---> lscpu: 06:20:16 Architecture: x86_64 06:20:16 CPU op-mode(s): 32-bit, 64-bit 06:20:16 Byte Order: Little Endian 06:20:16 Address sizes: 40 bits physical, 48 bits virtual 06:20:16 CPU(s): 4 06:20:16 On-line CPU(s) list: 0-3 06:20:16 Thread(s) per core: 1 06:20:16 Core(s) per socket: 1 06:20:16 Socket(s): 4 06:20:16 NUMA node(s): 1 06:20:16 Vendor ID: GenuineIntel 06:20:16 CPU family: 6 06:20:16 Model: 44 06:20:16 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:20:16 Stepping: 1 06:20:16 CPU MHz: 2933.438 06:20:16 BogoMIPS: 5866.87 06:20:16 Virtualization: VT-x 06:20:16 Hypervisor vendor: KVM 06:20:16 Virtualization type: full 06:20:16 L1d cache: 128 KiB 06:20:16 L1i cache: 128 KiB 06:20:16 L2 cache: 16 MiB 06:20:16 L3 cache: 64 MiB 06:20:16 NUMA node0 CPU(s): 0-3 06:20:16 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:20:16 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:20:16 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:20:16 Vulnerability Meltdown: Mitigation; PTI 06:20:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:20:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:20:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:20:16 Vulnerability Srbds: Not affected 06:20:16 Vulnerability Tsx async abort: Not affected 06:20:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:20:16 06:20:16 06:20:16 ---> nproc: 06:20:16 4 06:20:16 06:20:16 06:20:16 ---> df -h: 06:20:16 Filesystem Size Used Available Use% Mounted on 06:20:16 overlay 50.0G 7.3G 42.7G 15% / 06:20:16 tmpfs 64.0M 0 64.0M 0% /dev 06:20:16 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:20:16 shm 64.0M 0 64.0M 0% /dev/shm 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:20:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728 06:20:16 06:20:16 06:20:16 ---> free -m: 06:20:16 total used free shared buff/cache available 06:20:16 Mem: 1837 718 77 0 1041 1014 06:20:16 Swap: 1023 1 1022 06:20:16 06:20:16 06:20:16 ---> ip addr: 06:20:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:20:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:20:16 inet 127.0.0.1/8 scope host lo 06:20:16 valid_lft forever preferred_lft forever 06:20:16 inet6 ::1/128 scope host 06:20:16 valid_lft forever preferred_lft forever 06:20:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:20:16 link/ether fa:16:3e:b5:af:13 brd ff:ff:ff:ff:ff:ff 06:20:16 inet 10.30.122.253/23 brd 10.30.123.255 scope global dynamic eth0 06:20:16 valid_lft 85908sec preferred_lft 85908sec 06:20:16 inet6 fe80::f816:3eff:feb5:af13/64 scope link 06:20:16 valid_lft forever preferred_lft forever 06:20:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:20:16 link/ether 02:42:65:d1:86:a9 brd ff:ff:ff:ff:ff:ff 06:20:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:20:16 valid_lft forever preferred_lft forever 06:20:16 inet6 fe80::42:65ff:fed1:86a9/64 scope link 06:20:16 valid_lft forever preferred_lft forever 06:20:16 06:20:16 06:20:16 ---> sar -b -r -n DEV: 06:20:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/14/21 _x86_64_ (4 CPU) 06:20:16 06:20:16 06:11:51 LINUX RESTART (4 CPU) 06:20:16 06:20:16 06:13:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:20:16 06:14:01 7.72 0.53 7.19 0.00 41.42 240.57 0.00 06:20:16 06:15:02 0.40 0.00 0.40 0.00 0.00 6.71 0.00 06:20:16 06:16:01 0.39 0.00 0.39 0.00 0.00 4.52 0.00 06:20:16 06:17:01 0.45 0.00 0.45 0.00 0.00 6.31 0.00 06:20:16 06:18:01 0.20 0.00 0.20 0.00 0.00 3.51 0.00 06:20:16 06:19:01 0.32 0.00 0.32 0.00 0.00 3.61 0.00 06:20:16 06:20:01 106.51 64.00 42.51 0.00 4741.94 15547.02 0.00 06:20:16 Average: 16.62 9.25 7.37 0.00 685.29 2265.34 0.00 06:20:16 06:20:16 06:13:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:20:16 06:14:01 166972 0 598360 31.80 2620 1113592 1112888 37.98 415840 1099800 20 06:20:16 06:15:02 171148 0 594176 31.58 2620 1113600 1076476 36.74 414120 1097584 20 06:20:16 06:16:01 167084 0 598236 31.79 2620 1113604 1076476 36.74 434120 1081560 8 06:20:16 06:17:01 167224 0 598096 31.79 2620 1113604 1076512 36.74 433060 1082968 20 06:20:16 06:18:01 166072 0 599240 31.85 2620 1113612 1076404 36.74 440776 1076268 12 06:20:16 06:19:01 166840 0 598468 31.81 2620 1113616 1076332 36.73 446728 1070028 8 06:20:16 06:20:01 238196 0 655648 34.85 2620 985080 1094660 37.36 423968 972952 88188 06:20:16 Average: 177648 0 606032 32.21 2620 1095244 1084250 37.00 429802 1068737 12611 06:20:16 06:20:16 06:13:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:20:16 06:14:01 eth0 10.89 6.81 9.96 2.56 0.00 0.00 0.00 0.00 06:20:16 06:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:15:02 eth0 1.22 0.32 0.34 0.17 0.00 0.00 0.00 0.00 06:20:16 06:15:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:15:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:16:01 eth0 1.71 0.32 0.38 0.24 0.00 0.00 0.00 0.00 06:20:16 06:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:17:01 eth0 1.08 0.80 0.62 0.42 0.00 0.00 0.00 0.00 06:20:16 06:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:18:01 eth0 0.32 0.20 0.14 0.07 0.00 0.00 0.00 0.00 06:20:16 06:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:19:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:20:16 06:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:20:01 eth0 206.44 177.65 2171.04 18.88 0.00 0.00 0.00 0.00 06:20:16 06:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 Average: eth0 31.77 26.67 312.68 3.20 0.00 0.00 0.00 0.00 06:20:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:20:16 06:20:16 06:20:16 ---> sar -P ALL: 06:20:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/14/21 _x86_64_ (4 CPU) 06:20:16 06:20:16 06:11:51 LINUX RESTART (4 CPU) 06:20:16 06:20:16 06:13:01 CPU %user %nice %system %iowait %steal %idle 06:20:16 06:14:01 all 0.59 0.00 0.23 0.15 0.00 99.03 06:20:16 06:14:01 0 0.25 0.00 0.20 0.00 0.00 99.55 06:20:16 06:14:01 1 0.35 0.00 0.27 0.08 0.00 99.30 06:20:16 06:14:01 2 0.77 0.00 0.32 0.53 0.00 98.38 06:20:16 06:14:01 3 0.98 0.00 0.12 0.00 0.00 98.90 06:20:16 06:15:02 all 0.10 0.00 0.05 0.00 0.00 99.84 06:20:16 06:15:02 0 0.03 0.00 0.05 0.00 0.00 99.92 06:20:16 06:15:02 1 0.05 0.00 0.05 0.00 0.00 99.90 06:20:16 06:15:02 2 0.30 0.00 0.08 0.00 0.02 99.60 06:20:16 06:15:02 3 0.03 0.00 0.03 0.00 0.00 99.93 06:20:16 06:16:01 all 0.19 0.00 0.22 0.00 0.00 99.58 06:20:16 06:16:01 0 0.03 0.00 0.12 0.00 0.00 99.85 06:20:16 06:16:01 1 0.15 0.00 0.30 0.00 0.00 99.54 06:20:16 06:16:01 2 0.47 0.00 0.25 0.00 0.00 99.27 06:20:16 06:16:01 3 0.10 0.00 0.22 0.00 0.02 99.66 06:20:16 06:17:01 all 0.18 0.00 0.04 0.00 0.00 99.79 06:20:16 06:17:01 0 0.08 0.00 0.02 0.00 0.00 99.90 06:20:16 06:17:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:20:16 06:17:01 2 0.52 0.00 0.07 0.00 0.00 99.42 06:20:16 06:17:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:20:16 06:18:01 all 0.12 0.00 0.06 0.00 0.00 99.82 06:20:16 06:18:01 0 0.03 0.00 0.05 0.00 0.00 99.92 06:20:16 06:18:01 1 0.05 0.00 0.07 0.00 0.02 99.87 06:20:16 06:18:01 2 0.33 0.00 0.05 0.00 0.00 99.62 06:20:16 06:18:01 3 0.05 0.00 0.07 0.00 0.00 99.88 06:20:16 06:19:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:20:16 06:19:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:20:16 06:19:01 1 0.02 0.00 0.07 0.00 0.00 99.92 06:20:16 06:19:01 2 0.53 0.00 0.02 0.00 0.00 99.45 06:20:16 06:19:01 3 0.03 0.00 0.05 0.00 0.02 99.90 06:20:16 06:20:01 all 5.90 0.00 3.86 1.49 0.04 88.71 06:20:16 06:20:01 0 5.52 0.00 4.14 1.32 0.03 88.99 06:20:16 06:20:01 1 6.00 0.00 3.45 0.92 0.05 89.57 06:20:16 06:20:01 2 6.34 0.00 3.97 3.06 0.03 86.59 06:20:16 06:20:01 3 5.71 0.00 3.89 0.66 0.03 89.71 06:20:16 Average: all 1.03 0.00 0.64 0.23 0.01 98.09 06:20:16 Average: 0 0.84 0.00 0.65 0.19 0.00 98.31 06:20:16 Average: 1 0.95 0.00 0.60 0.14 0.01 98.30 06:20:16 Average: 2 1.32 0.00 0.68 0.51 0.01 97.49 06:20:16 Average: 3 0.99 0.00 0.63 0.09 0.01 98.28 06:20:16 06:20:16 06:20:16