Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4226f0ad5c9ea1cff809c5b314d321b691040421+76d059c2e27a3d5d488ff0022063f09e99d334bf (e034d9c0f9123f7a0d20402ba9fcad4559b5fbd8) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23323 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 > 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Merge succeeded, producing 4297071cdc2afffe196d9dcb42730d68727fb67a Checking out Revision 4297071cdc2afffe196d9dcb42730d68727fb67a (PR-746) > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4297071cdc2afffe196d9dcb42730d68727fb67a # timeout=10 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:39 ========================================================= 02:43:39 EdgeX Global Pipelines Version Info 02:43:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:43 ------------------- 02:43:43 stable info: 02:43:43 ------------------- 02:43:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:43 Message: update stable to v1.0.179 02:43:44 ------------------- 02:43:44 experimental info: 02:43:44 ------------------- 02:43:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:44 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:44 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:46 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4297071 [Pipeline] echo 02:43:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:47 provisioning config files... 02:43:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config108526721885727181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:48 ---> docker-login.sh 02:43:48 nexus3.edgexfoundry.org:10001 02:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:50 Configure a credential helper to remove this warning. See 02:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:50 02:43:50 Login Succeeded 02:43:50 nexus3.edgexfoundry.org:10002 02:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:51 Configure a credential helper to remove this warning. See 02:43:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:51 02:43:51 Login Succeeded 02:43:51 nexus3.edgexfoundry.org:10003 02:43:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 nexus3.edgexfoundry.org:10004 02:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:52 Configure a credential helper to remove this warning. See 02:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:52 02:43:52 Login Succeeded 02:43:52 docker.io 02:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:53 Configure a credential helper to remove this warning. See 02:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:53 02:43:53 Login Succeeded 02:43:53 ---> docker-login.sh ends [Pipeline] } 02:43:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:54 + git log --format=format:%s -1 4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] echo 02:43:54 GIT_COMMIT: 4297071cdc2afffe196d9dcb42730d68727fb67a, Commit Message: Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD [Pipeline] echo 02:43:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:56 02:43:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:57 latest: Pulling from edgex-devops/git-semver 02:43:57 31603596830f: Pulling fs layer 02:43:57 2a8b12db71e7: Pulling fs layer 02:43:57 6ca5941a6612: Pulling fs layer 02:43:57 ecc8261a40a4: Pulling fs layer 02:43:57 ecc8261a40a4: Waiting 02:43:57 2a8b12db71e7: Verifying Checksum 02:43:57 2a8b12db71e7: Download complete 02:43:58 31603596830f: Download complete 02:43:58 ecc8261a40a4: Verifying Checksum 02:43:58 ecc8261a40a4: Download complete 02:43:58 6ca5941a6612: Verifying Checksum 02:43:58 6ca5941a6612: Download complete 02:43:59 31603596830f: Pull complete 02:43:59 2a8b12db71e7: Pull complete 02:44:02 6ca5941a6612: Pull complete 02:44:03 ecc8261a40a4: Pull complete 02:44:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:44:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:44:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:44:04 prd-centos7-docker-4c-2g-23323 does not seem to be running inside a container 02:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:44:07 $ docker top 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:08 [ssh-agent] Looking for ssh-agent implementation... 02:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:08 $ docker exec 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent 02:44:09 SSH_AUTH_SOCK=/tmp/ssh-mSUTMzcllEko/agent.11 02:44:09 SSH_AGENT_PID=16 02:44:09 Running ssh-add (command line suppressed) 02:44:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_6077811237496468041.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_6077811237496468041.key) 02:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:10 + git tag --points-at HEAD [Pipeline] } 02:44:10 $ docker exec --env ******** --env ******** 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent -k 02:44:11 unset SSH_AUTH_SOCK; 02:44:11 unset SSH_AGENT_PID; 02:44:11 echo Agent pid 16 killed; 02:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:11 [ssh-agent] Looking for ssh-agent implementation... 02:44:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:12 $ docker exec 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent 02:44:13 SSH_AUTH_SOCK=/tmp/ssh-PtcF5sAARPKc/agent.44 02:44:13 SSH_AGENT_PID=49 02:44:13 Running ssh-add (command line suppressed) 02:44:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3423981384802604024.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_3423981384802604024.key) 02:44:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:14 + git semver init 02:44:14 # -> Open(): unable to determine branch for HEAD 02:44:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git 02:44:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 02:44:14 # $SEMVER_REMOTE_NAME = origin 02:44:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:44:14 # $SEMVER_USER_NAME = edgex-jenkins 02:44:14 # $SEMVER_BRANCH = PR-746 02:44:14 # $SEMVER_TEMP = /tmp/semver-585801878 02:44:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:44:16 # '/tmp/semver-585801878' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' 02:44:16 # -> Force: false 02:44:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } 02:44:16 $ docker exec --env ******** --env ******** 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 ssh-agent -k 02:44:16 unset SSH_AUTH_SOCK; 02:44:16 unset SSH_AGENT_PID; 02:44:16 echo Agent pid 49 killed; 02:44:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:17 + git semver [Pipeline] } 02:44:17 $ docker stop --time=1 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 02:44:19 $ docker rm -f 373cef4830646cd061552ccbe7239a8b29343b3bcf09d779289b6aa493aa0047 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:21 Stashed 1 file(s) [Pipeline] echo 02:44:21 [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:44:37 Still waiting to schedule task 02:44:37 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23330’ is offline; ‘prd-centos7-docker-4c-2g-23334’ is offline; ‘prd-centos7-docker-4c-2g-23335’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:44:37 Still waiting to schedule task 02:44:37 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:41 Running on prd-centos7-docker-4c-2g-23342 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 02:45:41 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:45:44 using credential edgex-jenkins-ssh 02:45:44 Cloning the remote Git repository 02:45:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:44 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:45:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:45 > git --version # timeout=10 02:45:45 > git --version # 'git version 2.24.3' 02:45:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:47 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 02:45:47 Merge succeeded, producing a5435071b0d92fec0686577b61417d4bf812f8c4 02:45:47 Checking out Revision a5435071b0d92fec0686577b61417d4bf812f8c4 (PR-746) 02:45:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:47 > git config core.sparsecheckout # timeout=10 02:45:47 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 02:45:47 > git remote # timeout=10 02:45:47 > git config --get remote.origin.url # timeout=10 02:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:47 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:45:47 > git rev-parse HEAD^{commit} # timeout=10 02:45:47 > git config core.sparsecheckout # timeout=10 02:45:47 > git checkout -f a5435071b0d92fec0686577b61417d4bf812f8c4 # timeout=10 02:45:51 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:45:51 > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:52 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:53 + sudo service docker restart 02:45:53 + true 02:45:53 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:54 provisioning config files... 02:45:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2106562320645942832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:55 ---> docker-login.sh 02:45:55 nexus3.edgexfoundry.org:10001 02:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:55 Configure a credential helper to remove this warning. See 02:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:55 02:45:55 Login Succeeded 02:45:55 nexus3.edgexfoundry.org:10002 02:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:55 Configure a credential helper to remove this warning. See 02:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:55 02:45:55 Login Succeeded 02:45:55 nexus3.edgexfoundry.org:10003 02:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:56 Configure a credential helper to remove this warning. See 02:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:56 02:45:56 Login Succeeded 02:45:56 nexus3.edgexfoundry.org:10004 02:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:56 Configure a credential helper to remove this warning. See 02:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:56 02:45:56 Login Succeeded 02:45:56 docker.io 02:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:56 Configure a credential helper to remove this warning. See 02:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:56 02:45:56 Login Succeeded 02:45:56 ---> docker-login.sh ends [Pipeline] } 02:45:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:57 ========================================================= 02:45:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:57 + 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:57 Sending build context to Docker daemon 2.544MB 02:45:57 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:57 Step 2/8 : FROM ${BASE} 02:45:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:57 188c0c94c7c5: Pulling fs layer 02:45:57 0ef7d3d256c8: Pulling fs layer 02:45:57 de9db76c5a1d: Pulling fs layer 02:45:57 bca2f99d35d6: Pulling fs layer 02:45:57 93359f2a8cfa: Pulling fs layer 02:45:57 7c6f9722023f: Pulling fs layer 02:45:57 a35cf1a2eb13: Pulling fs layer 02:45:57 bca2f99d35d6: Waiting 02:45:57 93359f2a8cfa: Waiting 02:45:57 7c6f9722023f: Waiting 02:45:57 a35cf1a2eb13: Waiting 02:45:57 de9db76c5a1d: Download complete 02:45:57 0ef7d3d256c8: Verifying Checksum 02:45:57 0ef7d3d256c8: Download complete 02:45:57 93359f2a8cfa: Verifying Checksum 02:45:57 93359f2a8cfa: Download complete 02:45:57 7c6f9722023f: Download complete 02:45:57 188c0c94c7c5: Verifying Checksum 02:45:57 188c0c94c7c5: Download complete 02:45:57 188c0c94c7c5: Pull complete 02:45:58 0ef7d3d256c8: Pull complete 02:45:58 de9db76c5a1d: Pull complete 02:45:59 a35cf1a2eb13: Verifying Checksum 02:45:59 a35cf1a2eb13: Download complete 02:46:00 bca2f99d35d6: Verifying Checksum 02:46:00 bca2f99d35d6: Download complete 02:46:06 bca2f99d35d6: Pull complete 02:46:06 93359f2a8cfa: Pull complete 02:46:06 7c6f9722023f: Pull complete 02:46:13 a35cf1a2eb13: Pull complete 02:46:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:13 ---> a62c8e92a672 02:46:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:13 ---> Running in 169df6680724 02:46:13 Removing intermediate container 169df6680724 02:46:13 ---> 9ff2a414b68b 02:46:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:13 ---> Running in af8a533420ee 02:46:15 Removing intermediate container af8a533420ee 02:46:15 ---> f970fc3a0c0b 02:46:15 Step 5/8 : RUN apk add --update --no-cache make git 02:46:15 ---> Running in a220ae6e3377 02:46:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:18 OK: 166 MiB in 39 packages 02:46:19 Removing intermediate container a220ae6e3377 02:46:19 ---> 8f01fcac605e 02:46:19 Step 6/8 : WORKDIR /device-sdk-go 02:46:19 ---> Running in a8592d30d395 02:46:19 Removing intermediate container a8592d30d395 02:46:19 ---> fcb302e98780 02:46:19 Step 7/8 : COPY . . 02:46:20 ---> 13ce61f3aa46 02:46:20 Step 8/8 : RUN go mod download 02:46:20 ---> Running in b42bc9e5c4e7 02:46:39 Removing intermediate container b42bc9e5c4e7 02:46:39 ---> c5294c92a5af 02:46:39 Successfully built c5294c92a5af 02:46:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:39 + docker inspect -f . ci-base-image-x86_64 02:46:39 . [Pipeline] withDockerContainer 02:46:39 prd-centos7-docker-4c-2g-23342 does not seem to be running inside a container 02:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:40 $ docker top ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:40 + go version 02:46:40 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:41 $ docker stop --time=1 ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 02:46:42 $ docker rm -f ded4cbb83ef87515a42e4303e93fcbb6dc0a6636bb707ef67409a5295b097ca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:43 + docker inspect -f . ci-base-image-x86_64 02:46:43 . [Pipeline] withDockerContainer 02:46:43 prd-centos7-docker-4c-2g-23342 does not seem to be running inside a container 02:46:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:44 $ docker top 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:44 + make test 02:46:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 24.3% of statements 02:47:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.491s coverage: 97.1% of statements 02:47:29 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23346 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 02:47:29 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:47:34 using credential edgex-jenkins-ssh 02:47:34 Cloning the remote Git repository 02:47:34 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:34 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:47:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:34 > git --version # timeout=10 02:47:34 > git --version # 'git version 2.17.1' 02:47:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:36 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 4226f0ad5c9ea1cff809c5b314d321b691040421 02:47:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:36 > git config core.sparsecheckout # timeout=10 02:47:36 > git checkout -f 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 02:47:36 Merge succeeded, producing cea34742d4035dc5f272ee412146f4a658ba2740 02:47:36 Checking out Revision cea34742d4035dc5f272ee412146f4a658ba2740 (PR-746) 02:47:36 > git remote # timeout=10 02:47:36 > git config --get remote.origin.url # timeout=10 02:47:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:36 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 02:47:36 > git rev-parse HEAD^{commit} # timeout=10 02:47:37 > git config core.sparsecheckout # timeout=10 02:47:37 > git checkout -f cea34742d4035dc5f272ee412146f4a658ba2740 # timeout=10 02:47:41 Commit message: "Merge commit '76d059c2e27a3d5d488ff0022063f09e99d334bf' into HEAD" 02:47:41 > git rev-list --no-walk 4226f0ad5c9ea1cff809c5b314d321b691040421 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.074s coverage: 9.4% of statements 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 22.9% of statements 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.071s coverage: 84.8% of statements 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.069s coverage: 53.8% of statements 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.096s coverage: 26.8% of statements 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.512s coverage: 83.5% of statements 02:47:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 02:47:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:42 GO111MODULE=on go vet ./... 02:47:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:47:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:43 + + sudotrue service 02:47:43 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:47:46 provisioning config files... 02:47:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1033809768215868096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:47 ---> docker-login.sh 02:47:47 nexus3.edgexfoundry.org:10001 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:48 Configure a credential helper to remove this warning. See 02:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:48 02:47:48 Login Succeeded 02:47:48 nexus3.edgexfoundry.org:10002 02:47:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:48 Configure a credential helper to remove this warning. See 02:47:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:48 02:47:48 Login Succeeded 02:47:48 nexus3.edgexfoundry.org:10003 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:49 gofmt -l . 02:47:49 [ "`gofmt -l .`" = "" ] 02:47:49 ./bin/test-attribution-txt.sh 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 nexus3.edgexfoundry.org:10004 02:47:49 ./bin/test-go-mod-tidy.sh 02:47:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 02:47:49 $ docker stop --time=1 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b 02:47:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:49 Configure a credential helper to remove this warning. See 02:47:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:49 02:47:49 Login Succeeded 02:47:49 docker.io 02:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:47:50 Configure a credential helper to remove this warning. See 02:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:47:50 02:47:50 Login Succeeded 02:47:50 ---> docker-login.sh ends 02:47:51 $ docker rm -f 0939f9ea6c1d9321cae385939c7291b6293f4a0e78231ba91a0789a5213f235b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 02:47:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 02:47:52 ========================================================= 02:47:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 02:47:53 + 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 . [Pipeline] stage [Pipeline] { (Build) 02:47:53 Sending build context to Docker daemon 2.543MB 02:47:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:47:53 Step 2/8 : FROM ${BASE} 02:47:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:53 5f621e34cdf4: Pulling fs layer 02:47:53 a4357932f1b6: Pulling fs layer 02:47:53 18c013af1878: Pulling fs layer 02:47:53 00ac8860ef70: Pulling fs layer 02:47:53 63d7cb157983: Pulling fs layer 02:47:53 b116817d02f9: Pulling fs layer 02:47:53 745a02a5169b: Pulling fs layer 02:47:53 00ac8860ef70: Waiting 02:47:53 b116817d02f9: Waiting 02:47:53 745a02a5169b: Waiting 02:47:53 63d7cb157983: Waiting 02:47:53 18c013af1878: Verifying Checksum 02:47:53 18c013af1878: Download complete 02:47:53 a4357932f1b6: Verifying Checksum 02:47:53 a4357932f1b6: Download complete 02:47:53 63d7cb157983: Verifying Checksum 02:47:53 63d7cb157983: Download complete [Pipeline] sh 02:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:54 b116817d02f9: Verifying Checksum 02:47:54 b116817d02f9: Download complete 02:47:54 5f621e34cdf4: Verifying Checksum 02:47:54 5f621e34cdf4: Download complete 02:47:54 + ls -al . 02:47:54 total 188 02:47:54 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 02:47 . 02:47:54 drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 02:45 .. 02:47:54 drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 02:45 bin 02:47:54 -rw-r--r--. 1 jenkins jenkins 109745 Jan 27 02:47 coverage.out 02:47:54 -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 02:45 Dockerfile.build 02:47:54 -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 02:45 .dockerignore 02:47:54 drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 02:45 example 02:47:54 drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 02:45 .git 02:47:54 drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 02:45 .github 02:47:54 -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 02:45 .gitignore 02:47:54 -rw-r--r--. 1 jenkins jenkins 479 Jan 27 02:47 go.mod 02:47:54 -rw-r--r--. 1 jenkins jenkins 13845 Jan 27 02:47 go.sum 02:47:54 drwxrwxr-x. 14 jenkins jenkins 196 Jan 27 02:45 internal 02:47:54 -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 02:45 Jenkinsfile 02:47:54 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 02:45 LICENSE 02:47:54 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 02:45 Makefile 02:47:54 drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 02:45 openapi 02:47:54 drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 02:45 pkg 02:47:54 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 02:45 README.md 02:47:54 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 02:45 RELEASE-NOTES.txt 02:47:54 drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 02:45 snap 02:47:54 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:47:54 -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:54 + 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=4297071cdc2afffe196d9dcb42730d68727fb67a --label arch=amd64 --label version=0.0.0 . 02:47:54 5f621e34cdf4: Pull complete 02:47:55 Sending build context to Docker daemon 2.655MB 02:47:55 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:55 Step 2/24 : FROM ${BASE} AS builder 02:47:55 ---> c5294c92a5af 02:47:55 Step 3/24 : ARG MAKE='make build' 02:47:55 a4357932f1b6: Pull complete 02:47:55 ---> Running in e060a8a7b2cf 02:47:55 18c013af1878: Pull complete 02:47:55 Removing intermediate container e060a8a7b2cf 02:47:55 ---> 1d3f9c364f90 02:47:55 Step 4/24 : WORKDIR /device-sdk-go 02:47:55 ---> Running in a57f3de6b9d4 02:47:56 Removing intermediate container a57f3de6b9d4 02:47:56 ---> 34dc26576a7e 02:47:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:56 ---> Running in bb4e1acf4ec2 02:47:56 Removing intermediate container bb4e1acf4ec2 02:47:56 ---> f93d954c94f9 02:47:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:56 ---> Running in a24dccca6dc6 02:47:56 745a02a5169b: Verifying Checksum 02:47:56 745a02a5169b: Download complete 02:47:57 Removing intermediate container a24dccca6dc6 02:47:57 ---> 76611f03fa64 02:47:57 Step 7/24 : RUN apk add --update --no-cache make git 02:47:57 ---> Running in 8d1cc3cdd654 02:47:57 00ac8860ef70: Download complete 02:47:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:59 OK: 166 MiB in 39 packages 02:47:59 Removing intermediate container 8d1cc3cdd654 02:47:59 ---> 67c6c4304282 02:47:59 Step 8/24 : COPY . . 02:48:01 ---> d7f1c3eac02f 02:48:01 Step 9/24 : RUN ${MAKE} 02:48:01 ---> Running in 740ca2194cb5 02:48:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:08 00ac8860ef70: Pull complete 02:48:08 63d7cb157983: Pull complete 02:48:08 b116817d02f9: Pull complete 02:48:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:12 745a02a5169b: Pull complete 02:48:12 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:48:12 ---> b7e6874047d6 02:48:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:13 Removing intermediate container 740ca2194cb5 02:48:13 ---> ed8cd5ca9a1c 02:48:13 Step 10/24 : FROM scratch 02:48:13 ---> 02:48:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:13 ---> Running in 3feb2e0c0025 02:48:13 Removing intermediate container 3feb2e0c0025 02:48:13 ---> 93f802008d48 02:48:13 Step 12/24 : ENV APP_PORT=49990 02:48:13 ---> Running in 320d4dcc1dd3 02:48:13 Removing intermediate container 320d4dcc1dd3 02:48:13 ---> 294361aa52c5 02:48:13 Step 13/24 : EXPOSE $APP_PORT 02:48:13 ---> Running in 60e8483b585a 02:48:13 Removing intermediate container 60e8483b585a 02:48:13 ---> ca47664ceaa2 02:48:13 Step 14/24 : WORKDIR / 02:48:13 ---> Running in 4138e6778c81 02:48:13 Removing intermediate container 4138e6778c81 02:48:13 ---> 5cc2b03e7e52 02:48:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:14 ---> c54c4277720a 02:48:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:14 ---> 57b3dd616cfe 02:48:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:14 ---> facd72ba5caf 02:48:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:14 ---> 87ead233a525 02:48:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:15 ---> 00b1476081d6 02:48:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:15 ---> Running in 4ef62adadd91 02:48:15 Removing intermediate container 4ef62adadd91 02:48:15 ---> d7dbc64ce8ae 02:48:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:15 ---> Running in d5b2b6df2815 02:48:15 Removing intermediate container d5b2b6df2815 02:48:15 ---> b2fef9129d5e 02:48:15 Step 22/24 : LABEL arch=amd64 02:48:15 ---> Running in fa4f16baab7e 02:48:15 ---> Running in 076d756afe6f 02:48:15 Removing intermediate container 076d756afe6f 02:48:15 ---> a5112dee1436 02:48:15 Step 23/24 : LABEL git_sha=4297071cdc2afffe196d9dcb42730d68727fb67a 02:48:15 ---> Running in 5f4ec3cbdf36 02:48:15 Removing intermediate container 5f4ec3cbdf36 02:48:15 ---> 4ad84b7bda83 02:48:15 Step 24/24 : LABEL version=0.0.0 02:48:16 ---> Running in c49cb1f46ca1 02:48:16 Removing intermediate container c49cb1f46ca1 02:48:16 ---> 48a7eb54f076 02:48:16 [Warning] One or more build-args [ARCH] were not consumed 02:48:16 Successfully built 48a7eb54f076 02:48:16 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } 02:48:16 Removing intermediate container fa4f16baab7e 02:48:16 ---> c6588677c22e 02:48:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:16 ---> Running in 20f51bb8fcee [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:48:18 Removing intermediate container 20f51bb8fcee 02:48:18 ---> 37a8b942494b 02:48:18 Step 5/8 : RUN apk add --update --no-cache make git 02:48:18 ---> Running in 9f7d57872250 02:48:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:20 OK: 142 MiB in 39 packages 02:48:22 Removing intermediate container 9f7d57872250 02:48:22 ---> beaf412a866d 02:48:22 Step 6/8 : WORKDIR /device-sdk-go 02:48:22 ---> Running in 3cc2baf5bba3 02:48:22 Removing intermediate container 3cc2baf5bba3 02:48:22 ---> 808acb0af230 02:48:22 Step 7/8 : COPY . . 02:48:24 ---> 9a63daf91013 02:48:24 Step 8/8 : RUN go mod download 02:48:24 ---> Running in ce3b9271fc9a 02:48:46 Removing intermediate container ce3b9271fc9a 02:48:46 ---> fa4051d73d81 02:48:46 Successfully built fa4051d73d81 02:48:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:46 + docker inspect -f . ci-base-image-arm64 02:48:46 . [Pipeline] withDockerContainer 02:48:47 prd-ubuntu18.04-docker-arm64-4c-16g-23346 does not seem to be running inside a container 02:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:48 $ docker top ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:49 + go version 02:48:49 go version go1.15.5 linux/arm64 [Pipeline] } 02:48:50 $ docker stop --time=1 ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 02:48:51 $ docker rm -f ecb378e006512b575d494188d9b5662c3e2b8cc9b727d202050527d443c757d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:52 + docker inspect -f . ci-base-image-arm64 02:48:52 . [Pipeline] withDockerContainer 02:48:53 prd-ubuntu18.04-docker-arm64-4c-16g-23346 does not seem to be running inside a container 02:48:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:48:54 $ docker top 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:55 + make test 02:48:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:50:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:50:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:50:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:50:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 24.3% of statements 02:50:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.416s coverage: 97.1% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.127s coverage: 9.4% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 22.9% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.155s coverage: 84.8% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.271s coverage: 53.8% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.212s coverage: 26.8% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.928s coverage: 83.5% of statements 02:50:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.159s coverage: 4.2% of statements 02:50:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:50:39 GO111MODULE=on go vet ./... 02:51:11 gofmt -l . 02:51:11 [ "`gofmt -l .`" = "" ] 02:51:11 ./bin/test-attribution-txt.sh 02:51:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:12 $ docker stop --time=1 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 02:51:14 $ docker rm -f 3ed90e26f1737eb59e11ecb7b992e24b54da21cfa1182adf9c0a88c438e7df50 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:16 Warning: overwriting stash ‘coverage-report’ 02:51:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:18 + ls -al . 02:51:18 total 224 02:51:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 02:51 . 02:51:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 .. 02:51:18 -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 02:47 .dockerignore 02:51:18 drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 02:47 .git 02:51:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 .github 02:51:18 -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 02:47 .gitignore 02:51:18 -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 02:47 Dockerfile.build 02:51:18 -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 02:47 Jenkinsfile 02:51:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 02:47 LICENSE 02:51:18 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 02:47 Makefile 02:51:18 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 02:47 README.md 02:51:18 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 02:47 RELEASE-NOTES.txt 02:51:18 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 02:44 VERSION 02:51:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 02:47 bin 02:51:18 -rw-r--r-- 1 jenkins jenkins 109745 Jan 27 02:50 coverage.out 02:51:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 example 02:51:18 -rw-r--r-- 1 jenkins jenkins 479 Jan 27 02:51 go.mod 02:51:18 -rw-r--r-- 1 jenkins jenkins 13845 Jan 27 02:51 go.sum 02:51:18 drwxrwxr-x 14 jenkins jenkins 4096 Jan 27 02:47 internal 02:51:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 openapi 02:51:18 drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 02:47 pkg 02:51:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 02:47 snap 02:51:18 -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:51:18 + 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=4297071cdc2afffe196d9dcb42730d68727fb67a --label arch=arm64 --label version=0.0.0 . 02:51:18 Sending build context to Docker daemon 2.654MB 02:51:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:51:18 Step 2/24 : FROM ${BASE} AS builder 02:51:18 ---> fa4051d73d81 02:51:18 Step 3/24 : ARG MAKE='make build' 02:51:19 ---> Running in fb0bf64ece43 02:51:19 Removing intermediate container fb0bf64ece43 02:51:19 ---> 8de178ff3408 02:51:19 Step 4/24 : WORKDIR /device-sdk-go 02:51:19 ---> Running in ad5b329970ab 02:51:20 Removing intermediate container ad5b329970ab 02:51:20 ---> 2adf999a2321 02:51:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:20 ---> Running in 066e9ad1fedf 02:51:20 Removing intermediate container 066e9ad1fedf 02:51:20 ---> 320c424a16b3 02:51:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:20 ---> Running in 7baf692f72de 02:51:22 Removing intermediate container 7baf692f72de 02:51:22 ---> 28847f8d36e8 02:51:22 Step 7/24 : RUN apk add --update --no-cache make git 02:51:23 ---> Running in 08a855e4b540 02:51:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:26 OK: 142 MiB in 39 packages 02:51:27 Removing intermediate container 08a855e4b540 02:51:27 ---> 2295ecded7e4 02:51:27 Step 8/24 : COPY . . 02:51:29 ---> ac0201f1d204 02:51:29 Step 9/24 : RUN ${MAKE} 02:51:29 ---> Running in 6f2051ec4118 02:51:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:51:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:58 Removing intermediate container 6f2051ec4118 02:51:58 ---> 7a1304570495 02:51:58 Step 10/24 : FROM scratch 02:51:58 ---> 02:51:58 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:58 ---> Running in 57f351d9dac1 02:51:58 Removing intermediate container 57f351d9dac1 02:51:58 ---> 814fe60345ff 02:51:58 Step 12/24 : ENV APP_PORT=49990 02:51:58 ---> Running in 2e47325e9e51 02:51:59 Removing intermediate container 2e47325e9e51 02:51:59 ---> ce63fdf20bb7 02:51:59 Step 13/24 : EXPOSE $APP_PORT 02:51:59 ---> Running in dc4589329257 02:51:59 Removing intermediate container dc4589329257 02:51:59 ---> 949044daeee7 02:51:59 Step 14/24 : WORKDIR / 02:52:00 ---> Running in c308a1511bde 02:52:00 Removing intermediate container c308a1511bde 02:52:00 ---> 4b2cc7757297 02:52:00 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:52:01 ---> 17eab659ad17 02:52:01 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:52:02 ---> 5efc84fdcc76 02:52:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:52:03 ---> b9d32e61ef2c 02:52:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:52:03 ---> 5074e8eaf3ba 02:52:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:52:04 ---> 4de185bda5dd 02:52:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:52:04 ---> Running in f3f1b6a8671b 02:52:05 Removing intermediate container f3f1b6a8671b 02:52:05 ---> b3ad4d37ba8f 02:52:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:05 ---> Running in b89b9bba6835 02:52:05 Removing intermediate container b89b9bba6835 02:52:05 ---> e6a38e386185 02:52:05 Step 22/24 : LABEL arch=arm64 02:52:05 ---> Running in 6b917cf75ba3 02:52:06 Removing intermediate container 6b917cf75ba3 02:52:06 ---> 5328f2e01c5f 02:52:06 Step 23/24 : LABEL git_sha=4297071cdc2afffe196d9dcb42730d68727fb67a 02:52:06 ---> Running in ae53fb830ff5 02:52:07 Removing intermediate container ae53fb830ff5 02:52:07 ---> 0fd658e0528f 02:52:07 Step 24/24 : LABEL version=0.0.0 02:52:07 ---> Running in 30751c3b302d 02:52:07 Removing intermediate container 30751c3b302d 02:52:07 ---> daf326c08818 02:52:07 [Warning] One or more build-args [ARCH] were not consumed 02:52:07 Successfully built daf326c08818 02:52:07 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:52:09 provisioning config files... 02:52:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config8735152448309041316tmp [Pipeline] { [Pipeline] sh 02:52:09 + set +x 02:52:09 + bash -s -- 02:52:09 + curl -s https://codecov.io/bash 02:52:10 02:52:10 _____ _ 02:52:10 / ____| | | 02:52:10 | | ___ __| | ___ ___ _____ __ 02:52:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:10 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:10 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:10 Bash-20210115-cec3c92 02:52:10 02:52:10 02:52:10 ==> git version 2.24.3 found 02:52:10 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:52:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:10 ==> Jenkins CI detected. 02:52:10 project root: . 02:52:10 --> token set from env 02:52:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:10 ==> Running gcov in . (disable via -X gcov) 02:52:10 ==> Python coveragepy not found 02:52:10 ==> Searching for coverage reports in: 02:52:10 + . 02:52:10 -> Found 1 reports 02:52:10 ==> Detecting git/mercurial file structure 02:52:10 ==> Reading reports 02:52:10 + ./coverage.out bytes=109745 02:52:10 ==> Appending adjustments 02:52:10 https://docs.codecov.io/docs/fixing-reports 02:52:11 + Found adjustments 02:52:11 ==> Gzipping contents 02:52:11 20K /tmp/codecov.wASahv.gz 02:52:11 ==> Uploading reports 02:52:11 url: https://codecov.io 02:52:11 query: branch=PR-746&commit=4297071cdc2afffe196d9dcb42730d68727fb67a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 02:52:11 -> Pinging Codecov 02:52:11 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=4297071cdc2afffe196d9dcb42730d68727fb67a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 02:52:11 -> Uploading to 02:52:11 https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/4297071cdc2afffe196d9dcb42730d68727fb67a/5beba0eb-9c63-4b11-ac46-76a74e1b8527.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T025211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=188c2a229636e0a5a723373946c52d998e6d427fd027114ab39fcb2e18fc2529 02:52:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:11 Dload Upload Total Spent Left Speed 02:52:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18053 0 0 100 18053 0 36515 --:--:-- --:--:-- --:--:-- 36470 02:52:12 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4297071cdc2afffe196d9dcb42730d68727fb67a [Pipeline] } 02:52:12 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:52:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:15 ---> package-listing.sh 02:52:15 ++ tr '[:upper:]' '[:lower:]' 02:52:15 ++ facter osfamily 02:52:16 + OS_FAMILY=redhat 02:52:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 02:52:16 + START_PACKAGES=/tmp/packages_start.txt 02:52:16 + END_PACKAGES=/tmp/packages_end.txt 02:52:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:16 + PACKAGES=/tmp/packages_start.txt 02:52:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 02:52:16 + PACKAGES=/tmp/packages_end.txt 02:52:16 + case "${OS_FAMILY}" in 02:52:16 + sort 02:52:16 + rpm -qa 02:52:22 + '[' -f /tmp/packages_start.txt ']' 02:52:22 + '[' -f /tmp/packages_end.txt ']' 02:52:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 02:52:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ 02:52:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo 02:52:22 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:24 02:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:24 alpine: Pulling from edgex-lftools-log-publisher 02:52:24 df20fa9351a1: Pulling fs layer 02:52:24 36b3adc4ff6f: Pulling fs layer 02:52:24 8ad3a11d3b57: Pulling fs layer 02:52:24 46f8f816bc3b: Pulling fs layer 02:52:24 93b61091891f: Pulling fs layer 02:52:24 93b9cdb0e59b: Pulling fs layer 02:52:24 5e14af77c1be: Pulling fs layer 02:52:24 01666e4c0597: Pulling fs layer 02:52:24 aa168da1d23b: Pulling fs layer 02:52:24 93b61091891f: Waiting 02:52:24 93b9cdb0e59b: Waiting 02:52:24 5e14af77c1be: Waiting 02:52:24 01666e4c0597: Waiting 02:52:24 aa168da1d23b: Waiting 02:52:24 46f8f816bc3b: Waiting 02:52:25 36b3adc4ff6f: Download complete 02:52:25 46f8f816bc3b: Verifying Checksum 02:52:25 46f8f816bc3b: Download complete 02:52:25 df20fa9351a1: Verifying Checksum 02:52:25 df20fa9351a1: Download complete 02:52:25 93b9cdb0e59b: Verifying Checksum 02:52:25 93b9cdb0e59b: Download complete 02:52:25 5e14af77c1be: Verifying Checksum 02:52:25 5e14af77c1be: Download complete 02:52:25 01666e4c0597: Verifying Checksum 02:52:25 01666e4c0597: Download complete 02:52:25 93b61091891f: Verifying Checksum 02:52:25 93b61091891f: Download complete 02:52:26 df20fa9351a1: Pull complete 02:52:26 8ad3a11d3b57: Verifying Checksum 02:52:26 8ad3a11d3b57: Download complete 02:52:26 36b3adc4ff6f: Pull complete 02:52:28 8ad3a11d3b57: Pull complete 02:52:28 46f8f816bc3b: Pull complete 02:52:29 93b61091891f: Pull complete 02:52:29 93b9cdb0e59b: Pull complete 02:52:30 5e14af77c1be: Pull complete 02:52:30 01666e4c0597: Pull complete 02:52:32 aa168da1d23b: Verifying Checksum 02:52:32 aa168da1d23b: Download complete 02:52:48 aa168da1d23b: Pull complete 02:52:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:48 prd-centos7-docker-4c-2g-23323 does not seem to be running inside a container 02:52:48 $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:52 $ docker top ab5c4c370b7a4535d58024b3dbf78968493feff481a7c90cca63bbee5edac19e -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:54 + mkdir -p /var/log/sa [Pipeline] sh 02:52:55 + ls /var/log/sa-host 02:52:55 + sadf -c /var/log/sa-host/sa23 02:52:55 file_magic: OK 02:52:55 HZ: Using current value: 100 02:52:55 file_header: OK 02:52:55 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:52:55 Statistics: 02:52:55 Hnuu...uuuununununu... 02:52:55 File successfully converted to sysstat format version 12.2.1 02:52:55 + sadf -c /var/log/sa-host/sa27 02:52:55 file_magic: OK 02:52:55 HZ: Using current value: 100 02:52:55 file_header: OK 02:52:55 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:52:55 Statistics: 02:52:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:55 provisioning config files... 02:52:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config490630089695408462tmp [Pipeline] { [Pipeline] echo 02:52:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:56 ---> create-netrc.sh [Pipeline] } 02:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:57 ---> python-tools-install.sh [Pipeline] echo 02:52:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:58 ---> sudo-logs.sh 02:52:58 Archiving 'sudo' log.. [Pipeline] echo 02:52:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:58 ---> job-cost.sh 02:52:58 lf-activate-venv: SKIPPING 02:52:58 INFO: No Stack... 02:53:00 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:01 INFO: Archiving Costs [Pipeline] echo 02:53:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:02 ---> logs-deploy.sh 02:53:02 lf-activate-venv: SKIPPING 02:53:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/7 02:53:02 INFO: archiving workspace using pattern(s): 02:53:04 Archives upload complete. 02:53:05 INFO: archiving logs to Nexus