Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 58a3244429e7a477f98db1630e9f7196231c69d5+b058260e0a173cbd20e8373902e2c8ff53da770e (00595203760a1804a745685db6d2cd9dbaf0fd5b) 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-16813 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [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-676 # 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/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 Merge succeeded, producing 71b8edf5498d8f03b80cc114d301101a2225a41b Checking out Revision 71b8edf5498d8f03b80cc114d301101a2225a41b (PR-676) > git config core.sparsecheckout # timeout=10 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # 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 71b8edf5498d8f03b80cc114d301101a2225a41b # timeout=10 Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:26 ========================================================= 02:42:26 EdgeX Global Pipelines Version Info 02:42:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b8caea373e3e833cab8afdd4767ddd081809616d # timeout=10 02:42:28 ------------------- 02:42:28 stable info: 02:42:28 ------------------- 02:42:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:28 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:28 Message: update stable to v1.0.173 02:42:28 ------------------- 02:42:28 experimental info: 02:42:28 ------------------- 02:42:28 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:28 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:28 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:31 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-676 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-676 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-676 [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71b8edf5498d8f03b80cc114d301101a2225a41b [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71b8edf [Pipeline] echo 02:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:32 provisioning config files... 02:42:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config3926604325586878208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:33 ---> docker-login.sh 02:42:33 nexus3.edgexfoundry.org:10001 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:33 Configure a credential helper to remove this warning. See 02:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:33 02:42:33 Login Succeeded 02:42:33 nexus3.edgexfoundry.org:10002 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:33 Configure a credential helper to remove this warning. See 02:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:33 02:42:33 Login Succeeded 02:42:33 nexus3.edgexfoundry.org:10003 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:33 Configure a credential helper to remove this warning. See 02:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:33 02:42:33 Login Succeeded 02:42:33 nexus3.edgexfoundry.org:10004 02:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 docker.io 02:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:34 Configure a credential helper to remove this warning. See 02:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:34 02:42:34 Login Succeeded 02:42:34 ---> docker-login.sh ends [Pipeline] } 02:42:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:35 + git log --format=format:%s -1 71b8edf5498d8f03b80cc114d301101a2225a41b [Pipeline] echo 02:42:35 GIT_COMMIT: 71b8edf5498d8f03b80cc114d301101a2225a41b, Commit Message: Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD [Pipeline] echo 02:42:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:36 02:42:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:36 latest: Pulling from edgex-devops/git-semver 02:42:36 31603596830f: Pulling fs layer 02:42:36 2a8b12db71e7: Pulling fs layer 02:42:36 6ca5941a6612: Pulling fs layer 02:42:36 ecc8261a40a4: Pulling fs layer 02:42:36 ecc8261a40a4: Waiting 02:42:36 2a8b12db71e7: Verifying Checksum 02:42:36 2a8b12db71e7: Download complete 02:42:36 31603596830f: Verifying Checksum 02:42:36 31603596830f: Download complete 02:42:36 6ca5941a6612: Verifying Checksum 02:42:36 6ca5941a6612: Download complete 02:42:36 ecc8261a40a4: Verifying Checksum 02:42:36 ecc8261a40a4: Download complete 02:42:36 31603596830f: Pull complete 02:42:36 2a8b12db71e7: Pull complete 02:42:37 6ca5941a6612: Pull complete 02:42:37 ecc8261a40a4: Pull complete 02:42:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:38 prd-centos7-docker-4c-2g-16813 does not seem to be running inside a container 02:42:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-676 -v /w/workspace/dgexfoundry_device-sdk-go_PR-676:/w/workspace/dgexfoundry_device-sdk-go_PR-676:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-676@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:40 $ docker top 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:40 [ssh-agent] Looking for ssh-agent implementation... 02:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:40 $ docker exec 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 ssh-agent 02:42:40 SSH_AUTH_SOCK=/tmp/ssh-McVPOGmBuOqd/agent.12 02:42:40 SSH_AGENT_PID=17 02:42:40 Running ssh-add (command line suppressed) 02:42:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_4173103448057091185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_4173103448057091185.key) 02:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:41 + git tag --points-at HEAD [Pipeline] } 02:42:41 $ docker exec --env ******** --env ******** 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 ssh-agent -k 02:42:41 unset SSH_AUTH_SOCK; 02:42:41 unset SSH_AGENT_PID; 02:42:41 echo Agent pid 17 killed; 02:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:41 [ssh-agent] Looking for ssh-agent implementation... 02:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:42 $ docker exec 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 ssh-agent 02:42:42 SSH_AUTH_SOCK=/tmp/ssh-9A5bV4BfuD6j/agent.45 02:42:42 SSH_AGENT_PID=50 02:42:42 Running ssh-add (command line suppressed) 02:42:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_8641280366540648752.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_8641280366540648752.key) 02:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:42 + git semver init 02:42:42 # -> Open(): unable to determine branch for HEAD 02:42:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.git 02:42:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-676 02:42:42 # $SEMVER_REMOTE_NAME = origin 02:42:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:42 # $SEMVER_USER_NAME = edgex-jenkins 02:42:42 # $SEMVER_BRANCH = PR-676 02:42:42 # $SEMVER_TEMP = /tmp/semver-972335225 02:42:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:43 # '/tmp/semver-972335225' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver' 02:42:43 # -> Force: false 02:42:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver [Pipeline] } 02:42:43 $ docker exec --env ******** --env ******** 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 ssh-agent -k 02:42:43 unset SSH_AUTH_SOCK; 02:42:43 unset SSH_AGENT_PID; 02:42:43 echo Agent pid 50 killed; 02:42:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:44 + git semver [Pipeline] } 02:42:44 $ docker stop --time=1 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 02:42:45 $ docker rm -f 5028c81f1cd921d6431a7985e0674b21e57881b1e087e88aeb6b8e2249bd5fc1 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:46 Stashed 1 file(s) [Pipeline] echo 02:42:46 [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:43:02 Still waiting to schedule task 02:43:02 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16815’ is offline 02:43:02 Still waiting to schedule task 02:43:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:44:03 Running on prd-centos7-docker-4c-2g-16818 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:44:03 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:44:05 using credential edgex-jenkins-ssh 02:44:06 Cloning the remote Git repository 02:44:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:06 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:06 > git --version # timeout=10 02:44:06 > git --version # 'git version 2.24.3' 02:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:07 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 02:44:07 Merge succeeded, producing ed39269d54c7da83cb5a9c88464cb83763252d3b 02:44:07 Checking out Revision ed39269d54c7da83cb5a9c88464cb83763252d3b (PR-676) 02:44:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:07 > git config core.sparsecheckout # timeout=10 02:44:07 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 02:44:07 > git remote # timeout=10 02:44:07 > git config --get remote.origin.url # timeout=10 02:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:07 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 02:44:07 > git rev-parse HEAD^{commit} # timeout=10 02:44:07 > git config core.sparsecheckout # timeout=10 02:44:07 > git checkout -f ed39269d54c7da83cb5a9c88464cb83763252d3b # timeout=10 02:44:11 Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" 02:44:11 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:11 > git rev-list --no-walk b8caea373e3e833cab8afdd4767ddd081809616d # timeout=10 02:44:12 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:12 + true 02:44:12 + sudo service docker restart 02:44:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:14 provisioning config files... 02:44:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config426330342055873779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:14 ---> docker-login.sh 02:44:14 nexus3.edgexfoundry.org:10001 02:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 nexus3.edgexfoundry.org:10002 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 nexus3.edgexfoundry.org:10003 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 nexus3.edgexfoundry.org:10004 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 docker.io 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 ---> docker-login.sh ends [Pipeline] } 02:44:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:17 ========================================================= 02:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:17 + 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:44:17 Sending build context to Docker daemon 2.41MB 02:44:17 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:17 Step 2/8 : FROM ${BASE} 02:44:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:17 188c0c94c7c5: Pulling fs layer 02:44:17 0ef7d3d256c8: Pulling fs layer 02:44:17 de9db76c5a1d: Pulling fs layer 02:44:17 bca2f99d35d6: Pulling fs layer 02:44:17 93359f2a8cfa: Pulling fs layer 02:44:17 7c6f9722023f: Pulling fs layer 02:44:17 a35cf1a2eb13: Pulling fs layer 02:44:17 7c6f9722023f: Waiting 02:44:17 93359f2a8cfa: Waiting 02:44:17 a35cf1a2eb13: Waiting 02:44:17 bca2f99d35d6: Waiting 02:44:17 de9db76c5a1d: Verifying Checksum 02:44:17 de9db76c5a1d: Download complete 02:44:17 93359f2a8cfa: Verifying Checksum 02:44:17 93359f2a8cfa: Download complete 02:44:17 7c6f9722023f: Download complete 02:44:17 188c0c94c7c5: Verifying Checksum 02:44:17 188c0c94c7c5: Download complete 02:44:18 188c0c94c7c5: Pull complete 02:44:18 0ef7d3d256c8: Pull complete 02:44:18 de9db76c5a1d: Pull complete 02:44:19 a35cf1a2eb13: Verifying Checksum 02:44:19 a35cf1a2eb13: Download complete 02:44:20 bca2f99d35d6: Verifying Checksum 02:44:20 bca2f99d35d6: Download complete 02:44:25 bca2f99d35d6: Pull complete 02:44:25 93359f2a8cfa: Pull complete 02:44:25 7c6f9722023f: Pull complete 02:44:34 a35cf1a2eb13: Pull complete 02:44:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:34 ---> a62c8e92a672 02:44:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:34 ---> Running in b8442396daeb 02:44:34 Removing intermediate container b8442396daeb 02:44:34 ---> 19c7b6d8f1f2 02:44:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:34 ---> Running in a2937df6ab2a 02:44:34 Removing intermediate container a2937df6ab2a 02:44:34 ---> 889c4a17d9c7 02:44:34 Step 5/8 : RUN apk add --no-cache make git 02:44:34 ---> Running in 13024b488cb9 02:44:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:36 OK: 166 MiB in 39 packages 02:44:37 Removing intermediate container 13024b488cb9 02:44:37 ---> 62f27da3de17 02:44:37 Step 6/8 : WORKDIR /device-sdk-go 02:44:37 ---> Running in 441d06f9d3e9 02:44:37 Removing intermediate container 441d06f9d3e9 02:44:37 ---> ab132a06888e 02:44:37 Step 7/8 : COPY . . 02:44:38 ---> a6dc2406c1e7 02:44:38 Step 8/8 : RUN go mod download 02:44:38 ---> Running in 30c3852fdd81 02:44:56 Removing intermediate container 30c3852fdd81 02:44:56 ---> f05463413506 02:44:56 Successfully built f05463413506 02:44:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:57 + docker inspect -f . ci-base-image-x86_64 02:44:57 . [Pipeline] withDockerContainer 02:44:57 prd-centos7-docker-4c-2g-16818 does not seem to be running inside a container 02:44:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 02:44:58 $ docker top 8ea1a5a0fd4796667902b860eecf9c6bd02c0367a0d24bd0b0bac527ffc13591 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:58 + go version 02:44:58 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:58 $ docker stop --time=1 8ea1a5a0fd4796667902b860eecf9c6bd02c0367a0d24bd0b0bac527ffc13591 02:45:00 $ docker rm -f 8ea1a5a0fd4796667902b860eecf9c6bd02c0367a0d24bd0b0bac527ffc13591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:01 + docker inspect -f . ci-base-image-x86_64 02:45:01 . [Pipeline] withDockerContainer 02:45:01 prd-centos7-docker-4c-2g-16818 does not seem to be running inside a container 02:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat 02:45:01 $ docker top 113fca9c8b96355fb86c1673be88a4f2ada379773c4cb0cf74fc1c886e872d1d -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:02 + make test 02:45:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 19.4% of statements 02:45:26 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.507s coverage: 97.1% of statements 02:45:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16820 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:45:37 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:45:42 using credential edgex-jenkins-ssh 02:45:42 Cloning the remote Git repository 02:45:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:42 > git --version # timeout=10 02:45:42 > git --version # 'git version 2.17.1' 02:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/676/head:refs/remotes/origin/PR-676 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:44 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 58a3244429e7a477f98db1630e9f7196231c69d5 02:45:45 Merge succeeded, producing 757b055a20108e3672f4985c66bc0e6f404b50fe 02:45:45 Checking out Revision 757b055a20108e3672f4985c66bc0e6f404b50fe (PR-676) 02:45:44 > git config core.sparsecheckout # timeout=10 02:45:44 > git checkout -f 58a3244429e7a477f98db1630e9f7196231c69d5 # timeout=10 02:45:45 > git remote # timeout=10 02:45:45 > git config --get remote.origin.url # timeout=10 02:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:45 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 02:45:45 > git rev-parse HEAD^{commit} # timeout=10 02:45:45 > git config core.sparsecheckout # timeout=10 02:45:45 > git checkout -f 757b055a20108e3672f4985c66bc0e6f404b50fe # timeout=10 02:45:49 Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" 02:45:49 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:49 > git rev-list --no-walk b8caea373e3e833cab8afdd4767ddd081809616d # timeout=10 02:45:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:52 + sudo service docker restart 02:45:52 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:55 provisioning config files... 02:45:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3995977617323799129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:55 ---> docker-login.sh 02:45:55 nexus3.edgexfoundry.org:10001 02:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:56 Configure a credential helper to remove this warning. See 02:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:56 02:45:56 Login Succeeded 02:45:57 nexus3.edgexfoundry.org:10002 02:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:57 Configure a credential helper to remove this warning. See 02:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:57 02:45:57 Login Succeeded 02:45:57 nexus3.edgexfoundry.org:10003 02:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:58 Configure a credential helper to remove this warning. See 02:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:58 02:45:58 Login Succeeded 02:45:58 nexus3.edgexfoundry.org:10004 02:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 02:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.075s coverage: 21.9% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.230s coverage: 42.5% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.304s coverage: 68.9% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:45:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 53.8% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:45:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:45:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.377s coverage: 68.9% of statements 02:45:58 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.3% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:45:58 GO111MODULE=on go vet ./... 02:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:58 Configure a credential helper to remove this warning. See 02:45:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:58 02:45:58 Login Succeeded 02:45:58 docker.io 02:45:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:59 Configure a credential helper to remove this warning. See 02:45:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:59 02:45:59 Login Succeeded 02:45:59 ---> docker-login.sh ends [Pipeline] } 02:45:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:00 ========================================================= 02:46:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:00 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:00 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 02:46:01 Sending build context to Docker daemon 2.408MB 02:46:01 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:01 Step 2/8 : FROM ${BASE} 02:46:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:01 5f621e34cdf4: Pulling fs layer 02:46:01 a4357932f1b6: Pulling fs layer 02:46:01 18c013af1878: Pulling fs layer 02:46:01 00ac8860ef70: Pulling fs layer 02:46:01 63d7cb157983: Pulling fs layer 02:46:01 b116817d02f9: Pulling fs layer 02:46:01 745a02a5169b: Pulling fs layer 02:46:01 00ac8860ef70: Waiting 02:46:01 63d7cb157983: Waiting 02:46:01 b116817d02f9: Waiting 02:46:01 745a02a5169b: Waiting 02:46:01 a4357932f1b6: Download complete 02:46:01 5f621e34cdf4: Download complete 02:46:01 63d7cb157983: Download complete 02:46:02 b116817d02f9: Verifying Checksum 02:46:02 b116817d02f9: Download complete 02:46:02 18c013af1878: Verifying Checksum 02:46:02 18c013af1878: Download complete 02:46:02 5f621e34cdf4: Pull complete 02:46:03 a4357932f1b6: Pull complete 02:46:03 18c013af1878: Pull complete 02:46:04 745a02a5169b: Verifying Checksum 02:46:04 745a02a5169b: Download complete 02:46:05 00ac8860ef70: Verifying Checksum 02:46:05 00ac8860ef70: Download complete 02:46:06 gofmt -l . 02:46:06 [ "`gofmt -l .`" = "" ] 02:46:06 ./bin/test-attribution-txt.sh 02:46:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:06 $ docker stop --time=1 113fca9c8b96355fb86c1673be88a4f2ada379773c4cb0cf74fc1c886e872d1d 02:46:08 $ docker rm -f 113fca9c8b96355fb86c1673be88a4f2ada379773c4cb0cf74fc1c886e872d1d [Pipeline] // withDockerContainer [Pipeline] sh 02:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:12 + ls -al . 02:46:12 total 208 02:46:12 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 19 02:46 . 02:46:12 drwxrwxr-x. 4 jenkins jenkins 28 Dec 19 02:44 .. 02:46:12 drwxrwxr-x. 2 jenkins jenkins 64 Dec 19 02:44 bin 02:46:12 -rw-r--r--. 1 jenkins jenkins 130290 Dec 19 02:45 coverage.out 02:46:12 -rw-rw-r--. 1 jenkins jenkins 936 Dec 19 02:44 Dockerfile.build 02:46:12 -rw-rw-r--. 1 jenkins jenkins 140 Dec 19 02:44 .dockerignore 02:46:12 drwxrwxr-x. 4 jenkins jenkins 48 Dec 19 02:44 example 02:46:12 drwxrwxr-x. 8 jenkins jenkins 179 Dec 19 02:44 .git 02:46:12 drwxrwxr-x. 2 jenkins jenkins 103 Dec 19 02:44 .github 02:46:12 -rw-rw-r--. 1 jenkins jenkins 138 Dec 19 02:44 .gitignore 02:46:12 -rw-r--r--. 1 jenkins jenkins 488 Dec 19 02:46 go.mod 02:46:12 -rw-r--r--. 1 jenkins jenkins 13521 Dec 19 02:46 go.sum 02:46:12 drwxrwxr-x. 15 jenkins jenkins 211 Dec 19 02:44 internal 02:46:12 -rw-rw-r--. 1 jenkins jenkins 901 Dec 19 02:44 Jenkinsfile 02:46:12 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 19 02:44 LICENSE 02:46:12 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 19 02:44 Makefile 02:46:12 drwxrwxr-x. 4 jenkins jenkins 26 Dec 19 02:44 openapi 02:46:12 drwxrwxr-x. 5 jenkins jenkins 50 Dec 19 02:44 pkg 02:46:12 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 19 02:44 README.md 02:46:12 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 19 02:44 RELEASE-NOTES.txt 02:46:12 drwxrwxr-x. 4 jenkins jenkins 54 Dec 19 02:44 snap 02:46:12 -rw-rw-r--. 1 jenkins jenkins 5 Dec 19 02:42 VERSION 02:46:12 -rw-rw-r--. 1 jenkins jenkins 222 Dec 19 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:12 + 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=71b8edf5498d8f03b80cc114d301101a2225a41b --label arch=amd64 --label version=0.0.0 . 02:46:13 Sending build context to Docker daemon 2.541MB 02:46:13 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:13 Step 2/24 : FROM ${BASE} AS builder 02:46:13 ---> f05463413506 02:46:13 Step 3/24 : ARG MAKE='make build' 02:46:13 ---> Running in 533abcb25648 02:46:13 Removing intermediate container 533abcb25648 02:46:13 ---> 9e492622319c 02:46:13 Step 4/24 : WORKDIR /device-sdk-go 02:46:13 ---> Running in ff680cc09514 02:46:13 Removing intermediate container ff680cc09514 02:46:13 ---> 379e3d7c1b62 02:46:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:13 ---> Running in 042fd8543604 02:46:14 Removing intermediate container 042fd8543604 02:46:14 ---> 3db7e6f1b4ce 02:46:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:14 ---> Running in 076749381c60 02:46:15 Removing intermediate container 076749381c60 02:46:15 ---> 7bf5d5dc39a6 02:46:15 Step 7/24 : RUN apk add --update --no-cache make git 02:46:15 ---> Running in 1a3ccf316f47 02:46:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:15 00ac8860ef70: Pull complete 02:46:15 63d7cb157983: Pull complete 02:46:15 b116817d02f9: Pull complete 02:46:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:16 OK: 166 MiB in 39 packages 02:46:17 Removing intermediate container 1a3ccf316f47 02:46:17 ---> 27b2cdb30682 02:46:17 Step 8/24 : COPY . . 02:46:18 ---> 8df437052d08 02:46:18 Step 9/24 : RUN ${MAKE} 02:46:18 ---> Running in 922b9fdababe 02:46:18 745a02a5169b: Pull complete 02:46:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:18 ---> b7e6874047d6 02:46:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:18 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 02:46:22 ---> Running in 1b28ae7bc967 02:46:22 Removing intermediate container 1b28ae7bc967 02:46:22 ---> 4cc31d888727 02:46:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:22 ---> Running in 0d81b7ee7115 02:46:24 Removing intermediate container 0d81b7ee7115 02:46:24 ---> f35685e20be8 02:46:24 Step 5/8 : RUN apk add --no-cache make git 02:46:24 ---> Running in 398969f5e053 02:46:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:27 OK: 142 MiB in 39 packages 02:46:28 Removing intermediate container 398969f5e053 02:46:28 ---> 771c74609c55 02:46:28 Step 6/8 : WORKDIR /device-sdk-go 02:46:28 ---> Running in b64b684a6c87 02:46:28 Removing intermediate container 922b9fdababe 02:46:28 ---> 93dd69f5d17f 02:46:28 Step 10/24 : FROM scratch 02:46:28 ---> 02:46:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:28 ---> Running in 398df87e9577 02:46:29 Removing intermediate container b64b684a6c87 02:46:29 ---> 5a69176d356e 02:46:29 Step 7/8 : COPY . . 02:46:29 Removing intermediate container 398df87e9577 02:46:29 ---> aadb13f7bd38 02:46:29 Step 12/24 : ENV APP_PORT=49990 02:46:29 ---> Running in c78821c316e8 02:46:29 Removing intermediate container c78821c316e8 02:46:29 ---> 6edbc5ea6062 02:46:29 Step 13/24 : EXPOSE $APP_PORT 02:46:29 ---> Running in e67c5bee0bd0 02:46:29 Removing intermediate container e67c5bee0bd0 02:46:29 ---> f642048a6887 02:46:29 Step 14/24 : WORKDIR / 02:46:29 ---> Running in 4485d1d41eaa 02:46:29 Removing intermediate container 4485d1d41eaa 02:46:29 ---> 3041abdb51b0 02:46:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:30 ---> 76a16b1055f4 02:46:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:30 ---> 1abad096bde7 02:46:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:30 ---> a2ecfbded27d 02:46:30 Step 8/8 : RUN go mod download 02:46:30 ---> Running in 54042bc25bee 02:46:30 ---> 30427f5ce408 02:46:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:30 ---> cf61b16a9ae4 02:46:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:31 ---> be75d516b04f 02:46:31 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:31 ---> Running in 58d136976d93 02:46:31 Removing intermediate container 58d136976d93 02:46:31 ---> d2402c462d1f 02:46:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:31 ---> Running in 1a3a797d4b4a 02:46:31 Removing intermediate container 1a3a797d4b4a 02:46:31 ---> 767f83003223 02:46:31 Step 22/24 : LABEL arch=amd64 02:46:31 ---> Running in 137899b92382 02:46:31 Removing intermediate container 137899b92382 02:46:31 ---> bc4024b9c6c6 02:46:31 Step 23/24 : LABEL git_sha=71b8edf5498d8f03b80cc114d301101a2225a41b 02:46:31 ---> Running in d94135690a25 02:46:31 Removing intermediate container d94135690a25 02:46:31 ---> 393fb531c305 02:46:31 Step 24/24 : LABEL version=0.0.0 02:46:32 ---> Running in c713f6426a65 02:46:32 Removing intermediate container c713f6426a65 02:46:32 ---> f35f5659444c 02:46:32 [Warning] One or more build-args [ARCH] were not consumed 02:46:32 Successfully built f35f5659444c 02:46:32 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:46:57 Removing intermediate container 54042bc25bee 02:46:57 ---> 85ae4497290a 02:46:57 Successfully built 85ae4497290a 02:46:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:57 + docker inspect -f . ci-base-image-arm64 02:46:57 . [Pipeline] withDockerContainer 02:46:57 prd-ubuntu18.04-docker-arm64-4c-16g-16820 does not seem to be running inside a container 02:46:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 02:46:59 $ docker top aa15dc522074308e3f223cf257a20b61b2fe2bd43d305309474d430ac52bd16b -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:00 + go version 02:47:00 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:00 $ docker stop --time=1 aa15dc522074308e3f223cf257a20b61b2fe2bd43d305309474d430ac52bd16b 02:47:02 $ docker rm -f aa15dc522074308e3f223cf257a20b61b2fe2bd43d305309474d430ac52bd16b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:03 + docker inspect -f . ci-base-image-arm64 02:47:03 . [Pipeline] withDockerContainer 02:47:04 prd-ubuntu18.04-docker-arm64-4c-16g-16820 does not seem to be running inside a container 02:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat 02:47:05 $ docker top 47d0e795e8bd8a6a17d1c9c892274878aa5d887b47b75f40267a6ed0e6deb682 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:06 + make test 02:47:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:29 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.120s coverage: 19.4% of statements 02:48:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.194s coverage: 97.1% of statements 02:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 02:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.145s coverage: 21.9% of statements 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.592s coverage: 42.5% of statements 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.781s coverage: 68.9% of statements 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:42 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.186s coverage: 53.8% of statements 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:42 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:42 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.844s coverage: 68.9% of statements 02:48:42 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.3% of statements 02:48:42 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:43 GO111MODULE=on go vet ./... 02:49:15 gofmt -l . 02:49:15 [ "`gofmt -l .`" = "" ] 02:49:15 ./bin/test-attribution-txt.sh 02:49:15 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:15 $ docker stop --time=1 47d0e795e8bd8a6a17d1c9c892274878aa5d887b47b75f40267a6ed0e6deb682 02:49:18 $ docker rm -f 47d0e795e8bd8a6a17d1c9c892274878aa5d887b47b75f40267a6ed0e6deb682 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:19 Warning: overwriting stash ‘coverage-report’ 02:49:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:21 + ls -al . 02:49:21 total 244 02:49:21 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 02:49 . 02:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:45 .. 02:49:21 -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 02:45 .dockerignore 02:49:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 02:45 .git 02:49:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 02:45 .github 02:49:21 -rw-rw-r-- 1 jenkins jenkins 138 Dec 19 02:45 .gitignore 02:49:21 -rw-rw-r-- 1 jenkins jenkins 936 Dec 19 02:45 Dockerfile.build 02:49:21 -rw-rw-r-- 1 jenkins jenkins 901 Dec 19 02:45 Jenkinsfile 02:49:21 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 19 02:45 LICENSE 02:49:21 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 19 02:45 Makefile 02:49:21 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 19 02:45 README.md 02:49:21 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 19 02:45 RELEASE-NOTES.txt 02:49:21 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 02:42 VERSION 02:49:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 02:45 bin 02:49:21 -rw-r--r-- 1 jenkins jenkins 130290 Dec 19 02:48 coverage.out 02:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:45 example 02:49:21 -rw-r--r-- 1 jenkins jenkins 488 Dec 19 02:49 go.mod 02:49:21 -rw-r--r-- 1 jenkins jenkins 13521 Dec 19 02:49 go.sum 02:49:21 drwxrwxr-x 15 jenkins jenkins 4096 Dec 19 02:45 internal 02:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:45 openapi 02:49:21 drwxrwxr-x 5 jenkins jenkins 4096 Dec 19 02:45 pkg 02:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:45 snap 02:49:21 -rw-rw-r-- 1 jenkins jenkins 222 Dec 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:22 + 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=71b8edf5498d8f03b80cc114d301101a2225a41b --label arch=arm64 --label version=0.0.0 . 02:49:22 Sending build context to Docker daemon 2.54MB 02:49:22 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:22 Step 2/24 : FROM ${BASE} AS builder 02:49:22 ---> 85ae4497290a 02:49:22 Step 3/24 : ARG MAKE='make build' 02:49:23 ---> Running in 2a2e3525775a 02:49:23 Removing intermediate container 2a2e3525775a 02:49:23 ---> 75beaa7c77da 02:49:23 Step 4/24 : WORKDIR /device-sdk-go 02:49:23 ---> Running in 27fefa867268 02:49:24 Removing intermediate container 27fefa867268 02:49:24 ---> 5a1427047602 02:49:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:24 ---> Running in f2afd1a63f5f 02:49:24 Removing intermediate container f2afd1a63f5f 02:49:24 ---> 7a777d7d0fc1 02:49:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:24 ---> Running in 9d70708fa54e 02:49:26 Removing intermediate container 9d70708fa54e 02:49:26 ---> ff9121c9d45b 02:49:26 Step 7/24 : RUN apk add --update --no-cache make git 02:49:26 ---> Running in a434e70240bc 02:49:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:29 OK: 142 MiB in 39 packages 02:49:30 Removing intermediate container a434e70240bc 02:49:30 ---> 250a2f32abdb 02:49:30 Step 8/24 : COPY . . 02:49:31 ---> fd328ae0e89f 02:49:31 Step 9/24 : RUN ${MAKE} 02:49:32 ---> Running in 1378a5d34f07 02:49:32 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 02:50:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:03 Removing intermediate container 1378a5d34f07 02:50:03 ---> 18d1feb61f2c 02:50:03 Step 10/24 : FROM scratch 02:50:03 ---> 02:50:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:03 ---> Running in 2de597e32b47 02:50:03 Removing intermediate container 2de597e32b47 02:50:03 ---> 3a605eb06af8 02:50:03 Step 12/24 : ENV APP_PORT=49990 02:50:03 ---> Running in 8e3771ca1741 02:50:03 Removing intermediate container 8e3771ca1741 02:50:03 ---> c82a7cdd8b91 02:50:03 Step 13/24 : EXPOSE $APP_PORT 02:50:04 ---> Running in 19861938f2d8 02:50:04 Removing intermediate container 19861938f2d8 02:50:04 ---> a74c20002fe6 02:50:04 Step 14/24 : WORKDIR / 02:50:04 ---> Running in 1d678fd59514 02:50:05 Removing intermediate container 1d678fd59514 02:50:05 ---> d91d12aa9d47 02:50:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:06 ---> b007fac994fb 02:50:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:07 ---> 5858e4869c20 02:50:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:07 ---> 371e7075b56a 02:50:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:08 ---> 0cc4d93c3d6b 02:50:08 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:09 ---> 6f6a0a774709 02:50:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:09 ---> Running in 37c9c19a310b 02:50:09 Removing intermediate container 37c9c19a310b 02:50:09 ---> bdd98a8d23f5 02:50:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:10 ---> Running in c2bb5a2a2b23 02:50:10 Removing intermediate container c2bb5a2a2b23 02:50:10 ---> 21eb26dfecc4 02:50:10 Step 22/24 : LABEL arch=arm64 02:50:10 ---> Running in bc9e45b0bccc 02:50:11 Removing intermediate container bc9e45b0bccc 02:50:11 ---> 529495b94d16 02:50:11 Step 23/24 : LABEL git_sha=71b8edf5498d8f03b80cc114d301101a2225a41b 02:50:11 ---> Running in d6682a30ec0d 02:50:11 Removing intermediate container d6682a30ec0d 02:50:11 ---> 4bfb388f06ff 02:50:11 Step 24/24 : LABEL version=0.0.0 02:50:11 ---> Running in 83a6c260954d 02:50:12 Removing intermediate container 83a6c260954d 02:50:12 ---> 07517faec301 02:50:12 [Warning] One or more build-args [ARCH] were not consumed 02:50:12 Successfully built 07517faec301 02:50:12 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:50:14 provisioning config files... 02:50:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config8505558684028077694tmp [Pipeline] { [Pipeline] sh 02:50:14 + set +x 02:50:14 + curl -s https://codecov.io/bash 02:50:14 + bash -s -- 02:50:14 02:50:14 _____ _ 02:50:14 / ____| | | 02:50:14 | | ___ __| | ___ ___ _____ __ 02:50:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:14 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:14 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:14 Bash-20201217-3d3df35 02:50:14 02:50:14 02:50:14 git version 2.24.3 found 02:50:14 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 02:50:14 ==> Jenkins CI detected. 02:50:14 project root: . 02:50:14 --> token set from env 02:50:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:14 ==> Running gcov in . (disable via -X gcov) 02:50:14 ==> Python coveragepy not found 02:50:14 ==> Searching for coverage reports in: 02:50:14 + . 02:50:14 -> Found 1 reports 02:50:14 ==> Detecting git/mercurial file structure 02:50:14 ==> Reading reports 02:50:14 + ./coverage.out bytes=130290 02:50:14 ==> Appending adjustments 02:50:14 https://docs.codecov.io/docs/fixing-reports 02:50:15 + Found adjustments 02:50:15 ==> Gzipping contents 02:50:15 24K /tmp/codecov.7vwtu1.gz 02:50:15 ==> Uploading reports 02:50:15 url: https://codecov.io 02:50:15 query: branch=PR-676&commit=71b8edf5498d8f03b80cc114d301101a2225a41b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:50:15 -> Pinging Codecov 02:50:15 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-676&commit=71b8edf5498d8f03b80cc114d301101a2225a41b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:50:15 -> Uploading to 02:50:15 https://storage.googleapis.com/codecov/v4/raw/2020-12-19/7E55EF52A471D76F132DFD9A03CDDE97/71b8edf5498d8f03b80cc114d301101a2225a41b/bcdc7de1-90dc-48c8-979c-8a9f988c83f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201219T025015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cffe06b64a2d1eb3101370f04d8272e2a3f0a7cc0a01604f055e93b87fb5d3e 02:50:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:15 Dload Upload Total Spent Left Speed 02:50:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21217 0 0 100 21217 0 43512 --:--:-- --:--:-- --:--:-- 43477 02:50:16 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/71b8edf5498d8f03b80cc114d301101a2225a41b [Pipeline] } 02:50:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:18 ---> package-listing.sh 02:50:18 ++ facter osfamily 02:50:18 ++ tr '[:upper:]' '[:lower:]' 02:50:18 + OS_FAMILY=redhat 02:50:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-676 02:50:18 + START_PACKAGES=/tmp/packages_start.txt 02:50:18 + END_PACKAGES=/tmp/packages_end.txt 02:50:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:18 + PACKAGES=/tmp/packages_start.txt 02:50:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:50:18 + PACKAGES=/tmp/packages_end.txt 02:50:18 + case "${OS_FAMILY}" in 02:50:18 + rpm -qa 02:50:18 + sort 02:50:24 + '[' -f /tmp/packages_start.txt ']' 02:50:24 + '[' -f /tmp/packages_end.txt ']' 02:50:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:50:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-676/archives/ 02:50:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-676/archives/ [Pipeline] echo 02:50:24 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-676/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:24 02:50:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:25 alpine: Pulling from edgex-lftools-log-publisher 02:50:25 df20fa9351a1: Pulling fs layer 02:50:25 36b3adc4ff6f: Pulling fs layer 02:50:25 8ad3a11d3b57: Pulling fs layer 02:50:25 46f8f816bc3b: Pulling fs layer 02:50:25 93b61091891f: Pulling fs layer 02:50:25 93b9cdb0e59b: Pulling fs layer 02:50:25 5e14af77c1be: Pulling fs layer 02:50:25 01666e4c0597: Pulling fs layer 02:50:25 aa168da1d23b: Pulling fs layer 02:50:25 46f8f816bc3b: Waiting 02:50:25 93b61091891f: Waiting 02:50:25 93b9cdb0e59b: Waiting 02:50:25 5e14af77c1be: Waiting 02:50:25 01666e4c0597: Waiting 02:50:25 aa168da1d23b: Waiting 02:50:25 36b3adc4ff6f: Verifying Checksum 02:50:25 36b3adc4ff6f: Download complete 02:50:25 46f8f816bc3b: Verifying Checksum 02:50:25 46f8f816bc3b: Download complete 02:50:25 df20fa9351a1: Verifying Checksum 02:50:25 df20fa9351a1: Download complete 02:50:25 93b9cdb0e59b: Verifying Checksum 02:50:25 93b9cdb0e59b: Download complete 02:50:25 93b61091891f: Download complete 02:50:25 5e14af77c1be: Download complete 02:50:25 01666e4c0597: Verifying Checksum 02:50:25 01666e4c0597: Download complete 02:50:25 df20fa9351a1: Pull complete 02:50:25 36b3adc4ff6f: Pull complete 02:50:25 8ad3a11d3b57: Verifying Checksum 02:50:25 8ad3a11d3b57: Download complete 02:50:26 8ad3a11d3b57: Pull complete 02:50:26 46f8f816bc3b: Pull complete 02:50:27 aa168da1d23b: Verifying Checksum 02:50:27 aa168da1d23b: Download complete 02:50:27 93b61091891f: Pull complete 02:50:27 93b9cdb0e59b: Pull complete 02:50:28 5e14af77c1be: Pull complete 02:50:28 01666e4c0597: Pull complete 02:50:34 aa168da1d23b: Pull complete 02:50:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:50:34 prd-centos7-docker-4c-2g-16813 does not seem to be running inside a container 02:50:34 $ 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-676/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-676 -v /w/workspace/dgexfoundry_device-sdk-go_PR-676:/w/workspace/dgexfoundry_device-sdk-go_PR-676:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-676@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:10003/edgex-lftools-log-publisher:alpine cat 02:50:39 $ docker top ba0e6885116da66e450c18b545e57349058e3f693e44e6aab4ef501add47c63c -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:50:39 + mkdir -p /var/log/sa [Pipeline] sh 02:50:40 + ls /var/log/sa-host 02:50:40 + sadf -c /var/log/sa-host/sa19 02:50:40 file_magic: OK 02:50:40 HZ: Using current value: 100 02:50:40 file_header: OK 02:50:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:40 Statistics: 02:50:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:50:40 File successfully converted to sysstat format version 12.2.1 02:50:40 + sadf -c /var/log/sa-host/sa23 02:50:40 file_magic: OK 02:50:40 HZ: Using current value: 100 02:50:40 file_header: OK 02:50:40 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 02:50:40 Statistics: 02:50:40 Hnuu...uuuununununu... 02:50:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:40 provisioning config files... 02:50:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config463578923529625625tmp [Pipeline] { [Pipeline] echo 02:50:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:50:40 ---> create-netrc.sh [Pipeline] } 02:50:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:50:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:50:41 ---> python-tools-install.sh [Pipeline] echo 02:50:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:50:41 ---> sudo-logs.sh 02:50:41 Archiving 'sudo' log.. [Pipeline] echo 02:50:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:50:41 ---> job-cost.sh 02:50:41 lf-activate-venv: SKIPPING 02:50:41 INFO: No Stack... 02:50:43 INFO: Retrieving Pricing Info for: v1-standard-2 02:50:43 INFO: Archiving Costs [Pipeline] echo 02:50:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:50:43 ---> logs-deploy.sh 02:50:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-676/7 02:50:43 INFO: archiving workspace using pattern(s): 02:50:45 Archives upload complete. 02:50:45 INFO: archiving logs to Nexus 02:50:46 ---> uname -a: 02:50:46 Linux prd-centos7-docker-4c-2g-16813.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:50:46 02:50:46 02:50:46 ---> lscpu: 02:50:46 Architecture: x86_64 02:50:46 CPU op-mode(s): 32-bit, 64-bit 02:50:46 Byte Order: Little Endian 02:50:46 Address sizes: 40 bits physical, 48 bits virtual 02:50:46 CPU(s): 4 02:50:46 On-line CPU(s) list: 0-3 02:50:46 Thread(s) per core: 1 02:50:46 Core(s) per socket: 1 02:50:46 Socket(s): 4 02:50:46 NUMA node(s): 1 02:50:46 Vendor ID: GenuineIntel 02:50:46 CPU family: 6 02:50:46 Model: 44 02:50:46 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:50:46 Stepping: 1 02:50:46 CPU MHz: 2933.438 02:50:46 BogoMIPS: 5866.87 02:50:46 Virtualization: VT-x 02:50:46 Hypervisor vendor: KVM 02:50:46 Virtualization type: full 02:50:46 L1d cache: 128 KiB 02:50:46 L1i cache: 128 KiB 02:50:46 L2 cache: 16 MiB 02:50:46 L3 cache: 64 MiB 02:50:46 NUMA node0 CPU(s): 0-3 02:50:46 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:50:46 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:50:46 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:50:46 Vulnerability Meltdown: Mitigation; PTI 02:50:46 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:50:46 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:50:46 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:50:46 Vulnerability Srbds: Not affected 02:50:46 Vulnerability Tsx async abort: Not affected 02:50:46 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:50:46 02:50:46 02:50:46 ---> nproc: 02:50:46 4 02:50:46 02:50:46 02:50:46 ---> df -h: 02:50:46 Filesystem Size Used Available Use% Mounted on 02:50:46 overlay 50.0G 7.3G 42.7G 15% / 02:50:46 tmpfs 64.0M 0 64.0M 0% /dev 02:50:46 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:50:46 shm 64.0M 0 64.0M 0% /dev/shm 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-676 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:50:46 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:50:46 02:50:46 02:50:46 ---> free -m: 02:50:46 total used free shared buff/cache available 02:50:46 Mem: 1837 693 94 0 1050 1040 02:50:46 Swap: 1023 1 1022 02:50:46 02:50:46 02:50:46 ---> ip addr: 02:50:46 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:50:46 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:50:46 inet 127.0.0.1/8 scope host lo 02:50:46 valid_lft forever preferred_lft forever 02:50:46 inet6 ::1/128 scope host 02:50:46 valid_lft forever preferred_lft forever 02:50:46 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:50:46 link/ether fa:16:3e:da:4f:e6 brd ff:ff:ff:ff:ff:ff 02:50:46 inet 10.30.122.81/23 brd 10.30.123.255 scope global dynamic eth0 02:50:46 valid_lft 85868sec preferred_lft 85868sec 02:50:46 inet6 fe80::f816:3eff:feda:4fe6/64 scope link 02:50:46 valid_lft forever preferred_lft forever 02:50:46 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:50:46 link/ether 02:42:97:9a:51:75 brd ff:ff:ff:ff:ff:ff 02:50:46 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:50:46 valid_lft forever preferred_lft forever 02:50:46 inet6 fe80::42:97ff:fe9a:5175/64 scope link 02:50:46 valid_lft forever preferred_lft forever 02:50:46 02:50:46 02:50:46 ---> sar -b -r -n DEV: 02:50:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/19/20 _x86_64_ (4 CPU) 02:50:46 02:50:46 02:41:43 LINUX RESTART (4 CPU) 02:50:46 02:50:46 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:50:46 02:43:01 168.09 80.43 87.65 0.00 8902.96 39285.27 0.00 02:50:46 02:44:01 2.51 0.00 2.51 0.00 0.00 58.80 0.00 02:50:46 02:45:01 0.22 0.00 0.22 0.00 0.00 3.76 0.00 02:50:46 02:46:01 0.27 0.00 0.27 0.00 0.00 3.25 0.00 02:50:46 02:47:01 0.18 0.00 0.18 0.00 0.00 2.35 0.00 02:50:46 02:48:02 0.38 0.00 0.38 0.00 0.00 5.05 0.00 02:50:46 02:49:01 0.25 0.00 0.25 0.00 0.00 2.64 0.00 02:50:46 02:50:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 02:50:46 Average: 21.59 10.08 11.50 0.00 1116.17 4935.12 0.00 02:50:46 02:50:46 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:50:46 02:43:01 149908 0 584532 31.07 2612 1144492 1089496 37.18 396052 1135468 132 02:50:46 02:44:01 153312 0 581012 30.88 2612 1144608 1070260 36.53 395744 1132800 20 02:50:46 02:45:01 153424 0 580892 30.87 2612 1144616 1070332 36.53 406136 1122932 20 02:50:46 02:46:01 153916 0 580400 30.85 2612 1144616 1059072 36.14 405620 1122492 8 02:50:46 02:47:01 152284 0 582024 30.93 2612 1144624 1059108 36.15 421996 1108112 8 02:50:46 02:48:02 152212 0 582092 30.94 2612 1144628 1059084 36.14 423296 1106788 8 02:50:46 02:49:01 153396 0 580904 30.87 2612 1144632 1058952 36.14 422696 1106792 8 02:50:46 02:50:01 152952 0 581344 30.90 2612 1144636 1058988 36.14 422656 1106784 8 02:50:46 Average: 152676 0 581650 30.91 2612 1144606 1065662 36.37 411774 1117771 26 02:50:46 02:50:46 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:50:46 02:43:01 eth0 581.91 373.46 1097.80 106.12 0.00 0.00 0.00 0.00 02:50:46 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:43:01 docker0 9.78 7.97 1.42 20.75 0.00 0.00 0.00 0.00 02:50:46 02:44:01 eth0 2.75 0.70 0.76 0.40 0.00 0.00 0.00 0.00 02:50:46 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:45:01 eth0 3.33 0.72 0.96 0.58 0.00 0.00 0.00 0.00 02:50:46 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:46:01 eth0 1.08 0.32 0.31 0.23 0.00 0.00 0.00 0.00 02:50:46 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:47:01 eth0 1.68 0.38 0.38 0.21 0.00 0.00 0.00 0.00 02:50:46 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:48:02 eth0 0.72 0.38 0.41 0.26 0.00 0.00 0.00 0.00 02:50:46 02:48:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:48:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:49:01 eth0 0.14 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:50:46 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:50:01 eth0 0.20 0.13 0.06 0.01 0.00 0.00 0.00 0.00 02:50:46 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 Average: eth0 74.19 47.16 137.99 13.52 0.00 0.00 0.00 0.00 02:50:46 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:50:46 Average: docker0 1.23 1.00 0.18 2.60 0.00 0.00 0.00 0.00 02:50:46 02:50:46 02:50:46 ---> sar -P ALL: 02:50:46 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/19/20 _x86_64_ (4 CPU) 02:50:46 02:50:46 02:41:43 LINUX RESTART (4 CPU) 02:50:46 02:50:46 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:50:46 02:43:01 all 14.57 0.00 7.03 5.43 0.04 72.93 02:50:46 02:43:01 0 11.75 0.00 7.27 6.47 0.05 74.46 02:50:46 02:43:01 1 15.40 0.00 6.43 4.84 0.03 73.30 02:50:46 02:43:01 2 17.64 0.00 6.33 4.62 0.05 71.37 02:50:46 02:43:01 3 13.48 0.00 8.09 5.78 0.03 72.61 02:50:46 02:44:01 all 0.14 0.00 0.05 0.00 0.00 99.80 02:50:46 02:44:01 0 0.07 0.00 0.05 0.00 0.00 99.88 02:50:46 02:44:01 1 0.15 0.00 0.05 0.00 0.00 99.80 02:50:46 02:44:01 2 0.18 0.00 0.05 0.00 0.00 99.77 02:50:46 02:44:01 3 0.15 0.00 0.07 0.00 0.02 99.77 02:50:46 02:45:01 all 0.21 0.00 0.06 0.00 0.02 99.71 02:50:46 02:45:01 0 0.05 0.00 0.10 0.00 0.00 99.85 02:50:46 02:45:01 1 0.13 0.00 0.03 0.00 0.02 99.82 02:50:46 02:45:01 2 0.08 0.00 0.08 0.00 0.00 99.83 02:50:46 02:45:01 3 0.58 0.00 0.02 0.00 0.05 99.35 02:50:46 02:46:01 all 0.16 0.00 0.03 0.00 0.00 99.82 02:50:46 02:46:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:50:46 02:46:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:50:46 02:46:01 2 0.07 0.00 0.03 0.00 0.00 99.90 02:50:46 02:46:01 3 0.52 0.00 0.02 0.00 0.00 99.47 02:50:46 02:47:01 all 0.13 0.00 0.08 0.00 0.00 99.80 02:50:46 02:47:01 0 0.02 0.00 0.13 0.00 0.00 99.85 02:50:46 02:47:01 1 0.07 0.00 0.05 0.00 0.00 99.88 02:50:46 02:47:01 2 0.08 0.00 0.05 0.00 0.00 99.87 02:50:46 02:47:01 3 0.35 0.00 0.07 0.00 0.00 99.58 02:50:46 02:48:02 all 0.15 0.00 0.05 0.00 0.00 99.80 02:50:46 02:48:02 0 0.02 0.00 0.05 0.00 0.00 99.93 02:50:46 02:48:02 1 0.03 0.00 0.03 0.00 0.00 99.93 02:50:46 02:48:02 2 0.08 0.00 0.03 0.00 0.00 99.88 02:50:46 02:48:02 3 0.48 0.00 0.07 0.00 0.00 99.45 02:50:46 02:49:01 all 0.06 0.00 0.03 0.00 0.00 99.91 02:50:46 02:49:01 0 0.02 0.00 0.00 0.00 0.02 99.97 02:50:46 02:49:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:50:46 02:49:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:50:46 02:49:01 3 0.14 0.00 0.05 0.00 0.00 99.81 02:50:46 02:50:01 all 0.15 0.00 0.02 0.00 0.00 99.83 02:50:46 02:50:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:50:46 02:50:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:50:46 02:50:01 2 0.07 0.00 0.03 0.00 0.02 99.88 02:50:46 02:50:01 3 0.50 0.00 0.02 0.00 0.00 99.48 02:50:46 Average: all 1.93 0.00 0.91 0.67 0.01 96.48 02:50:46 Average: 0 1.48 0.00 0.95 0.80 0.01 96.77 02:50:46 Average: 1 1.97 0.00 0.83 0.60 0.01 96.60 02:50:46 Average: 2 2.27 0.00 0.83 0.57 0.01 96.33 02:50:46 Average: 3 2.01 0.00 1.04 0.72 0.01 96.22 02:50:46 02:50:46 02:50:46