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 6f3dd4d201a93bcda4f4931f685f2c776ae14895+4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 (6529ad00da4315e5d9776db815d2d7910dabe39b) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f82e9360b4159668f7e3e090307a6179e9a8e48d using credential edgex-jenkins-ssh > 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 Running on prd-centos7-docker-4c-2g-20740 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [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-718 # 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/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 6f3dd4d201a93bcda4f4931f685f2c776ae14895 Merge succeeded, producing 5d7757e3a36caa7638257241c612e66b4176ca0d Checking out Revision 5d7757e3a36caa7638257241c612e66b4176ca0d (PR-718) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # 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 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d7757e3a36caa7638257241c612e66b4176ca0d # timeout=10 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:40:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:40:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:40:31 ========================================================= 02:40:31 EdgeX Global Pipelines Version Info 02:40:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:40:33 ------------------- 02:40:33 stable info: 02:40:33 ------------------- 02:40:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:40:33 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 02:40:33 Message: update stable to v1.0.177 02:40:34 ------------------- 02:40:34 experimental info: 02:40:34 ------------------- 02:40:34 Commited By: **** collab-it+edgex@linuxfoundation.org 02:40:34 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 02:40:34 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:40:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:40:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:40:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:40:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:40:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:40:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:40:36 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-718 [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-718 [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-718 [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d7757e [Pipeline] echo 02:40:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:40:37 provisioning config files... 02:40:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config4196564232859759319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:38 ---> docker-login.sh 02:40:38 nexus3.edgexfoundry.org:10001 02:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:38 Configure a credential helper to remove this warning. See 02:40:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:38 02:40:38 Login Succeeded 02:40:38 nexus3.edgexfoundry.org:10002 02:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:39 Configure a credential helper to remove this warning. See 02:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:39 02:40:39 Login Succeeded 02:40:39 nexus3.edgexfoundry.org:10003 02:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:39 Configure a credential helper to remove this warning. See 02:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:39 02:40:39 Login Succeeded 02:40:39 nexus3.edgexfoundry.org:10004 02:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:39 Configure a credential helper to remove this warning. See 02:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:39 02:40:39 Login Succeeded 02:40:39 docker.io 02:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:39 Configure a credential helper to remove this warning. See 02:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:39 02:40:39 Login Succeeded 02:40:39 ---> docker-login.sh ends [Pipeline] } 02:40:39 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:40:40 + git log --format=format:%s -1 5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] echo 02:40:40 GIT_COMMIT: 5d7757e3a36caa7638257241c612e66b4176ca0d, Commit Message: Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD [Pipeline] echo 02:40:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:40:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:41 02:40:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:40:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:41 latest: Pulling from edgex-devops/git-semver 02:40:41 31603596830f: Pulling fs layer 02:40:41 2a8b12db71e7: Pulling fs layer 02:40:41 6ca5941a6612: Pulling fs layer 02:40:41 ecc8261a40a4: Pulling fs layer 02:40:41 ecc8261a40a4: Waiting 02:40:41 2a8b12db71e7: Download complete 02:40:42 31603596830f: Verifying Checksum 02:40:42 31603596830f: Download complete 02:40:42 ecc8261a40a4: Verifying Checksum 02:40:42 ecc8261a40a4: Download complete 02:40:42 6ca5941a6612: Verifying Checksum 02:40:42 6ca5941a6612: Download complete 02:40:42 31603596830f: Pull complete 02:40:42 2a8b12db71e7: Pull complete 02:40:43 6ca5941a6612: Pull complete 02:40:43 ecc8261a40a4: Pull complete 02:40:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:40:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:40:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:40:43 prd-centos7-docker-4c-2g-20740 does not seem to be running inside a container 02:40:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:40:46 $ docker top d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:46 [ssh-agent] Looking for ssh-agent implementation... 02:40:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:47 $ docker exec d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent 02:40:47 SSH_AUTH_SOCK=/tmp/ssh-jeT1hEMnyYqn/agent.12 02:40:47 SSH_AGENT_PID=18 02:40:47 Running ssh-add (command line suppressed) 02:40:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6177280365513546855.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_6177280365513546855.key) 02:40:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:47 + git tag --points-at HEAD [Pipeline] } 02:40:47 $ docker exec --env ******** --env ******** d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent -k 02:40:48 unset SSH_AUTH_SOCK; 02:40:48 unset SSH_AGENT_PID; 02:40:48 echo Agent pid 18 killed; 02:40:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:40:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:48 [ssh-agent] Looking for ssh-agent implementation... 02:40:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:48 $ docker exec d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent 02:40:48 SSH_AUTH_SOCK=/tmp/ssh-lu1gXoG19Av1/agent.46 02:40:48 SSH_AGENT_PID=52 02:40:48 Running ssh-add (command line suppressed) 02:40:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3251217863005944332.key (/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/private_key_3251217863005944332.key) 02:40:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:49 + git semver init 02:40:49 # -> Open(): unable to determine branch for HEAD 02:40:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.git 02:40:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-718 02:40:49 # $SEMVER_REMOTE_NAME = origin 02:40:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:40:49 # $SEMVER_USER_NAME = edgex-jenkins 02:40:49 # $SEMVER_BRANCH = PR-718 02:40:49 # $SEMVER_TEMP = /tmp/semver-734228087 02:40:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:40:49 # '/tmp/semver-734228087' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver' 02:40:49 # -> Force: false 02:40:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-718/.semver [Pipeline] } 02:40:49 $ docker exec --env ******** --env ******** d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a ssh-agent -k 02:40:50 unset SSH_AUTH_SOCK; 02:40:50 unset SSH_AGENT_PID; 02:40:50 echo Agent pid 52 killed; 02:40:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:50 + git semver [Pipeline] } 02:40:50 $ docker stop --time=1 d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a 02:40:52 $ docker rm -f d54b72f5dc695452f51af0803db47a8ca00ad747c3c96d8ad6e616a8684c172a [Pipeline] // withDockerContainer [Pipeline] sh 02:40:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:40:53 Stashed 1 file(s) [Pipeline] echo 02:40:53 [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:41:08 Still waiting to schedule task 02:41:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:41:08 Still waiting to schedule task 02:41:08 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:42:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20742 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws 02:42:59 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:43:04 using credential edgex-jenkins-ssh 02:43:04 Cloning the remote Git repository 02:43:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:04 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:43:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:04 > git --version # timeout=10 02:43:04 > git --version # 'git version 2.17.1' 02:43:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:06 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 6f3dd4d201a93bcda4f4931f685f2c776ae14895 02:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:06 > git config core.sparsecheckout # timeout=10 02:43:06 > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 02:43:06 > git remote # timeout=10 02:43:06 > git config --get remote.origin.url # timeout=10 02:43:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:06 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:43:06 Merge succeeded, producing a7adeccab9550d10efcf4f0c5c1bdc30e536518d 02:43:06 Checking out Revision a7adeccab9550d10efcf4f0c5c1bdc30e536518d (PR-718) 02:43:06 > git rev-parse HEAD^{commit} # timeout=10 02:43:06 > git config core.sparsecheckout # timeout=10 02:43:06 > git checkout -f a7adeccab9550d10efcf4f0c5c1bdc30e536518d # timeout=10 02:43:11 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:43:11 > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:43:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:13 + true 02:43:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:16 provisioning config files... 02:43:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2569106632646081704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:16 ---> docker-login.sh 02:43:16 nexus3.edgexfoundry.org:10001 02:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 nexus3.edgexfoundry.org:10002 02:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:18 Configure a credential helper to remove this warning. See 02:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:18 02:43:18 Login Succeeded 02:43:18 nexus3.edgexfoundry.org:10003 02:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:19 Configure a credential helper to remove this warning. See 02:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:19 02:43:19 Login Succeeded 02:43:19 nexus3.edgexfoundry.org:10004 02:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:19 Configure a credential helper to remove this warning. See 02:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:19 02:43:19 Login Succeeded 02:43:19 docker.io 02:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:20 Configure a credential helper to remove this warning. See 02:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:20 02:43:20 Login Succeeded 02:43:20 ---> docker-login.sh ends [Pipeline] } 02:43:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:20 ========================================================= 02:43:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:43:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:21 + 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:43:21 Sending build context to Docker daemon 2.659MB 02:43:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:43:21 Step 2/8 : FROM ${BASE} 02:43:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:43:21 5f621e34cdf4: Pulling fs layer 02:43:21 a4357932f1b6: Pulling fs layer 02:43:21 18c013af1878: Pulling fs layer 02:43:21 00ac8860ef70: Pulling fs layer 02:43:21 63d7cb157983: Pulling fs layer 02:43:21 b116817d02f9: Pulling fs layer 02:43:21 745a02a5169b: Pulling fs layer 02:43:21 00ac8860ef70: Waiting 02:43:21 63d7cb157983: Waiting 02:43:21 b116817d02f9: Waiting 02:43:21 745a02a5169b: Waiting 02:43:21 18c013af1878: Verifying Checksum 02:43:21 18c013af1878: Download complete 02:43:21 a4357932f1b6: Verifying Checksum 02:43:21 a4357932f1b6: Download complete 02:43:21 63d7cb157983: Download complete 02:43:22 b116817d02f9: Download complete 02:43:22 5f621e34cdf4: Download complete 02:43:23 5f621e34cdf4: Pull complete 02:43:23 a4357932f1b6: Pull complete 02:43:23 18c013af1878: Pull complete 02:43:24 745a02a5169b: Verifying Checksum 02:43:24 745a02a5169b: Download complete 02:43:26 00ac8860ef70: Verifying Checksum 02:43:26 00ac8860ef70: Download complete 02:43:38 00ac8860ef70: Pull complete 02:43:38 63d7cb157983: Pull complete 02:43:38 b116817d02f9: Pull complete 02:43:41 745a02a5169b: Pull complete 02:43:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:43:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:43:41 ---> b7e6874047d6 02:43:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:43:44 ---> Running in 4713df107766 02:43:44 Removing intermediate container 4713df107766 02:43:44 ---> 6a7f5d0cc30e 02:43:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:43:44 ---> Running in 2aaaca3e4d08 02:43:46 Removing intermediate container 2aaaca3e4d08 02:43:46 ---> e567d09c4403 02:43:46 Step 5/8 : RUN apk add --update --no-cache make git 02:43:46 ---> Running in 9b5ac1b5808b 02:43:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:43:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:43:51 OK: 142 MiB in 39 packages 02:43:52 Removing intermediate container 9b5ac1b5808b 02:43:52 ---> 431c9883883e 02:43:52 Step 6/8 : WORKDIR /device-sdk-go 02:43:52 ---> Running in d75a1c0e1356 02:43:52 Removing intermediate container d75a1c0e1356 02:43:52 ---> de0a89760e0c 02:43:52 Step 7/8 : COPY . . 02:43:54 ---> 5a0d438d1346 02:43:54 Step 8/8 : RUN go mod download 02:43:54 ---> Running in d6429d3db2f1 02:44:16 Removing intermediate container d6429d3db2f1 02:44:16 ---> a7091814553f 02:44:16 Successfully built a7091814553f 02:44:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:44:16 + docker inspect -f . ci-base-image-arm64 02:44:16 . [Pipeline] withDockerContainer 02:44:17 prd-ubuntu18.04-docker-arm64-4c-16g-20742 does not seem to be running inside a container 02:44:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat 02:44:18 $ docker top fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:19 + go version 02:44:19 go version go1.15.5 linux/arm64 [Pipeline] } 02:44:19 $ docker stop --time=1 fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c 02:44:21 $ docker rm -f fbb5c60ed1fb22f5d527ab7340ee19d3c578a340d0664488630d3cf5bc0ae07c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:22 + docker inspect -f . ci-base-image-arm64 02:44:22 . [Pipeline] withDockerContainer 02:44:23 prd-ubuntu18.04-docker-arm64-4c-16g-20742 does not seem to be running inside a container 02:44:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat 02:44:24 $ docker top 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:25 + make test 02:44:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:20 Running on prd-centos7-docker-4c-2g-20745 in /w/workspace/dgexfoundry_device-sdk-go_PR-718 [Pipeline] { [Pipeline] ws 02:45:20 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:45:23 using credential edgex-jenkins-ssh 02:45:23 Cloning the remote Git repository 02:45:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:23 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:23 > git --version # timeout=10 02:45:23 > git --version # 'git version 2.24.3' 02:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:24 Merging remotes/origin/master commit 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 into PR head commit 6f3dd4d201a93bcda4f4931f685f2c776ae14895 02:45:24 Merge succeeded, producing cb48b99934abbc8d4cb43cf4b76a4de209a16e35 02:45:24 Checking out Revision cb48b99934abbc8d4cb43cf4b76a4de209a16e35 (PR-718) 02:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/718/head:refs/remotes/origin/PR-718 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:24 > git config core.sparsecheckout # timeout=10 02:45:24 > git checkout -f 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 02:45:24 > git remote # timeout=10 02:45:24 > git config --get remote.origin.url # timeout=10 02:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:24 > git merge 4c3dc03c8ea9c7d0ca8607851bb568d204203cf0 # timeout=10 02:45:24 > git rev-parse HEAD^{commit} # timeout=10 02:45:24 > git config core.sparsecheckout # timeout=10 02:45:24 > git checkout -f cb48b99934abbc8d4cb43cf4b76a4de209a16e35 # timeout=10 02:45:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 19.4% of statements 02:45:28 Commit message: "Merge commit '4c3dc03c8ea9c7d0ca8607851bb568d204203cf0' into HEAD" 02:45:28 > git rev-list --no-walk 6f3dd4d201a93bcda4f4931f685f2c776ae14895 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:30 + sudo service docker restart 02:45:30 + true 02:45:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:31 provisioning config files... 02:45:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8766231640094737362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:32 ---> docker-login.sh 02:45:32 nexus3.edgexfoundry.org:10001 02:45:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.274s coverage: 97.1% of statements 02:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:32 Configure a credential helper to remove this warning. See 02:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:32 02:45:32 Login Succeeded 02:45:32 nexus3.edgexfoundry.org:10002 02:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:32 Configure a credential helper to remove this warning. See 02:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:32 02:45:32 Login Succeeded 02:45:32 nexus3.edgexfoundry.org:10003 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 nexus3.edgexfoundry.org:10004 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 docker.io 02:45:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:33 Configure a credential helper to remove this warning. See 02:45:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:33 02:45:33 Login Succeeded 02:45:33 ---> docker-login.sh ends [Pipeline] } 02:45:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:34 ========================================================= 02:45:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:34 + 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:45:34 Sending build context to Docker daemon 2.659MB 02:45:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:34 Step 2/8 : FROM ${BASE} 02:45:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:34 188c0c94c7c5: Pulling fs layer 02:45:34 0ef7d3d256c8: Pulling fs layer 02:45:34 de9db76c5a1d: Pulling fs layer 02:45:34 bca2f99d35d6: Pulling fs layer 02:45:34 93359f2a8cfa: Pulling fs layer 02:45:34 7c6f9722023f: Pulling fs layer 02:45:34 a35cf1a2eb13: Pulling fs layer 02:45:34 93359f2a8cfa: Waiting 02:45:34 bca2f99d35d6: Waiting 02:45:34 7c6f9722023f: Waiting 02:45:34 a35cf1a2eb13: Waiting 02:45:34 de9db76c5a1d: Verifying Checksum 02:45:34 de9db76c5a1d: Download complete 02:45:34 0ef7d3d256c8: Verifying Checksum 02:45:34 0ef7d3d256c8: Download complete 02:45:34 93359f2a8cfa: Verifying Checksum 02:45:34 93359f2a8cfa: Download complete 02:45:34 188c0c94c7c5: Verifying Checksum 02:45:34 188c0c94c7c5: Download complete 02:45:34 7c6f9722023f: Verifying Checksum 02:45:34 7c6f9722023f: Download complete 02:45:35 188c0c94c7c5: Pull complete 02:45:35 0ef7d3d256c8: Pull complete 02:45:35 de9db76c5a1d: Pull complete 02:45:37 a35cf1a2eb13: Verifying Checksum 02:45:37 a35cf1a2eb13: Download complete 02:45:38 bca2f99d35d6: Verifying Checksum 02:45:38 bca2f99d35d6: Download complete 02:45:43 bca2f99d35d6: Pull complete 02:45:43 93359f2a8cfa: Pull complete 02:45:43 7c6f9722023f: Pull complete 02:45:49 a35cf1a2eb13: Pull complete 02:45:49 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:49 ---> a62c8e92a672 02:45:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:49 ---> Running in 51ddc6a33beb 02:45:49 Removing intermediate container 51ddc6a33beb 02:45:49 ---> d58251951061 02:45:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:49 ---> Running in 77c050ad8d97 02:45:50 Removing intermediate container 77c050ad8d97 02:45:50 ---> c42068595b1c 02:45:50 Step 5/8 : RUN apk add --update --no-cache make git 02:45:50 ---> Running in 2eab376ce94f 02:45:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:52 OK: 166 MiB in 39 packages 02:45:53 Removing intermediate container 2eab376ce94f 02:45:53 ---> 7cc7ae92a75a 02:45:53 Step 6/8 : WORKDIR /device-sdk-go 02:45:53 ---> Running in 5470aed74812 02:45:53 Removing intermediate container 5470aed74812 02:45:53 ---> 130cfa59d8a3 02:45:53 Step 7/8 : COPY . . 02:45:55 ---> 758bc0a92257 02:45:55 Step 8/8 : RUN go mod download 02:45:55 ---> Running in d24318f09077 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.146s coverage: 9.4% of statements 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.162s coverage: 21.7% of statements 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.581s coverage: 42.9% of statements 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.744s coverage: 68.9% of statements 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.199s coverage: 53.8% of statements 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 25.6% of statements 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.710s coverage: 68.9% of statements 02:46:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements 02:46:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:04 GO111MODULE=on go vet ./... 02:46:13 Removing intermediate container d24318f09077 02:46:13 ---> d45beddc11af 02:46:13 Successfully built d45beddc11af 02:46:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker inspect -f . ci-base-image-x86_64 02:46:13 . [Pipeline] withDockerContainer 02:46:13 prd-centos7-docker-4c-2g-20745 does not seem to be running inside a container 02:46:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-x86_64 cat 02:46:14 $ docker top 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:15 + go version 02:46:15 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:15 $ docker stop --time=1 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e 02:46:16 $ docker rm -f 8ecfb6996e739d1505928ba14210843241ab67446071c9a1b467b808b62e205e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:17 + docker inspect -f . ci-base-image-x86_64 02:46:17 . [Pipeline] withDockerContainer 02:46:17 prd-centos7-docker-4c-2g-20745 does not seem to be running inside a container 02:46:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-x86_64 cat 02:46:18 $ docker top e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:19 + make test 02:46:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:37 gofmt -l . 02:46:37 [ "`gofmt -l .`" = "" ] 02:46:37 ./bin/test-attribution-txt.sh 02:46:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:37 $ docker stop --time=1 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc 02:46:40 $ docker rm -f 391644a0a75a8d61e913a5ddd58cf8f648f42e59821902bd1e09d412e96341fc [Pipeline] // withDockerContainer [Pipeline] sh 02:46:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 02:46:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 19.4% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:45 + ls -al . 02:46:45 total 260 02:46:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 02:46 . 02:46:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 .. 02:46:45 -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 02:43 .dockerignore 02:46:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 02:43 .git 02:46:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:43 .github 02:46:45 -rw-rw-r-- 1 jenkins jenkins 138 Jan 16 02:43 .gitignore 02:46:45 -rw-rw-r-- 1 jenkins jenkins 949 Jan 16 02:43 Dockerfile.build 02:46:45 -rw-rw-r-- 1 jenkins jenkins 901 Jan 16 02:43 Jenkinsfile 02:46:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 02:43 LICENSE 02:46:45 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 16 02:43 Makefile 02:46:45 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 16 02:43 README.md 02:46:45 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 16 02:43 RELEASE-NOTES.txt 02:46:45 -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 02:40 VERSION 02:46:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 02:43 bin 02:46:45 -rw-r--r-- 1 jenkins jenkins 144063 Jan 16 02:45 coverage.out 02:46:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 example 02:46:45 -rw-r--r-- 1 jenkins jenkins 491 Jan 16 02:46 go.mod 02:46:45 -rw-r--r-- 1 jenkins jenkins 14124 Jan 16 02:46 go.sum 02:46:45 drwxrwxr-x 15 jenkins jenkins 4096 Jan 16 02:43 internal 02:46:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 openapi 02:46:45 drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 02:43 pkg 02:46:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 02:43 snap 02:46:45 -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:46:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.530s coverage: 97.1% of statements 02:46:45 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5d7757e3a36caa7638257241c612e66b4176ca0d --label arch=arm64 --label version=0.0.0 . 02:46:46 Sending build context to Docker daemon 2.804MB 02:46:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:46 Step 2/24 : FROM ${BASE} AS builder 02:46:46 ---> a7091814553f 02:46:46 Step 3/24 : ARG MAKE='make build' 02:46:46 ---> Running in 41f46e3ae070 02:46:47 Removing intermediate container 41f46e3ae070 02:46:47 ---> fe9959b1de94 02:46:47 Step 4/24 : WORKDIR /device-sdk-go 02:46:47 ---> Running in b19976dd9e4e 02:46:47 Removing intermediate container b19976dd9e4e 02:46:47 ---> 644154a6d18a 02:46:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:47 ---> Running in 4a4700b667a6 02:46:48 Removing intermediate container 4a4700b667a6 02:46:48 ---> a058689bdaeb 02:46:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:48 ---> Running in 0bd30ed3997a 02:46:50 Removing intermediate container 0bd30ed3997a 02:46:50 ---> 228e5a536ca6 02:46:50 Step 7/24 : RUN apk add --update --no-cache make git 02:46:50 ---> Running in e4ac0c01a3bb 02:46:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:52 OK: 142 MiB in 39 packages 02:46:54 Removing intermediate container e4ac0c01a3bb 02:46:54 ---> 3e2edd5d0862 02:46:54 Step 8/24 : COPY . . 02:46:55 ---> 2d8c8987613d 02:46:55 Step 9/24 : RUN ${MAKE} 02:46:55 ---> Running in f052fbd573a4 02:46:56 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:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.082s coverage: 9.4% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.246s coverage: 42.9% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.290s coverage: 68.9% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 53.8% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 25.6% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.426s coverage: 68.9% of statements 02:47:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.2% of statements 02:47:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:17 GO111MODULE=on go vet ./... 02:47:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:23 Removing intermediate container f052fbd573a4 02:47:23 ---> 1e421d62f520 02:47:23 Step 10/24 : FROM scratch 02:47:23 ---> 02:47:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:23 ---> Running in 767d753d35e4 02:47:23 Removing intermediate container 767d753d35e4 02:47:23 ---> 377a20b5250f 02:47:23 Step 12/24 : ENV APP_PORT=49990 02:47:23 ---> Running in 714e9cf9a65e 02:47:24 Removing intermediate container 714e9cf9a65e 02:47:24 ---> bb79652d1c3b 02:47:24 Step 13/24 : EXPOSE $APP_PORT 02:47:24 ---> Running in 8edfacbdeb47 02:47:24 Removing intermediate container 8edfacbdeb47 02:47:24 ---> 49aec4a3de45 02:47:24 Step 14/24 : WORKDIR / 02:47:24 ---> Running in 9c842e688071 02:47:24 gofmt -l . 02:47:24 [ "`gofmt -l .`" = "" ] 02:47:24 ./bin/test-attribution-txt.sh 02:47:25 Removing intermediate container 9c842e688071 02:47:25 ---> 96eac908c52c 02:47:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:25 $ docker stop --time=1 e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 02:47:26 ---> e676cf446ca5 02:47:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:26 ---> c67addec7f88 02:47:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:27 $ docker rm -f e072390fea30bc8e583c126f10927edc224e2d3ed01b25c9c224d4da7e4772f1 02:47:27 ---> 706e73daddf4 02:47:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // withDockerContainer [Pipeline] sh 02:47:28 + sudo chown -R jenkins:jenkins . 02:47:28 ---> b08a40a48038 02:47:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] stash 02:47:28 Warning: overwriting stash ‘coverage-report’ 02:47:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 02:47:28 ---> c3d7e906e19f 02:47:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:29 ---> Running in c9bdd83b530b 02:47:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:29 + ls -al . 02:47:29 total 224 02:47:29 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 16 02:47 . 02:47:29 drwxrwxr-x. 4 jenkins jenkins 28 Jan 16 02:45 .. 02:47:29 drwxrwxr-x. 2 jenkins jenkins 64 Jan 16 02:45 bin 02:47:29 -rw-r--r--. 1 jenkins jenkins 144063 Jan 16 02:47 coverage.out 02:47:29 -rw-rw-r--. 1 jenkins jenkins 949 Jan 16 02:45 Dockerfile.build 02:47:29 -rw-rw-r--. 1 jenkins jenkins 140 Jan 16 02:45 .dockerignore 02:47:29 drwxrwxr-x. 4 jenkins jenkins 48 Jan 16 02:45 example 02:47:29 drwxrwxr-x. 8 jenkins jenkins 179 Jan 16 02:45 .git 02:47:29 drwxrwxr-x. 2 jenkins jenkins 103 Jan 16 02:45 .github 02:47:29 -rw-rw-r--. 1 jenkins jenkins 138 Jan 16 02:45 .gitignore 02:47:29 -rw-r--r--. 1 jenkins jenkins 491 Jan 16 02:47 go.mod 02:47:29 -rw-r--r--. 1 jenkins jenkins 14124 Jan 16 02:47 go.sum 02:47:29 drwxrwxr-x. 15 jenkins jenkins 211 Jan 16 02:45 internal 02:47:29 -rw-rw-r--. 1 jenkins jenkins 901 Jan 16 02:45 Jenkinsfile 02:47:29 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 16 02:45 LICENSE 02:47:29 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 16 02:45 Makefile 02:47:29 drwxrwxr-x. 4 jenkins jenkins 26 Jan 16 02:45 openapi 02:47:29 drwxrwxr-x. 5 jenkins jenkins 50 Jan 16 02:45 pkg 02:47:29 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 16 02:45 README.md 02:47:29 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 16 02:45 RELEASE-NOTES.txt 02:47:29 drwxrwxr-x. 4 jenkins jenkins 54 Jan 16 02:45 snap 02:47:29 -rw-rw-r--. 1 jenkins jenkins 5 Jan 16 02:40 VERSION 02:47:29 -rw-rw-r--. 1 jenkins jenkins 222 Jan 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:29 Removing intermediate container c9bdd83b530b 02:47:29 ---> 3caeb809ecb9 02:47:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:29 ---> Running in 050ae88b0ff5 02:47:29 + 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=5d7757e3a36caa7638257241c612e66b4176ca0d --label arch=amd64 --label version=0.0.0 . 02:47:30 Removing intermediate container 050ae88b0ff5 02:47:30 ---> 111385864880 02:47:30 Step 22/24 : LABEL arch=arm64 02:47:30 ---> Running in 06d25fef1f40 02:47:30 Sending build context to Docker daemon 2.804MB 02:47:30 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:30 Step 2/24 : FROM ${BASE} AS builder 02:47:30 ---> d45beddc11af 02:47:30 Step 3/24 : ARG MAKE='make build' 02:47:30 Removing intermediate container 06d25fef1f40 02:47:30 ---> 349eb9c1d401 02:47:30 Step 23/24 : LABEL git_sha=5d7757e3a36caa7638257241c612e66b4176ca0d 02:47:30 ---> Running in 2af4e7c64938 02:47:31 ---> Running in 413df75bbb3b 02:47:31 Removing intermediate container 413df75bbb3b 02:47:31 ---> aca3d4ccbce3 02:47:31 Step 4/24 : WORKDIR /device-sdk-go 02:47:31 ---> Running in 995cee93a828 02:47:31 Removing intermediate container 995cee93a828 02:47:31 ---> ff0057832e66 02:47:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:31 Removing intermediate container 2af4e7c64938 02:47:31 ---> 9a1cde6ae0bd 02:47:31 Step 24/24 : LABEL version=0.0.0 02:47:31 ---> Running in dacd4ff4004e 02:47:31 ---> Running in b9b0d13480f8 02:47:31 Removing intermediate container b9b0d13480f8 02:47:31 ---> 58a8f430a31b 02:47:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:31 ---> Running in 04bbb5ed60bd 02:47:32 Removing intermediate container dacd4ff4004e 02:47:32 ---> 29a3fce48788 02:47:32 [Warning] One or more build-args [ARCH] were not consumed 02:47:32 Successfully built 29a3fce48788 02:47:32 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:33 Removing intermediate container 04bbb5ed60bd 02:47:33 ---> e51a9c51c49b 02:47:33 Step 7/24 : RUN apk add --update --no-cache make git 02:47:33 ---> Running in b9295709d439 02:47:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:34 OK: 166 MiB in 39 packages 02:47:34 Removing intermediate container b9295709d439 02:47:34 ---> 4a6e9f45b4a8 02:47:34 Step 8/24 : COPY . . 02:47:36 ---> ec5b04ba2a41 02:47:36 Step 9/24 : RUN ${MAKE} 02:47:36 ---> Running in ee9c0d1127f6 02:47:36 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:47:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:48 Removing intermediate container ee9c0d1127f6 02:47:48 ---> 5703e4f9e31d 02:47:48 Step 10/24 : FROM scratch 02:47:48 ---> 02:47:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:48 ---> Running in 09d12c0a857d 02:47:48 Removing intermediate container 09d12c0a857d 02:47:48 ---> 2b2dbd55ee1d 02:47:48 Step 12/24 : ENV APP_PORT=49990 02:47:48 ---> Running in 26093f29f2b3 02:47:49 Removing intermediate container 26093f29f2b3 02:47:49 ---> 19119934f91a 02:47:49 Step 13/24 : EXPOSE $APP_PORT 02:47:49 ---> Running in 1d3cd7e8f6b9 02:47:49 Removing intermediate container 1d3cd7e8f6b9 02:47:49 ---> 20a873249038 02:47:49 Step 14/24 : WORKDIR / 02:47:49 ---> Running in f58245238613 02:47:49 Removing intermediate container f58245238613 02:47:49 ---> 34034974fcc6 02:47:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:50 ---> 8ed17f26bd47 02:47:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:50 ---> 3eb7f4b6ddba 02:47:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:50 ---> 2b958a0a53be 02:47:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:50 ---> af25109e1aa2 02:47:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:50 ---> 5c7c90fe07c9 02:47:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:50 ---> Running in 1b5f9ac4df6b 02:47:51 Removing intermediate container 1b5f9ac4df6b 02:47:51 ---> b609db7b5b18 02:47:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:51 ---> Running in d37b6bd0160d 02:47:51 Removing intermediate container d37b6bd0160d 02:47:51 ---> 025a6881f5db 02:47:51 Step 22/24 : LABEL arch=amd64 02:47:51 ---> Running in 3e4752a7d750 02:47:51 Removing intermediate container 3e4752a7d750 02:47:51 ---> e544427368e7 02:47:51 Step 23/24 : LABEL git_sha=5d7757e3a36caa7638257241c612e66b4176ca0d 02:47:51 ---> Running in 70aec4032a7b 02:47:51 Removing intermediate container 70aec4032a7b 02:47:51 ---> 93dedac8ccff 02:47:51 Step 24/24 : LABEL version=0.0.0 02:47:52 ---> Running in 8f31f51ffe64 02:47:52 Removing intermediate container 8f31f51ffe64 02:47:52 ---> dee64fd6bf1d 02:47:52 [Warning] One or more build-args [ARCH] were not consumed 02:47:52 Successfully built dee64fd6bf1d 02:47:52 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:47:53 provisioning config files... 02:47:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config3945897658630304163tmp [Pipeline] { [Pipeline] sh 02:47:54 + set +x 02:47:54 + curl -s https://codecov.io/bash 02:47:54 + bash -s -- 02:47:54 02:47:54 _____ _ 02:47:54 / ____| | | 02:47:54 | | ___ __| | ___ ___ _____ __ 02:47:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:47:54 | |___| (_) | (_| | __/ (_| (_) \ V / 02:47:54 \_____\___/ \__,_|\___|\___\___/ \_/ 02:47:54 Bash-20210115-cec3c92 02:47:54 02:47:54 02:47:54 ==> git version 2.24.3 found 02:47:54 ==> 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:47:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:47:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:47:54 ==> Jenkins CI detected. 02:47:54 project root: . 02:47:54 --> token set from env 02:47:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:47:54 ==> Running gcov in . (disable via -X gcov) 02:47:54 ==> Python coveragepy not found 02:47:54 ==> Searching for coverage reports in: 02:47:54 + . 02:47:54 -> Found 1 reports 02:47:54 ==> Detecting git/mercurial file structure 02:47:54 ==> Reading reports 02:47:54 + ./coverage.out bytes=144063 02:47:54 ==> Appending adjustments 02:47:54 https://docs.codecov.io/docs/fixing-reports 02:47:55 + Found adjustments 02:47:55 ==> Gzipping contents 02:47:55 24K /tmp/codecov.Hbh6ef.gz 02:47:55 ==> Uploading reports 02:47:55 url: https://codecov.io 02:47:55 query: branch=PR-718&commit=5d7757e3a36caa7638257241c612e66b4176ca0d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= 02:47:55 -> Pinging Codecov 02:47:55 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-718&commit=5d7757e3a36caa7638257241c612e66b4176ca0d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-718%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=718&job=&cmd_args= 02:47:55 -> Uploading to 02:47:55 https://storage.googleapis.com/codecov/v4/raw/2021-01-16/7E55EF52A471D76F132DFD9A03CDDE97/5d7757e3a36caa7638257241c612e66b4176ca0d/b948b111-6520-42c1-992f-006e2dc75c4d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210116T024755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d47599e84be6a09c74046ef5510f1bd5e9eb85f67d85ea367a1478f16c2560ec 02:47:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:55 Dload Upload Total Spent Left Speed 02:47:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22331 0 0 100 22331 0 40910 --:--:-- --:--:-- --:--:-- 40974 02:47:56 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d7757e3a36caa7638257241c612e66b4176ca0d [Pipeline] } 02:47:56 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:47:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:59 ---> package-listing.sh 02:47:59 ++ facter osfamily 02:47:59 ++ tr '[:upper:]' '[:lower:]' 02:47:59 + OS_FAMILY=redhat 02:47:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-718 02:47:59 + START_PACKAGES=/tmp/packages_start.txt 02:47:59 + END_PACKAGES=/tmp/packages_end.txt 02:47:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:59 + PACKAGES=/tmp/packages_start.txt 02:47:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' 02:47:59 + PACKAGES=/tmp/packages_end.txt 02:47:59 + case "${OS_FAMILY}" in 02:47:59 + rpm -qa 02:47:59 + sort 02:48:04 + '[' -f /tmp/packages_start.txt ']' 02:48:04 + '[' -f /tmp/packages_end.txt ']' 02:48:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-718 ']' 02:48:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ 02:48:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-718/archives/ [Pipeline] echo 02:48:04 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-718/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:05 02:48:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:05 alpine: Pulling from edgex-lftools-log-publisher 02:48:05 df20fa9351a1: Pulling fs layer 02:48:05 36b3adc4ff6f: Pulling fs layer 02:48:05 8ad3a11d3b57: Pulling fs layer 02:48:05 46f8f816bc3b: Pulling fs layer 02:48:05 93b61091891f: Pulling fs layer 02:48:05 93b9cdb0e59b: Pulling fs layer 02:48:05 5e14af77c1be: Pulling fs layer 02:48:05 01666e4c0597: Pulling fs layer 02:48:05 aa168da1d23b: Pulling fs layer 02:48:05 93b9cdb0e59b: Waiting 02:48:05 01666e4c0597: Waiting 02:48:05 5e14af77c1be: Waiting 02:48:05 93b61091891f: Waiting 02:48:05 46f8f816bc3b: Waiting 02:48:05 36b3adc4ff6f: Verifying Checksum 02:48:05 36b3adc4ff6f: Download complete 02:48:05 46f8f816bc3b: Verifying Checksum 02:48:05 46f8f816bc3b: Download complete 02:48:06 df20fa9351a1: Verifying Checksum 02:48:06 df20fa9351a1: Download complete 02:48:06 93b9cdb0e59b: Verifying Checksum 02:48:06 93b9cdb0e59b: Download complete 02:48:06 93b61091891f: Download complete 02:48:06 5e14af77c1be: Verifying Checksum 02:48:06 5e14af77c1be: Download complete 02:48:06 01666e4c0597: Verifying Checksum 02:48:06 01666e4c0597: Download complete 02:48:06 df20fa9351a1: Pull complete 02:48:06 36b3adc4ff6f: Pull complete 02:48:06 8ad3a11d3b57: Verifying Checksum 02:48:06 8ad3a11d3b57: Download complete 02:48:08 aa168da1d23b: Download complete 02:48:09 8ad3a11d3b57: Pull complete 02:48:09 46f8f816bc3b: Pull complete 02:48:10 93b61091891f: Pull complete 02:48:10 93b9cdb0e59b: Pull complete 02:48:10 5e14af77c1be: Pull complete 02:48:10 01666e4c0597: Pull complete 02:48:16 aa168da1d23b: Pull complete 02:48:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:17 prd-centos7-docker-4c-2g-20740 does not seem to be running inside a container 02:48:17 $ 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-718/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-718 -v /w/workspace/dgexfoundry_device-sdk-go_PR-718:/w/workspace/dgexfoundry_device-sdk-go_PR-718:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:48:20 $ docker top f2ad7dc46876075efb4696fd9bbb19f7d3381dc7d92e9e732c15067d13cc2a3b -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:21 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:21 + mkdir -p /var/log/sa [Pipeline] sh 02:48:21 + ls /var/log/sa-host 02:48:21 + sadf -c /var/log/sa-host/sa16 02:48:21 file_magic: OK 02:48:21 HZ: Using current value: 100 02:48:21 file_header: OK 02:48:21 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:48:21 Statistics: 02:48:21 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:21 File successfully converted to sysstat format version 12.2.1 02:48:21 + sadf -c /var/log/sa-host/sa23 02:48:21 file_magic: OK 02:48:21 HZ: Using current value: 100 02:48:21 file_header: OK 02:48:21 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:48:21 Statistics: 02:48:21 Hnuu...uuuununununu... 02:48:21 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:22 provisioning config files... 02:48:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp/config6357036357997697550tmp [Pipeline] { [Pipeline] echo 02:48:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:22 ---> create-netrc.sh [Pipeline] } 02:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:48:22 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:23 ---> python-tools-install.sh [Pipeline] echo 02:48:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:23 ---> sudo-logs.sh 02:48:23 Archiving 'sudo' log.. [Pipeline] echo 02:48:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:23 ---> job-cost.sh 02:48:23 lf-activate-venv: SKIPPING 02:48:23 INFO: No Stack... 02:48:24 INFO: Retrieving Pricing Info for: v1-standard-2 02:48:25 INFO: Archiving Costs [Pipeline] echo 02:48:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:25 ---> logs-deploy.sh 02:48:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-718/6 02:48:25 INFO: archiving workspace using pattern(s): 02:48:26 Archives upload complete. 02:48:27 INFO: archiving logs to Nexus 02:48:28 ---> uname -a: 02:48:28 Linux prd-centos7-docker-4c-2g-20740.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:48:28 02:48:28 02:48:28 ---> lscpu: 02:48:28 Architecture: x86_64 02:48:28 CPU op-mode(s): 32-bit, 64-bit 02:48:28 Byte Order: Little Endian 02:48:28 Address sizes: 40 bits physical, 48 bits virtual 02:48:28 CPU(s): 4 02:48:28 On-line CPU(s) list: 0-3 02:48:28 Thread(s) per core: 1 02:48:28 Core(s) per socket: 1 02:48:28 Socket(s): 4 02:48:28 NUMA node(s): 1 02:48:28 Vendor ID: GenuineIntel 02:48:28 CPU family: 6 02:48:28 Model: 44 02:48:28 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:48:28 Stepping: 1 02:48:28 CPU MHz: 2933.442 02:48:28 BogoMIPS: 5866.88 02:48:28 Virtualization: VT-x 02:48:28 Hypervisor vendor: KVM 02:48:28 Virtualization type: full 02:48:28 L1d cache: 128 KiB 02:48:28 L1i cache: 128 KiB 02:48:28 L2 cache: 16 MiB 02:48:28 L3 cache: 64 MiB 02:48:28 NUMA node0 CPU(s): 0-3 02:48:28 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:48:28 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:48:28 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:48:28 Vulnerability Meltdown: Mitigation; PTI 02:48:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:48:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:48:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:48:28 Vulnerability Srbds: Not affected 02:48:28 Vulnerability Tsx async abort: Not affected 02:48:28 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:48:28 02:48:28 02:48:28 ---> nproc: 02:48:28 4 02:48:28 02:48:28 02:48:28 ---> df -h: 02:48:28 Filesystem Size Used Available Use% Mounted on 02:48:28 overlay 50.0G 6.9G 43.1G 14% / 02:48:28 tmpfs 64.0M 0 64.0M 0% /dev 02:48:28 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:48:28 shm 64.0M 0 64.0M 0% /dev/shm 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /facter-os 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/resolv.conf 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hostname 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /etc/hosts 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/secure 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/auth.log 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /run/cloud-init/result.json 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-718 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-718@tmp 02:48:28 /dev/vda1 50.0G 6.9G 43.1G 14% /var/log/sa-host 02:48:28 02:48:28 02:48:28 ---> free -m: 02:48:28 total used free shared buff/cache available 02:48:28 Mem: 1837 801 99 0 936 943 02:48:28 Swap: 1023 1 1022 02:48:28 02:48:28 02:48:28 ---> ip addr: 02:48:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:48:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:48:28 inet 127.0.0.1/8 scope host lo 02:48:28 valid_lft forever preferred_lft forever 02:48:28 inet6 ::1/128 scope host 02:48:28 valid_lft forever preferred_lft forever 02:48:28 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:48:28 link/ether fa:16:3e:cc:3d:a2 brd ff:ff:ff:ff:ff:ff 02:48:28 inet 10.30.122.150/23 brd 10.30.123.255 scope global dynamic eth0 02:48:28 valid_lft 82939sec preferred_lft 82939sec 02:48:28 inet6 fe80::f816:3eff:fecc:3da2/64 scope link 02:48:28 valid_lft forever preferred_lft forever 02:48:28 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:48:28 link/ether 02:42:2f:0c:f2:60 brd ff:ff:ff:ff:ff:ff 02:48:28 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:48:28 valid_lft forever preferred_lft forever 02:48:28 inet6 fe80::42:2fff:fe0c:f260/64 scope link 02:48:28 valid_lft forever preferred_lft forever 02:48:28 02:48:28