Pull request #756 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f1a938d00a7895110b8271504a5c333744bb0704+76d059c2e27a3d5d488ff0022063f09e99d334bf (afd64be2774ae996e2a4bacbc6ef14ca8ab587a6) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23526 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [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-756 # 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 f1a938d00a7895110b8271504a5c333744bb0704 Merge succeeded, producing f1a938d00a7895110b8271504a5c333744bb0704 Checking out Revision f1a938d00a7895110b8271504a5c333744bb0704 (PR-756) > 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/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 408f6c3789b4154c80c1501ca8baeea3f125df39 # timeout=10 [Pipeline] timeout 23:58:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:58:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:58:38 ========================================================= 23:58:38 EdgeX Global Pipelines Version Info 23:58:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:58:39 ------------------- 23:58:39 stable info: 23:58:39 ------------------- 23:58:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:58:39 Message: update stable to v1.0.179 23:58:40 ------------------- 23:58:40 experimental info: 23:58:40 ------------------- 23:58:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:58:40 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:58:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-756 [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-756 [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-756 [Pipeline] echo 23:58:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1a938d00a7895110b8271504a5c333744bb0704 [Pipeline] echo 23:58:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1a938d [Pipeline] echo 23:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 23:58:44 provisioning config files... 23:58:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config7659464760421759074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:44 ---> docker-login.sh 23:58:44 nexus3.edgexfoundry.org:10001 23:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:45 Configure a credential helper to remove this warning. See 23:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:45 23:58:45 Login Succeeded 23:58:45 nexus3.edgexfoundry.org:10002 23:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:45 Configure a credential helper to remove this warning. See 23:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:45 23:58:45 Login Succeeded 23:58:45 nexus3.edgexfoundry.org:10003 23:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:45 Configure a credential helper to remove this warning. See 23:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:45 23:58:45 Login Succeeded 23:58:45 nexus3.edgexfoundry.org:10004 23:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:45 Configure a credential helper to remove this warning. See 23:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:45 23:58:45 Login Succeeded 23:58:45 docker.io 23:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:46 Configure a credential helper to remove this warning. See 23:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:46 23:58:46 Login Succeeded 23:58:46 ---> docker-login.sh ends [Pipeline] } 23:58:46 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 23:58:47 + git log --format=format:%s -1 f1a938d00a7895110b8271504a5c333744bb0704 [Pipeline] echo 23:58:47 GIT_COMMIT: f1a938d00a7895110b8271504a5c333744bb0704, Commit Message: build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0 [Pipeline] echo 23:58:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:58:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:47 23:58:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:58:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:48 latest: Pulling from edgex-devops/git-semver 23:58:48 31603596830f: Pulling fs layer 23:58:48 2a8b12db71e7: Pulling fs layer 23:58:48 6ca5941a6612: Pulling fs layer 23:58:48 ecc8261a40a4: Pulling fs layer 23:58:48 ecc8261a40a4: Waiting 23:58:48 2a8b12db71e7: Verifying Checksum 23:58:48 2a8b12db71e7: Download complete 23:58:48 31603596830f: Download complete 23:58:48 ecc8261a40a4: Verifying Checksum 23:58:48 ecc8261a40a4: Download complete 23:58:48 6ca5941a6612: Verifying Checksum 23:58:48 6ca5941a6612: Download complete 23:58:48 31603596830f: Pull complete 23:58:49 2a8b12db71e7: Pull complete 23:58:50 6ca5941a6612: Pull complete 23:58:50 ecc8261a40a4: Pull complete 23:58:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:58:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:58:50 prd-centos7-docker-4c-2g-23526 does not seem to be running inside a container 23:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:58:52 $ docker top ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:52 [ssh-agent] Looking for ssh-agent implementation... 23:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:52 $ docker exec ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c ssh-agent 23:58:52 SSH_AUTH_SOCK=/tmp/ssh-hg033do5Q0Z3/agent.11 23:58:52 SSH_AGENT_PID=17 23:58:52 Running ssh-add (command line suppressed) 23:58:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_422263383829836236.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_422263383829836236.key) 23:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:53 + git tag --points-at HEAD [Pipeline] } 23:58:53 $ docker exec --env ******** --env ******** ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c ssh-agent -k 23:58:53 unset SSH_AUTH_SOCK; 23:58:53 unset SSH_AGENT_PID; 23:58:53 echo Agent pid 17 killed; 23:58:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:53 [ssh-agent] Looking for ssh-agent implementation... 23:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:53 $ docker exec ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c ssh-agent 23:58:54 SSH_AUTH_SOCK=/tmp/ssh-uO7oy4RvKjdV/agent.46 23:58:54 SSH_AGENT_PID=51 23:58:54 Running ssh-add (command line suppressed) 23:58:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_9187873902483941823.key (/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/private_key_9187873902483941823.key) 23:58:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:54 + git semver init 23:58:54 # -> Open(): unable to determine branch for HEAD 23:58:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.git 23:58:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-756 23:58:54 # $SEMVER_REMOTE_NAME = origin 23:58:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:58:54 # $SEMVER_USER_NAME = edgex-jenkins 23:58:54 # $SEMVER_BRANCH = PR-756 23:58:54 # $SEMVER_TEMP = /tmp/semver-164446513 23:58:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:58:55 # '/tmp/semver-164446513' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver' 23:58:55 # -> Force: false 23:58:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-756/.semver [Pipeline] } 23:58:55 $ docker exec --env ******** --env ******** ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c ssh-agent -k 23:58:55 unset SSH_AUTH_SOCK; 23:58:55 unset SSH_AGENT_PID; 23:58:55 echo Agent pid 51 killed; 23:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:56 + git semver [Pipeline] } 23:58:56 $ docker stop --time=1 ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c 23:58:57 $ docker rm -f ec2b5bddf7ec0cd177ba983e9fa9a02eb39603e5865b355b78545f502ed4524c [Pipeline] // withDockerContainer [Pipeline] sh 23:58:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:58 Stashed 1 file(s) [Pipeline] echo 23:58:58 [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 23:59:14 Still waiting to schedule task 23:59:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:59:14 Still waiting to schedule task 23:59:14 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:01:15 Running on prd-centos7-docker-4c-2g-23528 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] ws 00:01:15 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 00:01:17 using credential edgex-jenkins-ssh 00:01:17 Cloning the remote Git repository 00:01:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:01:17 > git init /w/workspace/device-sdk-go/3 # timeout=10 00:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:01:18 > git --version # timeout=10 00:01:18 > git --version # 'git version 2.24.3' 00:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:19 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit f1a938d00a7895110b8271504a5c333744bb0704 00:01:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:01:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:01:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:01:19 > git config core.sparsecheckout # timeout=10 00:01:19 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # timeout=10 00:01:19 > git remote # timeout=10 00:01:19 > git config --get remote.origin.url # timeout=10 00:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:19 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 00:01:19 Merge succeeded, producing f1a938d00a7895110b8271504a5c333744bb0704 00:01:19 Checking out Revision f1a938d00a7895110b8271504a5c333744bb0704 (PR-756) 00:01:19 > git rev-parse HEAD^{commit} # timeout=10 00:01:19 > git config core.sparsecheckout # timeout=10 00:01:19 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # timeout=10 00:01:23 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:01:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:01:25 + sudo service docker restart 00:01:25 + true 00:01:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:01:26 provisioning config files... 00:01:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1070247119603353684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:26 ---> docker-login.sh 00:01:26 nexus3.edgexfoundry.org:10001 00:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:27 Configure a credential helper to remove this warning. See 00:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:27 00:01:27 Login Succeeded 00:01:27 nexus3.edgexfoundry.org:10002 00:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:27 Configure a credential helper to remove this warning. See 00:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:27 00:01:27 Login Succeeded 00:01:27 nexus3.edgexfoundry.org:10003 00:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:27 Configure a credential helper to remove this warning. See 00:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:27 00:01:27 Login Succeeded 00:01:27 nexus3.edgexfoundry.org:10004 00:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:27 Configure a credential helper to remove this warning. See 00:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:27 00:01:27 Login Succeeded 00:01:27 docker.io 00:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:28 Configure a credential helper to remove this warning. See 00:01:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:28 00:01:28 Login Succeeded 00:01:28 ---> docker-login.sh ends [Pipeline] } 00:01:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:01:28 ========================================================= 00:01:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:01:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:01:28 + 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 . 00:01:28 Sending build context to Docker daemon 2.567MB 00:01:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:01:28 Step 2/8 : FROM ${BASE} 00:01:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:01:29 188c0c94c7c5: Pulling fs layer 00:01:29 0ef7d3d256c8: Pulling fs layer 00:01:29 de9db76c5a1d: Pulling fs layer 00:01:29 bca2f99d35d6: Pulling fs layer 00:01:29 93359f2a8cfa: Pulling fs layer 00:01:29 7c6f9722023f: Pulling fs layer 00:01:29 a35cf1a2eb13: Pulling fs layer 00:01:29 bca2f99d35d6: Waiting 00:01:29 93359f2a8cfa: Waiting 00:01:29 7c6f9722023f: Waiting 00:01:29 a35cf1a2eb13: Waiting 00:01:29 de9db76c5a1d: Verifying Checksum 00:01:29 de9db76c5a1d: Download complete 00:01:29 0ef7d3d256c8: Download complete 00:01:29 93359f2a8cfa: Verifying Checksum 00:01:29 93359f2a8cfa: Download complete 00:01:29 7c6f9722023f: Verifying Checksum 00:01:29 7c6f9722023f: Download complete 00:01:29 188c0c94c7c5: Verifying Checksum 00:01:29 188c0c94c7c5: Download complete 00:01:29 188c0c94c7c5: Pull complete 00:01:29 0ef7d3d256c8: Pull complete 00:01:29 de9db76c5a1d: Pull complete 00:01:31 a35cf1a2eb13: Verifying Checksum 00:01:31 a35cf1a2eb13: Download complete 00:01:31 bca2f99d35d6: Verifying Checksum 00:01:31 bca2f99d35d6: Download complete 00:01:37 bca2f99d35d6: Pull complete 00:01:37 93359f2a8cfa: Pull complete 00:01:37 7c6f9722023f: Pull complete 00:01:44 a35cf1a2eb13: Pull complete 00:01:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:01:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:01:44 ---> a62c8e92a672 00:01:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:01:44 ---> Running in fe9e8a8eef20 00:01:44 Removing intermediate container fe9e8a8eef20 00:01:44 ---> aaf84f7f97c4 00:01:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:44 ---> Running in e7a29d95245f 00:01:44 Removing intermediate container e7a29d95245f 00:01:44 ---> 3c00557d6f6f 00:01:44 Step 5/8 : RUN apk add --update --no-cache make git 00:01:45 ---> Running in adffb9b06d15 00:01:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:01:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:01:47 OK: 166 MiB in 39 packages 00:01:47 Removing intermediate container adffb9b06d15 00:01:47 ---> 271636400894 00:01:47 Step 6/8 : WORKDIR /device-sdk-go 00:01:47 ---> Running in 92060c4b8f5b 00:01:48 Removing intermediate container 92060c4b8f5b 00:01:48 ---> 2c0213b81a9e 00:01:48 Step 7/8 : COPY . . 00:01:49 ---> 16598c596c5a 00:01:49 Step 8/8 : RUN go mod download 00:01:49 ---> Running in d2303d3974c5 00:02:07 Removing intermediate container d2303d3974c5 00:02:07 ---> 1c708d3b4f85 00:02:07 Successfully built 1c708d3b4f85 00:02:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:02:08 + docker inspect -f . ci-base-image-x86_64 00:02:08 . [Pipeline] withDockerContainer 00:02:08 prd-centos7-docker-4c-2g-23528 does not seem to be running inside a container 00:02:08 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:02:09 $ docker top 44e77f5ce9bb6db3b4d114552cee5c5d505d8bb1f7ede11a73d360da3fc8183d -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:09 + go version 00:02:09 go version go1.15.5 linux/amd64 [Pipeline] } 00:02:09 $ docker stop --time=1 44e77f5ce9bb6db3b4d114552cee5c5d505d8bb1f7ede11a73d360da3fc8183d 00:02:11 $ docker rm -f 44e77f5ce9bb6db3b4d114552cee5c5d505d8bb1f7ede11a73d360da3fc8183d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:02:12 + docker inspect -f . ci-base-image-x86_64 00:02:12 . [Pipeline] withDockerContainer 00:02:12 prd-centos7-docker-4c-2g-23528 does not seem to be running inside a container 00:02:12 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:02:12 $ docker top 32bca6b46a5c7291179454e10f5df906f003e575ba9d2940cf5aa4c7c41516cb -eo pid,comm 00:02:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23529 in /w/workspace/dgexfoundry_device-sdk-go_PR-756 [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 00:02:13 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 00:02:13 + make test 00:02:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:02:19 using credential edgex-jenkins-ssh 00:02:19 Cloning the remote Git repository 00:02:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:02:19 > git init /w/workspace/device-sdk-go/3 # timeout=10 00:02:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:02:19 > git --version # timeout=10 00:02:19 > git --version # 'git version 2.17.1' 00:02:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:02:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:02:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:02:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:02:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:02:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:02:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:02:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/756/head:refs/remotes/origin/PR-756 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:02:21 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit f1a938d00a7895110b8271504a5c333744bb0704 00:02:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:02:21 Merge succeeded, producing f1a938d00a7895110b8271504a5c333744bb0704 00:02:21 Checking out Revision f1a938d00a7895110b8271504a5c333744bb0704 (PR-756) 00:02:21 > git config core.sparsecheckout # timeout=10 00:02:21 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # timeout=10 00:02:21 > git remote # timeout=10 00:02:21 > git config --get remote.origin.url # timeout=10 00:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:02:21 > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 00:02:21 > git rev-parse HEAD^{commit} # timeout=10 00:02:21 > git config core.sparsecheckout # timeout=10 00:02:21 > git checkout -f f1a938d00a7895110b8271504a5c333744bb0704 # timeout=10 00:02:26 Commit message: "build(deps): bump github.com/google/uuid from 1.1.5 to 1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:02:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:02:29 + + sudotrue service 00:02:29 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:02:32 provisioning config files... 00:02:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4695983635055759706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:33 ---> docker-login.sh 00:02:33 nexus3.edgexfoundry.org:10001 00:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:34 Configure a credential helper to remove this warning. See 00:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:34 00:02:34 Login Succeeded 00:02:34 nexus3.edgexfoundry.org:10002 00:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:34 Configure a credential helper to remove this warning. See 00:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:34 00:02:34 Login Succeeded 00:02:34 nexus3.edgexfoundry.org:10003 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10004 00:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:36 Configure a credential helper to remove this warning. See 00:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:36 00:02:36 Login Succeeded 00:02:36 docker.io 00:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:37 Configure a credential helper to remove this warning. See 00:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:37 00:02:37 Login Succeeded 00:02:37 ---> docker-login.sh ends [Pipeline] } 00:02:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 00:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:02:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:02:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 19.4% of statements [Pipeline] echo 00:02:37 ========================================================= 00:02:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:02:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:02:38 + 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 . 00:02:38 Sending build context to Docker daemon 2.573MB 00:02:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:02:38 Step 2/8 : FROM ${BASE} 00:02:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:38 5f621e34cdf4: Pulling fs layer 00:02:38 a4357932f1b6: Pulling fs layer 00:02:38 18c013af1878: Pulling fs layer 00:02:38 00ac8860ef70: Pulling fs layer 00:02:38 63d7cb157983: Pulling fs layer 00:02:38 b116817d02f9: Pulling fs layer 00:02:38 745a02a5169b: Pulling fs layer 00:02:38 00ac8860ef70: Waiting 00:02:38 63d7cb157983: Waiting 00:02:38 b116817d02f9: Waiting 00:02:38 745a02a5169b: Waiting 00:02:38 18c013af1878: Verifying Checksum 00:02:38 18c013af1878: Download complete 00:02:38 a4357932f1b6: Verifying Checksum 00:02:38 a4357932f1b6: Download complete 00:02:38 63d7cb157983: Verifying Checksum 00:02:38 63d7cb157983: Download complete 00:02:38 b116817d02f9: Verifying Checksum 00:02:38 b116817d02f9: Download complete 00:02:38 5f621e34cdf4: Verifying Checksum 00:02:38 5f621e34cdf4: Download complete 00:02:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.443s coverage: 97.1% of statements 00:02:39 5f621e34cdf4: Pull complete 00:02:40 a4357932f1b6: Pull complete 00:02:40 18c013af1878: Pull complete 00:02:41 745a02a5169b: Verifying Checksum 00:02:41 745a02a5169b: Download complete 00:02:42 00ac8860ef70: Download complete 00:02:52 00ac8860ef70: Pull complete 00:02:53 63d7cb157983: Pull complete 00:02:53 b116817d02f9: Pull complete 00:02:58 745a02a5169b: Pull complete 00:02:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:02:58 ---> b7e6874047d6 00:02:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:03:00 ---> Running in c5f31f6161d4 00:03:01 Removing intermediate container c5f31f6161d4 00:03:01 ---> 2f4b0262be37 00:03:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:01 ---> Running in 77847cdfeac6 00:03:03 Removing intermediate container 77847cdfeac6 00:03:03 ---> c432f530b797 00:03:03 Step 5/8 : RUN apk add --update --no-cache make git 00:03:03 ---> Running in e5abea8db8e4 00:03:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:03:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:03:06 OK: 142 MiB in 39 packages 00:03:07 Removing intermediate container e5abea8db8e4 00:03:07 ---> 9b204665ce8c 00:03:07 Step 6/8 : WORKDIR /device-sdk-go 00:03:07 ---> Running in f5195dd9e756 00:03:08 Removing intermediate container f5195dd9e756 00:03:08 ---> 253962caf907 00:03:08 Step 7/8 : COPY . . 00:03:09 ---> dde62ee53929 00:03:09 Step 8/8 : RUN go mod download 00:03:09 ---> Running in f7e2923ed1e6 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 9.4% of statements 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 21.7% of statements 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.219s coverage: 43.2% of statements 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.326s coverage: 68.9% of statements 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 53.8% of statements 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 26.8% of statements 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.503s coverage: 83.5% of statements 00:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.075s coverage: 4.2% of statements 00:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:03:11 GO111MODULE=on go vet ./... 00:03:19 gofmt -l . 00:03:19 [ "`gofmt -l .`" = "" ] 00:03:19 ./bin/test-attribution-txt.sh 00:03:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:03:19 $ docker stop --time=1 32bca6b46a5c7291179454e10f5df906f003e575ba9d2940cf5aa4c7c41516cb 00:03:21 $ docker rm -f 32bca6b46a5c7291179454e10f5df906f003e575ba9d2940cf5aa4c7c41516cb [Pipeline] // withDockerContainer [Pipeline] sh 00:03:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:03:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:24 + ls -al . 00:03:24 total 216 00:03:24 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:03 . 00:03:24 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 00:01 .. 00:03:24 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:01 bin 00:03:24 -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:03 coverage.out 00:03:24 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:01 Dockerfile.build 00:03:24 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:01 .dockerignore 00:03:24 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:01 example 00:03:24 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:01 .git 00:03:24 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:01 .github 00:03:24 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:01 .gitignore 00:03:24 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:03 go.mod 00:03:24 -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 00:03 go.sum 00:03:24 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:01 internal 00:03:24 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:01 Jenkinsfile 00:03:24 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:01 LICENSE 00:03:24 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:01 Makefile 00:03:24 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:01 openapi 00:03:24 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:01 pkg 00:03:24 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:01 README.md 00:03:24 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:01 RELEASE-NOTES.txt 00:03:24 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:01 snap 00:03:24 -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 23:58 VERSION 00:03:24 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:01 version.go [Pipeline] isUnix [Pipeline] sh 00:03:25 + 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=f1a938d00a7895110b8271504a5c333744bb0704 --label arch=amd64 --label version=0.0.0 . 00:03:25 Sending build context to Docker daemon 2.705MB 00:03:25 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:03:25 Step 2/24 : FROM ${BASE} AS builder 00:03:25 ---> 1c708d3b4f85 00:03:25 Step 3/24 : ARG MAKE='make build' 00:03:25 ---> Running in a74e4305b658 00:03:26 Removing intermediate container a74e4305b658 00:03:26 ---> b3a0df239684 00:03:26 Step 4/24 : WORKDIR /device-sdk-go 00:03:26 ---> Running in 0104245f6ac3 00:03:26 Removing intermediate container 0104245f6ac3 00:03:26 ---> 0f6d0f4231a3 00:03:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:03:26 ---> Running in 636c957d6e27 00:03:26 Removing intermediate container 636c957d6e27 00:03:26 ---> d9d5029ce1c7 00:03:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:26 ---> Running in f6743ebd3655 00:03:27 Removing intermediate container f6743ebd3655 00:03:27 ---> 857c5f9d7ea8 00:03:27 Step 7/24 : RUN apk add --update --no-cache make git 00:03:27 ---> Running in 88c259d3882a 00:03:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:03:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:03:29 OK: 166 MiB in 39 packages 00:03:29 Removing intermediate container 88c259d3882a 00:03:29 ---> a6d61d9b8d26 00:03:29 Step 8/24 : COPY . . 00:03:30 ---> d836ac41a4c4 00:03:30 Step 9/24 : RUN ${MAKE} 00:03:30 ---> Running in 8bc5d084fd38 00:03:31 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 00:03:31 Removing intermediate container f7e2923ed1e6 00:03:31 ---> 1a69474566db 00:03:31 Successfully built 1a69474566db 00:03:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:03:32 + docker inspect -f . ci-base-image-arm64 00:03:32 . [Pipeline] withDockerContainer 00:03:32 prd-ubuntu18.04-docker-arm64-4c-16g-23529 does not seem to be running inside a container 00:03:32 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:03:34 $ docker top c73bd026d7700c94a90bcf9a07e88bb2239fd67ad6e24f8904b1b2580f5f7228 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:35 + go version 00:03:35 go version go1.15.5 linux/arm64 [Pipeline] } 00:03:35 $ docker stop --time=1 c73bd026d7700c94a90bcf9a07e88bb2239fd67ad6e24f8904b1b2580f5f7228 00:03:37 $ docker rm -f c73bd026d7700c94a90bcf9a07e88bb2239fd67ad6e24f8904b1b2580f5f7228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:03:38 + docker inspect -f . ci-base-image-arm64 00:03:38 . [Pipeline] withDockerContainer 00:03:38 prd-ubuntu18.04-docker-arm64-4c-16g-23529 does not seem to be running inside a container 00:03:38 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:03:39 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:03:40 $ docker top 033450fb57e5e533f0740566289a78d9715a46baef5d1297fa60e23c5c78b897 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:41 + make test 00:03:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:03:41 Removing intermediate container 8bc5d084fd38 00:03:41 ---> bb9b478097ca 00:03:41 Step 10/24 : FROM scratch 00:03:41 ---> 00:03:41 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:03:41 ---> Running in 2af283281b71 00:03:41 Removing intermediate container 2af283281b71 00:03:41 ---> 7c5a41828c96 00:03:41 Step 12/24 : ENV APP_PORT=49990 00:03:41 ---> Running in 9193cdc96995 00:03:41 Removing intermediate container 9193cdc96995 00:03:41 ---> cdb40e546bba 00:03:41 Step 13/24 : EXPOSE $APP_PORT 00:03:41 ---> Running in 3d19fad0eb75 00:03:42 Removing intermediate container 3d19fad0eb75 00:03:42 ---> ac7fab62f006 00:03:42 Step 14/24 : WORKDIR / 00:03:42 ---> Running in 79add9ba6824 00:03:42 Removing intermediate container 79add9ba6824 00:03:42 ---> f1a706a502f9 00:03:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:03:43 ---> 22b6526391b8 00:03:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:03:43 ---> 919a242c7f8f 00:03:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:03:43 ---> 257940bb4c5a 00:03:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:03:43 ---> eceaee6c420e 00:03:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:03:43 ---> 148c2e63bae3 00:03:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:03:43 ---> Running in 00d074de348a 00:03:44 Removing intermediate container 00d074de348a 00:03:44 ---> 66dc8b837ccc 00:03:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:03:44 ---> Running in 634b48f03554 00:03:44 Removing intermediate container 634b48f03554 00:03:44 ---> de60a5f96c04 00:03:44 Step 22/24 : LABEL arch=amd64 00:03:44 ---> Running in 5d26542ad521 00:03:44 Removing intermediate container 5d26542ad521 00:03:44 ---> b2392f9c2482 00:03:44 Step 23/24 : LABEL git_sha=f1a938d00a7895110b8271504a5c333744bb0704 00:03:44 ---> Running in 63a4cab76f2c 00:03:44 Removing intermediate container 63a4cab76f2c 00:03:44 ---> cfb39cbe8c2f 00:03:44 Step 24/24 : LABEL version=0.0.0 00:03:44 ---> Running in 7af9d870321a 00:03:44 Removing intermediate container 7af9d870321a 00:03:44 ---> 5037a4da91a1 00:03:44 [Warning] One or more build-args [ARCH] were not consumed 00:03:44 Successfully built 5037a4da91a1 00:03:44 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] } 00:04:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:04:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:04:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.197s coverage: 19.4% of statements 00:04:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.194s coverage: 97.1% of statements 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 9.4% of statements 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.581s coverage: 43.2% of statements 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.766s coverage: 68.9% of statements 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.188s coverage: 53.8% of statements 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 26.8% of statements 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.893s coverage: 83.5% of statements 00:05:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements 00:05:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:05:29 GO111MODULE=on go vet ./... 00:06:02 gofmt -l . 00:06:02 [ "`gofmt -l .`" = "" ] 00:06:02 ./bin/test-attribution-txt.sh 00:06:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:06:02 $ docker stop --time=1 033450fb57e5e533f0740566289a78d9715a46baef5d1297fa60e23c5c78b897 00:06:04 $ docker rm -f 033450fb57e5e533f0740566289a78d9715a46baef5d1297fa60e23c5c78b897 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:05 Warning: overwriting stash ‘coverage-report’ 00:06:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:06:07 + ls -al . 00:06:07 total 252 00:06:07 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:06 . 00:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:02 .. 00:06:07 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:02 .dockerignore 00:06:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:02 .git 00:06:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:02 .github 00:06:07 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:02 .gitignore 00:06:07 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:02 Dockerfile.build 00:06:07 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:02 Jenkinsfile 00:06:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:02 LICENSE 00:06:07 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:02 Makefile 00:06:07 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:02 README.md 00:06:07 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:02 RELEASE-NOTES.txt 00:06:07 -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 23:58 VERSION 00:06:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:02 bin 00:06:07 -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:05 coverage.out 00:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:02 example 00:06:07 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:06 go.mod 00:06:07 -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 00:06 go.sum 00:06:07 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:02 internal 00:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:02 openapi 00:06:07 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:02 pkg 00:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:02 snap 00:06:07 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:02 version.go [Pipeline] isUnix [Pipeline] sh 00:06:08 + 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=f1a938d00a7895110b8271504a5c333744bb0704 --label arch=arm64 --label version=0.0.0 . 00:06:08 Sending build context to Docker daemon 2.711MB 00:06:08 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:06:08 Step 2/24 : FROM ${BASE} AS builder 00:06:08 ---> 1a69474566db 00:06:08 Step 3/24 : ARG MAKE='make build' 00:06:09 ---> Running in aafde5c2f96a 00:06:09 Removing intermediate container aafde5c2f96a 00:06:09 ---> dfab2271f701 00:06:09 Step 4/24 : WORKDIR /device-sdk-go 00:06:09 ---> Running in 61d661ceefa3 00:06:10 Removing intermediate container 61d661ceefa3 00:06:10 ---> 9a5e79fb776b 00:06:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:06:10 ---> Running in 60b6c32af143 00:06:10 Removing intermediate container 60b6c32af143 00:06:10 ---> a9736d173547 00:06:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:10 ---> Running in e4823f9370b8 00:06:13 Removing intermediate container e4823f9370b8 00:06:13 ---> 0d170fd38a37 00:06:13 Step 7/24 : RUN apk add --update --no-cache make git 00:06:13 ---> Running in c5ef9f6da7f4 00:06:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:06:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:06:16 OK: 142 MiB in 39 packages 00:06:17 Removing intermediate container c5ef9f6da7f4 00:06:17 ---> 001bf3b34d9f 00:06:17 Step 8/24 : COPY . . 00:06:18 ---> 1fb215a5c548 00:06:18 Step 9/24 : RUN ${MAKE} 00:06:18 ---> Running in 6a19cda96af4 00:06:19 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 00:06:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:06:48 Removing intermediate container 6a19cda96af4 00:06:48 ---> 8f950958d89e 00:06:48 Step 10/24 : FROM scratch 00:06:48 ---> 00:06:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:06:48 ---> Running in 74282459933e 00:06:48 Removing intermediate container 74282459933e 00:06:48 ---> d7791c6d01b6 00:06:48 Step 12/24 : ENV APP_PORT=49990 00:06:48 ---> Running in 1a3aed85d763 00:06:48 Removing intermediate container 1a3aed85d763 00:06:48 ---> 6e01229914cf 00:06:48 Step 13/24 : EXPOSE $APP_PORT 00:06:49 ---> Running in 1e31220f39ea 00:06:49 Removing intermediate container 1e31220f39ea 00:06:49 ---> d97342da0095 00:06:49 Step 14/24 : WORKDIR / 00:06:49 ---> Running in 99cf78c028b0 00:06:50 Removing intermediate container 99cf78c028b0 00:06:50 ---> 1c5c5519bf0e 00:06:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:06:51 ---> 9f0754f462d6 00:06:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:06:52 ---> e30ae717dd58 00:06:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:06:52 ---> cf95b6ac2ab2 00:06:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:06:53 ---> 7a82fefc124d 00:06:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:06:54 ---> 62eb2ba261f4 00:06:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:06:54 ---> Running in d4d42b6ce3c8 00:06:54 Removing intermediate container d4d42b6ce3c8 00:06:54 ---> 00d0a32af008 00:06:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:06:54 ---> Running in 26dfccc65b20 00:06:55 Removing intermediate container 26dfccc65b20 00:06:55 ---> 68c0bfa53153 00:06:55 Step 22/24 : LABEL arch=arm64 00:06:55 ---> Running in 7745ad2be9ff 00:06:56 Removing intermediate container 7745ad2be9ff 00:06:56 ---> 4aa770f3f0bb 00:06:56 Step 23/24 : LABEL git_sha=f1a938d00a7895110b8271504a5c333744bb0704 00:06:56 ---> Running in 6bb8d6040af7 00:06:56 Removing intermediate container 6bb8d6040af7 00:06:56 ---> 982af5545a03 00:06:56 Step 24/24 : LABEL version=0.0.0 00:06:56 ---> Running in d9a1f047559c 00:06:57 Removing intermediate container d9a1f047559c 00:06:57 ---> 56c2203a2053 00:06:57 [Warning] One or more build-args [ARCH] were not consumed 00:06:57 Successfully built 56c2203a2053 00:06:57 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 00:06:59 provisioning config files... 00:06:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config5251869031403075205tmp [Pipeline] { [Pipeline] sh 00:06:59 + set +x 00:06:59 + curl -s https://codecov.io/bash 00:06:59 + bash -s -- 00:06:59 00:06:59 _____ _ 00:06:59 / ____| | | 00:06:59 | | ___ __| | ___ ___ _____ __ 00:06:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:06:59 | |___| (_) | (_| | __/ (_| (_) \ V / 00:06:59 \_____\___/ \__,_|\___|\___\___/ \_/ 00:06:59 Bash-20210115-cec3c92 00:06:59 00:06:59 00:06:59 [0;36m==>[0m git version 2.24.3 found 00:06:59 [0;36m==>[0m 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 00:06:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:06:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:06:59 [0;90m==>[0m Jenkins CI detected. 00:06:59 [0;90mproject root:[0m . 00:06:59 [0;90m-->[0m token set from env 00:06:59 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 00:06:59 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 00:06:59 [0;90m==>[0m Python coveragepy not found 00:06:59 [0;90m==>[0m Searching for coverage reports in: 00:06:59 [0;32m+[0m . 00:06:59 [0;90m->[0m Found 1 reports 00:06:59 [0;90m==>[0m Detecting git/mercurial file structure 00:06:59 [0;90m==>[0m Reading reports 00:06:59 [0;32m+[0m ./coverage.out [0;90mbytes=136842[0m 00:06:59 [0;90m==>[0m Appending adjustments 00:06:59 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 00:07:00 [0;32m+[0m Found adjustments 00:07:00 [0;90m==>[0m Gzipping contents 00:07:00 24K /tmp/codecov.EvQX1e.gz 00:07:00 [0;90m==>[0m Uploading reports 00:07:00 [0;90murl:[0m https://codecov.io 00:07:00 [0;90mquery:[0m branch=PR-756&commit=f1a938d00a7895110b8271504a5c333744bb0704&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 00:07:00 [0;90m->[0m Pinging Codecov 00:07:00 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-756&commit=f1a938d00a7895110b8271504a5c333744bb0704&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-756%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=756&job=&cmd_args= 00:07:15 [0;31mupstream connect error or disconnect/reset before headers. reset reason: local resetupstream connect error or disconnect/reset before headers. reset reason: local resetupstream connect error or disconnect/reset before headers. reset reason: local resetupstream connect error or disconnect/reset before headers. reset reason: local resetupstream connect error or disconnect/reset before headers. reset reason: local reset 00:07:15
00:07:15 00:07:15Please try again in 30 seconds. 00:07:15
00:07:15 00:07:15 00:07:15 502[0m 00:07:15 [0;90m==>[0m Uploading to Codecov 00:07:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:15 Dload Upload Total Spent Left Speed 00:07:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 21879 100 332 0 0 1497 0 --:--:-- --:--:-- --:--:-- 1502 00:07:15 Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries 00:07:15 Warning: left. 00:07:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 21879 100 332 0 0 4928 0 --:--:-- --:--:-- --:--:-- 5030 00:07:16 Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries 00:07:16 Warning: left. 00:07:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21631 100 84 100 21547 577 144k --:--:-- --:--:-- --:--:-- 145k 00:07:18 Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries 00:07:18 Warning: left. 00:07:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 21547 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21631 100 84 100 21547 1173 294k --:--:-- --:--:-- --:--:-- 292k 00:07:20 Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 00:07:20 Warning: left. 00:07:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 21879 100 332 0 0 5072 0 --:--:-- --:--:-- --:--:-- 5107 00:07:22 Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries 00:07:22 Warning: left. 00:07:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 1 21879 100 332 0 0 4796 0 --:--:-- --:--:-- --:--:-- 4882 00:07:24 View reports at [0;36m[0m [Pipeline] } 00:07: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 00:07:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:28 ---> package-listing.sh 00:07:28 ++ facter osfamily 00:07:28 ++ tr '[:upper:]' '[:lower:]' 00:07:28 + OS_FAMILY=redhat 00:07:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-756 00:07:28 + START_PACKAGES=/tmp/packages_start.txt 00:07:28 + END_PACKAGES=/tmp/packages_end.txt 00:07:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:28 + PACKAGES=/tmp/packages_start.txt 00:07:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 00:07:28 + PACKAGES=/tmp/packages_end.txt 00:07:28 + case "${OS_FAMILY}" in 00:07:28 + rpm -qa 00:07:28 + sort 00:07:33 + '[' -f /tmp/packages_start.txt ']' 00:07:33 + '[' -f /tmp/packages_end.txt ']' 00:07:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-756 ']' 00:07:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ 00:07:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-756/archives/ [Pipeline] echo 00:07: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-756/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:07:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:07:34 00:07:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:07:34 alpine: Pulling from edgex-lftools-log-publisher 00:07:34 df20fa9351a1: Pulling fs layer 00:07:34 36b3adc4ff6f: Pulling fs layer 00:07:34 8ad3a11d3b57: Pulling fs layer 00:07:34 46f8f816bc3b: Pulling fs layer 00:07:34 93b61091891f: Pulling fs layer 00:07:34 93b9cdb0e59b: Pulling fs layer 00:07:34 5e14af77c1be: Pulling fs layer 00:07:34 01666e4c0597: Pulling fs layer 00:07:34 aa168da1d23b: Pulling fs layer 00:07:34 aa168da1d23b: Waiting 00:07:34 46f8f816bc3b: Waiting 00:07:34 93b61091891f: Waiting 00:07:34 5e14af77c1be: Waiting 00:07:34 01666e4c0597: Waiting 00:07:34 36b3adc4ff6f: Download complete 00:07:34 46f8f816bc3b: Download complete 00:07:34 df20fa9351a1: Verifying Checksum 00:07:34 df20fa9351a1: Download complete 00:07:34 93b61091891f: Verifying Checksum 00:07:34 93b61091891f: Download complete 00:07:34 93b9cdb0e59b: Verifying Checksum 00:07:34 93b9cdb0e59b: Download complete 00:07:34 01666e4c0597: Verifying Checksum 00:07:34 01666e4c0597: Download complete 00:07:34 5e14af77c1be: Verifying Checksum 00:07:34 5e14af77c1be: Download complete 00:07:34 8ad3a11d3b57: Verifying Checksum 00:07:34 8ad3a11d3b57: Download complete 00:07:35 df20fa9351a1: Pull complete 00:07:35 36b3adc4ff6f: Pull complete 00:07:35 8ad3a11d3b57: Pull complete 00:07:36 46f8f816bc3b: Pull complete 00:07:36 93b61091891f: Pull complete 00:07:37 93b9cdb0e59b: Pull complete 00:07:37 aa168da1d23b: Verifying Checksum 00:07:37 aa168da1d23b: Download complete 00:07:37 5e14af77c1be: Pull complete 00:07:37 01666e4c0597: Pull complete 00:07:44 aa168da1d23b: Pull complete 00:07:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:07:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:07:44 prd-centos7-docker-4c-2g-23526 does not seem to be running inside a container 00:07:44 $ 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-756/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-756 -v /w/workspace/dgexfoundry_device-sdk-go_PR-756:/w/workspace/dgexfoundry_device-sdk-go_PR-756:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:07:48 $ docker top 8f9fa6868ef563102731ef39f1d57c43c44b7b5c95f6064b53cc16c515b87142 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:48 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:49 + mkdir -p /var/log/sa [Pipeline] sh 00:07:49 + ls /var/log/sa-host 00:07:49 + sadf -c /var/log/sa-host/sa23 00:07:49 file_magic: OK 00:07:49 HZ: Using current value: 100 00:07:49 file_header: OK 00:07:49 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 00:07:49 Statistics: 00:07:49 Hnuu...uuuununununu... 00:07:49 File successfully converted to sysstat format version 12.2.1 00:07:49 + sadf -c /var/log/sa-host/sa27 00:07:49 file_magic: OK 00:07:49 HZ: Using current value: 100 00:07:49 file_header: OK 00:07:49 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 00:07:49 Statistics: 00:07:49 HRHnuu...uuuununununu... 00:07:49 File successfully converted to sysstat format version 12.2.1 00:07:49 + sadf -c /var/log/sa-host/sa28 00:07:49 file_magic: OK 00:07:49 HZ: Using current value: 100 00:07:49 file_header: OK 00:07:49 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 00:07:49 Statistics: 00:07:49 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:07:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:50 provisioning config files... 00:07:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-756@tmp/config6757476096992744962tmp [Pipeline] { [Pipeline] echo 00:07:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:07:50 ---> create-netrc.sh [Pipeline] } 00:07:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:07:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:07:50 ---> python-tools-install.sh [Pipeline] echo 00:07:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:51 ---> sudo-logs.sh 00:07:51 Archiving 'sudo' log.. [Pipeline] echo 00:07:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:51 ---> job-cost.sh 00:07:51 lf-activate-venv: SKIPPING 00:07:51 INFO: No Stack... 00:07:52 INFO: Retrieving Pricing Info for: v1-standard-2 00:07:53 INFO: Archiving Costs [Pipeline] echo 00:07:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:53 ---> logs-deploy.sh 00:07:53 lf-activate-venv: SKIPPING 00:07:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-756/3 00:07:53 INFO: archiving workspace using pattern(s): 00:07:55 Archives upload complete. 00:07:55 INFO: archiving logs to Nexus