Pull request #702 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a5cd81ba5d97b4f8b070278caaacb444df4761db+b058260e0a173cbd20e8373902e2c8ff53da770e (e814fbd8f40e668686f5728b9f9e1d8c17bb82c4) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16986 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [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-702 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) > 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/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 Commit message: "feat: update DS in metadata to reflect config change" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:41:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:41:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:41:45 ========================================================= 04:41:45 EdgeX Global Pipelines Version Info 04:41:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:41:46 ------------------- 04:41:46 stable info: 04:41:46 ------------------- 04:41:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:41:46 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 04:41:46 Message: update stable to v1.0.173 04:41:47 ------------------- 04:41:47 experimental info: 04:41:47 ------------------- 04:41:47 Commited By: **** collab-it+edgex@linuxfoundation.org 04:41:47 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 04:41:47 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:41:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:41:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 04:41:50 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-702 [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-702 [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-702 [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5cd81b [Pipeline] echo 04:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:41:51 provisioning config files... 04:41:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config422275733906868417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:52 ---> docker-login.sh 04:41:52 nexus3.edgexfoundry.org:10001 04:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:52 Configure a credential helper to remove this warning. See 04:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:52 04:41:52 Login Succeeded 04:41:52 nexus3.edgexfoundry.org:10002 04:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:52 Configure a credential helper to remove this warning. See 04:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:52 04:41:52 Login Succeeded 04:41:52 nexus3.edgexfoundry.org:10003 04:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:53 Configure a credential helper to remove this warning. See 04:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:53 04:41:53 Login Succeeded 04:41:53 nexus3.edgexfoundry.org:10004 04:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:53 Configure a credential helper to remove this warning. See 04:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:53 04:41:53 Login Succeeded 04:41:53 docker.io 04:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:53 Configure a credential helper to remove this warning. See 04:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:53 04:41:53 Login Succeeded 04:41:53 ---> docker-login.sh ends [Pipeline] } 04:41:53 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 04:41:54 + git log --format=format:%s -1 a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] echo 04:41:54 GIT_COMMIT: a5cd81ba5d97b4f8b070278caaacb444df4761db, Commit Message: feat: update DS in metadata to reflect config change [Pipeline] echo 04:41:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:55 04:41:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:41:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:55 latest: Pulling from edgex-devops/git-semver 04:41:55 31603596830f: Pulling fs layer 04:41:55 2a8b12db71e7: Pulling fs layer 04:41:55 6ca5941a6612: Pulling fs layer 04:41:55 ecc8261a40a4: Pulling fs layer 04:41:55 ecc8261a40a4: Waiting 04:41:55 2a8b12db71e7: Verifying Checksum 04:41:55 2a8b12db71e7: Download complete 04:41:56 31603596830f: Download complete 04:41:56 ecc8261a40a4: Verifying Checksum 04:41:56 ecc8261a40a4: Download complete 04:41:56 6ca5941a6612: Verifying Checksum 04:41:56 6ca5941a6612: Download complete 04:41:56 31603596830f: Pull complete 04:41:56 2a8b12db71e7: Pull complete 04:41:57 6ca5941a6612: Pull complete 04:41:57 ecc8261a40a4: Pull complete 04:41:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:41:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:41:57 prd-centos7-docker-4c-2g-16986 does not seem to be running inside a container 04:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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 04:41:59 $ docker top 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:00 [ssh-agent] Looking for ssh-agent implementation... 04:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:00 $ docker exec 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent 04:42:00 SSH_AUTH_SOCK=/tmp/ssh-iFFfzFRI82k5/agent.11 04:42:00 SSH_AGENT_PID=17 04:42:00 Running ssh-add (command line suppressed) 04:42:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_1330665739045849520.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_1330665739045849520.key) 04:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:01 + git tag --points-at HEAD [Pipeline] } 04:42:01 $ docker exec --env ******** --env ******** 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent -k 04:42:01 unset SSH_AUTH_SOCK; 04:42:01 unset SSH_AGENT_PID; 04:42:01 echo Agent pid 17 killed; 04:42:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:42:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:01 [ssh-agent] Looking for ssh-agent implementation... 04:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:01 $ docker exec 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent 04:42:01 SSH_AUTH_SOCK=/tmp/ssh-SoZbNosGDLfq/agent.46 04:42:01 SSH_AGENT_PID=52 04:42:01 Running ssh-add (command line suppressed) 04:42:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_8850385639370388840.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_8850385639370388840.key) 04:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:02 + git semver init 04:42:02 # -> Open(): unable to determine branch for HEAD 04:42:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.git 04:42:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-702 04:42:02 # $SEMVER_REMOTE_NAME = origin 04:42:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:42:02 # $SEMVER_USER_NAME = edgex-jenkins 04:42:02 # $SEMVER_BRANCH = PR-702 04:42:02 # $SEMVER_TEMP = /tmp/semver-603907687 04:42:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:42:03 # '/tmp/semver-603907687' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver' 04:42:03 # -> Force: false 04:42:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver [Pipeline] } 04:42:03 $ docker exec --env ******** --env ******** 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 ssh-agent -k 04:42:03 unset SSH_AUTH_SOCK; 04:42:03 unset SSH_AGENT_PID; 04:42:03 echo Agent pid 52 killed; 04:42:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:04 + git semver [Pipeline] } 04:42:04 $ docker stop --time=1 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 04:42:05 $ docker rm -f 0923a2a8904d34c389a06c774724a5f1d9404fdaf58e82308b958655a0ca9548 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:42:06 Stashed 1 file(s) [Pipeline] echo 04:42:06 [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 04:42:22 Still waiting to schedule task 04:42:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:42:22 Still waiting to schedule task 04:42:22 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:44:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16987 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws 04:44:11 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:44:17 using credential edgex-jenkins-ssh 04:44:17 Cloning the remote Git repository 04:44:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:44:18 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:44:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:44:18 > git --version # timeout=10 04:44:18 > git --version # 'git version 2.17.1' 04:44:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:44:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:44:19 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db 04:44:20 Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db 04:44:20 Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) 04:44:20 > git config core.sparsecheckout # timeout=10 04:44:20 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 04:44:20 > git remote # timeout=10 04:44:20 > git config --get remote.origin.url # timeout=10 04:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:20 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 04:44:20 > git rev-parse HEAD^{commit} # timeout=10 04:44:20 > git config core.sparsecheckout # timeout=10 04:44:20 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 04:44:24 Commit message: "feat: update DS in metadata to reflect config change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:44:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:44:27 + true 04:44:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:44:29 provisioning config files... 04:44:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7465398707572731337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:29 ---> docker-login.sh 04:44:29 nexus3.edgexfoundry.org:10001 04:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:30 Configure a credential helper to remove this warning. See 04:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:30 04:44:30 Login Succeeded 04:44:30 nexus3.edgexfoundry.org:10002 04:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:31 Configure a credential helper to remove this warning. See 04:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:31 04:44:31 Login Succeeded 04:44:31 nexus3.edgexfoundry.org:10003 04:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:31 Configure a credential helper to remove this warning. See 04:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:31 04:44:31 Login Succeeded 04:44:31 nexus3.edgexfoundry.org:10004 04:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:32 Configure a credential helper to remove this warning. See 04:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:32 04:44:32 Login Succeeded 04:44:32 docker.io 04:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:33 Configure a credential helper to remove this warning. See 04:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:33 04:44:33 Login Succeeded 04:44:33 ---> docker-login.sh ends [Pipeline] } 04:44:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:44:33 ========================================================= 04:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:44:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:44:34 + 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 . 04:44:34 Sending build context to Docker daemon 2.42MB 04:44:34 Step 1/8 : ARG BASE=golang:1.15-alpine 04:44:34 Step 2/8 : FROM ${BASE} 04:44:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:44:34 5f621e34cdf4: Pulling fs layer 04:44:34 a4357932f1b6: Pulling fs layer 04:44:34 18c013af1878: Pulling fs layer 04:44:34 00ac8860ef70: Pulling fs layer 04:44:34 63d7cb157983: Pulling fs layer 04:44:34 b116817d02f9: Pulling fs layer 04:44:34 745a02a5169b: Pulling fs layer 04:44:34 00ac8860ef70: Waiting 04:44:34 63d7cb157983: Waiting 04:44:34 b116817d02f9: Waiting 04:44:34 745a02a5169b: Waiting 04:44:34 18c013af1878: Verifying Checksum 04:44:34 18c013af1878: Download complete 04:44:34 a4357932f1b6: Verifying Checksum 04:44:34 a4357932f1b6: Download complete 04:44:34 63d7cb157983: Verifying Checksum 04:44:34 63d7cb157983: Download complete 04:44:34 b116817d02f9: Verifying Checksum 04:44:34 b116817d02f9: Download complete 04:44:35 5f621e34cdf4: Verifying Checksum 04:44:36 5f621e34cdf4: Pull complete 04:44:37 a4357932f1b6: Pull complete 04:44:37 18c013af1878: Pull complete 04:44:38 745a02a5169b: Verifying Checksum 04:44:38 745a02a5169b: Download complete 04:44:39 00ac8860ef70: Download complete 04:44:49 00ac8860ef70: Pull complete 04:44:49 63d7cb157983: Pull complete 04:44:50 b116817d02f9: Pull complete 04:44:53 745a02a5169b: Pull complete 04:44:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:44:53 ---> b7e6874047d6 04:44:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:56 ---> Running in 59247d03bb2b 04:44:57 Removing intermediate container 59247d03bb2b 04:44:57 ---> 1e50da18d36e 04:44:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:57 ---> Running in 1e4e211e578d 04:44:59 Removing intermediate container 1e4e211e578d 04:44:59 ---> 446ef1e19b62 04:44:59 Step 5/8 : RUN apk add --no-cache make git 04:44:59 ---> Running in 0f589542903b 04:45:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:45:04 OK: 142 MiB in 39 packages 04:45:05 Removing intermediate container 0f589542903b 04:45:05 ---> 5ccaf254ae5d 04:45:05 Step 6/8 : WORKDIR /device-sdk-go 04:45:05 ---> Running in f0d85a07c034 04:45:06 Removing intermediate container f0d85a07c034 04:45:06 ---> 7e6300a5d0a6 04:45:06 Step 7/8 : COPY . . 04:45:07 ---> e51c0eda4f27 04:45:07 Step 8/8 : RUN go mod download 04:45:07 ---> Running in d77006fccb7b 04:45:13 Running on prd-centos7-docker-4c-2g-16988 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws 04:45:14 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:45:19 using credential edgex-jenkins-ssh 04:45:19 Cloning the remote Git repository 04:45:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:45:19 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:45:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:45:19 > git --version # timeout=10 04:45:19 > git --version # 'git version 2.24.3' 04:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:45:24 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit a5cd81ba5d97b4f8b070278caaacb444df4761db 04:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:45:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:45:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:45:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:45:24 > git config core.sparsecheckout # timeout=10 04:45:24 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 04:45:24 Merge succeeded, producing a5cd81ba5d97b4f8b070278caaacb444df4761db 04:45:24 Checking out Revision a5cd81ba5d97b4f8b070278caaacb444df4761db (PR-702) 04:45:24 > git remote # timeout=10 04:45:24 > git config --get remote.origin.url # timeout=10 04:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:45:24 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 04:45:24 > git rev-parse HEAD^{commit} # timeout=10 04:45:24 > git config core.sparsecheckout # timeout=10 04:45:25 > git checkout -f a5cd81ba5d97b4f8b070278caaacb444df4761db # timeout=10 04:45:29 Commit message: "feat: update DS in metadata to reflect config change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:30 Removing intermediate container d77006fccb7b 04:45:30 ---> c77c667d4113 04:45:30 Successfully built c77c667d4113 04:45:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:45:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 04:45:30 + docker inspect -f . ci-base-image-arm64 04:45:30 . [Pipeline] withDockerContainer 04:45:30 prd-ubuntu18.04-docker-arm64-4c-16g-16987 does not seem to be running inside a container 04:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:32 $ docker top 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:45:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:45:33 + true 04:45:33 + sudo service docker restart 04:45:33 Redirecting to /bin/systemctl restart docker.service 04:45:33 + go version 04:45:33 go version go1.15.5 linux/arm64 [Pipeline] } 04:45:33 $ docker stop --time=1 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c 04:45:35 $ docker rm -f 8e372e63324356b1563d13125e2b2868aea168b851d58675e0ce94617321440c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap 04:45:35 provisioning config files... 04:45:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4355054742412109576tmp [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:45:36 ---> docker-login.sh 04:45:36 nexus3.edgexfoundry.org:10001 04:45:36 + docker inspect -f . ci-base-image-arm64 04:45:36 . [Pipeline] withDockerContainer 04:45:36 prd-ubuntu18.04-docker-arm64-4c-16g-16987 does not seem to be running inside a container 04:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:37 Configure a credential helper to remove this warning. See 04:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:37 04:45:37 Login Succeeded 04:45:37 nexus3.edgexfoundry.org:10002 04:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:37 Configure a credential helper to remove this warning. See 04:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:37 04:45:37 Login Succeeded 04:45:37 nexus3.edgexfoundry.org:10003 04:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:38 Configure a credential helper to remove this warning. See 04:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:38 04:45:38 Login Succeeded 04:45:38 nexus3.edgexfoundry.org:10004 04:45:38 $ docker top 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f -eo pid,comm 04:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:38 Configure a credential helper to remove this warning. See 04:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:38 04:45:38 Login Succeeded 04:45:38 docker.io [Pipeline] { [Pipeline] sh 04:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:38 Configure a credential helper to remove this warning. See 04:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:38 04:45:38 Login Succeeded 04:45:38 ---> docker-login.sh ends [Pipeline] } 04:45:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:45:39 + make test 04:45:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] echo 04:45:39 ========================================================= 04:45:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:45:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:45:39 + 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 . 04:45:40 Sending build context to Docker daemon 2.421MB 04:45:40 Step 1/8 : ARG BASE=golang:1.15-alpine 04:45:40 Step 2/8 : FROM ${BASE} 04:45:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:45:40 188c0c94c7c5: Pulling fs layer 04:45:40 0ef7d3d256c8: Pulling fs layer 04:45:40 de9db76c5a1d: Pulling fs layer 04:45:40 bca2f99d35d6: Pulling fs layer 04:45:40 93359f2a8cfa: Pulling fs layer 04:45:40 7c6f9722023f: Pulling fs layer 04:45:40 a35cf1a2eb13: Pulling fs layer 04:45:40 93359f2a8cfa: Waiting 04:45:40 7c6f9722023f: Waiting 04:45:40 a35cf1a2eb13: Waiting 04:45:40 bca2f99d35d6: Waiting 04:45:40 de9db76c5a1d: Verifying Checksum 04:45:40 de9db76c5a1d: Download complete 04:45:40 0ef7d3d256c8: Download complete 04:45:40 93359f2a8cfa: Verifying Checksum 04:45:40 93359f2a8cfa: Download complete 04:45:40 7c6f9722023f: Download complete 04:45:41 188c0c94c7c5: Verifying Checksum 04:45:41 188c0c94c7c5: Download complete 04:45:41 188c0c94c7c5: Pull complete 04:45:41 0ef7d3d256c8: Pull complete 04:45:41 de9db76c5a1d: Pull complete 04:46:00 a35cf1a2eb13: Verifying Checksum 04:46:00 a35cf1a2eb13: Download complete 04:46:01 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:46:07 bca2f99d35d6: Verifying Checksum 04:46:07 bca2f99d35d6: Download complete 04:46:17 bca2f99d35d6: Pull complete 04:46:17 93359f2a8cfa: Pull complete 04:46:17 7c6f9722023f: Pull complete 04:46:26 a35cf1a2eb13: Pull complete 04:46:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:46:26 ---> a62c8e92a672 04:46:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:46:26 ---> Running in 9dc49b22b912 04:46:26 Removing intermediate container 9dc49b22b912 04:46:26 ---> 2dce61c4c556 04:46:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:46:26 ---> Running in 5762a87d7cbc 04:46:28 Removing intermediate container 5762a87d7cbc 04:46:28 ---> f1e2817249a5 04:46:28 Step 5/8 : RUN apk add --no-cache make git 04:46:29 ---> Running in 0f755810c295 04:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:46:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:46:32 OK: 166 MiB in 39 packages 04:46:33 Removing intermediate container 0f755810c295 04:46:33 ---> d27520c3e179 04:46:33 Step 6/8 : WORKDIR /device-sdk-go 04:46:33 ---> Running in 178206da90d2 04:46:33 Removing intermediate container 178206da90d2 04:46:33 ---> 011c9a294c8a 04:46:33 Step 7/8 : COPY . . 04:46:36 ---> c42976fab008 04:46:36 Step 8/8 : RUN go mod download 04:46:36 ---> Running in 508e37a9d31e 04:46:40 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:46:40 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:46:40 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:46:40 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.127s coverage: 19.4% of statements 04:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.190s coverage: 97.1% of statements 04:47:03 Removing intermediate container 508e37a9d31e 04:47:03 ---> 559100f3a4d7 04:47:03 Successfully built 559100f3a4d7 04:47:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:47:03 + docker inspect -f . ci-base-image-x86_64 04:47:03 . [Pipeline] withDockerContainer 04:47:04 prd-centos7-docker-4c-2g-16988 does not seem to be running inside a container 04:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:05 $ docker top fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:06 + go version 04:47:06 go version go1.15.5 linux/amd64 [Pipeline] } 04:47:06 $ docker stop --time=1 fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb 04:47:08 $ docker rm -f fd4c971f4118350c8629c587d270c37534558705645eaeddc7e3dd1525c0edbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:47:09 + docker inspect -f . ci-base-image-x86_64 04:47:09 . [Pipeline] withDockerContainer 04:47:09 prd-centos7-docker-4c-2g-16988 does not seem to be running inside a container 04:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.152s coverage: 9.4% of statements 04:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.587s coverage: 42.5% of statements 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.750s coverage: 68.9% of statements 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:47:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 53.8% of statements 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:47:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:47:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.743s coverage: 68.9% of statements 04:47:10 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.134s coverage: 4.2% of statements 04:47:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:47:10 $ docker top 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:11 GO111MODULE=on go vet ./... 04:47:11 + make test 04:47:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:47:27 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:47:43 gofmt -l . 04:47:43 [ "`gofmt -l .`" = "" ] 04:47:43 ./bin/test-attribution-txt.sh 04:47:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:47:43 $ docker stop --time=1 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f 04:47:46 $ docker rm -f 2875cab8d3bff8da600aff9cf10225057b48a7fc428ce32e523ed22d13ba937f [Pipeline] // withDockerContainer [Pipeline] sh 04:47:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:47:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:51 + ls -al . 04:47:51 total 244 04:47:51 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 04:47 . 04:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 .. 04:47:51 -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 04:44 .dockerignore 04:47:51 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 04:44 .git 04:47:51 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:44 .github 04:47:51 -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 04:44 .gitignore 04:47:51 -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 04:44 Dockerfile.build 04:47:51 -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 04:44 Jenkinsfile 04:47:51 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 04:44 LICENSE 04:47:51 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 04:44 Makefile 04:47:51 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 04:44 README.md 04:47:51 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 21 04:44 RELEASE-NOTES.txt 04:47:51 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 04:42 VERSION 04:47:51 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:44 bin 04:47:51 -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 04:47 coverage.out 04:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 example 04:47:51 -rw-r--r-- 1 jenkins jenkins 488 Dec 21 04:47 go.mod 04:47:51 -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 04:47 go.sum 04:47:51 drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 04:44 internal 04:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 openapi 04:47:51 drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 04:44 pkg 04:47:51 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:44 snap 04:47:51 -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 04:44 version.go [Pipeline] isUnix [Pipeline] sh 04:47:52 + 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=a5cd81ba5d97b4f8b070278caaacb444df4761db --label arch=arm64 --label version=0.0.0 . 04:47:52 Sending build context to Docker daemon 2.551MB 04:47:52 Step 1/24 : ARG BASE=golang:1.15-alpine 04:47:52 Step 2/24 : FROM ${BASE} AS builder 04:47:52 ---> c77c667d4113 04:47:52 Step 3/24 : ARG MAKE='make build' 04:47:52 ---> Running in 97e6b316af78 04:47:53 Removing intermediate container 97e6b316af78 04:47:53 ---> bbef7e573350 04:47:53 Step 4/24 : WORKDIR /device-sdk-go 04:47:53 ---> Running in b4a7de0c6e4b 04:47:53 Removing intermediate container b4a7de0c6e4b 04:47:53 ---> 4bc50b98026e 04:47:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:54 ---> Running in 3c42cd50a9b0 04:47:54 Removing intermediate container 3c42cd50a9b0 04:47:54 ---> 8b513b723db4 04:47:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:47:54 ---> Running in d7af27cb9d9b 04:47:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:47:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:47:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:47:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.104s coverage: 19.4% of statements 04:47:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.633s coverage: 97.1% of statements 04:47:56 Removing intermediate container d7af27cb9d9b 04:47:56 ---> e9625da7307b 04:47:56 Step 7/24 : RUN apk add --update --no-cache make git 04:47:56 ---> Running in a13fd4f908ce 04:47:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:48:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:48:07 OK: 142 MiB in 39 packages 04:48:08 Removing intermediate container a13fd4f908ce 04:48:08 ---> 6ce69e7ad89b 04:48:08 Step 8/24 : COPY . . 04:48:08 ---> 19d2e3457ee9 04:48:08 Step 9/24 : RUN ${MAKE} 04:48:09 ---> Running in d1476cf453f6 04:48:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements 04:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.093s coverage: 21.9% of statements 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.509s coverage: 42.5% of statements 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.731s coverage: 68.9% of statements 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:48:28 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.140s coverage: 53.8% of statements 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:48:28 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:48:28 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.851s coverage: 68.9% of statements 04:48:28 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.117s coverage: 4.2% of statements 04:48:28 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:48:28 GO111MODULE=on go vet ./... 04:48:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:48:37 Removing intermediate container d1476cf453f6 04:48:37 ---> 8ba28bedb87a 04:48:37 Step 10/24 : FROM scratch 04:48:37 ---> 04:48:37 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:37 ---> Running in 084232cd635e 04:48:37 Removing intermediate container 084232cd635e 04:48:37 ---> fc00cf888ae7 04:48:37 Step 12/24 : ENV APP_PORT=49990 04:48:37 ---> Running in a662b9304170 04:48:38 Removing intermediate container a662b9304170 04:48:38 ---> d6f161d487ec 04:48:38 Step 13/24 : EXPOSE $APP_PORT 04:48:38 ---> Running in 22ae2a1bc6a7 04:48:38 Removing intermediate container 22ae2a1bc6a7 04:48:38 ---> 66ecb81d3d94 04:48:38 Step 14/24 : WORKDIR / 04:48:38 ---> Running in fd3cdef036e3 04:48:39 Removing intermediate container fd3cdef036e3 04:48:39 ---> 74fffd498707 04:48:39 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:48:40 ---> e8314f861a7e 04:48:40 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:48:41 ---> 307a8a6bedf6 04:48:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:48:41 ---> bdb28eb97910 04:48:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:48:42 ---> b7c13e887e95 04:48:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:48:43 ---> 94c9560703f0 04:48:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:48:43 ---> Running in 7df40d79c902 04:48:43 Removing intermediate container 7df40d79c902 04:48:43 ---> 3f79efb552a0 04:48:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:48:43 gofmt -l . 04:48:43 [ "`gofmt -l .`" = "" ] 04:48:43 ./bin/test-attribution-txt.sh 04:48:43 ./bin/test-go-mod-tidy.sh 04:48:43 ---> Running in e8725813ac69 04:48:44 Removing intermediate container e8725813ac69 04:48:44 ---> c74173c85dc2 04:48:44 Step 22/24 : LABEL arch=arm64 04:48:44 ---> Running in 8026ee802c03 [Pipeline] } 04:48:44 $ docker stop --time=1 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e 04:48:45 Removing intermediate container 8026ee802c03 04:48:45 ---> 47419fdd2351 04:48:45 Step 23/24 : LABEL git_sha=a5cd81ba5d97b4f8b070278caaacb444df4761db 04:48:45 ---> Running in 3e7b593f6c21 04:48:45 Removing intermediate container 3e7b593f6c21 04:48:45 ---> ccaa0c9323c6 04:48:45 Step 24/24 : LABEL version=0.0.0 04:48:45 ---> Running in 0b876404ec84 04:48:45 Removing intermediate container 0b876404ec84 04:48:45 ---> 538614de3cd8 04:48:45 [Warning] One or more build-args [ARCH] were not consumed 04:48:46 Successfully built 538614de3cd8 04:48:46 Successfully tagged docker-device-sdk-simple-arm64:latest 04:48:47 $ docker rm -f 5e14954f5b2ab434b805382402f571ebc3a8a359e0f856a826049a3a50e27e2e [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } 04:48:47 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash 04:48:48 Warning: overwriting stash ‘coverage-report’ [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 04:48:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:48:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:49 + ls -al . 04:48:49 total 208 04:48:49 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 04:48 . 04:48:49 drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 04:45 .. 04:48:49 drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 04:45 bin 04:48:49 -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 04:48 coverage.out 04:48:49 -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 04:45 Dockerfile.build 04:48:49 -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 04:45 .dockerignore 04:48:49 drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 04:45 example 04:48:49 drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 04:45 .git 04:48:49 drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 04:45 .github 04:48:49 -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 04:45 .gitignore 04:48:49 -rw-r--r--. 1 jenkins jenkins 488 Dec 21 04:48 go.mod 04:48:49 -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 04:48 go.sum 04:48:49 drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 04:45 internal 04:48:49 -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 04:45 Jenkinsfile 04:48:49 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 04:45 LICENSE 04:48:49 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 04:45 Makefile 04:48:49 drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 04:45 openapi 04:48:49 drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 04:45 pkg 04:48:49 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 04:45 README.md 04:48:49 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 21 04:45 RELEASE-NOTES.txt 04:48:49 drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 04:45 snap 04:48:49 -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 04:42 VERSION 04:48:49 -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 04:45 version.go [Pipeline] isUnix [Pipeline] sh 04:48:50 + 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=a5cd81ba5d97b4f8b070278caaacb444df4761db --label arch=amd64 --label version=0.0.0 . 04:48:50 Sending build context to Docker daemon 2.552MB 04:48:50 Step 1/24 : ARG BASE=golang:1.15-alpine 04:48:50 Step 2/24 : FROM ${BASE} AS builder 04:48:50 ---> 559100f3a4d7 04:48:50 Step 3/24 : ARG MAKE='make build' 04:48:51 ---> Running in 67d12dc22c89 04:48:51 Removing intermediate container 67d12dc22c89 04:48:51 ---> 394237dcc954 04:48:51 Step 4/24 : WORKDIR /device-sdk-go 04:48:51 ---> Running in 1d0c8ec12551 04:48:51 Removing intermediate container 1d0c8ec12551 04:48:51 ---> 700f0c8d2777 04:48:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:51 ---> Running in d9fe1113c958 04:48:51 Removing intermediate container d9fe1113c958 04:48:51 ---> 07f6fa83804a 04:48:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:52 ---> Running in f72dc5214604 04:48:53 Removing intermediate container f72dc5214604 04:48:53 ---> 0cf185842ef4 04:48:53 Step 7/24 : RUN apk add --update --no-cache make git 04:48:53 ---> Running in eb0ef6894cb3 04:48:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:48:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:49:00 OK: 166 MiB in 39 packages 04:49:00 Removing intermediate container eb0ef6894cb3 04:49:00 ---> fd0b2038f7b3 04:49:00 Step 8/24 : COPY . . 04:49:02 ---> e90d1ccdfb3b 04:49:02 Step 9/24 : RUN ${MAKE} 04:49:02 ---> Running in a5c1d80522ad 04:49:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:49:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:49:26 Removing intermediate container a5c1d80522ad 04:49:26 ---> 2f2306922357 04:49:26 Step 10/24 : FROM scratch 04:49:26 ---> 04:49:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:49:26 ---> Running in 3a720d17d2a3 04:49:26 Removing intermediate container 3a720d17d2a3 04:49:26 ---> be7444c05504 04:49:26 Step 12/24 : ENV APP_PORT=49990 04:49:26 ---> Running in a7df84aa1c13 04:49:26 Removing intermediate container a7df84aa1c13 04:49:26 ---> f2aac891a9ad 04:49:26 Step 13/24 : EXPOSE $APP_PORT 04:49:26 ---> Running in ead751302079 04:49:27 Removing intermediate container ead751302079 04:49:27 ---> a5a11c51b4e5 04:49:27 Step 14/24 : WORKDIR / 04:49:27 ---> Running in b88d7b757cef 04:49:27 Removing intermediate container b88d7b757cef 04:49:27 ---> 7a3f537acb04 04:49:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:49:28 ---> 65efea3ebc29 04:49:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:49:28 ---> 696b5b35d8b9 04:49:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:49:28 ---> 97d06220cf48 04:49:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:49:28 ---> c9a9e1c18468 04:49:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:49:29 ---> edeca458ea3a 04:49:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:49:29 ---> Running in b3d444ec4e9c 04:49:29 Removing intermediate container b3d444ec4e9c 04:49:29 ---> 243e9519ffce 04:49:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:49:29 ---> Running in c6e569c70c99 04:49:29 Removing intermediate container c6e569c70c99 04:49:29 ---> 65fb49c8f5e2 04:49:29 Step 22/24 : LABEL arch=amd64 04:49:29 ---> Running in 89d14f2911a9 04:49:30 Removing intermediate container 89d14f2911a9 04:49:30 ---> a99bcd97b4c8 04:49:30 Step 23/24 : LABEL git_sha=a5cd81ba5d97b4f8b070278caaacb444df4761db 04:49:30 ---> Running in 558f1dc7ce97 04:49:30 Removing intermediate container 558f1dc7ce97 04:49:30 ---> 7750f1060023 04:49:30 Step 24/24 : LABEL version=0.0.0 04:49:30 ---> Running in 669fe0d89f4b 04:49:30 Removing intermediate container 669fe0d89f4b 04:49:30 ---> a5909adb1de2 04:49:30 [Warning] One or more build-args [ARCH] were not consumed 04:49:30 Successfully built a5909adb1de2 04:49:30 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 04:49:32 provisioning config files... 04:49:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config5634165642193880809tmp [Pipeline] { [Pipeline] sh 04:49:33 + set +x 04:49:33 + curl -s https://codecov.io/bash 04:49:33 + bash -s -- 04:49:33 04:49:33 _____ _ 04:49:33 / ____| | | 04:49:33 | | ___ __| | ___ ___ _____ __ 04:49:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:49:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:49:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:49:33 Bash-20201217-3d3df35 04:49:33 04:49:33 04:49:33 git version 2.24.3 found 04:49:33 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 04:49:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:49:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 04:49:33 ==> Jenkins CI detected. 04:49:33 project root: . 04:49:33 --> token set from env 04:49:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:49:33 ==> Running gcov in . (disable via -X gcov) 04:49:33 ==> Python coveragepy not found 04:49:33 ==> Searching for coverage reports in: 04:49:33 + . 04:49:33 -> Found 1 reports 04:49:33 ==> Detecting git/mercurial file structure 04:49:33 ==> Reading reports 04:49:33 + ./coverage.out bytes=130526 04:49:33 ==> Appending adjustments 04:49:33 https://docs.codecov.io/docs/fixing-reports 04:49:33 + Found adjustments 04:49:33 ==> Gzipping contents 04:49:33 24K /tmp/codecov.dCRMoT.gz 04:49:33 ==> Uploading reports 04:49:33 url: https://codecov.io 04:49:33 query: branch=PR-702&commit=a5cd81ba5d97b4f8b070278caaacb444df4761db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= 04:49:33 -> Pinging Codecov 04:49:33 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-702&commit=a5cd81ba5d97b4f8b070278caaacb444df4761db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= 04:49:34 -> Uploading to 04:49:34 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/a5cd81ba5d97b4f8b070278caaacb444df4761db/5c74fe49-352b-4a08-a0a3-8f59677d9bfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T044934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00ea38017804a6cc5778c837ed8f0c1e6954b89ee70b308869667c9c930302a1 04:49:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:49:34 Dload Upload Total Spent Left Speed 04:49:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21257 0 0 100 21257 0 47163 --:--:-- --:--:-- --:--:-- 47237 04:49:34 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a5cd81ba5d97b4f8b070278caaacb444df4761db [Pipeline] } 04:49:34 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 04:49:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:49:37 ---> package-listing.sh 04:49:37 ++ facter osfamily 04:49:37 ++ tr '[:upper:]' '[:lower:]' 04:49:37 + OS_FAMILY=redhat 04:49:37 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-702 04:49:37 + START_PACKAGES=/tmp/packages_start.txt 04:49:37 + END_PACKAGES=/tmp/packages_end.txt 04:49:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:49:37 + PACKAGES=/tmp/packages_start.txt 04:49:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' 04:49:37 + PACKAGES=/tmp/packages_end.txt 04:49:37 + case "${OS_FAMILY}" in 04:49:37 + rpm -qa 04:49:37 + sort 04:49:42 + '[' -f /tmp/packages_start.txt ']' 04:49:42 + '[' -f /tmp/packages_end.txt ']' 04:49:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:49:42 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' 04:49:42 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ 04:49:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [Pipeline] echo 04:49:42 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-702/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:49:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:49:43 04:49:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:49:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:49:43 alpine: Pulling from edgex-lftools-log-publisher 04:49:43 df20fa9351a1: Pulling fs layer 04:49:43 36b3adc4ff6f: Pulling fs layer 04:49:43 8ad3a11d3b57: Pulling fs layer 04:49:43 46f8f816bc3b: Pulling fs layer 04:49:43 93b61091891f: Pulling fs layer 04:49:43 93b9cdb0e59b: Pulling fs layer 04:49:43 5e14af77c1be: Pulling fs layer 04:49:43 01666e4c0597: Pulling fs layer 04:49:43 aa168da1d23b: Pulling fs layer 04:49:43 46f8f816bc3b: Waiting 04:49:43 93b61091891f: Waiting 04:49:43 5e14af77c1be: Waiting 04:49:43 01666e4c0597: Waiting 04:49:43 aa168da1d23b: Waiting 04:49:43 93b9cdb0e59b: Waiting 04:49:43 36b3adc4ff6f: Verifying Checksum 04:49:43 36b3adc4ff6f: Download complete 04:49:43 46f8f816bc3b: Verifying Checksum 04:49:43 46f8f816bc3b: Download complete 04:49:44 df20fa9351a1: Verifying Checksum 04:49:44 df20fa9351a1: Download complete 04:49:44 93b9cdb0e59b: Verifying Checksum 04:49:44 93b9cdb0e59b: Download complete 04:49:44 93b61091891f: Download complete 04:49:44 5e14af77c1be: Verifying Checksum 04:49:44 5e14af77c1be: Download complete 04:49:44 01666e4c0597: Verifying Checksum 04:49:44 01666e4c0597: Download complete 04:49:44 8ad3a11d3b57: Verifying Checksum 04:49:44 8ad3a11d3b57: Download complete 04:49:44 df20fa9351a1: Pull complete 04:49:44 36b3adc4ff6f: Pull complete 04:49:45 8ad3a11d3b57: Pull complete 04:49:45 46f8f816bc3b: Pull complete 04:49:45 93b61091891f: Pull complete 04:49:45 93b9cdb0e59b: Pull complete 04:49:46 aa168da1d23b: Verifying Checksum 04:49:46 aa168da1d23b: Download complete 04:49:46 5e14af77c1be: Pull complete 04:49:47 01666e4c0597: Pull complete 04:49:55 aa168da1d23b: Pull complete 04:49:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:49:55 prd-centos7-docker-4c-2g-16986 does not seem to be running inside a container 04:49:55 $ 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-702/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-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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 04:49:58 $ docker top bb47378a7beaff83984b74d4bb25a572ae7a4edfc7b631aaae2e9a657bed41d3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:49:59 + mkdir -p /var/log/sa [Pipeline] sh 04:49:59 + ls /var/log/sa-host 04:49:59 + sadf -c /var/log/sa-host/sa21 04:49:59 file_magic: OK 04:49:59 HZ: Using current value: 100 04:49:59 file_header: OK 04:49:59 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 04:49:59 Statistics: 04:49:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:49:59 File successfully converted to sysstat format version 12.2.1 04:49:59 + sadf -c /var/log/sa-host/sa23 04:49:59 file_magic: OK 04:49:59 HZ: Using current value: 100 04:49:59 file_header: OK 04:49:59 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 04:49:59 Statistics: 04:49:59 Hnuu...uuuununununu... 04:49:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:00 provisioning config files... 04:50:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config4335844336798509182tmp [Pipeline] { [Pipeline] echo 04:50:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:50:00 ---> create-netrc.sh [Pipeline] } 04:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:50:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:50:01 ---> python-tools-install.sh [Pipeline] echo 04:50:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:50:01 ---> sudo-logs.sh 04:50:01 Archiving 'sudo' log.. [Pipeline] echo 04:50:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:50:01 ---> job-cost.sh 04:50:01 lf-activate-venv: SKIPPING 04:50:01 INFO: No Stack... 04:50:02 INFO: Retrieving Pricing Info for: v1-standard-2 04:50:03 INFO: Archiving Costs [Pipeline] echo 04:50:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:50:03 ---> logs-deploy.sh 04:50:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-702/2 04:50:03 INFO: archiving workspace using pattern(s): 04:50:05 Archives upload complete. 04:50:05 INFO: archiving logs to Nexus 04:50:06 ---> uname -a: 04:50:06 Linux prd-centos7-docker-4c-2g-16986.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:50:06 04:50:06 04:50:06 ---> lscpu: 04:50:06 Architecture: x86_64 04:50:06 CPU op-mode(s): 32-bit, 64-bit 04:50:06 Byte Order: Little Endian 04:50:06 Address sizes: 40 bits physical, 48 bits virtual 04:50:06 CPU(s): 4 04:50:06 On-line CPU(s) list: 0-3 04:50:06 Thread(s) per core: 1 04:50:06 Core(s) per socket: 1 04:50:06 Socket(s): 4 04:50:06 NUMA node(s): 1 04:50:06 Vendor ID: GenuineIntel 04:50:06 CPU family: 6 04:50:06 Model: 44 04:50:06 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:50:06 Stepping: 1 04:50:06 CPU MHz: 2933.438 04:50:06 BogoMIPS: 5866.87 04:50:06 Virtualization: VT-x 04:50:06 Hypervisor vendor: KVM 04:50:06 Virtualization type: full 04:50:06 L1d cache: 128 KiB 04:50:06 L1i cache: 128 KiB 04:50:06 L2 cache: 16 MiB 04:50:06 L3 cache: 64 MiB 04:50:06 NUMA node0 CPU(s): 0-3 04:50:06 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:50:06 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:50:06 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:50:06 Vulnerability Meltdown: Mitigation; PTI 04:50:06 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:50:06 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:50:06 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:50:06 Vulnerability Srbds: Not affected 04:50:06 Vulnerability Tsx async abort: Not affected 04:50:06 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 04:50:06 04:50:06 04:50:06 ---> nproc: 04:50:06 4 04:50:06 04:50:06 04:50:06 ---> df -h: 04:50:06 Filesystem Size Used Available Use% Mounted on 04:50:06 overlay 50.0G 7.3G 42.7G 15% / 04:50:06 tmpfs 64.0M 0 64.0M 0% /dev 04:50:06 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:50:06 shm 64.0M 0 64.0M 0% /dev/shm 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 04:50:06 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-702 04:50:06 04:50:06 04:50:06 ---> free -m: 04:50:06 total used free shared buff/cache available 04:50:06 Mem: 1837 692 116 0 1028 1040 04:50:06 Swap: 1023 1 1022 04:50:06 04:50:06 04:50:06 ---> ip addr: 04:50:06 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:50:06 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:50:06 inet 127.0.0.1/8 scope host lo 04:50:06 valid_lft forever preferred_lft forever 04:50:06 inet6 ::1/128 scope host 04:50:06 valid_lft forever preferred_lft forever 04:50:06 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:50:06 link/ether fa:16:3e:e9:07:dd brd ff:ff:ff:ff:ff:ff 04:50:06 inet 10.30.122.96/23 brd 10.30.123.255 scope global dynamic eth0 04:50:06 valid_lft 85868sec preferred_lft 85868sec 04:50:06 inet6 fe80::f816:3eff:fee9:7dd/64 scope link 04:50:06 valid_lft forever preferred_lft forever 04:50:06 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:50:06 link/ether 02:42:d1:e0:eb:53 brd ff:ff:ff:ff:ff:ff 04:50:06 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:50:06 valid_lft forever preferred_lft forever 04:50:06 inet6 fe80::42:d1ff:fee0:eb53/64 scope link 04:50:06 valid_lft forever preferred_lft forever 04:50:06 04:50:06 04:50:06 ---> sar -b -r -n DEV: 04:50:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 04:50:06 04:50:06 04:41:02 LINUX RESTART (4 CPU) 04:50:06 04:50:06 04:42:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:50:06 04:43:01 6.32 1.71 4.61 0.00 162.41 150.14 0.00 04:50:06 04:44:01 1.88 0.00 1.88 0.00 0.00 37.62 0.00 04:50:06 04:45:01 0.28 0.00 0.28 0.00 0.00 4.86 0.00 04:50:06 04:46:01 0.23 0.00 0.23 0.00 0.00 3.61 0.00 04:50:06 04:47:01 0.30 0.00 0.30 0.00 0.00 5.20 0.00 04:50:06 04:48:01 0.42 0.00 0.42 0.00 0.00 6.53 0.00 04:50:06 04:49:01 0.35 0.00 0.35 0.00 0.00 5.18 0.00 04:50:06 Average: 1.39 0.24 1.14 0.00 22.87 30.17 0.00 04:50:06 04:50:06 04:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:50:06 04:43:01 155412 0 600000 31.89 2620 1123512 1118900 38.19 368748 1157676 24 04:50:06 04:44:01 159984 0 595420 31.65 2620 1123520 1078364 36.80 375372 1147284 8 04:50:06 04:45:01 158992 0 596408 31.70 2620 1123524 1078608 36.81 376520 1147040 12 04:50:06 04:46:01 156728 0 598672 31.82 2620 1123524 1078608 36.81 380068 1145576 8 04:50:06 04:47:01 158040 0 597352 31.75 2620 1123532 1078500 36.81 383688 1141488 8 04:50:06 04:48:01 158516 0 596872 31.72 2620 1123536 1078428 36.80 383332 1141484 16 04:50:06 04:49:01 158880 0 596504 31.70 2620 1123540 1078428 36.80 383460 1141484 20 04:50:06 Average: 158079 0 597318 31.75 2620 1123527 1084262 37.00 378741 1146005 14 04:50:06 04:50:06 04:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:50:06 04:43:01 eth0 31.61 27.70 36.81 23.27 0.00 0.00 0.00 0.00 04:50:06 04:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:43:01 docker0 9.79 8.25 1.46 21.12 0.00 0.00 0.00 0.00 04:50:06 04:44:01 eth0 0.67 0.13 0.10 0.10 0.00 0.00 0.00 0.00 04:50:06 04:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:45:01 eth0 1.53 0.67 0.72 0.22 0.00 0.00 0.00 0.00 04:50:06 04:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:46:01 eth0 0.50 0.30 0.27 0.20 0.00 0.00 0.00 0.00 04:50:06 04:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:47:01 eth0 0.27 0.17 0.14 0.07 0.00 0.00 0.00 0.00 04:50:06 04:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:48:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:49:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 04:50:06 04:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 04:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 Average: eth0 4.90 4.10 5.36 3.36 0.00 0.00 0.00 0.00 04:50:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:50:06 Average: docker0 1.38 1.16 0.21 2.97 0.00 0.00 0.00 0.00 04:50:06 04:50:06 04:50:06 ---> sar -P ALL: 04:50:06 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 04:50:06 04:50:06 04:41:02 LINUX RESTART (4 CPU) 04:50:06 04:50:06 04:42:02 CPU %user %nice %system %iowait %steal %idle 04:50:06 04:43:01 all 0.89 0.00 0.45 0.14 0.00 98.52 04:50:06 04:43:01 0 0.70 0.00 0.34 0.03 0.00 98.93 04:50:06 04:43:01 1 0.85 0.00 0.63 0.15 0.00 98.37 04:50:06 04:43:01 2 1.22 0.00 0.37 0.02 0.00 98.39 04:50:06 04:43:01 3 0.80 0.00 0.44 0.34 0.02 98.41 04:50:06 04:44:01 all 0.11 0.00 0.05 0.00 0.00 99.84 04:50:06 04:44:01 0 0.00 0.00 0.03 0.00 0.00 99.97 04:50:06 04:44:01 1 0.03 0.00 0.03 0.00 0.00 99.93 04:50:06 04:44:01 2 0.35 0.00 0.07 0.00 0.00 99.58 04:50:06 04:44:01 3 0.05 0.00 0.07 0.00 0.00 99.88 04:50:06 04:45:01 all 0.19 0.00 0.05 0.00 0.00 99.76 04:50:06 04:45:01 0 0.07 0.00 0.07 0.00 0.00 99.87 04:50:06 04:45:01 1 0.10 0.00 0.05 0.00 0.00 99.85 04:50:06 04:45:01 2 0.53 0.00 0.05 0.00 0.00 99.42 04:50:06 04:45:01 3 0.07 0.00 0.03 0.00 0.00 99.90 04:50:06 04:46:01 all 0.17 0.00 0.05 0.00 0.01 99.78 04:50:06 04:46:01 0 0.05 0.00 0.07 0.00 0.02 99.87 04:50:06 04:46:01 1 0.03 0.00 0.05 0.00 0.02 99.90 04:50:06 04:46:01 2 0.55 0.00 0.03 0.00 0.00 99.42 04:50:06 04:46:01 3 0.03 0.00 0.03 0.00 0.00 99.93 04:50:06 04:47:01 all 0.17 0.00 0.12 0.00 0.00 99.71 04:50:06 04:47:01 0 0.03 0.00 0.15 0.00 0.00 99.82 04:50:06 04:47:01 1 0.07 0.00 0.07 0.00 0.00 99.87 04:50:06 04:47:01 2 0.53 0.00 0.12 0.00 0.00 99.35 04:50:06 04:47:01 3 0.05 0.00 0.15 0.00 0.00 99.80 04:50:06 04:48:01 all 0.09 0.00 0.08 0.00 0.00 99.83 04:50:06 04:48:01 0 0.02 0.00 0.03 0.00 0.00 99.95 04:50:06 04:48:01 1 0.05 0.00 0.05 0.00 0.00 99.90 04:50:06 04:48:01 2 0.25 0.00 0.17 0.00 0.00 99.58 04:50:06 04:48:01 3 0.03 0.00 0.07 0.00 0.00 99.90 04:50:06 04:49:01 all 0.05 0.00 0.07 0.00 0.00 99.88 04:50:06 04:49:01 0 0.02 0.00 0.02 0.00 0.00 99.97 04:50:06 04:49:01 1 0.07 0.00 0.12 0.00 0.00 99.82 04:50:06 04:49:01 2 0.07 0.00 0.08 0.00 0.00 99.85 04:50:06 04:49:01 3 0.03 0.00 0.07 0.00 0.02 99.88 04:50:06 Average: all 0.24 0.00 0.12 0.02 0.00 99.62 04:50:06 Average: 0 0.12 0.00 0.10 0.00 0.00 99.77 04:50:06 Average: 1 0.17 0.00 0.14 0.02 0.00 99.67 04:50:06 Average: 2 0.50 0.00 0.13 0.00 0.00 99.37 04:50:06 Average: 3 0.15 0.00 0.12 0.05 0.00 99.68 04:50:06 04:50:06 04:50:06