Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0de6da588f01c1930e2dca8a684f0dc474102734+d2188d43b05b3896e876a49d31725ed73587c144 (f3cbb5f357b960b88553e7cb25bfa3bb5b2e9ed1) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16020 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 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 0de6da588f01c1930e2dca8a684f0dc474102734 Merge succeeded, producing 743a47ef2e5c958eb1b6337d67cec952a56aa5a7 Checking out Revision 743a47ef2e5c958eb1b6337d67cec952a56aa5a7 (PR-676) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0de6da588f01c1930e2dca8a684f0dc474102734 # 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 d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 743a47ef2e5c958eb1b6337d67cec952a56aa5a7 # timeout=10 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 67765ccd095832d86dea2c2ec5c684ca94c60b30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:54 ========================================================= 02:42:54 EdgeX Global Pipelines Version Info 02:42:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:55 ------------------- 02:42:55 stable info: 02:42:55 ------------------- 02:42:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:55 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:42:55 Message: update stable to v1.0.172 02:42:56 ------------------- 02:42:56 experimental info: 02:42:56 ------------------- 02:42:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:56 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 02:42:56 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-676 [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-676 [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-676 [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 743a47ef2e5c958eb1b6337d67cec952a56aa5a7 [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 743a47e [Pipeline] echo 02:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:00 provisioning config files... 02:43:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config4841831413034171792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:00 ---> docker-login.sh 02:43:00 nexus3.edgexfoundry.org:10001 02:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 nexus3.edgexfoundry.org:10002 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 nexus3.edgexfoundry.org:10003 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 nexus3.edgexfoundry.org:10004 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:01 Configure a credential helper to remove this warning. See 02:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:01 02:43:01 Login Succeeded 02:43:01 docker.io 02:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:02 Configure a credential helper to remove this warning. See 02:43:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:02 02:43:02 Login Succeeded 02:43:02 ---> docker-login.sh ends [Pipeline] } 02:43:02 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:43:02 + git log --format=format:%s -1 743a47ef2e5c958eb1b6337d67cec952a56aa5a7 [Pipeline] echo 02:43:03 GIT_COMMIT: 743a47ef2e5c958eb1b6337d67cec952a56aa5a7, Commit Message: Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD [Pipeline] echo 02:43:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:03 02:43:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:04 latest: Pulling from edgex-devops/git-semver 02:43:04 31603596830f: Pulling fs layer 02:43:04 2a8b12db71e7: Pulling fs layer 02:43:04 6ca5941a6612: Pulling fs layer 02:43:04 ecc8261a40a4: Pulling fs layer 02:43:04 2a8b12db71e7: Verifying Checksum 02:43:04 2a8b12db71e7: Download complete 02:43:04 31603596830f: Verifying Checksum 02:43:04 31603596830f: Download complete 02:43:04 ecc8261a40a4: Verifying Checksum 02:43:04 ecc8261a40a4: Download complete 02:43:04 6ca5941a6612: Verifying Checksum 02:43:04 6ca5941a6612: Download complete 02:43:04 31603596830f: Pull complete 02:43:04 2a8b12db71e7: Pull complete 02:43:05 6ca5941a6612: Pull complete 02:43:06 ecc8261a40a4: Pull complete 02:43:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:06 prd-centos7-docker-4c-2g-16020 does not seem to be running inside a container 02:43:06 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:08 $ docker top 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:08 [ssh-agent] Looking for ssh-agent implementation... 02:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:08 $ docker exec 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 ssh-agent 02:43:09 SSH_AUTH_SOCK=/tmp/ssh-XmEyD9qJ3Hcj/agent.12 02:43:09 SSH_AGENT_PID=17 02:43:09 Running ssh-add (command line suppressed) 02:43:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_2931089965935619774.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_2931089965935619774.key) 02:43:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:09 + git tag --points-at HEAD [Pipeline] } 02:43:09 $ docker exec --env ******** --env ******** 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 ssh-agent -k 02:43:10 unset SSH_AUTH_SOCK; 02:43:10 unset SSH_AGENT_PID; 02:43:10 echo Agent pid 17 killed; 02:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:10 [ssh-agent] Looking for ssh-agent implementation... 02:43:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:10 $ docker exec 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 ssh-agent 02:43:10 SSH_AUTH_SOCK=/tmp/ssh-Y3HpMk0umZdU/agent.47 02:43:10 SSH_AGENT_PID=52 02:43:10 Running ssh-add (command line suppressed) 02:43:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_8071433794731892638.key (/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/private_key_8071433794731892638.key) 02:43:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:11 + git semver init 02:43:11 # -> Open(): unable to determine branch for HEAD 02:43:11 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.git 02:43:11 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-676 02:43:11 # $SEMVER_REMOTE_NAME = origin 02:43:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:11 # $SEMVER_USER_NAME = edgex-jenkins 02:43:11 # $SEMVER_BRANCH = PR-676 02:43:11 # $SEMVER_TEMP = /tmp/semver-041281007 02:43:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:12 # '/tmp/semver-041281007' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver' 02:43:12 # -> Force: false 02:43:12 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-676/.semver [Pipeline] } 02:43:12 $ docker exec --env ******** --env ******** 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 ssh-agent -k 02:43:12 unset SSH_AUTH_SOCK; 02:43:12 unset SSH_AGENT_PID; 02:43:12 echo Agent pid 52 killed; 02:43:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:12 + git semver [Pipeline] } 02:43:12 $ docker stop --time=1 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 02:43:14 $ docker rm -f 8d7abc9bc59c953beb7b73a29ddfb16ff626266c664595d6d271b548edd2ec42 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:15 Stashed 1 file(s) [Pipeline] echo 02:43:15 [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:31 Still waiting to schedule task 02:43:31 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16021’ is offline; ‘prd-centos7-docker-4c-2g-16022’ is offline 02:43:31 Still waiting to schedule task 02:43:31 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16016’ 02:45:07 Running on prd-centos7-docker-4c-2g-16025 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:45:08 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:45:15 using credential edgex-jenkins-ssh 02:45:15 Cloning the remote Git repository 02:45:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:15 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:45:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:16 > git --version # timeout=10 02:45:16 > git --version # 'git version 2.24.3' 02:45:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:17 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 0de6da588f01c1930e2dca8a684f0dc474102734 02:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:17 > 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:45:17 > git config core.sparsecheckout # timeout=10 02:45:17 > git checkout -f 0de6da588f01c1930e2dca8a684f0dc474102734 # timeout=10 02:45:18 Merge succeeded, producing 21e9d62bc6438bc7f7ad80d5ce464cf829eb262e 02:45:18 Checking out Revision 21e9d62bc6438bc7f7ad80d5ce464cf829eb262e (PR-676) 02:45:17 > git remote # timeout=10 02:45:17 > git config --get remote.origin.url # timeout=10 02:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:17 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:45:18 > git rev-parse HEAD^{commit} # timeout=10 02:45:18 > git config core.sparsecheckout # timeout=10 02:45:18 > git checkout -f 21e9d62bc6438bc7f7ad80d5ce464cf829eb262e # timeout=10 02:45:23 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" 02:45:23 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:45:23 > git rev-list --no-walk 67765ccd095832d86dea2c2ec5c684ca94c60b30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:26 + sudo service docker restart 02:45:26 + true 02:45:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:28 provisioning config files... 02:45:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1064676584179008620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:28 ---> docker-login.sh 02:45:28 nexus3.edgexfoundry.org:10001 02:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:29 Configure a credential helper to remove this warning. See 02:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:29 02:45:29 Login Succeeded 02:45:29 nexus3.edgexfoundry.org:10002 02:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:29 Configure a credential helper to remove this warning. See 02:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:29 02:45:29 Login Succeeded 02:45:29 nexus3.edgexfoundry.org:10003 02:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:30 Configure a credential helper to remove this warning. See 02:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:30 02:45:30 Login Succeeded 02:45:30 nexus3.edgexfoundry.org:10004 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 docker.io 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 ---> docker-login.sh ends [Pipeline] } 02:45:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:32 ========================================================= 02:45:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:33 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:45:33 Sending build context to Docker daemon 2.38MB 02:45:33 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:33 Step 2/8 : FROM ${BASE} 02:45:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:34 188c0c94c7c5: Pulling fs layer 02:45:34 0ef7d3d256c8: Pulling fs layer 02:45:34 de9db76c5a1d: Pulling fs layer 02:45:34 bca2f99d35d6: Pulling fs layer 02:45:34 93359f2a8cfa: Pulling fs layer 02:45:34 7c6f9722023f: Pulling fs layer 02:45:34 a35cf1a2eb13: Pulling fs layer 02:45:34 bca2f99d35d6: Waiting 02:45:34 93359f2a8cfa: Waiting 02:45:34 7c6f9722023f: Waiting 02:45:34 a35cf1a2eb13: Waiting 02:45:34 de9db76c5a1d: Verifying Checksum 02:45:34 de9db76c5a1d: Download complete 02:45:34 0ef7d3d256c8: Download complete 02:45:34 93359f2a8cfa: Verifying Checksum 02:45:34 93359f2a8cfa: Download complete 02:45:34 7c6f9722023f: Verifying Checksum 02:45:34 7c6f9722023f: Download complete 02:45:35 188c0c94c7c5: Verifying Checksum 02:45:35 188c0c94c7c5: Download complete 02:45:36 188c0c94c7c5: Pull complete 02:45:36 0ef7d3d256c8: Pull complete 02:45:37 de9db76c5a1d: Pull complete 02:45:48 a35cf1a2eb13: Verifying Checksum 02:45:48 a35cf1a2eb13: Download complete 02:45:48 bca2f99d35d6: Verifying Checksum 02:45:48 bca2f99d35d6: Download complete 02:46:06 bca2f99d35d6: Pull complete 02:46:06 93359f2a8cfa: Pull complete 02:46:06 7c6f9722023f: Pull complete 02:46:15 a35cf1a2eb13: Pull complete 02:46:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:15 ---> a62c8e92a672 02:46:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:15 ---> Running in a53ae67e7c8c 02:46:15 Removing intermediate container a53ae67e7c8c 02:46:15 ---> 61caba50386f 02:46:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:15 ---> Running in f731d0d6fb2a 02:46:18 Removing intermediate container f731d0d6fb2a 02:46:18 ---> f45fdf40c6aa 02:46:18 Step 5/8 : RUN apk add --no-cache make git 02:46:18 ---> Running in 6f7aef522299 02:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:22 OK: 166 MiB in 39 packages 02:46:23 Removing intermediate container 6f7aef522299 02:46:23 ---> 2f0fe462bbf1 02:46:23 Step 6/8 : WORKDIR /device-sdk-go 02:46:23 ---> Running in c79067825896 02:46:23 Removing intermediate container c79067825896 02:46:23 ---> f9c89563dfec 02:46:23 Step 7/8 : COPY . . 02:46:25 ---> 444778b6ce5b 02:46:25 Step 8/8 : RUN go mod download 02:46:25 ---> Running in f39a5b233e0b 02:46:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16028 in /w/workspace/dgexfoundry_device-sdk-go_PR-676 [Pipeline] { [Pipeline] ws 02:46:52 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:46:57 using credential edgex-jenkins-ssh 02:46:57 Cloning the remote Git repository 02:46:58 Removing intermediate container f39a5b233e0b 02:46:58 ---> c0a04ed7b36b 02:46:58 Successfully built c0a04ed7b36b 02:46:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:58 + docker inspect -f . ci-base-image-x86_64 02:46:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:58 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:46:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:58 > git --version # timeout=10 02:46:58 > git --version # 'git version 2.17.1' 02:46:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:59 . [Pipeline] withDockerContainer 02:46:59 prd-centos7-docker-4c-2g-16025 does not seem to be running inside a container 02:46:59 $ 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-x86_64 cat 02:46:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:59 > 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:47:00 Merging remotes/origin/master commit d2188d43b05b3896e876a49d31725ed73587c144 into PR head commit 0de6da588f01c1930e2dca8a684f0dc474102734 02:47:00 Merge succeeded, producing e3ad887bbbadd41d255375af73240d23a7784eda 02:47:00 Checking out Revision e3ad887bbbadd41d255375af73240d23a7784eda (PR-676) 02:47:00 > git config core.sparsecheckout # timeout=10 02:47:00 > git checkout -f 0de6da588f01c1930e2dca8a684f0dc474102734 # timeout=10 02:47:00 > git remote # timeout=10 02:47:00 > git config --get remote.origin.url # timeout=10 02:47:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:00 > git merge d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 02:47:00 > git rev-parse HEAD^{commit} # timeout=10 02:47:00 > git config core.sparsecheckout # timeout=10 02:47:00 > git checkout -f e3ad887bbbadd41d255375af73240d23a7784eda # timeout=10 02:47:01 $ docker top bb9871f9820cc0d4cbc716ed7eeef699af80e1c1deecbf625989d2da2cb5b083 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:03 + go version 02:47:03 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:03 $ docker stop --time=1 bb9871f9820cc0d4cbc716ed7eeef699af80e1c1deecbf625989d2da2cb5b083 02:47:04 $ docker rm -f bb9871f9820cc0d4cbc716ed7eeef699af80e1c1deecbf625989d2da2cb5b083 [Pipeline] // withDockerContainer 02:47:04 Commit message: "Merge commit 'd2188d43b05b3896e876a49d31725ed73587c144' into HEAD" [Pipeline] } 02:47:04 First time build. Skipping changelog. [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:47:05 + docker inspect -f . ci-base-image-x86_64 02:47:05 . [Pipeline] withDockerContainer 02:47:05 prd-centos7-docker-4c-2g-16025 does not seem to be running inside a container 02:47:04 > git rev-list --no-walk 67765ccd095832d86dea2c2ec5c684ca94c60b30 # timeout=10 02:47:06 $ 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-x86_64 cat 02:47:07 $ docker top 27c71b8dde373bb701d6a40c61dcd52671f63c46fa4f0058f55258ca616da918 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:08 + make test 02:47:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:08 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:09 + + sudo service docker restart 02:47:09 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:11 provisioning config files... 02:47:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4376571519606254499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:12 ---> docker-login.sh 02:47:12 nexus3.edgexfoundry.org:10001 02:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:13 Configure a credential helper to remove this warning. See 02:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:13 02:47:13 Login Succeeded 02:47:13 nexus3.edgexfoundry.org:10002 02:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:13 Configure a credential helper to remove this warning. See 02:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:13 02:47:13 Login Succeeded 02:47:13 nexus3.edgexfoundry.org:10003 02:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:14 Configure a credential helper to remove this warning. See 02:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:14 02:47:14 Login Succeeded 02:47:14 nexus3.edgexfoundry.org:10004 02:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:14 Configure a credential helper to remove this warning. See 02:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:14 02:47:14 Login Succeeded 02:47:14 docker.io 02:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:15 Configure a credential helper to remove this warning. See 02:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:15 02:47:15 Login Succeeded 02:47:15 ---> docker-login.sh ends [Pipeline] } 02:47:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:47:16 ========================================================= 02:47:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:16 + 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:47:17 Sending build context to Docker daemon 2.38MB 02:47:17 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:17 Step 2/8 : FROM ${BASE} 02:47:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:17 5f621e34cdf4: Pulling fs layer 02:47:17 a4357932f1b6: Pulling fs layer 02:47:17 18c013af1878: Pulling fs layer 02:47:17 00ac8860ef70: Pulling fs layer 02:47:17 63d7cb157983: Pulling fs layer 02:47:17 b116817d02f9: Pulling fs layer 02:47:17 745a02a5169b: Pulling fs layer 02:47:17 00ac8860ef70: Waiting 02:47:17 63d7cb157983: Waiting 02:47:17 b116817d02f9: Waiting 02:47:17 745a02a5169b: Waiting 02:47:17 a4357932f1b6: Verifying Checksum 02:47:17 a4357932f1b6: Download complete 02:47:17 18c013af1878: Verifying Checksum 02:47:17 18c013af1878: Download complete 02:47:17 63d7cb157983: Verifying Checksum 02:47:17 63d7cb157983: Download complete 02:47:17 b116817d02f9: Verifying Checksum 02:47:17 b116817d02f9: Download complete 02:47:17 5f621e34cdf4: Download complete 02:47:18 5f621e34cdf4: Pull complete 02:47:18 a4357932f1b6: Pull complete 02:47:19 18c013af1878: Pull complete 02:47:20 745a02a5169b: Verifying Checksum 02:47:20 745a02a5169b: Download complete 02:47:21 00ac8860ef70: Download complete 02:47:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:31 00ac8860ef70: Pull complete 02:47:31 63d7cb157983: Pull complete 02:47:31 b116817d02f9: Pull complete 02:47:34 745a02a5169b: Pull complete 02:47:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:34 ---> b7e6874047d6 02:47:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:38 ---> Running in 47ea5aa17716 02:47:38 Removing intermediate container 47ea5aa17716 02:47:38 ---> e7fb9eee5770 02:47:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:38 ---> Running in 9257ac58e26d 02:47:41 Removing intermediate container 9257ac58e26d 02:47:41 ---> 1936c9c7c2a5 02:47:41 Step 5/8 : RUN apk add --no-cache make git 02:47:41 ---> Running in add1b13a35db 02:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:44 OK: 142 MiB in 39 packages 02:47:45 Removing intermediate container add1b13a35db 02:47:45 ---> a7703ab5dc69 02:47:45 Step 6/8 : WORKDIR /device-sdk-go 02:47:45 ---> Running in cfcc52c799b7 02:47:46 Removing intermediate container cfcc52c799b7 02:47:46 ---> 50b2a620d993 02:47:46 Step 7/8 : COPY . . 02:47:47 ---> 282eb36f873a 02:47:47 Step 8/8 : RUN go mod download 02:47:47 ---> Running in 4f66d6af3ed8 02:47:56 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:56 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:56 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 20.6% of statements 02:47:56 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.630s coverage: 97.1% of statements 02:48:09 Removing intermediate container 4f66d6af3ed8 02:48:09 ---> da8853eec631 02:48:10 Successfully built da8853eec631 02:48:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:10 + docker inspect -f . ci-base-image-arm64 02:48:10 . [Pipeline] withDockerContainer 02:48:10 prd-ubuntu18.04-docker-arm64-4c-16g-16028 does not seem to be running inside a container 02:48:10 $ 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 02:48:12 $ docker top 379ed8699f0c36c3097bd5cab29568a3fe451f0edc3a7e9931e620d03a2d5ccc -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:13 + go version 02:48:13 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:13 $ docker stop --time=1 379ed8699f0c36c3097bd5cab29568a3fe451f0edc3a7e9931e620d03a2d5ccc 02:48:15 $ docker rm -f 379ed8699f0c36c3097bd5cab29568a3fe451f0edc3a7e9931e620d03a2d5ccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:16 + docker inspect -f . ci-base-image-arm64 02:48:16 . [Pipeline] withDockerContainer 02:48:16 prd-ubuntu18.04-docker-arm64-4c-16g-16028 does not seem to be running inside a container 02:48:16 $ 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 02:48:18 $ docker top 0bbdde8939f5540915c852dc4eb4a35edd0bbcbf89c0416e5e83138cad24a18d -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:19 + make test 02:48:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.139s coverage: 9.4% of statements 02:48:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.267s coverage: 21.9% of statements 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.491s coverage: 42.5% of statements 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.385s coverage: 68.9% of statements 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.126s coverage: 52.6% of statements 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.900s coverage: 68.9% of statements 02:48:29 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.098s coverage: 4.7% of statements 02:48:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:29 GO111MODULE=on go vet ./... 02:48:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:47 gofmt -l . 02:48:47 [ "`gofmt -l .`" = "" ] 02:48:47 ./bin/test-attribution-txt.sh 02:48:47 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:48 $ docker stop --time=1 27c71b8dde373bb701d6a40c61dcd52671f63c46fa4f0058f55258ca616da918 02:48:50 $ docker rm -f 27c71b8dde373bb701d6a40c61dcd52671f63c46fa4f0058f55258ca616da918 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:53 + ls -al . 02:48:53 total 208 02:48:53 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 02:48 . 02:48:53 drwxrwxr-x. 4 jenkins jenkins 28 Dec 15 02:45 .. 02:48:53 drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 02:45 bin 02:48:53 -rw-r--r--. 1 jenkins jenkins 127610 Dec 15 02:48 coverage.out 02:48:53 -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 02:45 Dockerfile.build 02:48:53 -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 02:45 .dockerignore 02:48:53 drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 02:45 example 02:48:53 drwxrwxr-x. 8 jenkins jenkins 179 Dec 15 02:45 .git 02:48:53 drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 02:45 .github 02:48:53 -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 02:45 .gitignore 02:48:53 -rw-r--r--. 1 jenkins jenkins 518 Dec 15 02:48 go.mod 02:48:53 -rw-r--r--. 1 jenkins jenkins 13521 Dec 15 02:48 go.sum 02:48:53 drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 02:45 internal 02:48:53 -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 02:45 Jenkinsfile 02:48:53 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 02:45 LICENSE 02:48:53 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 02:45 Makefile 02:48:53 drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 02:45 openapi 02:48:53 drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 02:45 pkg 02:48:53 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 02:45 README.md 02:48:53 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 02:45 RELEASE-NOTES.txt 02:48:53 drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 02:45 snap 02:48:53 -rw-rw-r--. 1 jenkins jenkins 5 Dec 15 02:43 VERSION 02:48:53 -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:48:53 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=743a47ef2e5c958eb1b6337d67cec952a56aa5a7 --label arch=amd64 --label version=0.0.0 . 02:48:54 Sending build context to Docker daemon 2.508MB 02:48:54 Step 1/24 : ARG BASE=golang:1.15-alpine 02:48:54 Step 2/24 : FROM ${BASE} AS builder 02:48:54 ---> c0a04ed7b36b 02:48:54 Step 3/24 : ARG MAKE='make build' 02:48:54 ---> Running in 7fb4810d9711 02:48:55 Removing intermediate container 7fb4810d9711 02:48:55 ---> d3ac4a64fbb1 02:48:55 Step 4/24 : WORKDIR /device-sdk-go 02:48:55 ---> Running in d6bd57dff786 02:48:55 Removing intermediate container d6bd57dff786 02:48:55 ---> a80a537069d4 02:48:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:55 ---> Running in 8b7770c07682 02:48:56 Removing intermediate container 8b7770c07682 02:48:56 ---> 5fbb35a56a23 02:48:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:56 ---> Running in d36e14665d47 02:48:58 Removing intermediate container d36e14665d47 02:48:58 ---> cfdbd666da0c 02:48:58 Step 7/24 : RUN apk add --update --no-cache make git 02:48:58 ---> Running in 17464c7ac775 02:48:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:01 OK: 166 MiB in 39 packages 02:49:02 Removing intermediate container 17464c7ac775 02:49:02 ---> 26bae142e700 02:49:02 Step 8/24 : COPY . . 02:49:03 ---> 7d83a056d1a2 02:49:03 Step 9/24 : RUN ${MAKE} 02:49:04 ---> Running in 9a5cffae7e34 02:49:04 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:49:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:23 Removing intermediate container 9a5cffae7e34 02:49:23 ---> 31cfb59df5c4 02:49:23 Step 10/24 : FROM scratch 02:49:23 ---> 02:49:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:23 ---> Running in d0e4a9191416 02:49:24 Removing intermediate container d0e4a9191416 02:49:24 ---> f3d965189608 02:49:24 Step 12/24 : ENV APP_PORT=49990 02:49:24 ---> Running in 44daa5c894ae 02:49:24 Removing intermediate container 44daa5c894ae 02:49:24 ---> 0d671daa7bd1 02:49:24 Step 13/24 : EXPOSE $APP_PORT 02:49:24 ---> Running in 93677ef564c7 02:49:25 Removing intermediate container 93677ef564c7 02:49:25 ---> 1e06d0c45901 02:49:25 Step 14/24 : WORKDIR / 02:49:25 ---> Running in 1e502b090ee2 02:49:25 Removing intermediate container 1e502b090ee2 02:49:25 ---> 9e7c8cf4719f 02:49:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:26 ---> 79fdb826e688 02:49:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:26 ---> 8d49a4ecf582 02:49:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:26 ---> be5872730009 02:49:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:27 ---> 97bd391ef020 02:49:27 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:27 ---> 0a6349dfb316 02:49:27 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:27 ---> Running in 9c140b51bab1 02:49:27 Removing intermediate container 9c140b51bab1 02:49:27 ---> e2ae0a2abb23 02:49:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:28 ---> Running in c1d518986819 02:49:28 Removing intermediate container c1d518986819 02:49:28 ---> 419ee4e3c4f0 02:49:28 Step 22/24 : LABEL arch=amd64 02:49:28 ---> Running in 2957c349bf72 02:49:28 Removing intermediate container 2957c349bf72 02:49:28 ---> 691a1fddfe2e 02:49:28 Step 23/24 : LABEL git_sha=743a47ef2e5c958eb1b6337d67cec952a56aa5a7 02:49:28 ---> Running in 1a46d3589350 02:49:28 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:28 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:28 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:28 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 20.6% of statements 02:49:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.276s coverage: 97.1% of statements 02:49:28 Removing intermediate container 1a46d3589350 02:49:28 ---> 3c5277c58027 02:49:28 Step 24/24 : LABEL version=0.0.0 02:49:28 ---> Running in 4f91eb7ee7ee 02:49:29 Removing intermediate container 4f91eb7ee7ee 02:49:29 ---> 72e690fb34ae 02:49:29 [Warning] One or more build-args [ARCH] were not consumed 02:49:29 Successfully built 72e690fb34ae 02:49:29 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:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.626s coverage: 42.5% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.845s coverage: 68.9% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.197s coverage: 52.6% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:55 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:55 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.768s coverage: 68.9% of statements 02:49:55 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.7% of statements 02:49:55 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:55 GO111MODULE=on go vet ./... 02:50:28 gofmt -l . 02:50:28 [ "`gofmt -l .`" = "" ] 02:50:28 ./bin/test-attribution-txt.sh 02:50:28 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:29 $ docker stop --time=1 0bbdde8939f5540915c852dc4eb4a35edd0bbcbf89c0416e5e83138cad24a18d 02:50:31 $ docker rm -f 0bbdde8939f5540915c852dc4eb4a35edd0bbcbf89c0416e5e83138cad24a18d [Pipeline] // withDockerContainer [Pipeline] sh 02:50:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:32 Warning: overwriting stash ‘coverage-report’ 02:50:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:34 + ls -al . 02:50:34 total 244 02:50:34 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:50 . 02:50:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:46 .. 02:50:34 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:47 .dockerignore 02:50:34 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:47 .git 02:50:34 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:47 .github 02:50:34 -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 02:47 .gitignore 02:50:34 -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 02:47 Dockerfile.build 02:50:34 -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 02:47 Jenkinsfile 02:50:34 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 02:47 LICENSE 02:50:34 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 02:47 Makefile 02:50:34 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 02:47 README.md 02:50:34 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 02:47 RELEASE-NOTES.txt 02:50:34 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:43 VERSION 02:50:34 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:47 bin 02:50:34 -rw-r--r-- 1 jenkins jenkins 127610 Dec 15 02:49 coverage.out 02:50:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 example 02:50:34 -rw-r--r-- 1 jenkins jenkins 518 Dec 15 02:50 go.mod 02:50:34 -rw-r--r-- 1 jenkins jenkins 13521 Dec 15 02:50 go.sum 02:50:34 drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 02:47 internal 02:50:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 openapi 02:50:34 drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 02:47 pkg 02:50:34 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:47 snap 02:50:34 -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:34 + 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=743a47ef2e5c958eb1b6337d67cec952a56aa5a7 --label arch=arm64 --label version=0.0.0 . 02:50:34 Sending build context to Docker daemon 2.509MB 02:50:35 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:35 Step 2/24 : FROM ${BASE} AS builder 02:50:35 ---> da8853eec631 02:50:35 Step 3/24 : ARG MAKE='make build' 02:50:35 ---> Running in da4026818ceb 02:50:35 Removing intermediate container da4026818ceb 02:50:35 ---> c8c55b07ea13 02:50:35 Step 4/24 : WORKDIR /device-sdk-go 02:50:35 ---> Running in ddf1db35ab73 02:50:36 Removing intermediate container ddf1db35ab73 02:50:36 ---> 246d2a19f8c3 02:50:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:36 ---> Running in 8d9c4523aca2 02:50:36 Removing intermediate container 8d9c4523aca2 02:50:36 ---> 2fcb7e390d8f 02:50:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:37 ---> Running in 3be2c2f15483 02:50:39 Removing intermediate container 3be2c2f15483 02:50:39 ---> 6c30ca3eb7cb 02:50:39 Step 7/24 : RUN apk add --update --no-cache make git 02:50:39 ---> Running in 934bd553e31d 02:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:41 OK: 142 MiB in 39 packages 02:50:42 Removing intermediate container 934bd553e31d 02:50:42 ---> fb89ad50cd2f 02:50:42 Step 8/24 : COPY . . 02:50:44 ---> d4ca3a11f16d 02:50:44 Step 9/24 : RUN ${MAKE} 02:50:44 ---> Running in 056368d52912 02:50:45 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:51:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:12 Removing intermediate container 056368d52912 02:51:12 ---> 6f32b3ca6030 02:51:12 Step 10/24 : FROM scratch 02:51:12 ---> 02:51:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:12 ---> Running in f77ccd440e2f 02:51:12 Removing intermediate container f77ccd440e2f 02:51:12 ---> 74f1e2e03fcd 02:51:12 Step 12/24 : ENV APP_PORT=49990 02:51:12 ---> Running in 3871ce3c9893 02:51:12 Removing intermediate container 3871ce3c9893 02:51:12 ---> fa75737c0a19 02:51:12 Step 13/24 : EXPOSE $APP_PORT 02:51:13 ---> Running in 1f59b4a2c49b 02:51:13 Removing intermediate container 1f59b4a2c49b 02:51:13 ---> 994a9b6b2d74 02:51:13 Step 14/24 : WORKDIR / 02:51:13 ---> Running in c8347399c9ce 02:51:13 Removing intermediate container c8347399c9ce 02:51:13 ---> 0679a5ebfd94 02:51:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:15 ---> d15a2f1b25b1 02:51:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:15 ---> 89b404a88901 02:51:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:16 ---> 2787fe33e19e 02:51:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:17 ---> fd3943410a9b 02:51:17 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:18 ---> 240bc709cfd7 02:51:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:18 ---> Running in 6d12854850e0 02:51:18 Removing intermediate container 6d12854850e0 02:51:18 ---> fc652e7d1b9a 02:51:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:18 ---> Running in 826e9f58d01f 02:51:18 Removing intermediate container 826e9f58d01f 02:51:18 ---> 58adffb3a043 02:51:18 Step 22/24 : LABEL arch=arm64 02:51:19 ---> Running in 8815c940c2e7 02:51:19 Removing intermediate container 8815c940c2e7 02:51:19 ---> 8f1c307f7354 02:51:19 Step 23/24 : LABEL git_sha=743a47ef2e5c958eb1b6337d67cec952a56aa5a7 02:51:19 ---> Running in 830feee16b06 02:51:19 Removing intermediate container 830feee16b06 02:51:19 ---> cb3899368fc9 02:51:19 Step 24/24 : LABEL version=0.0.0 02:51:20 ---> Running in bc59583db847 02:51:20 Removing intermediate container bc59583db847 02:51:20 ---> 25be525a1888 02:51:20 [Warning] One or more build-args [ARCH] were not consumed 02:51:20 Successfully built 25be525a1888 02:51:20 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:51:22 provisioning config files... 02:51:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config7446639447621971551tmp [Pipeline] { [Pipeline] sh 02:51:22 + set +x 02:51:22 + curl -s https://codecov.io/bash 02:51:22 + bash -s -- 02:51:23 02:51:23 _____ _ 02:51:23 / ____| | | 02:51:23 | | ___ __| | ___ ___ _____ __ 02:51:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:23 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:23 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:23 Bash-20201130-cc6d3fe 02:51:23 02:51:23 02:51:23 ==> Jenkins CI detected. 02:51:23 project root: . 02:51:23 --> token set from env 02:51:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:23 ==> Running gcov in . (disable via -X gcov) 02:51:23 ==> Python coveragepy not found 02:51:23 ==> Searching for coverage reports in: 02:51:23 + . 02:51:23 -> Found 1 reports 02:51:23 ==> Detecting git/mercurial file structure 02:51:23 ==> Reading reports 02:51:23 + ./coverage.out bytes=127610 02:51:23 ==> Appending adjustments 02:51:23 https://docs.codecov.io/docs/fixing-reports 02:51:23 + Found adjustments 02:51:23 ==> Gzipping contents 02:51:23 24K /tmp/codecov.kvbh2u.gz 02:51:23 ==> Uploading reports 02:51:23 url: https://codecov.io 02:51:23 query: branch=PR-676&commit=743a47ef2e5c958eb1b6337d67cec952a56aa5a7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:51:23 -> Pinging Codecov 02:51:23 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-676&commit=743a47ef2e5c958eb1b6337d67cec952a56aa5a7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-676%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=676&job=&cmd_args= 02:51:24 -> Uploading to 02:51:24 https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/743a47ef2e5c958eb1b6337d67cec952a56aa5a7/3eca136f-aa24-413f-8a84-bcc1f3d953a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T025123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9702c4d7eaafb953536220df7a992a7f02e2ef4e42507de53ac19a3a946de9ab 02:51:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:24 Dload Upload Total Spent Left Speed 02:51:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20884 0 0 100 20884 0 39722 --:--:-- --:--:-- --:--:-- 39779 02:51:24 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/743a47ef2e5c958eb1b6337d67cec952a56aa5a7 [Pipeline] } 02:51:24 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:51:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> package-listing.sh 02:51:27 ++ facter osfamily 02:51:27 ++ tr '[:upper:]' '[:lower:]' 02:51:27 + OS_FAMILY=redhat 02:51:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-676 02:51:27 + START_PACKAGES=/tmp/packages_start.txt 02:51:27 + END_PACKAGES=/tmp/packages_end.txt 02:51:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:27 + PACKAGES=/tmp/packages_start.txt 02:51:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:51:27 + PACKAGES=/tmp/packages_end.txt 02:51:27 + case "${OS_FAMILY}" in 02:51:27 + rpm -qa 02:51:27 + sort 02:51:33 + '[' -f /tmp/packages_start.txt ']' 02:51:33 + '[' -f /tmp/packages_end.txt ']' 02:51:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-676 ']' 02:51:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-676/archives/ 02:51:33 + 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:51:33 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:51:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:33 02:51:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:34 alpine: Pulling from edgex-lftools-log-publisher 02:51:34 df20fa9351a1: Pulling fs layer 02:51:34 36b3adc4ff6f: Pulling fs layer 02:51:34 8ad3a11d3b57: Pulling fs layer 02:51:34 46f8f816bc3b: Pulling fs layer 02:51:34 93b61091891f: Pulling fs layer 02:51:34 93b9cdb0e59b: Pulling fs layer 02:51:34 5e14af77c1be: Pulling fs layer 02:51:34 01666e4c0597: Pulling fs layer 02:51:34 aa168da1d23b: Pulling fs layer 02:51:34 93b9cdb0e59b: Waiting 02:51:34 5e14af77c1be: Waiting 02:51:34 01666e4c0597: Waiting 02:51:34 aa168da1d23b: Waiting 02:51:34 46f8f816bc3b: Waiting 02:51:34 93b61091891f: Waiting 02:51:34 36b3adc4ff6f: Verifying Checksum 02:51:34 36b3adc4ff6f: Download complete 02:51:34 46f8f816bc3b: Verifying Checksum 02:51:34 46f8f816bc3b: Download complete 02:51:34 df20fa9351a1: Verifying Checksum 02:51:34 df20fa9351a1: Download complete 02:51:34 93b9cdb0e59b: Verifying Checksum 02:51:34 93b9cdb0e59b: Download complete 02:51:34 93b61091891f: Download complete 02:51:34 5e14af77c1be: Verifying Checksum 02:51:34 5e14af77c1be: Download complete 02:51:34 01666e4c0597: Verifying Checksum 02:51:34 01666e4c0597: Download complete 02:51:34 8ad3a11d3b57: Verifying Checksum 02:51:34 8ad3a11d3b57: Download complete 02:51:34 df20fa9351a1: Pull complete 02:51:34 36b3adc4ff6f: Pull complete 02:51:35 8ad3a11d3b57: Pull complete 02:51:36 46f8f816bc3b: Pull complete 02:51:36 aa168da1d23b: Verifying Checksum 02:51:36 aa168da1d23b: Download complete 02:51:36 93b61091891f: Pull complete 02:51:36 93b9cdb0e59b: Pull complete 02:51:37 5e14af77c1be: Pull complete 02:51:37 01666e4c0597: Pull complete 02:51:45 aa168da1d23b: Pull complete 02:51:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:45 prd-centos7-docker-4c-2g-16020 does not seem to be running inside a container 02:51:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:51:48 $ docker top 7bf3faaae0de22eb2cc842b052bd5ff5348354ceee6c13d5cc16e0b6f695aede -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:49 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:49 + mkdir -p /var/log/sa [Pipeline] sh 02:51:50 + ls /var/log/sa-host 02:51:50 + sadf -c /var/log/sa-host/sa15 02:51:50 file_magic: OK 02:51:50 HZ: Using current value: 100 02:51:50 file_header: OK 02:51:50 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:51:50 Statistics: 02:51:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:50 File successfully converted to sysstat format version 12.2.1 02:51:50 + sadf -c /var/log/sa-host/sa23 02:51:50 file_magic: OK 02:51:50 HZ: Using current value: 100 02:51:50 file_header: OK 02:51:50 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:51:50 Statistics: 02:51:50 Hnuu...uuuununununu... 02:51:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:50 provisioning config files... 02:51:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-676@tmp/config6988723813608726240tmp [Pipeline] { [Pipeline] echo 02:51:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> create-netrc.sh [Pipeline] } 02:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> python-tools-install.sh [Pipeline] echo 02:51:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> sudo-logs.sh 02:51:51 Archiving 'sudo' log.. [Pipeline] echo 02:51:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> job-cost.sh 02:51:51 lf-activate-venv: SKIPPING 02:51:51 INFO: No Stack... 02:51:52 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:53 INFO: Archiving Costs [Pipeline] echo 02:51:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:53 ---> logs-deploy.sh 02:51:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-676/3 02:51:53 INFO: archiving workspace using pattern(s): 02:51:55 Archives upload complete. 02:51:55 INFO: archiving logs to Nexus