Pull request #659 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c+cf9e8dc7bd919f9915f3ed3b96261970003b233d (05c6446b6b947803b24e3afbe5662f41538defb6) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-13506’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13501’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13511 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [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-659 # 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 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c Merge succeeded, producing 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c Checking out Revision 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c (PR-659) 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/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # 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 cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:26:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:26:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:26:49 ========================================================= 07:26:49 EdgeX Global Pipelines Version Info 07:26:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:26:50 ------------------- 07:26:50 stable info: 07:26:50 ------------------- 07:26:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:26:50 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:26:50 Message: update stable to v1.0.167 07:26:51 ------------------- 07:26:51 experimental info: 07:26:51 ------------------- 07:26:51 Commited By: **** collab-it+edgex@linuxfoundation.org 07:26:51 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:26:51 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:26:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:26:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-659 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-659 [Pipeline] echo 07:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-659 [Pipeline] echo 07:26:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c [Pipeline] echo 07:26:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f88dc2 [Pipeline] echo 07:26:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:26:55 provisioning config files... 07:26:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config4101465439306263460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:55 ---> docker-login.sh 07:26:55 nexus3.edgexfoundry.org:10001 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 nexus3.edgexfoundry.org:10002 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 nexus3.edgexfoundry.org:10003 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 nexus3.edgexfoundry.org:10004 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:56 Configure a credential helper to remove this warning. See 07:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:56 07:26:56 Login Succeeded 07:26:56 docker.io 07:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:57 Configure a credential helper to remove this warning. See 07:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:57 07:26:57 Login Succeeded 07:26:57 ---> docker-login.sh ends [Pipeline] } 07:26:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:57 + git log --format=format:%s -1 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c [Pipeline] echo 07:26:57 GIT_COMMIT: 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 [Pipeline] echo 07:26:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:58 07:26:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:26:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:58 latest: Pulling from edgex-devops/git-semver 07:26:58 31603596830f: Pulling fs layer 07:26:58 2a8b12db71e7: Pulling fs layer 07:26:58 6ca5941a6612: Pulling fs layer 07:26:58 ecc8261a40a4: Pulling fs layer 07:26:58 ecc8261a40a4: Waiting 07:26:58 2a8b12db71e7: Verifying Checksum 07:26:58 2a8b12db71e7: Download complete 07:26:58 31603596830f: Download complete 07:26:59 ecc8261a40a4: Verifying Checksum 07:26:59 ecc8261a40a4: Download complete 07:26:59 6ca5941a6612: Verifying Checksum 07:26:59 6ca5941a6612: Download complete 07:26:59 31603596830f: Pull complete 07:26:59 2a8b12db71e7: Pull complete 07:27:00 6ca5941a6612: Pull complete 07:27:00 ecc8261a40a4: Pull complete 07:27:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:27:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:27:00 prd-centos7-docker-4c-2g-13511 does not seem to be running inside a container 07:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:27:03 $ docker top ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:27:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:03 [ssh-agent] Looking for ssh-agent implementation... 07:27:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:04 $ docker exec ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 ssh-agent 07:27:04 SSH_AUTH_SOCK=/tmp/ssh-6t6OxzaqRWxA/agent.12 07:27:04 SSH_AGENT_PID=17 07:27:04 Running ssh-add (command line suppressed) 07:27:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_1057241272401695939.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_1057241272401695939.key) 07:27:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:04 + git tag --points-at HEAD [Pipeline] } 07:27:05 $ docker exec --env ******** --env ******** ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 ssh-agent -k 07:27:05 unset SSH_AUTH_SOCK; 07:27:05 unset SSH_AGENT_PID; 07:27:05 echo Agent pid 17 killed; 07:27:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:27:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:27:05 [ssh-agent] Looking for ssh-agent implementation... 07:27:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:27:05 $ docker exec ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 ssh-agent 07:27:05 SSH_AUTH_SOCK=/tmp/ssh-btoVYZYRiXjV/agent.45 07:27:05 SSH_AGENT_PID=50 07:27:05 Running ssh-add (command line suppressed) 07:27:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_7625125872560817380.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_7625125872560817380.key) 07:27:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:27:06 + git semver init 07:27:06 # -> Open(): unable to determine branch for HEAD 07:27:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.git 07:27:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-659 07:27:06 # $SEMVER_REMOTE_NAME = origin 07:27:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:27:06 # $SEMVER_USER_NAME = edgex-jenkins 07:27:06 # $SEMVER_BRANCH = PR-659 07:27:06 # $SEMVER_TEMP = /tmp/semver-754002944 07:27:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:27:06 # '/tmp/semver-754002944' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver' 07:27:07 # -> Force: false 07:27:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver [Pipeline] } 07:27:07 $ docker exec --env ******** --env ******** ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 ssh-agent -k 07:27:07 unset SSH_AUTH_SOCK; 07:27:07 unset SSH_AGENT_PID; 07:27:07 echo Agent pid 50 killed; 07:27:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:27:07 + git semver [Pipeline] } 07:27:07 $ docker stop --time=1 ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 07:27:09 $ docker rm -f ce8b32f75baed87ab1f90638d050f235f4664ed0f2083439a53c81baa353d444 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:27:10 Stashed 1 file(s) [Pipeline] echo 07:27:10 [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 07:27:25 Still waiting to schedule task 07:27:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:27:25 Still waiting to schedule task 07:27:25 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:29:13 Running on prd-centos7-docker-4c-2g-13515 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 07:29:13 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 07:29:20 using credential edgex-jenkins-ssh 07:29:20 Cloning the remote Git repository 07:29:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:29:20 > git init /w/workspace/device-sdk-go/3 # timeout=10 07:29:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:21 > git --version # timeout=10 07:29:21 > git --version # 'git version 2.24.3' 07:29:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:22 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:29:23 Merge succeeded, producing 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:29:23 Checking out Revision 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c (PR-659) 07:29:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:29:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:29:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:29:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:29:23 > git config core.sparsecheckout # timeout=10 07:29:23 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # timeout=10 07:29:23 > git remote # timeout=10 07:29:23 > git config --get remote.origin.url # timeout=10 07:29:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:29:23 > git merge cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 07:29:23 > git rev-parse HEAD^{commit} # timeout=10 07:29:23 > git config core.sparsecheckout # timeout=10 07:29:23 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # timeout=10 07:29:27 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:29:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:29:30 + true 07:29:30 + sudo service docker restart 07:29:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:29:32 provisioning config files... 07:29:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5575124356845199422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:29:32 ---> docker-login.sh 07:29:32 nexus3.edgexfoundry.org:10001 07:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:33 Configure a credential helper to remove this warning. See 07:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:33 07:29:33 Login Succeeded 07:29:33 nexus3.edgexfoundry.org:10002 07:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:34 Configure a credential helper to remove this warning. See 07:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:34 07:29:34 Login Succeeded 07:29:34 nexus3.edgexfoundry.org:10003 07:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:34 Configure a credential helper to remove this warning. See 07:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:34 07:29:34 Login Succeeded 07:29:34 nexus3.edgexfoundry.org:10004 07:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:35 Configure a credential helper to remove this warning. See 07:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:35 07:29:35 Login Succeeded 07:29:35 docker.io 07:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:29:36 Configure a credential helper to remove this warning. See 07:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:29:36 07:29:36 Login Succeeded 07:29:36 ---> docker-login.sh ends [Pipeline] } 07:29:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:29:36 ========================================================= 07:29:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:29:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:29:37 + 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 . 07:29:37 Sending build context to Docker daemon 2.355MB 07:29:37 Step 1/8 : ARG BASE=golang:1.15-alpine 07:29:37 Step 2/8 : FROM ${BASE} 07:29:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:29:37 df20fa9351a1: Pulling fs layer 07:29:37 ed8968b2872e: Pulling fs layer 07:29:37 a92cc7c5fd73: Pulling fs layer 07:29:37 e871e8e8d7a9: Pulling fs layer 07:29:37 e73272ec9a57: Pulling fs layer 07:29:37 1e910a182e73: Pulling fs layer 07:29:37 4e634b169226: Pulling fs layer 07:29:37 e73272ec9a57: Waiting 07:29:37 e871e8e8d7a9: Waiting 07:29:37 1e910a182e73: Waiting 07:29:37 4e634b169226: Waiting 07:29:37 a92cc7c5fd73: Verifying Checksum 07:29:37 a92cc7c5fd73: Download complete 07:29:38 ed8968b2872e: Verifying Checksum 07:29:38 ed8968b2872e: Download complete 07:29:38 e73272ec9a57: Verifying Checksum 07:29:38 e73272ec9a57: Download complete 07:29:38 1e910a182e73: Verifying Checksum 07:29:38 1e910a182e73: Download complete 07:29:38 df20fa9351a1: Verifying Checksum 07:29:38 df20fa9351a1: Download complete 07:29:39 df20fa9351a1: Pull complete 07:29:39 ed8968b2872e: Pull complete 07:29:40 a92cc7c5fd73: Pull complete 07:29:42 4e634b169226: Verifying Checksum 07:29:42 4e634b169226: Download complete 07:29:44 e871e8e8d7a9: Verifying Checksum 07:29:44 e871e8e8d7a9: Download complete 07:29:55 e871e8e8d7a9: Pull complete 07:29:55 e73272ec9a57: Pull complete 07:29:55 1e910a182e73: Pull complete 07:30:03 4e634b169226: Pull complete 07:30:03 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 07:30:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:30:03 ---> f7629b54cfaa 07:30:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:30:03 ---> Running in 3b9dfb7131c3 07:30:03 Removing intermediate container 3b9dfb7131c3 07:30:03 ---> c9d9e0898856 07:30:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:30:04 ---> Running in 3cfbd6ce7f78 07:30:07 Removing intermediate container 3cfbd6ce7f78 07:30:07 ---> a6e4a5d72881 07:30:07 Step 5/8 : RUN apk add --no-cache make git 07:30:07 ---> Running in 1be2f16abb99 07:30:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:30:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:30:09 OK: 166 MiB in 39 packages 07:30:10 Removing intermediate container 1be2f16abb99 07:30:10 ---> 9be1f4b5806b 07:30:10 Step 6/8 : WORKDIR /device-sdk-go 07:30:10 ---> Running in 8f540dd51492 07:30:10 Removing intermediate container 8f540dd51492 07:30:10 ---> d12c7dfb3ea3 07:30:10 Step 7/8 : COPY . . 07:30:13 ---> 738072ff7929 07:30:13 Step 8/8 : RUN go mod download 07:30:13 ---> Running in de73ecdc2f06 07:30:46 Removing intermediate container de73ecdc2f06 07:30:46 ---> 4486d8fc448a 07:30:46 Successfully built 4486d8fc448a 07:30:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:30:46 + docker inspect -f . ci-base-image-x86_64 07:30:47 . [Pipeline] withDockerContainer 07:30:47 prd-centos7-docker-4c-2g-13515 does not seem to be running inside a container 07:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 07:30:49 $ docker top 5337efb0d0da20c64e64df21bdf6e7ab45fb129c3156280f8005513cae047e08 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:49 + go version 07:30:49 go version go1.15.2 linux/amd64 [Pipeline] } 07:30:49 $ docker stop --time=1 5337efb0d0da20c64e64df21bdf6e7ab45fb129c3156280f8005513cae047e08 07:30:51 $ docker rm -f 5337efb0d0da20c64e64df21bdf6e7ab45fb129c3156280f8005513cae047e08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:30:52 + docker inspect -f . ci-base-image-x86_64 07:30:52 . [Pipeline] withDockerContainer 07:30:53 prd-centos7-docker-4c-2g-13515 does not seem to be running inside a container 07:30:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** ci-base-image-x86_64 cat 07:30:54 $ docker top d256813e159bcc911b35ae2c5381976873c4d45586f808b0a7a62198c75539d6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:30:55 + make test 07:30:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:31:09 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:31:36 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:31:36 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:31:36 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:31:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.087s coverage: 20.6% of statements 07:31:40 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.613s coverage: 97.1% of statements 07:32:12 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.082s coverage: 9.4% of statements 07:32:12 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.169s coverage: 21.9% of statements 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:32:12 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.302s coverage: 42.5% of statements 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:32:12 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.540s coverage: 68.9% of statements 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:32:12 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.100s coverage: 52.6% of statements 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:32:12 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:32:12 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.988s coverage: 68.9% of statements 07:32:12 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.093s coverage: 4.7% of statements 07:32:12 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:32:12 GO111MODULE=on go vet ./... 07:32:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13520 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 07:32:13 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 07:32:18 using credential edgex-jenkins-ssh 07:32:18 Cloning the remote Git repository 07:32:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:32:19 > git init /w/workspace/device-sdk-go/3 # timeout=10 07:32:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:19 > git --version # timeout=10 07:32:19 > git --version # 'git version 2.17.1' 07:32:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:32:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:32:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:32:20 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:32:21 Merging remotes/origin/master commit cf9e8dc7bd919f9915f3ed3b96261970003b233d into PR head commit 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:32:21 Merge succeeded, producing 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:32:21 Checking out Revision 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c (PR-659) 07:32:21 > git config core.sparsecheckout # timeout=10 07:32:21 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # timeout=10 07:32:21 > git remote # timeout=10 07:32:21 > git config --get remote.origin.url # timeout=10 07:32:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:32:21 > git merge cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 07:32:21 > git rev-parse HEAD^{commit} # timeout=10 07:32:21 > git config core.sparsecheckout # timeout=10 07:32:21 > git checkout -f 8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c # timeout=10 07:32:26 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:32:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:32:28 gofmt -l . 07:32:28 [ "`gofmt -l .`" = "" ] 07:32:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:32:28 ./bin/test-attribution-txt.sh 07:32:28 + sudo service docker restart 07:32:28 + true 07:32:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:32:29 $ docker stop --time=1 d256813e159bcc911b35ae2c5381976873c4d45586f808b0a7a62198c75539d6 07:32:31 $ docker rm -f d256813e159bcc911b35ae2c5381976873c4d45586f808b0a7a62198c75539d6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:32:32 provisioning config files... 07:32:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3631641972006449789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:32:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:32:32 ---> docker-login.sh 07:32:32 nexus3.edgexfoundry.org:10001 07:32:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 07:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:34 Configure a credential helper to remove this warning. See 07:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:34 07:32:34 Login Succeeded 07:32:34 nexus3.edgexfoundry.org:10002 [Pipeline] sh 07:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:34 Configure a credential helper to remove this warning. See 07:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:34 07:32:34 Login Succeeded 07:32:34 nexus3.edgexfoundry.org:10003 07:32:34 + ls -al . 07:32:34 total 208 07:32:34 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:32 . 07:32:34 drwxrwxr-x. 4 jenkins jenkins 28 Nov 26 07:29 .. 07:32:34 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:29 bin 07:32:34 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:32 coverage.out 07:32:34 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:29 Dockerfile.build 07:32:34 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:29 .dockerignore 07:32:34 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:29 example 07:32:34 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 07:29 .git 07:32:34 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:29 .github 07:32:34 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:29 .gitignore 07:32:34 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:32 go.mod 07:32:34 -rw-r--r--. 1 jenkins jenkins 13546 Nov 26 07:32 go.sum 07:32:34 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:29 internal 07:32:34 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:29 Jenkinsfile 07:32:34 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:29 LICENSE 07:32:34 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:29 Makefile 07:32:34 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:29 openapi 07:32:34 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:29 pkg 07:32:34 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:29 README.md 07:32:34 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:29 RELEASE-NOTES.txt 07:32:34 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:29 snap 07:32:34 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 07:27 VERSION 07:32:34 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:29 version.go [Pipeline] isUnix [Pipeline] sh 07:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:35 + 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=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c --label arch=amd64 --label version=0.0.0 . 07:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:35 Configure a credential helper to remove this warning. See 07:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:35 07:32:35 Login Succeeded 07:32:35 nexus3.edgexfoundry.org:10004 07:32:35 Sending build context to Docker daemon 2.484MB 07:32:35 Step 1/24 : ARG BASE=golang:1.15-alpine 07:32:35 Step 2/24 : FROM ${BASE} AS builder 07:32:35 ---> 4486d8fc448a 07:32:35 Step 3/24 : ARG MAKE='make build' 07:32:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:35 Configure a credential helper to remove this warning. See 07:32:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:35 07:32:35 Login Succeeded 07:32:35 docker.io 07:32:36 ---> Running in 739f63378568 07:32:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:32:36 Removing intermediate container 739f63378568 07:32:36 ---> 44beee825468 07:32:36 Step 4/24 : WORKDIR /device-sdk-go 07:32:36 ---> Running in 2138f18d67e6 07:32:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:32:36 Configure a credential helper to remove this warning. See 07:32:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:32:36 07:32:36 Login Succeeded 07:32:36 ---> docker-login.sh ends [Pipeline] } 07:32:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 07:32:36 Removing intermediate container 2138f18d67e6 07:32:36 ---> f680dc833392 07:32:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] echo 07:32:37 ========================================================= 07:32:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:32:37 ========================================================= 07:32:37 ---> Running in 10d8f093a706 [Pipeline] isUnix [Pipeline] sh 07:32:37 Removing intermediate container 10d8f093a706 07:32:37 ---> 5011db056b7c 07:32:37 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:32:37 ---> Running in 6cdf65dc25d5 07:32:37 + 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 . 07:32:38 Sending build context to Docker daemon 2.349MB 07:32:38 Step 1/8 : ARG BASE=golang:1.15-alpine 07:32:38 Step 2/8 : FROM ${BASE} 07:32:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:32:38 b538f80385f9: Pulling fs layer 07:32:38 74f711af9a0d: Pulling fs layer 07:32:38 99f96fe45779: Pulling fs layer 07:32:38 8529a6b9a6be: Pulling fs layer 07:32:38 45590311c82a: Pulling fs layer 07:32:38 69ca0ff8b7b3: Pulling fs layer 07:32:38 209524e5b208: Pulling fs layer 07:32:38 45590311c82a: Waiting 07:32:38 69ca0ff8b7b3: Waiting 07:32:38 209524e5b208: Waiting 07:32:38 8529a6b9a6be: Waiting 07:32:38 99f96fe45779: Verifying Checksum 07:32:38 99f96fe45779: Download complete 07:32:38 74f711af9a0d: Verifying Checksum 07:32:38 74f711af9a0d: Download complete 07:32:38 45590311c82a: Verifying Checksum 07:32:38 45590311c82a: Download complete 07:32:38 69ca0ff8b7b3: Verifying Checksum 07:32:38 69ca0ff8b7b3: Download complete 07:32:38 b538f80385f9: Verifying Checksum 07:32:38 b538f80385f9: Download complete 07:32:39 b538f80385f9: Pull complete 07:32:39 Removing intermediate container 6cdf65dc25d5 07:32:39 ---> c54f1f6577a8 07:32:39 Step 7/24 : RUN apk add --update --no-cache make git 07:32:39 ---> Running in d732ceb9c612 07:32:40 74f711af9a0d: Pull complete 07:32:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:32:40 99f96fe45779: Pull complete 07:32:40 209524e5b208: Verifying Checksum 07:32:40 209524e5b208: Download complete 07:32:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:32:42 8529a6b9a6be: Verifying Checksum 07:32:42 8529a6b9a6be: Download complete 07:32:43 OK: 166 MiB in 39 packages 07:32:44 Removing intermediate container d732ceb9c612 07:32:44 ---> 382c46221aab 07:32:44 Step 8/24 : COPY . . 07:32:45 ---> 167c51c98f41 07:32:45 Step 9/24 : RUN ${MAKE} 07:32:45 ---> Running in 31279bc0992c 07:32:46 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 07:32:52 8529a6b9a6be: Pull complete 07:32:52 45590311c82a: Pull complete 07:32:53 69ca0ff8b7b3: Pull complete 07:32:57 209524e5b208: Pull complete 07:32:57 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:32:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:32:57 ---> 5bddaf1c2fca 07:32:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:32:59 ---> Running in 5f7252e221c0 07:33:00 Removing intermediate container 5f7252e221c0 07:33:00 ---> 03b50d82f569 07:33:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:00 ---> Running in 022394147a1b 07:33:02 Removing intermediate container 022394147a1b 07:33:02 ---> 7e0c389f3326 07:33:02 Step 5/8 : RUN apk add --no-cache make git 07:33:02 ---> Running in c6161f7cac72 07:33:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:33:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:33:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:33:05 OK: 142 MiB in 39 packages 07:33:06 Removing intermediate container c6161f7cac72 07:33:06 ---> f4fd03053ead 07:33:06 Step 6/8 : WORKDIR /device-sdk-go 07:33:06 ---> Running in 534dea8ed48f 07:33:07 Removing intermediate container 534dea8ed48f 07:33:07 ---> fc1e1188b397 07:33:07 Step 7/8 : COPY . . 07:33:07 Removing intermediate container 31279bc0992c 07:33:07 ---> b1f0457bbae2 07:33:07 Step 10/24 : FROM scratch 07:33:07 ---> 07:33:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:33:07 ---> Running in c399dcae4e47 07:33:08 Removing intermediate container c399dcae4e47 07:33:08 ---> 71cd066ae18a 07:33:08 Step 12/24 : ENV APP_PORT=49990 07:33:08 ---> Running in 6bc9c04de9e4 07:33:08 ---> 39983c68b727 07:33:08 Step 8/8 : RUN go mod download 07:33:08 ---> Running in b7342e55c57c 07:33:08 Removing intermediate container 6bc9c04de9e4 07:33:08 ---> 8346c8c5c3ef 07:33:08 Step 13/24 : EXPOSE $APP_PORT 07:33:08 ---> Running in 2cebdc143429 07:33:09 Removing intermediate container 2cebdc143429 07:33:09 ---> f3a85c9840fd 07:33:09 Step 14/24 : WORKDIR / 07:33:09 ---> Running in 35f4adb77c3f 07:33:09 Removing intermediate container 35f4adb77c3f 07:33:09 ---> d2476a5b9305 07:33:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:33:10 ---> f47f7242f08e 07:33:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:33:11 ---> 4345514b401b 07:33:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:33:11 ---> 62963bb80bc0 07:33:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:33:12 ---> efd458565ce2 07:33:12 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:33:13 ---> 9ca34cc3fde7 07:33:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:33:13 ---> Running in 5d1b2fb8d6d9 07:33:14 Removing intermediate container 5d1b2fb8d6d9 07:33:14 ---> f3f22ddd2222 07:33:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:33:14 ---> Running in ccea29defb99 07:33:14 Removing intermediate container ccea29defb99 07:33:14 ---> c613834319b8 07:33:14 Step 22/24 : LABEL arch=amd64 07:33:14 ---> Running in b54f4a5760e3 07:33:15 Removing intermediate container b54f4a5760e3 07:33:15 ---> 95f8fe00fe08 07:33:15 Step 23/24 : LABEL git_sha=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:33:15 ---> Running in ad13e27c8635 07:33:15 Removing intermediate container ad13e27c8635 07:33:15 ---> 11fb44cdbc5d 07:33:15 Step 24/24 : LABEL version=0.0.0 07:33:15 ---> Running in 7da13b545ec2 07:33:15 Removing intermediate container 7da13b545ec2 07:33:15 ---> efa4b49307bb 07:33:15 [Warning] One or more build-args [ARCH] were not consumed 07:33:15 Successfully built efa4b49307bb 07:33:16 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] } 07:33:41 Removing intermediate container b7342e55c57c 07:33:41 ---> 81b7558f2901 07:33:41 Successfully built 81b7558f2901 07:33:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:33:41 + docker inspect -f . ci-base-image-arm64 07:33:41 . [Pipeline] withDockerContainer 07:33:41 prd-ubuntu18.04-docker-arm64-4c-16g-13520 does not seem to be running inside a container 07:33:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 07:33:43 $ docker top de93a5e0829abeed388df652e9a3a127dd828b9f493a3d4bc29547c7f6a07770 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:44 + go version 07:33:44 go version go1.15.2 linux/arm64 [Pipeline] } 07:33:44 $ docker stop --time=1 de93a5e0829abeed388df652e9a3a127dd828b9f493a3d4bc29547c7f6a07770 07:33:46 $ docker rm -f de93a5e0829abeed388df652e9a3a127dd828b9f493a3d4bc29547c7f6a07770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:33:47 + docker inspect -f . ci-base-image-arm64 07:33:47 . [Pipeline] withDockerContainer 07:33:47 prd-ubuntu18.04-docker-arm64-4c-16g-13520 does not seem to be running inside a container 07:33:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 07:33:49 $ docker top 97c645d2ac3aea8acb93bc1592fc28eaf4ec6e91dfef551a03227cb44d965622 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:50 + make test 07:33:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:34:17 ? github.com/edgexfoundry/device-sdk-go [no test files] 07:34:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 07:34:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 07:34:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 07:34:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.161s coverage: 20.6% of statements 07:35:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.349s coverage: 97.1% of statements 07:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements 07:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.160s coverage: 21.9% of statements 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 07:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.629s coverage: 42.5% of statements 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 07:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.804s coverage: 68.9% of statements 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 07:35:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.193s coverage: 52.6% of statements 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 07:35:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 07:35:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.025s coverage: 68.9% of statements 07:35:30 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.144s coverage: 4.7% of statements 07:35:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 07:35:30 GO111MODULE=on go vet ./... 07:36:03 gofmt -l . 07:36:03 [ "`gofmt -l .`" = "" ] 07:36:03 ./bin/test-attribution-txt.sh 07:36:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:36:03 $ docker stop --time=1 97c645d2ac3aea8acb93bc1592fc28eaf4ec6e91dfef551a03227cb44d965622 07:36:05 $ docker rm -f 97c645d2ac3aea8acb93bc1592fc28eaf4ec6e91dfef551a03227cb44d965622 [Pipeline] // withDockerContainer [Pipeline] sh 07:36:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:36:06 Warning: overwriting stash ‘coverage-report’ 07:36:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:36:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:36:08 + ls -al . 07:36:08 total 244 07:36:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 07:36 . 07:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:32 .. 07:36:08 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:32 .dockerignore 07:36:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:32 .git 07:36:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:32 .github 07:36:08 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:32 .gitignore 07:36:08 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:32 Dockerfile.build 07:36:08 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:32 Jenkinsfile 07:36:08 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:32 LICENSE 07:36:08 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:32 Makefile 07:36:08 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:32 README.md 07:36:08 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:32 RELEASE-NOTES.txt 07:36:08 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 07:27 VERSION 07:36:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:32 bin 07:36:08 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 07:35 coverage.out 07:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:32 example 07:36:08 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 07:36 go.mod 07:36:08 -rw-r--r-- 1 jenkins jenkins 13546 Nov 26 07:36 go.sum 07:36:08 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:32 internal 07:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:32 openapi 07:36:08 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:32 pkg 07:36:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:32 snap 07:36:08 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:32 version.go [Pipeline] isUnix [Pipeline] sh 07:36:09 + 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=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c --label arch=arm64 --label version=0.0.0 . 07:36:09 Sending build context to Docker daemon 2.478MB 07:36:09 Step 1/24 : ARG BASE=golang:1.15-alpine 07:36:09 Step 2/24 : FROM ${BASE} AS builder 07:36:09 ---> 81b7558f2901 07:36:09 Step 3/24 : ARG MAKE='make build' 07:36:09 ---> Running in e07bc967530c 07:36:10 Removing intermediate container e07bc967530c 07:36:10 ---> 097c2b150136 07:36:10 Step 4/24 : WORKDIR /device-sdk-go 07:36:10 ---> Running in ba45ac04da4b 07:36:10 Removing intermediate container ba45ac04da4b 07:36:10 ---> 858eee75941f 07:36:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:36:10 ---> Running in 803bbad451a5 07:36:11 Removing intermediate container 803bbad451a5 07:36:11 ---> fe5d2ea22f32 07:36:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:36:11 ---> Running in 80626e7ce3fd 07:36:13 Removing intermediate container 80626e7ce3fd 07:36:13 ---> 1a45f08d9ee1 07:36:13 Step 7/24 : RUN apk add --update --no-cache make git 07:36:13 ---> Running in 67806659f9ca 07:36:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:36:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:36:15 OK: 142 MiB in 39 packages 07:36:17 Removing intermediate container 67806659f9ca 07:36:17 ---> 09129a12cc61 07:36:17 Step 8/24 : COPY . . 07:36:18 ---> 17c54172a61f 07:36:18 Step 9/24 : RUN ${MAKE} 07:36:18 ---> Running in f0a50f3aee20 07:36:19 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 07:36:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:36:46 Removing intermediate container f0a50f3aee20 07:36:46 ---> 531f28211824 07:36:46 Step 10/24 : FROM scratch 07:36:46 ---> 07:36:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:36:46 ---> Running in f8379ab00c5b 07:36:46 Removing intermediate container f8379ab00c5b 07:36:46 ---> 4b9a859ea6ba 07:36:46 Step 12/24 : ENV APP_PORT=49990 07:36:46 ---> Running in 283e1b736056 07:36:47 Removing intermediate container 283e1b736056 07:36:47 ---> 6d730b6b80e2 07:36:47 Step 13/24 : EXPOSE $APP_PORT 07:36:47 ---> Running in c345d918c512 07:36:47 Removing intermediate container c345d918c512 07:36:47 ---> 538d289c7683 07:36:47 Step 14/24 : WORKDIR / 07:36:47 ---> Running in 5d6e31f58a10 07:36:48 Removing intermediate container 5d6e31f58a10 07:36:48 ---> 1652f58cb928 07:36:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:36:49 ---> 936a47021a4d 07:36:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:36:50 ---> d8b6eca7eb91 07:36:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:36:50 ---> 664a58004e49 07:36:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:36:51 ---> bb6eddd502c1 07:36:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:36:52 ---> 7596a7f7515b 07:36:52 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:36:52 ---> Running in 526fa7bc410f 07:36:52 Removing intermediate container 526fa7bc410f 07:36:52 ---> 48fe1740847d 07:36:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:36:52 ---> Running in 39fc70fadeea 07:36:53 Removing intermediate container 39fc70fadeea 07:36:53 ---> 34de04ca0c31 07:36:53 Step 22/24 : LABEL arch=arm64 07:36:53 ---> Running in 67942fd5b35a 07:36:54 Removing intermediate container 67942fd5b35a 07:36:54 ---> 24f8bef2ee24 07:36:54 Step 23/24 : LABEL git_sha=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c 07:36:54 ---> Running in 4910e7a8751e 07:36:54 Removing intermediate container 4910e7a8751e 07:36:54 ---> 79c357ba53dc 07:36:54 Step 24/24 : LABEL version=0.0.0 07:36:54 ---> Running in cf65fea19dde 07:36:55 Removing intermediate container cf65fea19dde 07:36:55 ---> 1e37ef364349 07:36:55 [Warning] One or more build-args [ARCH] were not consumed 07:36:55 Successfully built 1e37ef364349 07:36:55 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 07:36:56 provisioning config files... 07:36:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config5615790059304773742tmp [Pipeline] { [Pipeline] sh 07:36:57 + set +x 07:36:57 + curl -s https://codecov.io/bash 07:36:57 + bash -s -- 07:36:57 07:36:57 _____ _ 07:36:57 / ____| | | 07:36:57 | | ___ __| | ___ ___ _____ __ 07:36:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:36:57 | |___| (_) | (_| | __/ (_| (_) \ V / 07:36:57 \_____\___/ \__,_|\___|\___\___/ \_/ 07:36:57 Bash-20201124-79cbc08 07:36:57 07:36:57 07:36:57 ==> Jenkins CI detected. 07:36:57 project root: . 07:36:57 --> token set from env 07:36:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:36:57 ==> Running gcov in . (disable via -X gcov) 07:36:57 ==> Python coveragepy not found 07:36:57 ==> Searching for coverage reports in: 07:36:57 + . 07:36:57 -> Found 1 reports 07:36:57 ==> Detecting git/mercurial file structure 07:36:57 ==> Reading reports 07:36:57 + ./coverage.out bytes=127610 07:36:57 ==> Appending adjustments 07:36:57 https://docs.codecov.io/docs/fixing-reports 07:36:57 + Found adjustments 07:36:57 ==> Gzipping contents 07:36:57 24K /tmp/codecov.8KNcuu.gz 07:36:57 ==> Uploading reports 07:36:57 url: https://codecov.io 07:36:57 query: branch=PR-659&commit=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 07:36:57 -> Pinging Codecov 07:36:57 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-659&commit=8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 07:36:58 -> Uploading to 07:36:58 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c/3f0014fe-b43e-4b86-a680-09631a2aa92f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T073658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8280e97aff43101b69a5a9c1eb90db5999de51989982ad0ddaee02ab3b2a85ad 07:36:58 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:58 Dload Upload Total Spent Left Speed 07:37:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 20885 0 0 100 20885 0 9062 0:00:02 0:00:02 --:--:-- 9064 07:37:00 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8f88dc283eaff3a5a96e2bcd9c1af310d2bb571c [Pipeline] } 07:37:00 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 07:37:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:37:04 ---> package-listing.sh 07:37:04 ++ facter osfamily 07:37:04 ++ tr '[:upper:]' '[:lower:]' 07:37:04 + OS_FAMILY=redhat 07:37:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-659 07:37:04 + START_PACKAGES=/tmp/packages_start.txt 07:37:04 + END_PACKAGES=/tmp/packages_end.txt 07:37:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:37:04 + PACKAGES=/tmp/packages_start.txt 07:37:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 07:37:04 + PACKAGES=/tmp/packages_end.txt 07:37:04 + case "${OS_FAMILY}" in 07:37:04 + rpm -qa 07:37:04 + sort 07:37:09 + '[' -f /tmp/packages_start.txt ']' 07:37:09 + '[' -f /tmp/packages_end.txt ']' 07:37:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:37:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 07:37:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ 07:37:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ [Pipeline] echo 07:37:09 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-659/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:37:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:37:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:37:10 07:37:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:37:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:37:10 alpine: Pulling from edgex-lftools-log-publisher 07:37:10 df20fa9351a1: Pulling fs layer 07:37:10 36b3adc4ff6f: Pulling fs layer 07:37:10 8ad3a11d3b57: Pulling fs layer 07:37:10 46f8f816bc3b: Pulling fs layer 07:37:10 93b61091891f: Pulling fs layer 07:37:10 93b9cdb0e59b: Pulling fs layer 07:37:10 5e14af77c1be: Pulling fs layer 07:37:10 01666e4c0597: Pulling fs layer 07:37:10 aa168da1d23b: Pulling fs layer 07:37:10 93b9cdb0e59b: Waiting 07:37:10 5e14af77c1be: Waiting 07:37:10 01666e4c0597: Waiting 07:37:10 aa168da1d23b: Waiting 07:37:10 46f8f816bc3b: Waiting 07:37:10 93b61091891f: Waiting 07:37:10 36b3adc4ff6f: Download complete 07:37:10 46f8f816bc3b: Verifying Checksum 07:37:10 46f8f816bc3b: Download complete 07:37:10 df20fa9351a1: Verifying Checksum 07:37:10 df20fa9351a1: Download complete 07:37:10 93b9cdb0e59b: Verifying Checksum 07:37:10 93b9cdb0e59b: Download complete 07:37:10 5e14af77c1be: Verifying Checksum 07:37:10 5e14af77c1be: Download complete 07:37:10 93b61091891f: Verifying Checksum 07:37:10 93b61091891f: Download complete 07:37:10 01666e4c0597: Verifying Checksum 07:37:10 01666e4c0597: Download complete 07:37:11 df20fa9351a1: Pull complete 07:37:11 8ad3a11d3b57: Verifying Checksum 07:37:11 8ad3a11d3b57: Download complete 07:37:11 36b3adc4ff6f: Pull complete 07:37:11 8ad3a11d3b57: Pull complete 07:37:11 46f8f816bc3b: Pull complete 07:37:13 aa168da1d23b: Verifying Checksum 07:37:13 aa168da1d23b: Download complete 07:37:13 93b61091891f: Pull complete 07:37:13 93b9cdb0e59b: Pull complete 07:37:13 5e14af77c1be: Pull complete 07:37:13 01666e4c0597: Pull complete 07:37:20 aa168da1d23b: Pull complete 07:37:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:37:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:37:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:37:20 prd-centos7-docker-4c-2g-13511 does not seem to be running inside a container 07:37:20 $ 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-659/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-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:37:24 $ docker top 35b5587ea2d56344181c02b9904a3b0d2bfa8456dbf23fa8ac19455e85f6d329 -eo pid,comm [Pipeline] { [Pipeline] sh 07:37:24 + touch /tmp/pre-build-complete [Pipeline] sh 07:37:25 + mkdir -p /var/log/sa [Pipeline] sh 07:37:25 + ls /var/log/sa-host 07:37:25 + sadf -c /var/log/sa-host/sa23 07:37:25 file_magic: OK 07:37:25 HZ: Using current value: 100 07:37:25 file_header: OK 07:37:25 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 07:37:25 Statistics: 07:37:25 Hnuu...uuuununununu... 07:37:25 File successfully converted to sysstat format version 12.2.1 07:37:25 + sadf -c /var/log/sa-host/sa26 07:37:25 file_magic: OK 07:37:25 HZ: Using current value: 100 07:37:25 file_header: OK 07:37:25 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 07:37:25 Statistics: 07:37:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:37:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:37:25 provisioning config files... 07:37:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config8662006121151405436tmp [Pipeline] { [Pipeline] echo 07:37:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:37:26 ---> create-netrc.sh [Pipeline] } 07:37:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:37:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:37:26 ---> python-tools-install.sh [Pipeline] echo 07:37:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:37:26 ---> sudo-logs.sh 07:37:26 Archiving 'sudo' log.. [Pipeline] echo 07:37:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:37:27 ---> job-cost.sh 07:37:27 lf-activate-venv: SKIPPING 07:37:27 INFO: No Stack... 07:37:28 INFO: Retrieving Pricing Info for: v1-standard-2 07:37:28 INFO: Archiving Costs [Pipeline] echo 07:37:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:37:28 ---> logs-deploy.sh 07:37:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-659/3 07:37:28 INFO: archiving workspace using pattern(s): 07:37:30 Archives upload complete. 07:37:30 INFO: archiving logs to Nexus