Branch indexing 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 4226f0ad5c9ea1cff809c5b314d321b691040421+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (20d83c8814c41999994ebb9daf63080d99914f10) 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23650’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23652 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 Merge succeeded, producing 6ef1006609c049153182a52ffb8a1ded103bbe31 Checking out Revision 6ef1006609c049153182a52ffb8a1ded103bbe31 (PR-746) > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ef1006609c049153182a52ffb8a1ded103bbe31 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:03 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:03 ========================================================= 02:42:03 EdgeX Global Pipelines Version Info 02:42:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:05 ------------------- 02:42:05 stable info: 02:42:05 ------------------- 02:42:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:05 Message: update stable to v1.0.179 02:42:06 ------------------- 02:42:06 experimental info: 02:42:06 ------------------- 02:42:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:42:06 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ef1006 [Pipeline] echo 02:42:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:09 provisioning config files... 02:42:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config7390207615775678624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:10 ---> docker-login.sh 02:42:10 nexus3.edgexfoundry.org:10001 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10002 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10003 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 nexus3.edgexfoundry.org:10004 02:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:10 Configure a credential helper to remove this warning. See 02:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:10 02:42:10 Login Succeeded 02:42:10 docker.io 02:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:11 Configure a credential helper to remove this warning. See 02:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:11 02:42:11 Login Succeeded 02:42:11 ---> docker-login.sh ends [Pipeline] } 02:42:11 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 02:42:12 + git log --format=format:%s -1 6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] echo 02:42:12 GIT_COMMIT: 6ef1006609c049153182a52ffb8a1ded103bbe31, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 02:42:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:12 02:42:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:13 latest: Pulling from edgex-devops/git-semver 02:42:13 31603596830f: Pulling fs layer 02:42:13 2a8b12db71e7: Pulling fs layer 02:42:13 6ca5941a6612: Pulling fs layer 02:42:13 ecc8261a40a4: Pulling fs layer 02:42:13 ecc8261a40a4: Waiting 02:42:13 2a8b12db71e7: Verifying Checksum 02:42:13 2a8b12db71e7: Download complete 02:42:13 31603596830f: Verifying Checksum 02:42:13 31603596830f: Download complete 02:42:13 ecc8261a40a4: Verifying Checksum 02:42:13 ecc8261a40a4: Download complete 02:42:13 6ca5941a6612: Verifying Checksum 02:42:13 6ca5941a6612: Download complete 02:42:13 31603596830f: Pull complete 02:42:13 2a8b12db71e7: Pull complete 02:42:14 6ca5941a6612: Pull complete 02:42:15 ecc8261a40a4: Pull complete 02:42:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:15 prd-centos7-docker-4c-2g-23652 does not seem to be running inside a container 02:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:17 $ docker top b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:17 [ssh-agent] Looking for ssh-agent implementation... 02:42:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:18 $ docker exec b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent 02:42:18 SSH_AUTH_SOCK=/tmp/ssh-6AtYfZ2SujSY/agent.11 02:42:18 SSH_AGENT_PID=16 02:42:18 Running ssh-add (command line suppressed) 02:42:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_43047637060158755.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_43047637060158755.key) 02:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:18 + git tag --points-at HEAD [Pipeline] } 02:42:18 $ docker exec --env ******** --env ******** b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent -k 02:42:18 unset SSH_AUTH_SOCK; 02:42:18 unset SSH_AGENT_PID; 02:42:18 echo Agent pid 16 killed; 02:42:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:19 [ssh-agent] Looking for ssh-agent implementation... 02:42:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:19 $ docker exec b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent 02:42:19 SSH_AUTH_SOCK=/tmp/ssh-QNVSGbaoufqP/agent.45 02:42:19 SSH_AGENT_PID=50 02:42:19 Running ssh-add (command line suppressed) 02:42:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3351785423510003815.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3351785423510003815.key) 02:42:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:19 + git semver init 02:42:19 # -> Open(): unable to determine branch for HEAD 02:42:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git 02:42:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 02:42:19 # $SEMVER_REMOTE_NAME = origin 02:42:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:19 # $SEMVER_USER_NAME = edgex-jenkins 02:42:19 # $SEMVER_BRANCH = PR-746 02:42:19 # $SEMVER_TEMP = /tmp/semver-949993149 02:42:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:20 # '/tmp/semver-949993149' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' 02:42:20 # -> Force: false 02:42:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } 02:42:20 $ docker exec --env ******** --env ******** b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 ssh-agent -k 02:42:21 unset SSH_AUTH_SOCK; 02:42:21 unset SSH_AGENT_PID; 02:42:21 echo Agent pid 50 killed; 02:42:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:21 + git semver [Pipeline] } 02:42:21 $ docker stop --time=1 b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 02:42:23 $ docker rm -f b593e9b18ff0379d0d00e7dea6d785b5b10bc85ac4f9dd2e55ed55d366af2cc2 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:24 Stashed 1 file(s) [Pipeline] echo 02:42:24 [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 02:42:39 Still waiting to schedule task 02:42:39 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23654’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:39 Still waiting to schedule task 02:42:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:43:44 Running on prd-centos7-docker-4c-2g-23657 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 02:43:44 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:43:47 using credential edgex-jenkins-ssh 02:43:47 Cloning the remote Git repository 02:43:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:47 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:43:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:47 > git --version # timeout=10 02:43:47 > git --version # 'git version 2.24.3' 02:43:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:48 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 02:43:49 Merge succeeded, producing 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 02:43:49 Checking out Revision 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 (PR-746) 02:43:49 > git config core.sparsecheckout # timeout=10 02:43:49 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 02:43:49 > git remote # timeout=10 02:43:49 > git config --get remote.origin.url # timeout=10 02:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:49 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:43:49 > git rev-parse HEAD^{commit} # timeout=10 02:43:49 > git config core.sparsecheckout # timeout=10 02:43:49 > git checkout -f 32ee7143e52e3ba06f0bb0e6e1ae9f4d660d9235 # timeout=10 02:43:52 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:43:52 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:52 > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 02:43:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:54 + sudo service docker restart 02:43:54 + true 02:43:54 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:56 provisioning config files... 02:43:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2170264229466663298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:56 ---> docker-login.sh 02:43:56 nexus3.edgexfoundry.org:10001 02:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:56 Configure a credential helper to remove this warning. See 02:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:56 02:43:56 Login Succeeded 02:43:56 nexus3.edgexfoundry.org:10002 02:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:57 Configure a credential helper to remove this warning. See 02:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:57 02:43:57 Login Succeeded 02:43:57 nexus3.edgexfoundry.org:10003 02:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:57 Configure a credential helper to remove this warning. See 02:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:57 02:43:57 Login Succeeded 02:43:57 nexus3.edgexfoundry.org:10004 02:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:57 Configure a credential helper to remove this warning. See 02:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:57 02:43:57 Login Succeeded 02:43:57 docker.io 02:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:57 Configure a credential helper to remove this warning. See 02:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:57 02:43:57 Login Succeeded 02:43:57 ---> docker-login.sh ends [Pipeline] } 02:43:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:58 ========================================================= 02:43:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:58 + 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 . 02:43:58 Sending build context to Docker daemon 2.545MB 02:43:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:43:58 Step 2/8 : FROM ${BASE} 02:43:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:58 188c0c94c7c5: Pulling fs layer 02:43:58 0ef7d3d256c8: Pulling fs layer 02:43:58 de9db76c5a1d: Pulling fs layer 02:43:58 bca2f99d35d6: Pulling fs layer 02:43:58 93359f2a8cfa: Pulling fs layer 02:43:58 7c6f9722023f: Pulling fs layer 02:43:58 a35cf1a2eb13: Pulling fs layer 02:43:58 93359f2a8cfa: Waiting 02:43:58 7c6f9722023f: Waiting 02:43:58 a35cf1a2eb13: Waiting 02:43:58 bca2f99d35d6: Waiting 02:43:58 de9db76c5a1d: Download complete 02:43:58 0ef7d3d256c8: Verifying Checksum 02:43:58 0ef7d3d256c8: Download complete 02:43:58 93359f2a8cfa: Verifying Checksum 02:43:58 93359f2a8cfa: Download complete 02:43:58 188c0c94c7c5: Verifying Checksum 02:43:58 188c0c94c7c5: Download complete 02:43:58 7c6f9722023f: Verifying Checksum 02:43:58 7c6f9722023f: Download complete 02:43:59 188c0c94c7c5: Pull complete 02:43:59 0ef7d3d256c8: Pull complete 02:43:59 de9db76c5a1d: Pull complete 02:44:00 a35cf1a2eb13: Verifying Checksum 02:44:00 a35cf1a2eb13: Download complete 02:44:01 bca2f99d35d6: Verifying Checksum 02:44:01 bca2f99d35d6: Download complete 02:44:06 bca2f99d35d6: Pull complete 02:44:06 93359f2a8cfa: Pull complete 02:44:06 7c6f9722023f: Pull complete 02:44:12 a35cf1a2eb13: Pull complete 02:44:12 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:12 ---> a62c8e92a672 02:44:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:12 ---> Running in f1a9269b2892 02:44:12 Removing intermediate container f1a9269b2892 02:44:12 ---> 08cf9c374574 02:44:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:12 ---> Running in ec84f5887985 02:44:13 Removing intermediate container ec84f5887985 02:44:13 ---> e52c6e8a1897 02:44:13 Step 5/8 : RUN apk add --update --no-cache make git 02:44:13 ---> Running in e6bc06e13692 02:44:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:15 OK: 166 MiB in 39 packages 02:44:15 Removing intermediate container e6bc06e13692 02:44:15 ---> 3268c1bdfdef 02:44:15 Step 6/8 : WORKDIR /device-sdk-go 02:44:15 ---> Running in ae85dd1e4f44 02:44:16 Removing intermediate container ae85dd1e4f44 02:44:16 ---> a0c30bf580fb 02:44:16 Step 7/8 : COPY . . 02:44:17 ---> 8c52590aabd0 02:44:17 Step 8/8 : RUN go mod download 02:44:17 ---> Running in 75dbae0a2a2e 02:44:35 Removing intermediate container 75dbae0a2a2e 02:44:35 ---> 1bb4804b5b6a 02:44:35 Successfully built 1bb4804b5b6a 02:44:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:35 + docker inspect -f . ci-base-image-x86_64 02:44:35 . [Pipeline] withDockerContainer 02:44:36 prd-centos7-docker-4c-2g-23657 does not seem to be running inside a container 02:44:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:44:37 $ docker top fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:37 + go version 02:44:37 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:37 $ docker stop --time=1 fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 02:44:39 $ docker rm -f fecd6416d1e79abe04810842dfef426a7370861b0c8ab1f43c0f081d41342771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:40 + docker inspect -f . ci-base-image-x86_64 02:44:40 . [Pipeline] withDockerContainer 02:44:40 prd-centos7-docker-4c-2g-23657 does not seem to be running inside a container 02:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:44:42 $ docker top 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:43 + make test 02:44:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 24.3% of statements 02:45:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.444s coverage: 97.1% of statements 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.060s coverage: 22.9% of statements 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.071s coverage: 84.8% of statements 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 26.8% of statements 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.408s coverage: 83.5% of statements 02:45:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements 02:45:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:39 GO111MODULE=on go vet ./... 02:45:47 gofmt -l . 02:45:47 [ "`gofmt -l .`" = "" ] 02:45:47 ./bin/test-attribution-txt.sh 02:45:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:45:47 $ docker stop --time=1 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb 02:45:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23662 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 02:45:50 $ docker rm -f 4b80a114020e479d0d5f8940b72ad0a5b3fc857c33854559c6c4bdbe69e0ddfb [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws 02:45:50 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:45:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:45:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:52 + ls -al . 02:45:52 total 188 02:45:52 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 02:45 . 02:45:52 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 02:43 .. 02:45:52 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 02:43 bin 02:45:52 -rw-r--r--. 1 jenkins jenkins 109745 Jan 28 02:45 coverage.out 02:45:52 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 02:43 Dockerfile.build 02:45:52 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 02:43 .dockerignore 02:45:52 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 02:43 example 02:45:52 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 02:43 .git 02:45:52 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 02:43 .github 02:45:52 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 02:43 .gitignore 02:45:52 -rw-r--r--. 1 jenkins jenkins 479 Jan 28 02:45 go.mod 02:45:52 -rw-r--r--. 1 jenkins jenkins 13930 Jan 28 02:45 go.sum 02:45:52 drwxrwxr-x. 14 jenkins jenkins 196 Jan 28 02:43 internal 02:45:52 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 02:43 Jenkinsfile 02:45:52 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 02:43 LICENSE 02:45:52 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 02:43 Makefile 02:45:52 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 02:43 openapi 02:45:52 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 02:43 pkg 02:45:52 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 02:43 README.md 02:45:52 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 02:43 RELEASE-NOTES.txt 02:45:52 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 02:43 snap 02:45:52 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:45:52 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:45:53 + 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=6ef1006609c049153182a52ffb8a1ded103bbe31 --label arch=amd64 --label version=0.0.0 . 02:45:53 Sending build context to Docker daemon 2.656MB 02:45:53 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:45:53 Step 2/24 : FROM ${BASE} AS builder 02:45:53 ---> 1bb4804b5b6a 02:45:53 Step 3/24 : ARG MAKE='make build' 02:45:54 ---> Running in 01aec5f934f2 02:45:54 Removing intermediate container 01aec5f934f2 02:45:54 ---> e2480da31ec1 02:45:54 Step 4/24 : WORKDIR /device-sdk-go 02:45:54 ---> Running in b73268fd39e2 02:45:54 Removing intermediate container b73268fd39e2 02:45:54 ---> 3dcf90d2afef 02:45:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:54 ---> Running in 1f562f92b156 02:45:54 Removing intermediate container 1f562f92b156 02:45:54 ---> 0814494a6fc2 02:45:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:54 ---> Running in 97b11d21dfe5 02:45:55 using credential edgex-jenkins-ssh 02:45:55 Cloning the remote Git repository 02:45:56 Removing intermediate container 97b11d21dfe5 02:45:56 ---> 0007134c764d 02:45:56 Step 7/24 : RUN apk add --update --no-cache make git 02:45:56 ---> Running in 4913dc46dd07 02:45:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 > git --version # timeout=10 02:45:56 > git --version # 'git version 2.17.1' 02:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:58 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 02:45:59 Merge succeeded, producing 7f731e40d56734519448c5e195030db02485a52e 02:45:59 Checking out Revision 7f731e40d56734519448c5e195030db02485a52e (PR-746) 02:45:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:58 > git config core.sparsecheckout # timeout=10 02:45:58 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 02:45:58 > git remote # timeout=10 02:45:58 > git config --get remote.origin.url # timeout=10 02:45:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:58 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 02:45:58 > git rev-parse HEAD^{commit} # timeout=10 02:45:59 > git config core.sparsecheckout # timeout=10 02:45:59 > git checkout -f 7f731e40d56734519448c5e195030db02485a52e # timeout=10 02:46:01 OK: 166 MiB in 39 packages 02:46:02 Removing intermediate container 4913dc46dd07 02:46:02 ---> 8381d34bd337 02:46:02 Step 8/24 : COPY . . 02:46:03 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 02:46:03 First time build. Skipping changelog. 02:46:03 ---> b40132a6b364 02:46:03 Step 9/24 : RUN ${MAKE} 02:46:03 ---> Running in 4755454c1dbe [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:03 > git rev-list --no-walk 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 02:46:04 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 02:46:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:05 + true 02:46:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:08 provisioning config files... 02:46:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config3394767901884926497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:09 ---> docker-login.sh 02:46:09 nexus3.edgexfoundry.org:10001 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:10 Configure a credential helper to remove this warning. See 02:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:10 02:46:10 Login Succeeded 02:46:10 nexus3.edgexfoundry.org:10002 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:10 Configure a credential helper to remove this warning. See 02:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:10 02:46:10 Login Succeeded 02:46:10 nexus3.edgexfoundry.org:10003 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:11 Configure a credential helper to remove this warning. See 02:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:11 02:46:11 Login Succeeded 02:46:11 nexus3.edgexfoundry.org:10004 02:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:11 Configure a credential helper to remove this warning. See 02:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:11 02:46:11 Login Succeeded 02:46:11 docker.io 02:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:12 Configure a credential helper to remove this warning. See 02:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:12 02:46:12 Login Succeeded 02:46:12 ---> docker-login.sh ends [Pipeline] } 02:46:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:46:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] echo 02:46:13 ========================================================= 02:46:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:13 + 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 . 02:46:14 Sending build context to Docker daemon 2.546MB 02:46:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:14 Step 2/8 : FROM ${BASE} 02:46:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:14 5f621e34cdf4: Pulling fs layer 02:46:14 a4357932f1b6: Pulling fs layer 02:46:14 18c013af1878: Pulling fs layer 02:46:14 00ac8860ef70: Pulling fs layer 02:46:14 63d7cb157983: Pulling fs layer 02:46:14 b116817d02f9: Pulling fs layer 02:46:14 745a02a5169b: Pulling fs layer 02:46:14 63d7cb157983: Waiting 02:46:14 b116817d02f9: Waiting 02:46:14 00ac8860ef70: Waiting 02:46:14 745a02a5169b: Waiting 02:46:14 a4357932f1b6: Verifying Checksum 02:46:14 18c013af1878: Verifying Checksum 02:46:14 a4357932f1b6: Download complete 02:46:14 18c013af1878: Download complete 02:46:14 63d7cb157983: Verifying Checksum 02:46:14 63d7cb157983: Download complete 02:46:14 b116817d02f9: Verifying Checksum 02:46:14 b116817d02f9: Download complete 02:46:14 5f621e34cdf4: Verifying Checksum 02:46:14 5f621e34cdf4: Download complete 02:46:15 5f621e34cdf4: Pull complete 02:46:15 Removing intermediate container 4755454c1dbe 02:46:15 ---> 5817317ed70c 02:46:15 Step 10/24 : FROM scratch 02:46:15 ---> 02:46:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:15 ---> Running in 8e3ef0bad69a 02:46:15 Removing intermediate container 8e3ef0bad69a 02:46:15 ---> 95968071f033 02:46:15 Step 12/24 : ENV APP_PORT=49990 02:46:15 ---> Running in 5f31711c1cf3 02:46:15 a4357932f1b6: Pull complete 02:46:15 Removing intermediate container 5f31711c1cf3 02:46:15 ---> 2fe8ea6d90ee 02:46:15 Step 13/24 : EXPOSE $APP_PORT 02:46:15 ---> Running in 720ef52f1efc 02:46:15 18c013af1878: Pull complete 02:46:16 Removing intermediate container 720ef52f1efc 02:46:16 ---> ecac7b5903ff 02:46:16 Step 14/24 : WORKDIR / 02:46:16 ---> Running in 57c5d114b39c 02:46:16 Removing intermediate container 57c5d114b39c 02:46:16 ---> 9d166de2a898 02:46:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:16 ---> 16bc95b42386 02:46:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:16 ---> 5a08f6b47031 02:46:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:17 ---> e59fffdd572f 02:46:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:17 ---> c079408fb616 02:46:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:17 ---> f2f55c775122 02:46:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:18 745a02a5169b: Verifying Checksum 02:46:18 745a02a5169b: Download complete 02:46:18 00ac8860ef70: Verifying Checksum 02:46:18 00ac8860ef70: Download complete 02:46:18 ---> Running in da299b4187c7 02:46:18 Removing intermediate container da299b4187c7 02:46:18 ---> 00af992e6724 02:46:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:18 ---> Running in b08a0f3686d7 02:46:18 Removing intermediate container b08a0f3686d7 02:46:18 ---> 5023bc649172 02:46:18 Step 22/24 : LABEL arch=amd64 02:46:18 ---> Running in faa576cdcd53 02:46:18 Removing intermediate container faa576cdcd53 02:46:18 ---> c27ee3c23c43 02:46:18 Step 23/24 : LABEL git_sha=6ef1006609c049153182a52ffb8a1ded103bbe31 02:46:18 ---> Running in e723c2fbe81e 02:46:18 Removing intermediate container e723c2fbe81e 02:46:18 ---> 87650d8dd934 02:46:18 Step 24/24 : LABEL version=0.0.0 02:46:18 ---> Running in 8dccc1943343 02:46:19 Removing intermediate container 8dccc1943343 02:46:19 ---> 251251307264 02:46:19 [Warning] One or more build-args [ARCH] were not consumed 02:46:19 Successfully built 251251307264 02:46:19 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] } 02:46:28 00ac8860ef70: Pull complete 02:46:28 63d7cb157983: Pull complete 02:46:28 b116817d02f9: Pull complete 02:46:31 745a02a5169b: Pull complete 02:46:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:31 ---> b7e6874047d6 02:46:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:34 ---> Running in f189631edcf4 02:46:34 Removing intermediate container f189631edcf4 02:46:34 ---> 3d16d0ac9d01 02:46:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:34 ---> Running in ad7b16e25352 02:46:36 Removing intermediate container ad7b16e25352 02:46:36 ---> ce392a84ef8e 02:46:36 Step 5/8 : RUN apk add --update --no-cache make git 02:46:37 ---> Running in 608dce49cddf 02:46:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:40 OK: 142 MiB in 39 packages 02:46:41 Removing intermediate container 608dce49cddf 02:46:41 ---> 0e2759b19ba2 02:46:41 Step 6/8 : WORKDIR /device-sdk-go 02:46:41 ---> Running in dc4331fe1adb 02:46:42 Removing intermediate container dc4331fe1adb 02:46:42 ---> a206bb3bae9c 02:46:42 Step 7/8 : COPY . . 02:46:42 ---> 62ee4859337f 02:46:42 Step 8/8 : RUN go mod download 02:46:43 ---> Running in 4e246c66e7ad 02:47:05 Removing intermediate container 4e246c66e7ad 02:47:05 ---> 14c31815e9f2 02:47:05 Successfully built 14c31815e9f2 02:47:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:06 + docker inspect -f . ci-base-image-arm64 02:47:06 . [Pipeline] withDockerContainer 02:47:06 prd-ubuntu18.04-docker-arm64-4c-16g-23662 does not seem to be running inside a container 02:47:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:08 $ docker top 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:09 + go version 02:47:09 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:09 $ docker stop --time=1 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe 02:47:11 $ docker rm -f 885e14f19edae7128594da139863e90493574558e64f20ecc22ad13c889073fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:12 + docker inspect -f . ci-base-image-arm64 02:47:12 . [Pipeline] withDockerContainer 02:47:12 prd-ubuntu18.04-docker-arm64-4c-16g-23662 does not seem to be running inside a container 02:47:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:14 $ docker top 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:15 + make test 02:47:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 24.3% of statements 02:48:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.322s coverage: 97.1% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.169s coverage: 9.4% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 22.9% of statements 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.166s coverage: 84.8% of statements 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.196s coverage: 53.8% of statements 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.184s coverage: 26.8% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.236s coverage: 83.5% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.163s coverage: 4.2% of statements 02:48:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:57 GO111MODULE=on go vet ./... 02:49:29 gofmt -l . 02:49:29 [ "`gofmt -l .`" = "" ] 02:49:29 ./bin/test-attribution-txt.sh 02:49:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:29 $ docker stop --time=1 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 02:49:32 $ docker rm -f 7d43e2e52852ff5cbe2b4a1e8a203ca10d804999f481dbe76f7863306de18283 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:33 Warning: overwriting stash ‘coverage-report’ 02:49:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:35 + ls -al . 02:49:35 total 224 02:49:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 02:49 . 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 .. 02:49:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 02:45 .dockerignore 02:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 02:46 .git 02:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 .github 02:49:35 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 02:45 .gitignore 02:49:35 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 02:45 Dockerfile.build 02:49:35 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 02:45 Jenkinsfile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 02:45 LICENSE 02:49:35 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 02:45 Makefile 02:49:35 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 02:45 README.md 02:49:35 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 02:45 RELEASE-NOTES.txt 02:49:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 02:42 VERSION 02:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 02:45 bin 02:49:35 -rw-r--r-- 1 jenkins jenkins 109745 Jan 28 02:48 coverage.out 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 example 02:49:35 -rw-r--r-- 1 jenkins jenkins 479 Jan 28 02:49 go.mod 02:49:35 -rw-r--r-- 1 jenkins jenkins 13930 Jan 28 02:49 go.sum 02:49:35 drwxrwxr-x 14 jenkins jenkins 4096 Jan 28 02:45 internal 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 openapi 02:49:35 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 02:45 pkg 02:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 02:45 snap 02:49:35 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:35 + 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=6ef1006609c049153182a52ffb8a1ded103bbe31 --label arch=arm64 --label version=0.0.0 . 02:49:36 Sending build context to Docker daemon 2.656MB 02:49:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:36 Step 2/24 : FROM ${BASE} AS builder 02:49:36 ---> 14c31815e9f2 02:49:36 Step 3/24 : ARG MAKE='make build' 02:49:36 ---> Running in c2470a915d0c 02:49:36 Removing intermediate container c2470a915d0c 02:49:36 ---> f142c7dc63bc 02:49:36 Step 4/24 : WORKDIR /device-sdk-go 02:49:37 ---> Running in 8d6d732d4f34 02:49:37 Removing intermediate container 8d6d732d4f34 02:49:37 ---> 6869d6511ab7 02:49:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:37 ---> Running in 1daf50f8039d 02:49:38 Removing intermediate container 1daf50f8039d 02:49:38 ---> 6ae455d3d374 02:49:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:38 ---> Running in 3eef4cf9f791 02:49:41 Removing intermediate container 3eef4cf9f791 02:49:41 ---> d2c5a095761a 02:49:41 Step 7/24 : RUN apk add --update --no-cache make git 02:49:41 ---> Running in c642d209acbd 02:49:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:44 OK: 142 MiB in 39 packages 02:49:45 Removing intermediate container c642d209acbd 02:49:45 ---> 1fa855fdd210 02:49:45 Step 8/24 : COPY . . 02:49:46 ---> a75ab2ce7ac8 02:49:46 Step 9/24 : RUN ${MAKE} 02:49:47 ---> Running in 9fbffb100ba7 02:49:48 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 02:50:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:16 Removing intermediate container 9fbffb100ba7 02:50:16 ---> a1138443331f 02:50:16 Step 10/24 : FROM scratch 02:50:16 ---> 02:50:16 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:16 ---> Running in beffabb7b873 02:50:16 Removing intermediate container beffabb7b873 02:50:16 ---> 371b17e8623d 02:50:16 Step 12/24 : ENV APP_PORT=49990 02:50:17 ---> Running in 25aa1e17ff75 02:50:17 Removing intermediate container 25aa1e17ff75 02:50:17 ---> 642287b4d468 02:50:17 Step 13/24 : EXPOSE $APP_PORT 02:50:17 ---> Running in 57068523e49a 02:50:17 Removing intermediate container 57068523e49a 02:50:17 ---> 2875c5c184ce 02:50:17 Step 14/24 : WORKDIR / 02:50:18 ---> Running in 92868b30c733 02:50:18 Removing intermediate container 92868b30c733 02:50:18 ---> 1f5676a35df1 02:50:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:19 ---> 95f41b758d1c 02:50:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:20 ---> b13021735af8 02:50:20 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:21 ---> 1efe77609cff 02:50:21 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:22 ---> fcff4fbe699d 02:50:22 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:22 ---> e73233e3e73b 02:50:22 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:22 ---> Running in 7797fa9a4be5 02:50:23 Removing intermediate container 7797fa9a4be5 02:50:23 ---> a15a294d9648 02:50:23 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:23 ---> Running in 868deae79b7b 02:50:23 Removing intermediate container 868deae79b7b 02:50:23 ---> f0583f2581c3 02:50:23 Step 22/24 : LABEL arch=arm64 02:50:24 ---> Running in 4f0ab2f33c6c 02:50:24 Removing intermediate container 4f0ab2f33c6c 02:50:24 ---> 124dd89e621e 02:50:24 Step 23/24 : LABEL git_sha=6ef1006609c049153182a52ffb8a1ded103bbe31 02:50:24 ---> Running in 3d23418a787f 02:50:25 Removing intermediate container 3d23418a787f 02:50:25 ---> 27dd0333d296 02:50:25 Step 24/24 : LABEL version=0.0.0 02:50:25 ---> Running in ac96028d2861 02:50:25 Removing intermediate container ac96028d2861 02:50:25 ---> 73d388fe8777 02:50:25 [Warning] One or more build-args [ARCH] were not consumed 02:50:25 Successfully built 73d388fe8777 02:50:25 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 02:50:28 provisioning config files... 02:50:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config6549498021865944115tmp [Pipeline] { [Pipeline] sh 02:50:28 + set +x 02:50:28 + curl -s https://codecov.io/bash 02:50:28 + bash -s -- 02:50:29 02:50:29 _____ _ 02:50:29 / ____| | | 02:50:29 | | ___ __| | ___ ___ _____ __ 02:50:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:29 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:29 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:29 Bash-20210128-d4071a2 02:50:29 02:50:29 02:50:29 ==> git version 2.24.3 found 02:50:29 ==> 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 02:50:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:29 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:29 ==> Jenkins CI detected. 02:50:29 project root: . 02:50:29 --> token set from env 02:50:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:29 ==> Running gcov in . (disable via -X gcov) 02:50:29 ==> Python coveragepy not found 02:50:29 ==> Searching for coverage reports in: 02:50:29 + . 02:50:29 -> Found 1 reports 02:50:29 ==> Detecting git/mercurial file structure 02:50:29 ==> Reading reports 02:50:29 + ./coverage.out bytes=109745 02:50:29 ==> Appending adjustments 02:50:29 https://docs.codecov.io/docs/fixing-reports 02:50:29 + Found adjustments 02:50:29 ==> Gzipping contents 02:50:29 20K /tmp/codecov.maFCSq.gz 02:50:29 ==> Uploading reports 02:50:29 url: https://codecov.io 02:50:29 query: branch=PR-746&commit=6ef1006609c049153182a52ffb8a1ded103bbe31&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 02:50:29 -> Pinging Codecov 02:50:29 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-746&commit=6ef1006609c049153182a52ffb8a1ded103bbe31&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 02:50:30 -> Uploading to 02:50:30 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/6ef1006609c049153182a52ffb8a1ded103bbe31/8903dbe2-a363-4690-93a3-69dd203ce421.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T025030Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbb8fb66ad26195f648037d656ad11ff206e9e33432af41db61c3779464ae617 02:50:30 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:30 Dload Upload Total Spent Left Speed 02:50:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18039 0 0 100 18039 0 40591 --:--:-- --:--:-- --:--:-- 40537 02:50:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6ef1006609c049153182a52ffb8a1ded103bbe31 [Pipeline] } 02:50:31 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 02:50:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:33 ---> package-listing.sh 02:50:33 ++ facter osfamily 02:50:33 ++ tr '[:upper:]' '[:lower:]' 02:50:33 + OS_FAMILY=redhat 02:50:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 02:50:33 + START_PACKAGES=/tmp/packages_start.txt 02:50:33 + END_PACKAGES=/tmp/packages_end.txt 02:50:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:33 + PACKAGES=/tmp/packages_start.txt 02:50:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 02:50:33 + PACKAGES=/tmp/packages_end.txt 02:50:33 + case "${OS_FAMILY}" in 02:50:33 + rpm -qa 02:50:33 + sort 02:50:38 + '[' -f /tmp/packages_start.txt ']' 02:50:38 + '[' -f /tmp/packages_end.txt ']' 02:50:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 02:50:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ 02:50:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo 02:50:38 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:38 02:50:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:38 alpine: Pulling from edgex-lftools-log-publisher 02:50:38 df20fa9351a1: Pulling fs layer 02:50:38 36b3adc4ff6f: Pulling fs layer 02:50:38 8ad3a11d3b57: Pulling fs layer 02:50:38 46f8f816bc3b: Pulling fs layer 02:50:38 93b61091891f: Pulling fs layer 02:50:38 93b9cdb0e59b: Pulling fs layer 02:50:38 5e14af77c1be: Pulling fs layer 02:50:38 01666e4c0597: Pulling fs layer 02:50:38 aa168da1d23b: Pulling fs layer 02:50:38 93b9cdb0e59b: Waiting 02:50:38 5e14af77c1be: Waiting 02:50:38 01666e4c0597: Waiting 02:50:38 aa168da1d23b: Waiting 02:50:38 46f8f816bc3b: Waiting 02:50:38 93b61091891f: Waiting 02:50:38 36b3adc4ff6f: Download complete 02:50:38 46f8f816bc3b: Verifying Checksum 02:50:38 46f8f816bc3b: Download complete 02:50:38 df20fa9351a1: Verifying Checksum 02:50:38 df20fa9351a1: Download complete 02:50:38 93b9cdb0e59b: Verifying Checksum 02:50:38 93b9cdb0e59b: Download complete 02:50:39 5e14af77c1be: Verifying Checksum 02:50:39 5e14af77c1be: Download complete 02:50:39 93b61091891f: Verifying Checksum 02:50:39 93b61091891f: Download complete 02:50:39 01666e4c0597: Verifying Checksum 02:50:39 01666e4c0597: Download complete 02:50:39 8ad3a11d3b57: Verifying Checksum 02:50:39 8ad3a11d3b57: Download complete 02:50:39 df20fa9351a1: Pull complete 02:50:39 36b3adc4ff6f: Pull complete 02:50:40 8ad3a11d3b57: Pull complete 02:50:40 46f8f816bc3b: Pull complete 02:50:41 aa168da1d23b: Verifying Checksum 02:50:41 aa168da1d23b: Download complete 02:50:42 93b61091891f: Pull complete 02:50:42 93b9cdb0e59b: Pull complete 02:50:42 5e14af77c1be: Pull complete 02:50:42 01666e4c0597: Pull complete 02:50:49 aa168da1d23b: Pull complete 02:50:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:49 prd-centos7-docker-4c-2g-23652 does not seem to be running inside a container 02:50:49 $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:50:52 $ docker top 6ba8c60a58ac9e93884ee3c53c8929ef9336c32f3d73b7fab682b353e2ea71fb -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:52 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:53 + mkdir -p /var/log/sa [Pipeline] sh 02:50:53 + ls /var/log/sa-host 02:50:53 + sadf -c /var/log/sa-host/sa23 02:50:53 file_magic: OK 02:50:53 HZ: Using current value: 100 02:50:53 file_header: OK 02:50:53 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 02:50:53 Statistics: 02:50:53 Hnuu...uuuununununu... 02:50:53 File successfully converted to sysstat format version 12.2.1 02:50:53 + sadf -c /var/log/sa-host/sa28 02:50:53 file_magic: OK 02:50:53 HZ: Using current value: 100 02:50:53 file_header: OK 02:50:53 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 02:50:53 Statistics: 02:50:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:53 provisioning config files... 02:50:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config2552337491418456378tmp [Pipeline] { [Pipeline] echo 02:50:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:54 ---> create-netrc.sh [Pipeline] } 02:50:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:54 ---> python-tools-install.sh [Pipeline] echo 02:50:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:54 ---> sudo-logs.sh 02:50:54 Archiving 'sudo' log.. [Pipeline] echo 02:50:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:55 ---> job-cost.sh 02:50:55 lf-activate-venv: SKIPPING 02:50:55 INFO: No Stack... 02:50:56 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:57 INFO: Archiving Costs [Pipeline] echo 02:50:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:57 ---> logs-deploy.sh 02:50:57 lf-activate-venv: SKIPPING 02:50:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/8 02:50:57 INFO: archiving workspace using pattern(s): 02:50:58 Archives upload complete. 02:50:59 INFO: archiving logs to Nexus 02:51:00 ---> uname -a: 02:51:00 Linux prd-centos7-docker-4c-2g-23652.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:00 02:51:00 02:51:00 ---> lscpu: 02:51:00 Architecture: x86_64 02:51:00 CPU op-mode(s): 32-bit, 64-bit 02:51:00 Byte Order: Little Endian 02:51:00 Address sizes: 40 bits physical, 48 bits virtual 02:51:00 CPU(s): 4 02:51:00 On-line CPU(s) list: 0-3 02:51:00 Thread(s) per core: 1 02:51:00 Core(s) per socket: 1 02:51:00 Socket(s): 4 02:51:00 NUMA node(s): 1 02:51:00 Vendor ID: GenuineIntel 02:51:00 CPU family: 6 02:51:00 Model: 44 02:51:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:00 Stepping: 1 02:51:00 CPU MHz: 2933.438 02:51:00 BogoMIPS: 5866.87 02:51:00 Virtualization: VT-x 02:51:00 Hypervisor vendor: KVM 02:51:00 Virtualization type: full 02:51:00 L1d cache: 128 KiB 02:51:00 L1i cache: 128 KiB 02:51:00 L2 cache: 16 MiB 02:51:00 L3 cache: 64 MiB 02:51:00 NUMA node0 CPU(s): 0-3 02:51:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:00 Vulnerability Meltdown: Mitigation; PTI 02:51:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:00 Vulnerability Srbds: Not affected 02:51:00 Vulnerability Tsx async abort: Not affected 02:51:00 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 02:51:00 02:51:00 02:51:00 ---> nproc: 02:51:00 4 02:51:00 02:51:00 02:51:00 ---> df -h: 02:51:00 Filesystem Size Used Available Use% Mounted on 02:51:00 overlay 50.0G 7.3G 42.7G 15% / 02:51:00 tmpfs 64.0M 0 64.0M 0% /dev 02:51:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:00 shm 64.0M 0 64.0M 0% /dev/shm 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-746 02:51:00 02:51:00 02:51:00 ---> free -m: 02:51:00 total used free shared buff/cache available 02:51:00 Mem: 1837 725 111 0 1000 1006 02:51:00 Swap: 1023 1 1022 02:51:00 02:51:00 02:51:00 ---> ip addr: 02:51:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:00 inet 127.0.0.1/8 scope host lo 02:51:00 valid_lft forever preferred_lft forever 02:51:00 inet6 ::1/128 scope host 02:51:00 valid_lft forever preferred_lft forever 02:51:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:00 link/ether fa:16:3e:e9:89:16 brd ff:ff:ff:ff:ff:ff 02:51:00 inet 10.30.122.57/23 brd 10.30.123.255 scope global dynamic eth0 02:51:00 valid_lft 85834sec preferred_lft 85834sec 02:51:00 inet6 fe80::f816:3eff:fee9:8916/64 scope link 02:51:00 valid_lft forever preferred_lft forever 02:51:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:00 link/ether 02:42:d6:66:ae:03 brd ff:ff:ff:ff:ff:ff 02:51:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:00 valid_lft forever preferred_lft forever 02:51:00 inet6 fe80::42:d6ff:fe66:ae03/64 scope link 02:51:00 valid_lft forever preferred_lft forever 02:51:00 02:51:00 02:51:00 ---> sar -b -r -n DEV: 02:51:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:51:00 02:51:00 02:41:22 LINUX RESTART (4 CPU) 02:51:00 02:51:00 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:00 02:43:01 45.09 12.23 32.86 0.00 4486.95 2986.32 0.00 02:51:00 02:44:01 0.50 0.00 0.50 0.00 0.00 9.21 0.00 02:51:00 02:45:01 0.37 0.00 0.37 0.00 0.00 4.68 0.00 02:51:00 02:46:01 0.15 0.00 0.15 0.00 0.00 1.73 0.00 02:51:00 02:47:01 0.25 0.00 0.25 0.00 0.00 3.51 0.00 02:51:00 02:48:02 0.38 0.00 0.38 0.00 0.00 5.31 0.00 02:51:00 02:49:01 0.27 0.00 0.27 0.00 0.00 3.66 0.00 02:51:00 02:50:01 0.22 0.00 0.22 0.00 0.00 2.30 0.00 02:51:00 Average: 5.92 1.53 4.38 0.00 562.32 378.06 0.00 02:51:00 02:51:00 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:00 02:43:01 135344 0 629900 33.48 2620 1113680 1113580 38.00 400392 1146176 20 02:51:00 02:44:01 140180 0 625056 33.22 2620 1113688 1099840 37.54 398984 1143672 8 02:51:00 02:45:01 140296 0 624936 33.21 2620 1113692 1099840 37.54 395200 1147444 8 02:51:00 02:46:01 141992 0 623240 33.12 2620 1113692 1084292 37.01 394880 1146356 16 02:51:00 02:47:01 139372 0 625852 33.26 2620 1113700 1084340 37.01 398468 1145928 16 02:51:00 02:48:02 139076 0 626144 33.28 2620 1113704 1084352 37.01 398560 1145928 8 02:51:00 02:49:01 140668 0 624548 33.19 2620 1113708 1077136 36.76 397816 1145452 12 02:51:00 02:50:01 140676 0 624536 33.19 2620 1113712 1077136 36.76 397708 1145452 8 02:51:00 Average: 139700 0 625526 33.25 2620 1113697 1090064 37.20 397751 1145801 12 02:51:00 02:51:00 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:00 02:43:01 eth0 291.88 213.58 565.70 151.07 0.00 0.00 0.00 0.00 02:51:00 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:43:01 docker0 7.82 5.28 1.21 23.36 0.00 0.00 0.00 0.00 02:51:00 02:44:01 eth0 3.55 0.73 0.99 0.55 0.00 0.00 0.00 0.00 02:51:00 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:45:01 eth0 2.90 0.57 0.71 0.43 0.00 0.00 0.00 0.00 02:51:00 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:46:01 eth0 2.43 0.58 0.66 0.40 0.00 0.00 0.00 0.00 02:51:00 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:47:01 eth0 1.28 0.42 0.46 0.27 0.00 0.00 0.00 0.00 02:51:00 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:48:02 eth0 1.17 0.62 0.70 0.40 0.00 0.00 0.00 0.00 02:51:00 02:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:48:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:49:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:51:00 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:50:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:51:00 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 Average: eth0 38.03 27.15 71.34 19.19 0.00 0.00 0.00 0.00 02:51:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:00 Average: docker0 0.98 0.66 0.15 2.93 0.00 0.00 0.00 0.00 02:51:00 02:51:00 02:51:00 ---> sar -P ALL: 02:51:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 02:51:00 02:51:00 02:41:22 LINUX RESTART (4 CPU) 02:51:00 02:51:00 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:51:00 02:43:01 all 4.72 0.00 2.37 1.19 0.04 91.68 02:51:00 02:43:01 0 5.22 0.00 2.66 1.16 0.03 90.92 02:51:00 02:43:01 1 4.16 0.00 2.35 0.35 0.03 93.11 02:51:00 02:43:01 2 4.99 0.00 2.18 2.92 0.03 89.87 02:51:00 02:43:01 3 4.50 0.00 2.28 0.32 0.07 92.83 02:51:00 02:44:01 all 0.18 0.00 0.04 0.00 0.01 99.77 02:51:00 02:44:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:51:00 02:44:01 1 0.52 0.00 0.05 0.00 0.02 99.42 02:51:00 02:44:01 2 0.08 0.00 0.07 0.00 0.02 99.83 02:51:00 02:44:01 3 0.10 0.00 0.03 0.00 0.00 99.87 02:51:00 02:45:01 all 0.16 0.00 0.04 0.00 0.02 99.78 02:51:00 02:45:01 0 0.03 0.00 0.07 0.00 0.02 99.88 02:51:00 02:45:01 1 0.52 0.00 0.02 0.00 0.02 99.45 02:51:00 02:45:01 2 0.07 0.00 0.05 0.00 0.02 99.87 02:51:00 02:45:01 3 0.02 0.00 0.03 0.00 0.02 99.93 02:51:00 02:46:01 all 0.17 0.00 0.02 0.00 0.00 99.80 02:51:00 02:46:01 0 0.05 0.00 0.02 0.00 0.00 99.93 02:51:00 02:46:01 1 0.55 0.00 0.02 0.00 0.00 99.43 02:51:00 02:46:01 2 0.07 0.00 0.05 0.00 0.00 99.88 02:51:00 02:46:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:51:00 02:47:01 all 0.17 0.00 0.04 0.00 0.00 99.79 02:51:00 02:47:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:51:00 02:47:01 1 0.28 0.00 0.03 0.00 0.02 99.67 02:51:00 02:47:01 2 0.28 0.00 0.03 0.00 0.00 99.68 02:51:00 02:47:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:51:00 02:48:02 all 0.16 0.00 0.02 0.00 0.00 99.81 02:51:00 02:48:02 0 0.05 0.00 0.05 0.00 0.02 99.88 02:51:00 02:48:02 1 0.25 0.00 0.02 0.00 0.00 99.73 02:51:00 02:48:02 2 0.32 0.00 0.03 0.00 0.00 99.65 02:51:00 02:48:02 3 0.02 0.00 0.00 0.00 0.00 99.98 02:51:00 02:49:01 all 0.14 0.00 0.05 0.00 0.00 99.81 02:51:00 02:49:01 0 0.05 0.00 0.07 0.00 0.00 99.88 02:51:00 02:49:01 1 0.42 0.00 0.07 0.00 0.00 99.51 02:51:00 02:49:01 2 0.07 0.00 0.02 0.00 0.00 99.92 02:51:00 02:49:01 3 0.02 0.00 0.03 0.00 0.02 99.93 02:51:00 02:50:01 all 0.04 0.00 0.04 0.00 0.00 99.92 02:51:00 02:50:01 0 0.05 0.00 0.03 0.00 0.00 99.92 02:51:00 02:50:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:51:00 02:50:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:51:00 02:50:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:51:00 Average: all 0.71 0.00 0.33 0.15 0.01 98.80 02:51:00 Average: 0 0.69 0.00 0.37 0.14 0.01 98.79 02:51:00 Average: 1 0.84 0.00 0.32 0.04 0.01 98.78 02:51:00 Average: 2 0.74 0.00 0.31 0.36 0.01 98.58 02:51:00 Average: 3 0.59 0.00 0.31 0.04 0.01 99.05 02:51:00 02:51:00 02:51:00