Pull request #790 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 465e2659f57f35e6c4c111258cc80f8afbaf5fbe+24bd13d414fb94824a4c7d4031bbe24e258abd9f (92968139c3e4253edf25acd3f20f4fe380ea88ee) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26897 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [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-790 # 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 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 465e2659f57f35e6c4c111258cc80f8afbaf5fbe Merge succeeded, producing 465e2659f57f35e6c4c111258cc80f8afbaf5fbe Checking out Revision 465e2659f57f35e6c4c111258cc80f8afbaf5fbe (PR-790) > 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/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # 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 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 Commit message: "refactor: update logging message of simpledriver" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 50f1ddb1a142587254fdc2aadec93e66e2ce82e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:36:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:36:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:36:36 ========================================================= 03:36:36 EdgeX Global Pipelines Version Info 03:36:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:36:38 ------------------- 03:36:38 stable info: 03:36:38 ------------------- 03:36:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:36:38 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 03:36:38 Message: update stable to v1.0.179 03:36:39 ------------------- 03:36:39 experimental info: 03:36:39 ------------------- 03:36:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:36:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 03:36:39 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:36:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:36:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:36:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-790 [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-790 [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-790 [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 465e2659f57f35e6c4c111258cc80f8afbaf5fbe [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 465e265 [Pipeline] echo 03:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:36:43 provisioning config files... 03:36:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config7969907891685441805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:43 ---> docker-login.sh 03:36:43 nexus3.edgexfoundry.org:10001 03:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:44 Configure a credential helper to remove this warning. See 03:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:44 03:36:44 Login Succeeded 03:36:44 nexus3.edgexfoundry.org:10002 03:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:44 Configure a credential helper to remove this warning. See 03:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:44 03:36:44 Login Succeeded 03:36:44 nexus3.edgexfoundry.org:10003 03:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:44 Configure a credential helper to remove this warning. See 03:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:44 03:36:44 Login Succeeded 03:36:44 nexus3.edgexfoundry.org:10004 03:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:44 Configure a credential helper to remove this warning. See 03:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:44 03:36:44 Login Succeeded 03:36:44 docker.io 03:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:36:45 Configure a credential helper to remove this warning. See 03:36:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:36:45 03:36:45 Login Succeeded 03:36:45 ---> docker-login.sh ends [Pipeline] } 03:36:45 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 03:36:45 + git log --format=format:%s -1 465e2659f57f35e6c4c111258cc80f8afbaf5fbe [Pipeline] echo 03:36:46 GIT_COMMIT: 465e2659f57f35e6c4c111258cc80f8afbaf5fbe, Commit Message: refactor: update logging message of simpledriver [Pipeline] echo 03:36:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:36:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:47 03:36:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:36:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:47 latest: Pulling from edgex-devops/git-semver 03:36:47 31603596830f: Pulling fs layer 03:36:47 2a8b12db71e7: Pulling fs layer 03:36:47 6ca5941a6612: Pulling fs layer 03:36:47 ecc8261a40a4: Pulling fs layer 03:36:47 ecc8261a40a4: Waiting 03:36:47 2a8b12db71e7: Verifying Checksum 03:36:47 2a8b12db71e7: Download complete 03:36:47 31603596830f: Verifying Checksum 03:36:47 31603596830f: Download complete 03:36:47 6ca5941a6612: Verifying Checksum 03:36:47 6ca5941a6612: Download complete 03:36:47 ecc8261a40a4: Download complete 03:36:48 31603596830f: Pull complete 03:36:48 2a8b12db71e7: Pull complete 03:36:49 6ca5941a6612: Pull complete 03:36:49 ecc8261a40a4: Pull complete 03:36:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:36:49 prd-centos7-docker-4c-2g-26897 does not seem to be running inside a container 03:36:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-790 -v /w/workspace/dgexfoundry_device-sdk-go_PR-790:/w/workspace/dgexfoundry_device-sdk-go_PR-790:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-790@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:36:52 $ docker top 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:52 [ssh-agent] Looking for ssh-agent implementation... 03:36:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:52 $ docker exec 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff ssh-agent 03:36:52 SSH_AUTH_SOCK=/tmp/ssh-nht7arf2NFil/agent.12 03:36:52 SSH_AGENT_PID=17 03:36:52 Running ssh-add (command line suppressed) 03:36:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_4738731330463040802.key (/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_4738731330463040802.key) 03:36:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:53 + git tag --points-at HEAD [Pipeline] } 03:36:53 $ docker exec --env ******** --env ******** 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff ssh-agent -k 03:36:53 unset SSH_AUTH_SOCK; 03:36:53 unset SSH_AGENT_PID; 03:36:53 echo Agent pid 17 killed; 03:36:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:36:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:53 [ssh-agent] Looking for ssh-agent implementation... 03:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:53 $ docker exec 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff ssh-agent 03:36:53 SSH_AUTH_SOCK=/tmp/ssh-RPF4zwnDLPOU/agent.46 03:36:53 SSH_AGENT_PID=51 03:36:53 Running ssh-add (command line suppressed) 03:36:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_7238062623393464871.key (/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/private_key_7238062623393464871.key) 03:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:54 + git semver init 03:36:54 # -> Open(): unable to determine branch for HEAD 03:36:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-790/.git 03:36:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-790 03:36:54 # $SEMVER_REMOTE_NAME = origin 03:36:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:36:54 # $SEMVER_USER_NAME = edgex-jenkins 03:36:54 # $SEMVER_BRANCH = PR-790 03:36:54 # $SEMVER_TEMP = /tmp/semver-094747392 03:36:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:36:55 # '/tmp/semver-094747392' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-790/.semver' 03:36:55 # -> Force: false 03:36:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-790/.semver [Pipeline] } 03:36:55 $ docker exec --env ******** --env ******** 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff ssh-agent -k 03:36:55 unset SSH_AUTH_SOCK; 03:36:55 unset SSH_AGENT_PID; 03:36:55 echo Agent pid 51 killed; 03:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:56 + git semver [Pipeline] } 03:36:56 $ docker stop --time=1 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff 03:36:57 $ docker rm -f 3532c4b177bc7deaff765067ca639d52db22f819b74c795723de2ff3b141b1ff [Pipeline] // withDockerContainer [Pipeline] sh 03:36:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:36:58 Stashed 1 file(s) [Pipeline] echo 03:36:58 [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 03:37:13 Still waiting to schedule task 03:37:13 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26897’ 03:37:13 Still waiting to schedule task 03:37:13 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 03:38:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26898 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [Pipeline] { [Pipeline] ws 03:38:53 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 03:38:59 using credential edgex-jenkins-ssh 03:38:59 Cloning the remote Git repository 03:38:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:38:59 > git init /w/workspace/device-sdk-go/2 # timeout=10 03:38:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:38:59 > git --version # timeout=10 03:38:59 > git --version # 'git version 2.17.1' 03:38:59 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:01 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:39:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:39:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:39:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:39:00 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:39:01 > git config core.sparsecheckout # timeout=10 03:39:01 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 03:39:01 Merge succeeded, producing 465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:39:01 Checking out Revision 465e2659f57f35e6c4c111258cc80f8afbaf5fbe (PR-790) 03:39:01 > git remote # timeout=10 03:39:01 > git config --get remote.origin.url # timeout=10 03:39:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:01 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 03:39:01 > git rev-parse HEAD^{commit} # timeout=10 03:39:01 > git config core.sparsecheckout # timeout=10 03:39:01 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 03:39:06 Commit message: "refactor: update logging message of simpledriver" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:07 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:39:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:39:08 + + sudo service docker restart 03:39:08 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:39:11 provisioning config files... 03:39:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5510378441128575738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:11 ---> docker-login.sh 03:39:11 nexus3.edgexfoundry.org:10001 03:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:13 Configure a credential helper to remove this warning. See 03:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:13 03:39:13 Login Succeeded 03:39:13 nexus3.edgexfoundry.org:10002 03:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:13 Configure a credential helper to remove this warning. See 03:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:13 03:39:13 Login Succeeded 03:39:13 nexus3.edgexfoundry.org:10003 03:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:14 Configure a credential helper to remove this warning. See 03:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:14 03:39:14 Login Succeeded 03:39:14 nexus3.edgexfoundry.org:10004 03:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:14 Configure a credential helper to remove this warning. See 03:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:14 03:39:14 Login Succeeded 03:39:14 docker.io 03:39:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:15 Configure a credential helper to remove this warning. See 03:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:15 03:39:15 Login Succeeded 03:39:15 ---> docker-login.sh ends [Pipeline] } 03:39:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:39:16 ========================================================= 03:39:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:39:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:39:16 + 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 . 03:39:17 Sending build context to Docker daemon 2.41MB 03:39:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:39:17 Step 2/8 : FROM ${BASE} 03:39:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:39:17 5f621e34cdf4: Pulling fs layer 03:39:17 a4357932f1b6: Pulling fs layer 03:39:17 18c013af1878: Pulling fs layer 03:39:17 00ac8860ef70: Pulling fs layer 03:39:17 63d7cb157983: Pulling fs layer 03:39:17 b116817d02f9: Pulling fs layer 03:39:17 745a02a5169b: Pulling fs layer 03:39:17 00ac8860ef70: Waiting 03:39:17 63d7cb157983: Waiting 03:39:17 b116817d02f9: Waiting 03:39:17 745a02a5169b: Waiting 03:39:17 18c013af1878: Verifying Checksum 03:39:17 18c013af1878: Download complete 03:39:17 a4357932f1b6: Verifying Checksum 03:39:17 a4357932f1b6: Download complete 03:39:17 63d7cb157983: Download complete 03:39:17 b116817d02f9: Verifying Checksum 03:39:17 5f621e34cdf4: Verifying Checksum 03:39:17 5f621e34cdf4: Download complete 03:39:18 5f621e34cdf4: Pull complete 03:39:18 a4357932f1b6: Pull complete 03:39:18 18c013af1878: Pull complete 03:39:19 745a02a5169b: Verifying Checksum 03:39:19 745a02a5169b: Download complete 03:39:21 00ac8860ef70: Verifying Checksum 03:39:21 00ac8860ef70: Download complete 03:39:31 00ac8860ef70: Pull complete 03:39:31 63d7cb157983: Pull complete 03:39:32 b116817d02f9: Pull complete 03:39:36 745a02a5169b: Pull complete 03:39:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:39:36 ---> b7e6874047d6 03:39:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:37 Running on prd-centos7-docker-4c-2g-26899 in /w/workspace/dgexfoundry_device-sdk-go_PR-790 [Pipeline] { [Pipeline] ws 03:39:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 03:39:39 ---> Running in 92cf7ea52378 03:39:39 Removing intermediate container 92cf7ea52378 03:39:39 ---> eaea3c0d4c16 03:39:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:39 ---> Running in 20c3e1940b3e 03:39:40 using credential edgex-jenkins-ssh 03:39:40 Cloning the remote Git repository 03:39:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:39:40 > git init /w/workspace/device-sdk-go/2 # timeout=10 03:39:41 Removing intermediate container 20c3e1940b3e 03:39:41 ---> 09ee0600fd54 03:39:41 Step 5/8 : RUN apk add --update --no-cache make git 03:39:41 ---> Running in 9475b82c1076 03:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:39:40 > git --version # timeout=10 03:39:40 > git --version # 'git version 2.24.3' 03:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:39:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:39:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/790/head:refs/remotes/origin/PR-790 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:39:41 Merging remotes/origin/master commit 24bd13d414fb94824a4c7d4031bbe24e258abd9f into PR head commit 465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:39:41 Merge succeeded, producing 465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:39:41 Checking out Revision 465e2659f57f35e6c4c111258cc80f8afbaf5fbe (PR-790) 03:39:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:39:41 > git config core.sparsecheckout # timeout=10 03:39:41 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 03:39:41 > git remote # timeout=10 03:39:41 > git config --get remote.origin.url # timeout=10 03:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:41 > git merge 24bd13d414fb94824a4c7d4031bbe24e258abd9f # timeout=10 03:39:41 > git rev-parse HEAD^{commit} # timeout=10 03:39:41 > git config core.sparsecheckout # timeout=10 03:39:41 > git checkout -f 465e2659f57f35e6c4c111258cc80f8afbaf5fbe # timeout=10 03:39:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:39:44 OK: 142 MiB in 39 packages 03:39:45 Removing intermediate container 9475b82c1076 03:39:45 ---> 96392fd873ec 03:39:45 Step 6/8 : WORKDIR /device-sdk-go 03:39:45 ---> Running in 81350d57af90 03:39:45 Commit message: "refactor: update logging message of simpledriver" [Pipeline] withEnv [Pipeline] { 03:39:46 Removing intermediate container 81350d57af90 03:39:46 ---> 56f4958b4289 03:39:46 Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:39:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:39:47 + sudo service docker restart 03:39:47 + true 03:39:47 Redirecting to /bin/systemctl restart docker.service 03:39:47 ---> 83b6eb7131e7 03:39:47 Step 8/8 : RUN go mod download 03:39:47 ---> Running in 6b65a90ae827 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:39:48 provisioning config files... 03:39:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3285569839890605545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:49 ---> docker-login.sh 03:39:49 nexus3.edgexfoundry.org:10001 03:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:49 Configure a credential helper to remove this warning. See 03:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:49 03:39:49 Login Succeeded 03:39:49 nexus3.edgexfoundry.org:10002 03:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:49 Configure a credential helper to remove this warning. See 03:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:49 03:39:49 Login Succeeded 03:39:49 nexus3.edgexfoundry.org:10003 03:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:50 Configure a credential helper to remove this warning. See 03:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:50 03:39:50 Login Succeeded 03:39:50 nexus3.edgexfoundry.org:10004 03:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:50 Configure a credential helper to remove this warning. See 03:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:50 03:39:50 Login Succeeded 03:39:50 docker.io 03:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:50 Configure a credential helper to remove this warning. See 03:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:50 03:39:50 Login Succeeded 03:39:50 ---> docker-login.sh ends [Pipeline] } 03:39:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:39:50 ========================================================= 03:39:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:39:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:39:51 + 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 . 03:39:51 Sending build context to Docker daemon 2.411MB 03:39:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:39:51 Step 2/8 : FROM ${BASE} 03:39:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:39:51 188c0c94c7c5: Pulling fs layer 03:39:51 0ef7d3d256c8: Pulling fs layer 03:39:51 de9db76c5a1d: Pulling fs layer 03:39:51 bca2f99d35d6: Pulling fs layer 03:39:51 93359f2a8cfa: Pulling fs layer 03:39:51 7c6f9722023f: Pulling fs layer 03:39:51 a35cf1a2eb13: Pulling fs layer 03:39:51 93359f2a8cfa: Waiting 03:39:51 7c6f9722023f: Waiting 03:39:51 a35cf1a2eb13: Waiting 03:39:51 bca2f99d35d6: Waiting 03:39:51 de9db76c5a1d: Download complete 03:39:51 0ef7d3d256c8: Verifying Checksum 03:39:51 0ef7d3d256c8: Download complete 03:39:51 93359f2a8cfa: Verifying Checksum 03:39:51 93359f2a8cfa: Download complete 03:39:51 188c0c94c7c5: Verifying Checksum 03:39:51 188c0c94c7c5: Download complete 03:39:51 7c6f9722023f: Verifying Checksum 03:39:51 7c6f9722023f: Download complete 03:39:51 188c0c94c7c5: Pull complete 03:39:52 0ef7d3d256c8: Pull complete 03:39:52 de9db76c5a1d: Pull complete 03:39:53 a35cf1a2eb13: Verifying Checksum 03:39:53 a35cf1a2eb13: Download complete 03:39:54 bca2f99d35d6: Verifying Checksum 03:39:54 bca2f99d35d6: Download complete 03:39:59 bca2f99d35d6: Pull complete 03:39:59 93359f2a8cfa: Pull complete 03:39:59 7c6f9722023f: Pull complete 03:40:07 a35cf1a2eb13: Pull complete 03:40:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:40:07 ---> a62c8e92a672 03:40:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:40:07 ---> Running in 718a1a8be9d7 03:40:07 Removing intermediate container 718a1a8be9d7 03:40:07 ---> 26520576c181 03:40:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:40:07 ---> Running in 8dc6421428e5 03:40:09 Removing intermediate container 8dc6421428e5 03:40:09 ---> cedf72e0a9ae 03:40:09 Step 5/8 : RUN apk add --update --no-cache make git 03:40:09 ---> Running in 7457f861d511 03:40:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:40:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:40:11 OK: 166 MiB in 39 packages 03:40:11 Removing intermediate container 7457f861d511 03:40:11 ---> 0c8c2a0ad28b 03:40:11 Step 6/8 : WORKDIR /device-sdk-go 03:40:11 ---> Running in a1f752f78d40 03:40:11 Removing intermediate container a1f752f78d40 03:40:11 ---> 2413b4312099 03:40:11 Step 7/8 : COPY . . 03:40:13 ---> 0e52fa015c50 03:40:13 Step 8/8 : RUN go mod download 03:40:13 ---> Running in fab31acb613a 03:40:14 Removing intermediate container 6b65a90ae827 03:40:14 ---> e2acfc9ffc95 03:40:14 Successfully built e2acfc9ffc95 03:40:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:40:14 + docker inspect -f . ci-base-image-arm64 03:40:14 . [Pipeline] withDockerContainer 03:40:14 prd-ubuntu18.04-docker-arm64-4c-16g-26898 does not seem to be running inside a container 03:40:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:16 $ docker top a62937b034d481d5dbbc87b21dcb54dfc3e92797a3d07043d0a00402b6a791bb -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:17 + go version 03:40:17 go version go1.15.5 linux/arm64 [Pipeline] } 03:40:17 $ docker stop --time=1 a62937b034d481d5dbbc87b21dcb54dfc3e92797a3d07043d0a00402b6a791bb 03:40:19 $ docker rm -f a62937b034d481d5dbbc87b21dcb54dfc3e92797a3d07043d0a00402b6a791bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:40:20 + docker inspect -f . ci-base-image-arm64 03:40:20 . [Pipeline] withDockerContainer 03:40:20 prd-ubuntu18.04-docker-arm64-4c-16g-26898 does not seem to be running inside a container 03:40:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:22 $ docker top bb4f5fbeb1170182b0d0b20edb91413d0685c7e8a273bdf72fcbb682414cf55a -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:23 + make test 03:40:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:40:35 Removing intermediate container fab31acb613a 03:40:35 ---> 7d6a7e857a98 03:40:35 Successfully built 7d6a7e857a98 03:40:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:40:35 + docker inspect -f . ci-base-image-x86_64 03:40:36 . [Pipeline] withDockerContainer 03:40:36 prd-centos7-docker-4c-2g-26899 does not seem to be running inside a container 03:40:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:40:37 $ docker top 4968ce5dc1fba20ae84dd750c7caca045d7bb7d9c17774cabecae486d185726a -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:37 + go version 03:40:37 go version go1.15.5 linux/amd64 [Pipeline] } 03:40:37 $ docker stop --time=1 4968ce5dc1fba20ae84dd750c7caca045d7bb7d9c17774cabecae486d185726a 03:40:39 $ docker rm -f 4968ce5dc1fba20ae84dd750c7caca045d7bb7d9c17774cabecae486d185726a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:40:39 + docker inspect -f . ci-base-image-x86_64 03:40:39 . [Pipeline] withDockerContainer 03:40:40 prd-centos7-docker-4c-2g-26899 does not seem to be running inside a container 03:40:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:40:40 $ docker top 3443cf903e0098a1264f0096ca9640b7edf61f3f660d841b31cf98629a20199e -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:41 + make test 03:40:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:40:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:40:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:41:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:41:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:41:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:41:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 25.5% of statements 03:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:41:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.122s coverage: 25.5% of statements 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 10.1% of statements 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.048s coverage: 12.5% of statements 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 49.2% of statements 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.064s coverage: 81.3% of statements 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 24.8% of statements 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.418s coverage: 83.5% of statements 03:41:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.3% of statements 03:41:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:41:38 GO111MODULE=on go vet ./... 03:41:45 gofmt -l . 03:41:45 [ "`gofmt -l .`" = "" ] 03:41:45 ./bin/test-attribution-txt.sh 03:41:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:41:46 $ docker stop --time=1 3443cf903e0098a1264f0096ca9640b7edf61f3f660d841b31cf98629a20199e 03:41:48 $ docker rm -f 3443cf903e0098a1264f0096ca9640b7edf61f3f660d841b31cf98629a20199e [Pipeline] // withDockerContainer [Pipeline] sh 03:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:41:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:41:52 + ls -al . 03:41:52 total 184 03:41:52 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 19 03:41 . 03:41:52 drwxrwxr-x. 4 jenkins jenkins 28 Feb 19 03:39 .. 03:41:52 drwxrwxr-x. 2 jenkins jenkins 64 Feb 19 03:39 bin 03:41:52 -rw-r--r--. 1 jenkins jenkins 101757 Feb 19 03:41 coverage.out 03:41:52 -rw-rw-r--. 1 jenkins jenkins 949 Feb 19 03:39 Dockerfile.build 03:41:52 -rw-rw-r--. 1 jenkins jenkins 140 Feb 19 03:39 .dockerignore 03:41:52 drwxrwxr-x. 4 jenkins jenkins 48 Feb 19 03:39 example 03:41:52 drwxrwxr-x. 8 jenkins jenkins 179 Feb 19 03:39 .git 03:41:52 drwxrwxr-x. 2 jenkins jenkins 103 Feb 19 03:39 .github 03:41:52 -rw-rw-r--. 1 jenkins jenkins 138 Feb 19 03:39 .gitignore 03:41:52 -rw-r--r--. 1 jenkins jenkins 515 Feb 19 03:41 go.mod 03:41:52 -rw-r--r--. 1 jenkins jenkins 19062 Feb 19 03:41 go.sum 03:41:52 drwxrwxr-x. 13 jenkins jenkins 183 Feb 19 03:39 internal 03:41:52 -rw-rw-r--. 1 jenkins jenkins 901 Feb 19 03:39 Jenkinsfile 03:41:52 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 19 03:39 LICENSE 03:41:52 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 19 03:39 Makefile 03:41:52 drwxrwxr-x. 4 jenkins jenkins 26 Feb 19 03:39 openapi 03:41:52 drwxrwxr-x. 5 jenkins jenkins 50 Feb 19 03:39 pkg 03:41:52 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 19 03:39 README.md 03:41:52 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 19 03:39 RELEASE-NOTES.txt 03:41:52 drwxrwxr-x. 4 jenkins jenkins 54 Feb 19 03:39 snap 03:41:52 -rw-rw-r--. 1 jenkins jenkins 5 Feb 19 03:36 VERSION 03:41:52 -rw-rw-r--. 1 jenkins jenkins 222 Feb 19 03:39 version.go [Pipeline] isUnix [Pipeline] sh 03:41:52 + 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=465e2659f57f35e6c4c111258cc80f8afbaf5fbe --label arch=amd64 --label version=0.0.0 . 03:41:52 Sending build context to Docker daemon 2.513MB 03:41:52 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:41:52 Step 2/24 : FROM ${BASE} AS builder 03:41:52 ---> 7d6a7e857a98 03:41:52 Step 3/24 : ARG MAKE='make build' 03:41:53 ---> Running in 4e8b40e25409 03:41:53 Removing intermediate container 4e8b40e25409 03:41:53 ---> 1b936fa4baa9 03:41:53 Step 4/24 : WORKDIR /device-sdk-go 03:41:53 ---> Running in 06404e07f007 03:41:53 Removing intermediate container 06404e07f007 03:41:53 ---> 2656a4c25f6b 03:41:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:41:53 ---> Running in f4233ea894b9 03:41:54 Removing intermediate container f4233ea894b9 03:41:54 ---> d034fd08cb5b 03:41:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:54 ---> Running in a89b0ed3b41a 03:41:55 Removing intermediate container a89b0ed3b41a 03:41:55 ---> af45fcc45828 03:41:55 Step 7/24 : RUN apk add --update --no-cache make git 03:41:55 ---> Running in de4542ef2b0b 03:41:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:41:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:41:56 OK: 166 MiB in 39 packages 03:41:57 Removing intermediate container de4542ef2b0b 03:41:57 ---> 63a4a1fb942f 03:41:57 Step 8/24 : COPY . . 03:41:58 ---> 73c350797c43 03:41:58 Step 9/24 : RUN ${MAKE} 03:41:58 ---> Running in 6f7111511200 03:41:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 10.1% of statements 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.119s coverage: 12.5% of statements 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.147s coverage: 84.8% of statements 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.200s coverage: 49.2% of statements 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.151s coverage: 81.3% of statements 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.185s coverage: 24.8% of statements 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.685s coverage: 83.5% of statements 03:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.119s coverage: 5.3% of statements 03:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:42:00 GO111MODULE=on go vet ./... 03:42:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:42:10 Removing intermediate container 6f7111511200 03:42:10 ---> ce6035f5457a 03:42:10 Step 10/24 : FROM scratch 03:42:10 ---> 03:42:10 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:42:10 ---> Running in 22d1312f4e1b 03:42:10 Removing intermediate container 22d1312f4e1b 03:42:10 ---> a6c76838a324 03:42:10 Step 12/24 : ENV APP_PORT=49990 03:42:10 ---> Running in 97e620592bf7 03:42:10 Removing intermediate container 97e620592bf7 03:42:10 ---> cae5397555b9 03:42:10 Step 13/24 : EXPOSE $APP_PORT 03:42:10 ---> Running in d3f4271c7d6a 03:42:10 Removing intermediate container d3f4271c7d6a 03:42:10 ---> 67d05ccc3c5e 03:42:10 Step 14/24 : WORKDIR / 03:42:10 ---> Running in b96f86eb0473 03:42:11 Removing intermediate container b96f86eb0473 03:42:11 ---> 15cd7303ddb3 03:42:11 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:42:11 ---> 227ad43b2094 03:42:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:42:12 ---> cacc64c9b7df 03:42:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:42:12 ---> d98d537008d7 03:42:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:42:12 ---> e4aec91074bd 03:42:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:42:12 ---> 2539f475dda6 03:42:12 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:42:12 ---> Running in 530392cab191 03:42:13 Removing intermediate container 530392cab191 03:42:13 ---> 6143b7be12a8 03:42:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:42:13 ---> Running in fca7166ef71a 03:42:13 Removing intermediate container fca7166ef71a 03:42:13 ---> e8921f82de01 03:42:13 Step 22/24 : LABEL arch=amd64 03:42:13 ---> Running in aa8ed4ae86d6 03:42:13 Removing intermediate container aa8ed4ae86d6 03:42:13 ---> 2fb41d25fefc 03:42:13 Step 23/24 : LABEL git_sha=465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:42:13 ---> Running in 6d278e79485d 03:42:13 Removing intermediate container 6d278e79485d 03:42:13 ---> 4b2aec2aa5a9 03:42:13 Step 24/24 : LABEL version=0.0.0 03:42:13 ---> Running in 8e00a3452154 03:42:13 Removing intermediate container 8e00a3452154 03:42:13 ---> becb1aa338ec 03:42:13 [Warning] One or more build-args [ARCH] were not consumed 03:42:13 Successfully built becb1aa338ec 03:42:13 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] } 03:42:39 gofmt -l . 03:42:39 [ "`gofmt -l .`" = "" ] 03:42:39 ./bin/test-attribution-txt.sh 03:42:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:42:39 $ docker stop --time=1 bb4f5fbeb1170182b0d0b20edb91413d0685c7e8a273bdf72fcbb682414cf55a 03:42:41 $ docker rm -f bb4f5fbeb1170182b0d0b20edb91413d0685c7e8a273bdf72fcbb682414cf55a [Pipeline] // withDockerContainer [Pipeline] sh 03:42:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:42:42 Warning: overwriting stash ‘coverage-report’ 03:42:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:42:44 + ls -al . 03:42:44 total 220 03:42:44 drwxrwxr-x 10 jenkins jenkins 4096 Feb 19 03:42 . 03:42:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 03:38 .. 03:42:44 -rw-rw-r-- 1 jenkins jenkins 140 Feb 19 03:39 .dockerignore 03:42:44 drwxrwxr-x 8 jenkins jenkins 4096 Feb 19 03:39 .git 03:42:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 03:39 .github 03:42:44 -rw-rw-r-- 1 jenkins jenkins 138 Feb 19 03:39 .gitignore 03:42:44 -rw-rw-r-- 1 jenkins jenkins 949 Feb 19 03:39 Dockerfile.build 03:42:44 -rw-rw-r-- 1 jenkins jenkins 901 Feb 19 03:39 Jenkinsfile 03:42:44 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 19 03:39 LICENSE 03:42:44 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 19 03:39 Makefile 03:42:44 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 19 03:39 README.md 03:42:44 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 19 03:39 RELEASE-NOTES.txt 03:42:44 -rw-rw-r-- 1 jenkins jenkins 5 Feb 19 03:36 VERSION 03:42:44 drwxrwxr-x 2 jenkins jenkins 4096 Feb 19 03:39 bin 03:42:44 -rw-r--r-- 1 jenkins jenkins 101757 Feb 19 03:41 coverage.out 03:42:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 03:39 example 03:42:44 -rw-r--r-- 1 jenkins jenkins 515 Feb 19 03:42 go.mod 03:42:44 -rw-r--r-- 1 jenkins jenkins 19062 Feb 19 03:42 go.sum 03:42:44 drwxrwxr-x 13 jenkins jenkins 4096 Feb 19 03:39 internal 03:42:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 03:39 openapi 03:42:44 drwxrwxr-x 5 jenkins jenkins 4096 Feb 19 03:39 pkg 03:42:44 drwxrwxr-x 4 jenkins jenkins 4096 Feb 19 03:39 snap 03:42:44 -rw-rw-r-- 1 jenkins jenkins 222 Feb 19 03:39 version.go [Pipeline] isUnix [Pipeline] sh 03:42: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=465e2659f57f35e6c4c111258cc80f8afbaf5fbe --label arch=arm64 --label version=0.0.0 . 03:42:45 Sending build context to Docker daemon 2.512MB 03:42:45 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:42:45 Step 2/24 : FROM ${BASE} AS builder 03:42:45 ---> e2acfc9ffc95 03:42:45 Step 3/24 : ARG MAKE='make build' 03:42:45 ---> Running in b866b64ab30d 03:42:46 Removing intermediate container b866b64ab30d 03:42:46 ---> 5387ee9235eb 03:42:46 Step 4/24 : WORKDIR /device-sdk-go 03:42:46 ---> Running in 4e724a97c718 03:42:46 Removing intermediate container 4e724a97c718 03:42:46 ---> 86a6c89e1e52 03:42:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:42:47 ---> Running in 2c2383c5b049 03:42:47 Removing intermediate container 2c2383c5b049 03:42:47 ---> 5d320f728e82 03:42:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:47 ---> Running in d7a91b162178 03:42:49 Removing intermediate container d7a91b162178 03:42:49 ---> 79b2397eada2 03:42:49 Step 7/24 : RUN apk add --update --no-cache make git 03:42:49 ---> Running in 2f935bb4a2f4 03:42:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:42:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:42:52 OK: 142 MiB in 39 packages 03:42:53 Removing intermediate container 2f935bb4a2f4 03:42:53 ---> dfde8ad74def 03:42:53 Step 8/24 : COPY . . 03:42:54 ---> 1eafba1fe1b9 03:42:54 Step 9/24 : RUN ${MAKE} 03:42:54 ---> Running in fb60be46876b 03:42:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:43:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:43:23 Removing intermediate container fb60be46876b 03:43:23 ---> 00f587ff96ef 03:43:23 Step 10/24 : FROM scratch 03:43:23 ---> 03:43:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:43:23 ---> Running in 8081ad135220 03:43:23 Removing intermediate container 8081ad135220 03:43:23 ---> 68aafa9356b9 03:43:23 Step 12/24 : ENV APP_PORT=49990 03:43:23 ---> Running in e3058e65791c 03:43:24 Removing intermediate container e3058e65791c 03:43:24 ---> 6071d5f3e100 03:43:24 Step 13/24 : EXPOSE $APP_PORT 03:43:24 ---> Running in 3b49c0e60a7a 03:43:24 Removing intermediate container 3b49c0e60a7a 03:43:24 ---> a7f9e266a138 03:43:24 Step 14/24 : WORKDIR / 03:43:24 ---> Running in 3b098c2ddfaf 03:43:25 Removing intermediate container 3b098c2ddfaf 03:43:25 ---> dee7131a688e 03:43:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:43:26 ---> 7361810f6890 03:43:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:43:27 ---> 9b123f63ec08 03:43:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:43:28 ---> 5cc9865bebc4 03:43:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:43:28 ---> f28d2e2d6f2f 03:43:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:43:29 ---> 2206e738d621 03:43:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:43:29 ---> Running in 241d2e1e14e7 03:43:29 Removing intermediate container 241d2e1e14e7 03:43:29 ---> 4ef93c3b5998 03:43:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:43:30 ---> Running in 0b2f03050672 03:43:30 Removing intermediate container 0b2f03050672 03:43:30 ---> 2f3e8b9a0381 03:43:30 Step 22/24 : LABEL arch=arm64 03:43:30 ---> Running in 7362e0f2a7be 03:43:31 Removing intermediate container 7362e0f2a7be 03:43:31 ---> a3100a169a3e 03:43:31 Step 23/24 : LABEL git_sha=465e2659f57f35e6c4c111258cc80f8afbaf5fbe 03:43:31 ---> Running in 92887a3f856f 03:43:31 Removing intermediate container 92887a3f856f 03:43:31 ---> b99be3ba8bf6 03:43:31 Step 24/24 : LABEL version=0.0.0 03:43:31 ---> Running in 8dcce5dfb670 03:43:32 Removing intermediate container 8dcce5dfb670 03:43:32 ---> e9da80c73442 03:43:32 [Warning] One or more build-args [ARCH] were not consumed 03:43:32 Successfully built e9da80c73442 03:43:32 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 03:43:34 provisioning config files... 03:43:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config1152258437495257546tmp [Pipeline] { [Pipeline] sh 03:43:34 + set +x 03:43:34 + curl -s https://codecov.io/bash 03:43:34 + bash -s -- 03:43:34 03:43:34 _____ _ 03:43:34 / ____| | | 03:43:34 | | ___ __| | ___ ___ _____ __ 03:43:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:43:34 | |___| (_) | (_| | __/ (_| (_) \ V / 03:43:34 \_____\___/ \__,_|\___|\___\___/ \_/ 03:43:34 Bash-20210129-7c25fce 03:43:34 03:43:34 03:43:34 ==> git version 2.24.3 found 03:43:34 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 03:43:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:43:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:43:34 ==> Jenkins CI detected. 03:43:34 project root: . 03:43:34 --> token set from env 03:43:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:43:34 ==> Running gcov in . (disable via -X gcov) 03:43:34 ==> Python coveragepy not found 03:43:34 ==> Searching for coverage reports in: 03:43:34 + . 03:43:34 -> Found 1 reports 03:43:34 ==> Detecting git/mercurial file structure 03:43:34 ==> Reading reports 03:43:34 + ./coverage.out bytes=101757 03:43:34 ==> Appending adjustments 03:43:34 https://docs.codecov.io/docs/fixing-reports 03:43:35 + Found adjustments 03:43:35 ==> Gzipping contents 03:43:35 20K /tmp/codecov.Dwv85q.gz 03:43:35 ==> Uploading reports 03:43:35 url: https://codecov.io 03:43:35 query: branch=PR-790&commit=465e2659f57f35e6c4c111258cc80f8afbaf5fbe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-790%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=790&job=&cmd_args= 03:43:35 -> Pinging Codecov 03:43:35 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-790&commit=465e2659f57f35e6c4c111258cc80f8afbaf5fbe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-790%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=790&job=&cmd_args= 03:43:35 -> Uploading to 03:43:35 https://storage.googleapis.com/codecov/v4/raw/2021-02-19/7E55EF52A471D76F132DFD9A03CDDE97/465e2659f57f35e6c4c111258cc80f8afbaf5fbe/16451721-ce1f-4696-a54d-9edffc9bfc91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210219T034335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36defc9b3aa7eddd7cd51ff01d137eb0d9f537713de3dc298b9e780a4f1f2f15 03:43:35 % Total % Received % Xferd Average Speed Time Time Time Current 03:43:35 Dload Upload Total Spent Left Speed 03:43:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16500 0 0 100 16500 0 35260 --:--:-- --:--:-- --:--:-- 35256 03:43:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/465e2659f57f35e6c4c111258cc80f8afbaf5fbe [Pipeline] } 03:43:36 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 03:43:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:43:38 ---> package-listing.sh 03:43:38 ++ facter osfamily 03:43:38 ++ tr '[:upper:]' '[:lower:]' 03:43:38 + OS_FAMILY=redhat 03:43:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-790 03:43:38 + START_PACKAGES=/tmp/packages_start.txt 03:43:38 + END_PACKAGES=/tmp/packages_end.txt 03:43:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:43:38 + PACKAGES=/tmp/packages_start.txt 03:43:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-790 ']' 03:43:38 + PACKAGES=/tmp/packages_end.txt 03:43:38 + case "${OS_FAMILY}" in 03:43:38 + rpm -qa 03:43:38 + sort 03:43:44 + '[' -f /tmp/packages_start.txt ']' 03:43:44 + '[' -f /tmp/packages_end.txt ']' 03:43:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:43:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-790 ']' 03:43:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-790/archives/ 03:43:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-790/archives/ [Pipeline] echo 03:43:44 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-790/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:43:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:43:44 03:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:43:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:43:45 alpine: Pulling from edgex-lftools-log-publisher 03:43:45 df20fa9351a1: Pulling fs layer 03:43:45 36b3adc4ff6f: Pulling fs layer 03:43:45 8ad3a11d3b57: Pulling fs layer 03:43:45 46f8f816bc3b: Pulling fs layer 03:43:45 93b61091891f: Pulling fs layer 03:43:45 93b9cdb0e59b: Pulling fs layer 03:43:45 5e14af77c1be: Pulling fs layer 03:43:45 01666e4c0597: Pulling fs layer 03:43:45 aa168da1d23b: Pulling fs layer 03:43:45 46f8f816bc3b: Waiting 03:43:45 93b61091891f: Waiting 03:43:45 93b9cdb0e59b: Waiting 03:43:45 5e14af77c1be: Waiting 03:43:45 01666e4c0597: Waiting 03:43:45 aa168da1d23b: Waiting 03:43:45 36b3adc4ff6f: Download complete 03:43:45 46f8f816bc3b: Download complete 03:43:45 df20fa9351a1: Download complete 03:43:45 93b9cdb0e59b: Verifying Checksum 03:43:45 93b9cdb0e59b: Download complete 03:43:45 93b61091891f: Download complete 03:43:45 5e14af77c1be: Verifying Checksum 03:43:45 5e14af77c1be: Download complete 03:43:45 01666e4c0597: Verifying Checksum 03:43:45 01666e4c0597: Download complete 03:43:45 8ad3a11d3b57: Download complete 03:43:45 df20fa9351a1: Pull complete 03:43:46 36b3adc4ff6f: Pull complete 03:43:47 8ad3a11d3b57: Pull complete 03:43:47 46f8f816bc3b: Pull complete 03:43:47 aa168da1d23b: Download complete 03:43:48 93b61091891f: Pull complete 03:43:48 93b9cdb0e59b: Pull complete 03:43:48 5e14af77c1be: Pull complete 03:43:48 01666e4c0597: Pull complete 03:43:56 aa168da1d23b: Pull complete 03:43:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:43:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:43:57 prd-centos7-docker-4c-2g-26897 does not seem to be running inside a container 03:43:57 $ 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-790/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-790 -v /w/workspace/dgexfoundry_device-sdk-go_PR-790:/w/workspace/dgexfoundry_device-sdk-go_PR-790:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-790@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:44:01 $ docker top 959ca2b46aa5c1c37b33e14d94fc86ff514a7c692abbb33ad71fc89f570a4447 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:01 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:01 + mkdir -p /var/log/sa [Pipeline] sh 03:44:02 + ls /var/log/sa-host 03:44:02 + sadf -c /var/log/sa-host/sa19 03:44:02 file_magic: OK 03:44:02 HZ: Using current value: 100 03:44:02 file_header: OK 03:44:02 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 03:44:02 Statistics: 03:44:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:44:02 File successfully converted to sysstat format version 12.2.1 03:44:02 + sadf -c /var/log/sa-host/sa23 03:44:02 file_magic: OK 03:44:02 HZ: Using current value: 100 03:44:02 file_header: OK 03:44:02 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 03:44:02 Statistics: 03:44:02 Hnuu...uuuununununu... 03:44:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:02 provisioning config files... 03:44:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp/config8234190752266886200tmp [Pipeline] { [Pipeline] echo 03:44:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:02 ---> create-netrc.sh [Pipeline] } 03:44:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:44:02 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:44:03 ---> python-tools-install.sh [Pipeline] echo 03:44:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:44:03 ---> sudo-logs.sh 03:44:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:44:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:44:03 ---> job-cost.sh 03:44:03 lf-activate-venv: SKIPPING 03:44:03 INFO: No Stack... 03:44:04 INFO: Retrieving Pricing Info for: v1-standard-2 03:44:05 INFO: Archiving Costs [Pipeline] echo 03:44:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:05 ---> logs-deploy.sh 03:44:05 lf-activate-venv: SKIPPING 03:44:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-790/2 03:44:05 INFO: archiving workspace using pattern(s): 03:44:07 Archives upload complete. 03:44:07 INFO: archiving logs to Nexus 03:44:08 ---> uname -a: 03:44:08 Linux prd-centos7-docker-4c-2g-26897.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 03:44:08 03:44:08 03:44:08 ---> lscpu: 03:44:08 Architecture: x86_64 03:44:08 CPU op-mode(s): 32-bit, 64-bit 03:44:08 Byte Order: Little Endian 03:44:08 Address sizes: 40 bits physical, 48 bits virtual 03:44:08 CPU(s): 4 03:44:08 On-line CPU(s) list: 0-3 03:44:08 Thread(s) per core: 1 03:44:08 Core(s) per socket: 1 03:44:08 Socket(s): 4 03:44:08 NUMA node(s): 1 03:44:08 Vendor ID: GenuineIntel 03:44:08 CPU family: 6 03:44:08 Model: 44 03:44:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:44:08 Stepping: 1 03:44:08 CPU MHz: 2933.438 03:44:08 BogoMIPS: 5866.87 03:44:08 Virtualization: VT-x 03:44:08 Hypervisor vendor: KVM 03:44:08 Virtualization type: full 03:44:08 L1d cache: 128 KiB 03:44:08 L1i cache: 128 KiB 03:44:08 L2 cache: 16 MiB 03:44:08 L3 cache: 64 MiB 03:44:08 NUMA node0 CPU(s): 0-3 03:44:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:44:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:44:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:44:08 Vulnerability Meltdown: Mitigation; PTI 03:44:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:44:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:44:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:44:08 Vulnerability Srbds: Not affected 03:44:08 Vulnerability Tsx async abort: Not affected 03:44:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 03:44:08 03:44:08 03:44:08 ---> nproc: 03:44:08 4 03:44:08 03:44:08 03:44:08 ---> df -h: 03:44:08 Filesystem Size Used Available Use% Mounted on 03:44:08 overlay 50.0G 7.3G 42.7G 15% / 03:44:08 tmpfs 64.0M 0 64.0M 0% /dev 03:44:08 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:44:08 shm 64.0M 0 64.0M 0% /dev/shm 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-790 03:44:08 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-790@tmp 03:44:08 03:44:08 03:44:08 ---> free -m: 03:44:08 total used free shared buff/cache available 03:44:08 Mem: 1837 725 102 0 1009 1007 03:44:08 Swap: 1023 0 1023 03:44:08 03:44:08 03:44:08 ---> ip addr: 03:44:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:44:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:44:08 inet 127.0.0.1/8 scope host lo 03:44:08 valid_lft forever preferred_lft forever 03:44:08 inet6 ::1/128 scope host 03:44:08 valid_lft forever preferred_lft forever 03:44:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:44:08 link/ether fa:16:3e:0b:38:c8 brd ff:ff:ff:ff:ff:ff 03:44:08 inet 10.30.123.106/23 brd 10.30.123.255 scope global dynamic eth0 03:44:08 valid_lft 85914sec preferred_lft 85914sec 03:44:08 inet6 fe80::f816:3eff:fe0b:38c8/64 scope link 03:44:08 valid_lft forever preferred_lft forever 03:44:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:44:08 link/ether 02:42:dc:9d:ab:e0 brd ff:ff:ff:ff:ff:ff 03:44:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:44:08 valid_lft forever preferred_lft forever 03:44:08 inet6 fe80::42:dcff:fe9d:abe0/64 scope link 03:44:08 valid_lft forever preferred_lft forever 03:44:08 03:44:08 03:44:08 ---> sar -b -r -n DEV: 03:44:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/19/21 _x86_64_ (4 CPU) 03:44:08 03:44:08 03:35:51 LINUX RESTART (4 CPU) 03:44:08 03:44:08 03:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:44:08 03:38:02 3.01 0.00 3.01 0.00 0.00 109.36 0.00 03:44:08 03:39:01 0.52 0.02 0.51 0.00 0.54 8.42 0.00 03:44:08 03:40:01 0.18 0.00 0.18 0.00 0.00 2.03 0.00 03:44:08 03:41:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 03:44:08 03:42:01 0.23 0.00 0.23 0.00 0.00 3.60 0.00 03:44:08 03:43:01 0.38 0.00 0.38 0.00 0.00 4.88 0.00 03:44:08 03:44:01 145.73 79.74 65.99 0.00 6742.40 18541.50 0.00 03:44:08 Average: 21.53 11.42 10.11 0.00 965.87 2674.77 0.00 03:44:08 03:44:08 03:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:44:08 03:38:02 155428 0 622624 33.09 2620 1100872 1067588 36.44 434352 1091196 28 03:44:08 03:39:01 152856 0 625188 33.23 2620 1100880 1067828 36.44 435684 1093216 8 03:44:08 03:40:01 152088 0 625952 33.27 2620 1100884 1067840 36.44 441092 1087780 8 03:44:08 03:41:01 154216 0 623824 33.15 2620 1100884 1067652 36.44 438360 1089252 12 03:44:08 03:42:01 152416 0 625616 33.25 2620 1100892 1067724 36.44 440332 1088916 12 03:44:08 03:43:01 151972 0 626056 33.27 2620 1100896 1067772 36.44 442444 1086952 20 03:44:08 03:44:01 148284 0 717860 38.15 2620 1012780 1364232 46.56 484528 997252 32 03:44:08 Average: 152466 0 638160 33.92 2620 1088298 1110091 37.89 445256 1076366 17 03:44:08 03:44:08 03:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:44:08 03:38:02 eth0 0.65 0.12 0.05 0.01 0.00 0.00 0.00 0.00 03:44:08 03:38:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:38:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:39:01 eth0 0.81 0.51 0.30 0.18 0.00 0.00 0.00 0.00 03:44:08 03:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:40:01 eth0 0.92 0.47 0.35 0.24 0.00 0.00 0.00 0.00 03:44:08 03:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:41:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:44:08 03:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:42:01 eth0 0.30 0.20 0.14 0.07 0.00 0.00 0.00 0.00 03:44:08 03:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:43:01 eth0 0.50 0.30 0.27 0.17 0.00 0.00 0.00 0.00 03:44:08 03:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:44:01 eth0 196.57 155.00 2176.15 19.04 0.00 0.00 0.00 0.00 03:44:08 03:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 Average: eth0 28.62 22.44 311.88 2.83 0.00 0.00 0.00 0.00 03:44:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:44:08 03:44:08 03:44:08 ---> sar -P ALL: 03:44:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/19/21 _x86_64_ (4 CPU) 03:44:08 03:44:08 03:35:51 LINUX RESTART (4 CPU) 03:44:08 03:44:08 03:37:01 CPU %user %nice %system %iowait %steal %idle 03:44:08 03:38:02 all 0.19 0.00 0.05 0.00 0.00 99.76 03:44:08 03:38:02 0 0.07 0.00 0.07 0.00 0.00 99.87 03:44:08 03:38:02 1 0.08 0.00 0.05 0.00 0.00 99.87 03:44:08 03:38:02 2 0.05 0.00 0.05 0.00 0.00 99.90 03:44:08 03:38:02 3 0.55 0.00 0.05 0.00 0.00 99.40 03:44:08 03:39:01 all 0.13 0.00 0.04 0.00 0.00 99.83 03:44:08 03:39:01 0 0.29 0.00 0.03 0.00 0.00 99.68 03:44:08 03:39:01 1 0.08 0.00 0.07 0.00 0.00 99.85 03:44:08 03:39:01 2 0.10 0.00 0.03 0.00 0.00 99.86 03:44:08 03:39:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:44:08 03:40:01 all 0.08 0.00 0.04 0.00 0.00 99.88 03:44:08 03:40:01 0 0.03 0.00 0.05 0.00 0.00 99.92 03:44:08 03:40:01 1 0.22 0.00 0.07 0.00 0.00 99.72 03:44:08 03:40:01 2 0.05 0.00 0.03 0.00 0.00 99.92 03:44:08 03:40:01 3 0.02 0.00 0.02 0.00 0.00 99.97 03:44:08 03:41:01 all 0.14 0.00 0.03 0.00 0.00 99.82 03:44:08 03:41:01 0 0.00 0.00 0.02 0.00 0.00 99.98 03:44:08 03:41:01 1 0.45 0.00 0.03 0.00 0.02 99.50 03:44:08 03:41:01 2 0.05 0.00 0.03 0.00 0.00 99.92 03:44:08 03:41:01 3 0.07 0.00 0.05 0.00 0.00 99.88 03:44:08 03:42:01 all 0.19 0.00 0.12 0.00 0.02 99.68 03:44:08 03:42:01 0 0.07 0.00 0.12 0.00 0.02 99.80 03:44:08 03:42:01 1 0.55 0.00 0.17 0.00 0.02 99.27 03:44:08 03:42:01 2 0.07 0.00 0.10 0.00 0.02 99.82 03:44:08 03:42:01 3 0.07 0.00 0.10 0.00 0.02 99.82 03:44:08 03:43:01 all 0.17 0.00 0.04 0.00 0.00 99.79 03:44:08 03:43:01 0 0.03 0.00 0.03 0.00 0.00 99.93 03:44:08 03:43:01 1 0.47 0.00 0.05 0.00 0.00 99.48 03:44:08 03:43:01 2 0.13 0.00 0.07 0.00 0.00 99.80 03:44:08 03:43:01 3 0.03 0.00 0.02 0.00 0.00 99.95 03:44:08 03:44:01 all 5.82 0.00 4.28 2.24 0.04 87.62 03:44:08 03:44:01 0 5.46 0.00 4.57 1.70 0.03 88.23 03:44:08 03:44:01 1 6.02 0.00 4.35 2.82 0.05 86.76 03:44:08 03:44:01 2 5.15 0.00 3.71 1.47 0.03 89.64 03:44:08 03:44:01 3 6.64 0.00 4.49 2.97 0.05 85.84 03:44:08 Average: all 0.95 0.00 0.65 0.32 0.01 98.07 03:44:08 Average: 0 0.84 0.00 0.69 0.24 0.01 98.21 03:44:08 Average: 1 1.12 0.00 0.68 0.40 0.01 97.79 03:44:08 Average: 2 0.80 0.00 0.57 0.21 0.01 98.42 03:44:08 Average: 3 1.05 0.00 0.67 0.42 0.01 97.85 03:44:08 03:44:08 03:44:08