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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+2e0b14878cfb4a574be8745ab7c226ce26d53775 (68ba5e0a572f88c8223a87e3eb68ceb3483e10c7) 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-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-22167’ is offline; ‘prd-centos7-docker-4c-2g-22170’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-22169’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-22173 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 Merge succeeded, producing dd2d7b72684800c38176f58320e68061d2b6dc5c Checking out Revision dd2d7b72684800c38176f58320e68061d2b6dc5c (PR-725) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd2d7b72684800c38176f58320e68061d2b6dc5c # timeout=10 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 323969d8b0d68d395ac13414534f7318de76b2f3 # timeout=10 [Pipeline] timeout 02:43:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:21 ========================================================= 02:43:21 EdgeX Global Pipelines Version Info 02:43:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:23 ------------------- 02:43:23 stable info: 02:43:23 ------------------- 02:43:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:23 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:23 Message: update stable to v1.0.179 02:43:24 ------------------- 02:43:24 experimental info: 02:43:24 ------------------- 02:43:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:24 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:43:24 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:43:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd2d7b72684800c38176f58320e68061d2b6dc5c [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd2d7b7 [Pipeline] echo 02:43:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:28 provisioning config files... 02:43:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4199535128430228942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:29 ---> docker-login.sh 02:43:29 nexus3.edgexfoundry.org:10001 02:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:29 Configure a credential helper to remove this warning. See 02:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:29 02:43:30 Login Succeeded 02:43:30 nexus3.edgexfoundry.org:10002 02:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:30 Configure a credential helper to remove this warning. See 02:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:30 02:43:30 Login Succeeded 02:43:30 nexus3.edgexfoundry.org:10003 02:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:31 Configure a credential helper to remove this warning. See 02:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:31 02:43:31 Login Succeeded 02:43:31 nexus3.edgexfoundry.org:10004 02:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:31 Configure a credential helper to remove this warning. See 02:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:31 02:43:31 Login Succeeded 02:43:31 docker.io 02:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:32 Configure a credential helper to remove this warning. See 02:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:32 02:43:32 Login Succeeded 02:43:32 ---> docker-login.sh ends [Pipeline] } 02:43:32 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:33 + git log --format=format:%s -1 dd2d7b72684800c38176f58320e68061d2b6dc5c [Pipeline] echo 02:43:34 GIT_COMMIT: dd2d7b72684800c38176f58320e68061d2b6dc5c, Commit Message: Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD [Pipeline] echo 02:43:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:35 02:43:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:36 latest: Pulling from edgex-devops/git-semver 02:43:36 31603596830f: Pulling fs layer 02:43:36 2a8b12db71e7: Pulling fs layer 02:43:36 6ca5941a6612: Pulling fs layer 02:43:36 ecc8261a40a4: Pulling fs layer 02:43:36 ecc8261a40a4: Waiting 02:43:36 2a8b12db71e7: Verifying Checksum 02:43:36 2a8b12db71e7: Download complete 02:43:36 31603596830f: Download complete 02:43:37 6ca5941a6612: Verifying Checksum 02:43:37 6ca5941a6612: Download complete 02:43:37 ecc8261a40a4: Verifying Checksum 02:43:37 ecc8261a40a4: Download complete 02:43:37 31603596830f: Pull complete 02:43:37 2a8b12db71e7: Pull complete 02:43:39 6ca5941a6612: Pull complete 02:43:40 ecc8261a40a4: Pull complete 02:43:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:40 prd-centos7-docker-4c-2g-22173 does not seem to be running inside a container 02:43:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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:43:44 $ docker top 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:44 [ssh-agent] Looking for ssh-agent implementation... 02:43:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:44 $ docker exec 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d ssh-agent 02:43:45 SSH_AUTH_SOCK=/tmp/ssh-Pkhv2ySpMJNy/agent.13 02:43:45 SSH_AGENT_PID=19 02:43:45 Running ssh-add (command line suppressed) 02:43:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6880941408642804003.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6880941408642804003.key) 02:43:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:46 + git tag --points-at HEAD [Pipeline] } 02:43:46 $ docker exec --env ******** --env ******** 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d ssh-agent -k 02:43:46 unset SSH_AUTH_SOCK; 02:43:46 unset SSH_AGENT_PID; 02:43:46 echo Agent pid 19 killed; 02:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:46 [ssh-agent] Looking for ssh-agent implementation... 02:43:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:47 $ docker exec 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d ssh-agent 02:43:47 SSH_AUTH_SOCK=/tmp/ssh-ZwShgsK89u3W/agent.49 02:43:47 SSH_AGENT_PID=54 02:43:47 Running ssh-add (command line suppressed) 02:43:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6941969667151882514.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6941969667151882514.key) 02:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:48 + git semver init 02:43:48 # -> Open(): unable to determine branch for HEAD 02:43:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:48 # $SEMVER_REMOTE_NAME = origin 02:43:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:48 # $SEMVER_USER_NAME = edgex-jenkins 02:43:48 # $SEMVER_BRANCH = PR-725 02:43:48 # $SEMVER_TEMP = /tmp/semver-783686643 02:43:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:49 # '/tmp/semver-783686643' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:49 # -> Force: false 02:43:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:49 $ docker exec --env ******** --env ******** 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d ssh-agent -k 02:43:49 unset SSH_AUTH_SOCK; 02:43:49 unset SSH_AGENT_PID; 02:43:49 echo Agent pid 54 killed; 02:43:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:50 + git semver [Pipeline] } 02:43:50 $ docker stop --time=1 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d 02:43:52 $ docker rm -f 2f9961e9980fa385ed6f4ef519d03b3d7230e27589c22f92e6810258cc27681d [Pipeline] // withDockerContainer [Pipeline] sh 02:43:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:54 Stashed 1 file(s) [Pipeline] echo 02:43:54 [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:10 Still waiting to schedule task 02:44:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:44:10 Still waiting to schedule task 02:44:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 02:45:16 Running on prd-centos7-docker-4c-2g-22180 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:45:16 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:45:19 using credential edgex-jenkins-ssh 02:45:19 Cloning the remote Git repository 02:45:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:19 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:45:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:19 > git --version # timeout=10 02:45:19 > git --version # 'git version 2.24.3' 02:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:20 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:45:20 Merge succeeded, producing 865f39e068ec64f8b89347f50d6af06775ed93ac 02:45:20 Checking out Revision 865f39e068ec64f8b89347f50d6af06775ed93ac (PR-725) 02:45:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:20 > git config core.sparsecheckout # timeout=10 02:45:20 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:45:20 > git remote # timeout=10 02:45:20 > git config --get remote.origin.url # timeout=10 02:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:20 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:45:20 > git rev-parse HEAD^{commit} # timeout=10 02:45:20 > git config core.sparsecheckout # timeout=10 02:45:20 > git checkout -f 865f39e068ec64f8b89347f50d6af06775ed93ac # timeout=10 02:45:24 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:45:24 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:24 > git rev-list --no-walk 323969d8b0d68d395ac13414534f7318de76b2f3 # timeout=10 02:45:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:45:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:26 + sudo service docker restart 02:45:26 + true 02:45:26 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:27 provisioning config files... 02:45:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3454769672656182487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:27 ---> docker-login.sh 02:45:27 nexus3.edgexfoundry.org:10001 02:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:28 Configure a credential helper to remove this warning. See 02:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:28 02:45:28 Login Succeeded 02:45:28 nexus3.edgexfoundry.org:10002 02:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:28 Configure a credential helper to remove this warning. See 02:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:28 02:45:28 Login Succeeded 02:45:28 nexus3.edgexfoundry.org:10003 02:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:28 Configure a credential helper to remove this warning. See 02:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:28 02:45:28 Login Succeeded 02:45:28 nexus3.edgexfoundry.org:10004 02:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:28 Configure a credential helper to remove this warning. See 02:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:28 02:45:28 Login Succeeded 02:45:28 docker.io 02:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:29 Configure a credential helper to remove this warning. See 02:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:29 02:45:29 Login Succeeded 02:45:29 ---> docker-login.sh ends [Pipeline] } 02:45:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:29 ========================================================= 02:45:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:29 + 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:30 Sending build context to Docker daemon 2.55MB 02:45:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:30 Step 2/8 : FROM ${BASE} 02:45:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:30 188c0c94c7c5: Pulling fs layer 02:45:30 0ef7d3d256c8: Pulling fs layer 02:45:30 de9db76c5a1d: Pulling fs layer 02:45:30 bca2f99d35d6: Pulling fs layer 02:45:30 93359f2a8cfa: Pulling fs layer 02:45:30 7c6f9722023f: Pulling fs layer 02:45:30 a35cf1a2eb13: Pulling fs layer 02:45:30 93359f2a8cfa: Waiting 02:45:30 7c6f9722023f: Waiting 02:45:30 a35cf1a2eb13: Waiting 02:45:30 bca2f99d35d6: Waiting 02:45:30 de9db76c5a1d: Verifying Checksum 02:45:30 de9db76c5a1d: Download complete 02:45:30 0ef7d3d256c8: Verifying Checksum 02:45:30 0ef7d3d256c8: Download complete 02:45:30 93359f2a8cfa: Verifying Checksum 02:45:30 93359f2a8cfa: Download complete 02:45:30 188c0c94c7c5: Verifying Checksum 02:45:30 188c0c94c7c5: Download complete 02:45:30 7c6f9722023f: Verifying Checksum 02:45:30 7c6f9722023f: Download complete 02:45:30 188c0c94c7c5: Pull complete 02:45:30 0ef7d3d256c8: Pull complete 02:45:30 de9db76c5a1d: Pull complete 02:45:32 a35cf1a2eb13: Verifying Checksum 02:45:32 a35cf1a2eb13: Download complete 02:45:33 bca2f99d35d6: Verifying Checksum 02:45:33 bca2f99d35d6: Download complete 02:45:38 bca2f99d35d6: Pull complete 02:45:38 93359f2a8cfa: Pull complete 02:45:38 7c6f9722023f: Pull complete 02:45:46 a35cf1a2eb13: Pull complete 02:45:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:46 ---> a62c8e92a672 02:45:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:46 ---> Running in 402d72af9796 02:45:46 Removing intermediate container 402d72af9796 02:45:46 ---> f6451c68cd8f 02:45:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:46 ---> Running in 1677e3f1cbab 02:45:47 Removing intermediate container 1677e3f1cbab 02:45:47 ---> fcb31f469dc5 02:45:47 Step 5/8 : RUN apk add --update --no-cache make git 02:45:47 ---> Running in 163b9a0eb29f 02:45:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:51 OK: 166 MiB in 39 packages 02:45:51 Removing intermediate container 163b9a0eb29f 02:45:51 ---> a0db66bd0383 02:45:51 Step 6/8 : WORKDIR /device-sdk-go 02:45:51 ---> Running in 2927ebea57a9 02:45:52 Removing intermediate container 2927ebea57a9 02:45:52 ---> de2cdf078d41 02:45:52 Step 7/8 : COPY . . 02:45:53 ---> 860fb332dc98 02:45:53 Step 8/8 : RUN go mod download 02:45:53 ---> Running in 2d44c06ffb40 02:46:11 Removing intermediate container 2d44c06ffb40 02:46:11 ---> d1b8cbc20faa 02:46:11 Successfully built d1b8cbc20faa 02:46:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:12 + docker inspect -f . ci-base-image-x86_64 02:46:12 . [Pipeline] withDockerContainer 02:46:12 prd-centos7-docker-4c-2g-22180 does not seem to be running inside a container 02:46:12 $ 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:13 $ docker top 2c6c86f177acc9444be31ecc6e575e454307e48b7aee0ef0f38c47719a6262fb -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:13 + go version 02:46:13 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:13 $ docker stop --time=1 2c6c86f177acc9444be31ecc6e575e454307e48b7aee0ef0f38c47719a6262fb 02:46:14 $ docker rm -f 2c6c86f177acc9444be31ecc6e575e454307e48b7aee0ef0f38c47719a6262fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker inspect -f . ci-base-image-x86_64 02:46:15 . [Pipeline] withDockerContainer 02:46:16 prd-centos7-docker-4c-2g-22180 does not seem to be running inside a container 02:46:16 $ 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:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22181 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:46:16 $ docker top 44cd093e6793752bb5de62b31b73f901050a80cd2396ccc8115a95f2b515fda8 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 02:46:17 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 02:46:17 + make test 02:46:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:22 using credential edgex-jenkins-ssh 02:46:22 Cloning the remote Git repository 02:46:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:22 > git init /w/workspace/device-sdk-go/7 # timeout=10 02:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:22 > git --version # timeout=10 02:46:22 > git --version # 'git version 2.17.1' 02:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:24 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:25 Merge succeeded, producing 2eb56b4a69565418dcc66d3dd1fe8f536c2b6c7f 02:46:25 Checking out Revision 2eb56b4a69565418dcc66d3dd1fe8f536c2b6c7f (PR-725) 02:46:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:46:24 > git config core.sparsecheckout # timeout=10 02:46:24 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:24 > git remote # timeout=10 02:46:24 > git config --get remote.origin.url # timeout=10 02:46:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:24 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:46:25 > git rev-parse HEAD^{commit} # timeout=10 02:46:25 > git config core.sparsecheckout # timeout=10 02:46:25 > git checkout -f 2eb56b4a69565418dcc66d3dd1fe8f536c2b6c7f # timeout=10 02:46:29 Commit message: "Merge commit '2e0b14878cfb4a574be8745ab7c226ce26d53775' into HEAD" 02:46:29 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:29 > git rev-list --no-walk 323969d8b0d68d395ac13414534f7318de76b2f3 # timeout=10 02:46:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:32 + + true 02:46:32 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:34 provisioning config files... 02:46:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config7924584966119169702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:34 ---> docker-login.sh 02:46:34 nexus3.edgexfoundry.org:10001 02:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:35 Configure a credential helper to remove this warning. See 02:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:35 02:46:35 Login Succeeded 02:46:35 nexus3.edgexfoundry.org:10002 02:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:36 Configure a credential helper to remove this warning. See 02:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:36 02:46:36 Login Succeeded 02:46:36 nexus3.edgexfoundry.org:10003 02:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:36 Configure a credential helper to remove this warning. See 02:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:36 02:46:36 Login Succeeded 02:46:36 nexus3.edgexfoundry.org:10004 02:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:37 Configure a credential helper to remove this warning. See 02:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:37 02:46:37 Login Succeeded 02:46:37 docker.io 02:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:38 Configure a credential helper to remove this warning. See 02:46:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:38 02:46:38 Login Succeeded 02:46:38 ---> docker-login.sh ends [Pipeline] } 02:46:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:38 ========================================================= 02:46:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46: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 . 02:46:39 Sending build context to Docker daemon 2.558MB 02:46:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:39 Step 2/8 : FROM ${BASE} 02:46:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:39 5f621e34cdf4: Pulling fs layer 02:46:39 a4357932f1b6: Pulling fs layer 02:46:39 18c013af1878: Pulling fs layer 02:46:39 00ac8860ef70: Pulling fs layer 02:46:39 63d7cb157983: Pulling fs layer 02:46:39 b116817d02f9: Pulling fs layer 02:46:39 745a02a5169b: Pulling fs layer 02:46:39 00ac8860ef70: Waiting 02:46:39 63d7cb157983: Waiting 02:46:39 b116817d02f9: Waiting 02:46:39 745a02a5169b: Waiting 02:46:39 18c013af1878: Verifying Checksum 02:46:39 18c013af1878: Download complete 02:46:39 a4357932f1b6: Download complete 02:46:39 63d7cb157983: Download complete 02:46:39 b116817d02f9: Verifying Checksum 02:46:39 b116817d02f9: Download complete 02:46:39 5f621e34cdf4: Verifying Checksum 02:46:39 5f621e34cdf4: Download complete 02:46:40 5f621e34cdf4: Pull complete 02:46:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements 02:46:40 a4357932f1b6: Pull complete 02:46:41 18c013af1878: Pull complete 02:46:42 745a02a5169b: Verifying Checksum 02:46:42 745a02a5169b: Download complete 02:46:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.440s coverage: 97.1% of statements 02:46:43 00ac8860ef70: Verifying Checksum 02:46:43 00ac8860ef70: Download complete 02:46:53 00ac8860ef70: Pull complete 02:46:54 63d7cb157983: Pull complete 02:46:54 b116817d02f9: Pull complete 02:46:58 745a02a5169b: Pull complete 02:46:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:58 ---> b7e6874047d6 02:46:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:01 ---> Running in 49e3ea058462 02:47:01 Removing intermediate container 49e3ea058462 02:47:01 ---> f34bdc338e17 02:47:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:01 ---> Running in 9180f2e4c7c1 02:47:04 Removing intermediate container 9180f2e4c7c1 02:47:04 ---> d0235e4b78ca 02:47:04 Step 5/8 : RUN apk add --update --no-cache make git 02:47:04 ---> Running in 33b85eabb1a2 02:47:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:07 OK: 142 MiB in 39 packages 02:47:08 Removing intermediate container 33b85eabb1a2 02:47:08 ---> 4eb10a98787c 02:47:08 Step 6/8 : WORKDIR /device-sdk-go 02:47:08 ---> Running in 9e4400350435 02:47:09 Removing intermediate container 9e4400350435 02:47:09 ---> aef722079135 02:47:09 Step 7/8 : COPY . . 02:47:10 ---> 19307b520b0e 02:47:10 Step 8/8 : RUN go mod download 02:47:10 ---> Running in 43b55e2dc30e 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.075s coverage: 9.4% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.220s coverage: 43.2% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.259s coverage: 68.9% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 53.8% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.070s coverage: 26.8% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.349s coverage: 83.5% of statements 02:47:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 02:47:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:15 GO111MODULE=on go vet ./... 02:47:21 gofmt -l . 02:47:21 [ "`gofmt -l .`" = "" ] 02:47:21 ./bin/test-attribution-txt.sh 02:47:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:21 $ docker stop --time=1 44cd093e6793752bb5de62b31b73f901050a80cd2396ccc8115a95f2b515fda8 02:47:23 $ docker rm -f 44cd093e6793752bb5de62b31b73f901050a80cd2396ccc8115a95f2b515fda8 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:26 + ls -al . 02:47:26 total 216 02:47:26 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:47 . 02:47:26 drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 02:45 .. 02:47:26 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:45 bin 02:47:26 -rw-r--r--. 1 jenkins jenkins 136842 Jan 22 02:47 coverage.out 02:47:26 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:45 Dockerfile.build 02:47:26 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:45 .dockerignore 02:47:26 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:45 example 02:47:26 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 02:45 .git 02:47:26 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:45 .github 02:47:26 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:45 .gitignore 02:47:26 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:47 go.mod 02:47:26 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 02:47 go.sum 02:47:26 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:45 internal 02:47:26 -rw-rw-r--. 1 jenkins jenkins 894 Jan 22 02:45 Jenkinsfile 02:47:26 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:45 LICENSE 02:47:26 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:45 Makefile 02:47:26 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:45 openapi 02:47:26 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:45 pkg 02:47:26 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:45 README.md 02:47:26 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:45 RELEASE-NOTES.txt 02:47:26 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:45 snap 02:47:26 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 02:43 VERSION 02:47:26 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:26 + docker build -t 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=dd2d7b72684800c38176f58320e68061d2b6dc5c --label arch=amd64 --label version=0.0.0 . 02:47:27 Sending build context to Docker daemon 2.688MB 02:47:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:27 Step 2/24 : FROM ${BASE} AS builder 02:47:27 ---> d1b8cbc20faa 02:47:27 Step 3/24 : ARG MAKE='make build' 02:47:27 ---> Running in 3b78fdeb53d6 02:47:27 Removing intermediate container 3b78fdeb53d6 02:47:27 ---> 303717ed0121 02:47:27 Step 4/24 : WORKDIR /device-sdk-go 02:47:27 ---> Running in 925b0e6af0c8 02:47:27 Removing intermediate container 925b0e6af0c8 02:47:27 ---> 5a617212f5fe 02:47:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:28 ---> Running in 2b3e48f06611 02:47:28 Removing intermediate container 2b3e48f06611 02:47:28 ---> c98ae33c2f85 02:47:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:28 ---> Running in 64f7e254bb3f 02:47:29 Removing intermediate container 64f7e254bb3f 02:47:29 ---> e129d2ac3351 02:47:29 Step 7/24 : RUN apk add --update --no-cache make git 02:47:29 ---> Running in c857a3e36267 02:47:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:31 OK: 166 MiB in 39 packages 02:47:32 Removing intermediate container c857a3e36267 02:47:32 ---> d2dac2d2622e 02:47:32 Step 8/24 : COPY . . 02:47:33 ---> 3e0caa9167b5 02:47:33 Step 9/24 : RUN ${MAKE} 02:47:33 ---> Running in 0646bb41b4bb 02:47:34 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:47:37 Removing intermediate container 43b55e2dc30e 02:47:37 ---> 89a067376249 02:47:37 Successfully built 89a067376249 02:47:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:37 + docker inspect -f . ci-base-image-arm64 02:47:37 . [Pipeline] withDockerContainer 02:47:38 prd-ubuntu18.04-docker-arm64-4c-16g-22181 does not seem to be running inside a container 02:47:38 $ 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-arm64 cat 02:47:39 $ docker top 628110642e47de8c4fc6cf39d2c0ceb6011ac4f2a40d5e9dc18f331905a32738 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:40 + go version 02:47:40 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:40 $ docker stop --time=1 628110642e47de8c4fc6cf39d2c0ceb6011ac4f2a40d5e9dc18f331905a32738 02:47:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:42 $ docker rm -f 628110642e47de8c4fc6cf39d2c0ceb6011ac4f2a40d5e9dc18f331905a32738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:43 + docker inspect -f . ci-base-image-arm64 02:47:43 . [Pipeline] withDockerContainer 02:47:44 prd-ubuntu18.04-docker-arm64-4c-16g-22181 does not seem to be running inside a container 02:47:44 $ 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-arm64 cat 02:47:45 Removing intermediate container 0646bb41b4bb 02:47:45 ---> 1519f3f42c3d 02:47:45 Step 10/24 : FROM scratch 02:47:45 ---> 02:47:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:45 ---> Running in 4e0684379e3c 02:47:45 Removing intermediate container 4e0684379e3c 02:47:45 ---> 8871861fc67b 02:47:45 Step 12/24 : ENV APP_PORT=49990 02:47:45 ---> Running in 450b74559736 02:47:45 Removing intermediate container 450b74559736 02:47:45 ---> 03fef7206077 02:47:45 Step 13/24 : EXPOSE $APP_PORT 02:47:45 ---> Running in 9c9670a803db 02:47:45 Removing intermediate container 9c9670a803db 02:47:45 ---> 01022a92c448 02:47:45 Step 14/24 : WORKDIR / 02:47:45 ---> Running in a1d5c01b0d41 02:47:45 Removing intermediate container a1d5c01b0d41 02:47:45 ---> 98d2e96065ff 02:47:45 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:45 $ docker top 5838e72226e38566c4701c118034e38e3a567c01c3d23e4be21ec99f43512c91 -eo pid,comm 02:47:45 ---> 8e9fa3cd7767 02:47:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] { 02:47:46 ---> 32bc2526a83a 02:47:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] sh 02:47:46 ---> 719edfee9070 02:47:46 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:46 ---> 8d01e0bede4d 02:47:46 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:46 + make test 02:47:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:46 ---> 579087c0f15c 02:47:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:46 ---> Running in c0dbffdebe55 02:47:47 Removing intermediate container c0dbffdebe55 02:47:47 ---> 336b3ebe2aae 02:47:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:47 ---> Running in 872263e79fb9 02:47:47 Removing intermediate container 872263e79fb9 02:47:47 ---> ae695f3a1411 02:47:47 Step 22/24 : LABEL arch=amd64 02:47:47 ---> Running in 8ddaf360d36c 02:47:47 Removing intermediate container 8ddaf360d36c 02:47:47 ---> c6bc30a05cfd 02:47:47 Step 23/24 : LABEL git_sha=dd2d7b72684800c38176f58320e68061d2b6dc5c 02:47:47 ---> Running in cdc1298e9c5c 02:47:47 Removing intermediate container cdc1298e9c5c 02:47:47 ---> c3467fc490a3 02:47:47 Step 24/24 : LABEL version=0.0.0 02:47:47 ---> Running in 9c424b2990c5 02:47:47 Removing intermediate container 9c424b2990c5 02:47:47 ---> 0dcc9e1caf1e 02:47:47 [Warning] One or more build-args [ARCH] were not consumed 02:47:47 Successfully built 0dcc9e1caf1e 02:47:47 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:48:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 19.4% of statements 02:48:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.196s coverage: 97.1% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 9.4% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.621s coverage: 43.2% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.781s coverage: 68.9% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 53.8% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 26.8% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.881s coverage: 83.5% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:29 GO111MODULE=on go vet ./... 02:50:02 gofmt -l . 02:50:02 [ "`gofmt -l .`" = "" ] 02:50:02 ./bin/test-attribution-txt.sh 02:50:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:02 $ docker stop --time=1 5838e72226e38566c4701c118034e38e3a567c01c3d23e4be21ec99f43512c91 02:50:04 $ docker rm -f 5838e72226e38566c4701c118034e38e3a567c01c3d23e4be21ec99f43512c91 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:05 Warning: overwriting stash ‘coverage-report’ 02:50:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:07 + ls -al . 02:50:07 total 252 02:50:07 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:50 . 02:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 .. 02:50:07 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:46 .dockerignore 02:50:07 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:46 .git 02:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:46 .github 02:50:07 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:46 .gitignore 02:50:07 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:46 Dockerfile.build 02:50:07 -rw-rw-r-- 1 jenkins jenkins 894 Jan 22 02:46 Jenkinsfile 02:50:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:46 LICENSE 02:50:07 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:46 Makefile 02:50:07 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:46 README.md 02:50:07 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:46 RELEASE-NOTES.txt 02:50:07 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 02:43 VERSION 02:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:46 bin 02:50:07 -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 02:49 coverage.out 02:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 example 02:50:07 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:49 go.mod 02:50:07 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 02:50 go.sum 02:50:07 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:46 internal 02:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 openapi 02:50:07 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:46 pkg 02:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:46 snap 02:50:07 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:07 + docker build -t 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=dd2d7b72684800c38176f58320e68061d2b6dc5c --label arch=arm64 --label version=0.0.0 . 02:50:08 Sending build context to Docker daemon 2.696MB 02:50:08 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:50:08 Step 2/24 : FROM ${BASE} AS builder 02:50:08 ---> 89a067376249 02:50:08 Step 3/24 : ARG MAKE='make build' 02:50:08 ---> Running in 9988e831c3ed 02:50:09 Removing intermediate container 9988e831c3ed 02:50:09 ---> 9a7cceacebbf 02:50:09 Step 4/24 : WORKDIR /device-sdk-go 02:50:09 ---> Running in 7c44d0c94624 02:50:09 Removing intermediate container 7c44d0c94624 02:50:09 ---> 7d0e3b7ed2b2 02:50:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:09 ---> Running in 2e1b0475cee7 02:50:10 Removing intermediate container 2e1b0475cee7 02:50:10 ---> 3eb59abccbf8 02:50:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:10 ---> Running in 119efdb14caa 02:50:12 Removing intermediate container 119efdb14caa 02:50:12 ---> d2bb673b3aba 02:50:12 Step 7/24 : RUN apk add --update --no-cache make git 02:50:12 ---> Running in 86dbd99e41d7 02:50:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:16 OK: 142 MiB in 39 packages 02:50:17 Removing intermediate container 86dbd99e41d7 02:50:17 ---> 9aa1b6f6ed45 02:50:17 Step 8/24 : COPY . . 02:50:19 ---> 96ddde2a3b55 02:50:19 Step 9/24 : RUN ${MAKE} 02:50:19 ---> Running in 313ceafa3f50 02:50:20 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:50:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:47 Removing intermediate container 313ceafa3f50 02:50:47 ---> c04d249a8efe 02:50:47 Step 10/24 : FROM scratch 02:50:47 ---> 02:50:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:47 ---> Running in 9fd8c6c39808 02:50:47 Removing intermediate container 9fd8c6c39808 02:50:47 ---> 7ab7d2a94d96 02:50:47 Step 12/24 : ENV APP_PORT=49990 02:50:47 ---> Running in 8e3261503363 02:50:48 Removing intermediate container 8e3261503363 02:50:48 ---> 42ff7cb9ef9f 02:50:48 Step 13/24 : EXPOSE $APP_PORT 02:50:48 ---> Running in 6a48bdc84e22 02:50:48 Removing intermediate container 6a48bdc84e22 02:50:48 ---> 678141734cd0 02:50:48 Step 14/24 : WORKDIR / 02:50:48 ---> Running in 5822ddac59db 02:50:49 Removing intermediate container 5822ddac59db 02:50:49 ---> 3806553e7273 02:50:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:50 ---> fbc4c41f7362 02:50:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:51 ---> 77de45c8a5bb 02:50:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:51 ---> 6688b6dca293 02:50:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:52 ---> a137495b8e7c 02:50:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:53 ---> 2ad4517dc8f9 02:50:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:53 ---> Running in c6fa7e23f9f6 02:50:53 Removing intermediate container c6fa7e23f9f6 02:50:53 ---> 0e407eed8f63 02:50:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:53 ---> Running in 63d8e45d3aac 02:50:54 Removing intermediate container 63d8e45d3aac 02:50:54 ---> f9dddddf9d90 02:50:54 Step 22/24 : LABEL arch=arm64 02:50:54 ---> Running in e144297fdcc9 02:50:55 Removing intermediate container e144297fdcc9 02:50:55 ---> bedb63b65c39 02:50:55 Step 23/24 : LABEL git_sha=dd2d7b72684800c38176f58320e68061d2b6dc5c 02:50:55 ---> Running in 26cf11bc80c9 02:50:55 Removing intermediate container 26cf11bc80c9 02:50:55 ---> de5e8b416821 02:50:55 Step 24/24 : LABEL version=0.0.0 02:50:55 ---> Running in 49d7b7dc2f09 02:50:56 Removing intermediate container 49d7b7dc2f09 02:50:56 ---> 001a3a1611a3 02:50:56 [Warning] One or more build-args [ARCH] were not consumed 02:50:56 Successfully built 001a3a1611a3 02:50:56 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:50:57 provisioning config files... 02:50:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config3580358530926516872tmp [Pipeline] { [Pipeline] sh 02:50:58 + set +x 02:50:58 + curl -s https://codecov.io/bash 02:50:58 + bash -s -- 02:50:58 02:50:58 _____ _ 02:50:58 / ____| | | 02:50:58 | | ___ __| | ___ ___ _____ __ 02:50:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:58 Bash-20210115-cec3c92 02:50:58 02:50:58 02:50:58 ==> git version 2.24.3 found 02:50:58 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:50:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:58 ==> Jenkins CI detected. 02:50:58 project root: . 02:50:58 --> token set from env 02:50:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:58 ==> Running gcov in . (disable via -X gcov) 02:50:58 ==> Python coveragepy not found 02:50:58 ==> Searching for coverage reports in: 02:50:58 + . 02:50:58 -> Found 1 reports 02:50:58 ==> Detecting git/mercurial file structure 02:50:58 ==> Reading reports 02:50:58 + ./coverage.out bytes=136842 02:50:58 ==> Appending adjustments 02:50:58 https://docs.codecov.io/docs/fixing-reports 02:50:59 + Found adjustments 02:50:59 ==> Gzipping contents 02:50:59 24K /tmp/codecov.8E6x3a.gz 02:50:59 ==> Uploading reports 02:50:59 url: https://codecov.io 02:50:59 query: branch=PR-725&commit=dd2d7b72684800c38176f58320e68061d2b6dc5c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:50:59 -> Pinging Codecov 02:50:59 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-725&commit=dd2d7b72684800c38176f58320e68061d2b6dc5c&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:51:00 -> Uploading to 02:51:00 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/dd2d7b72684800c38176f58320e68061d2b6dc5c/fb526ac0-a4b5-4f5a-811a-5518763ccee2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T025100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e17d5f2018faaedf83b1f45e1c12b1e34390b551ea5819229fe43cf4db884193 02:51:00 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:00 Dload Upload Total Spent Left Speed 02:51:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21542 0 0 100 21542 0 39747 --:--:-- --:--:-- --:--:-- 39745 100 21542 0 0 100 21542 0 39726 --:--:-- --:--:-- --:--:-- 39745 02:51:00 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd2d7b72684800c38176f58320e68061d2b6dc5c [Pipeline] } 02:51:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:04 ---> package-listing.sh 02:51:04 ++ tr '[:upper:]' '[:lower:]' 02:51:04 ++ facter osfamily 02:51:04 + OS_FAMILY=redhat 02:51:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:51:04 + START_PACKAGES=/tmp/packages_start.txt 02:51:04 + END_PACKAGES=/tmp/packages_end.txt 02:51:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:04 + PACKAGES=/tmp/packages_start.txt 02:51:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:04 + PACKAGES=/tmp/packages_end.txt 02:51:04 + case "${OS_FAMILY}" in 02:51:04 + rpm -qa 02:51:04 + sort 02:51:11 + '[' -f /tmp/packages_start.txt ']' 02:51:11 + '[' -f /tmp/packages_end.txt ']' 02:51:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:51:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:51:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:51:11 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:12 02:51:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:13 alpine: Pulling from edgex-lftools-log-publisher 02:51:13 df20fa9351a1: Pulling fs layer 02:51:13 36b3adc4ff6f: Pulling fs layer 02:51:13 8ad3a11d3b57: Pulling fs layer 02:51:13 46f8f816bc3b: Pulling fs layer 02:51:13 93b61091891f: Pulling fs layer 02:51:13 93b9cdb0e59b: Pulling fs layer 02:51:13 5e14af77c1be: Pulling fs layer 02:51:13 01666e4c0597: Pulling fs layer 02:51:13 aa168da1d23b: Pulling fs layer 02:51:13 46f8f816bc3b: Waiting 02:51:13 93b61091891f: Waiting 02:51:13 93b9cdb0e59b: Waiting 02:51:13 5e14af77c1be: Waiting 02:51:13 01666e4c0597: Waiting 02:51:13 aa168da1d23b: Waiting 02:51:13 36b3adc4ff6f: Verifying Checksum 02:51:13 36b3adc4ff6f: Download complete 02:51:13 46f8f816bc3b: Verifying Checksum 02:51:13 46f8f816bc3b: Download complete 02:51:13 df20fa9351a1: Verifying Checksum 02:51:13 df20fa9351a1: Download complete 02:51:14 93b9cdb0e59b: Verifying Checksum 02:51:14 93b9cdb0e59b: Download complete 02:51:14 5e14af77c1be: Download complete 02:51:14 01666e4c0597: Verifying Checksum 02:51:14 01666e4c0597: Download complete 02:51:14 93b61091891f: Verifying Checksum 02:51:14 93b61091891f: Download complete 02:51:15 df20fa9351a1: Pull complete 02:51:15 8ad3a11d3b57: Verifying Checksum 02:51:15 8ad3a11d3b57: Download complete 02:51:15 36b3adc4ff6f: Pull complete 02:51:17 8ad3a11d3b57: Pull complete 02:51:17 46f8f816bc3b: Pull complete 02:51:18 93b61091891f: Pull complete 02:51:18 93b9cdb0e59b: Pull complete 02:51:18 5e14af77c1be: Pull complete 02:51:19 01666e4c0597: Pull complete 02:51:24 aa168da1d23b: Verifying Checksum 02:51:24 aa168da1d23b: Download complete 02:51:43 aa168da1d23b: Pull complete 02:51:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:44 prd-centos7-docker-4c-2g-22173 does not seem to be running inside a container 02:51: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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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:51:47 $ docker top da553d186181c5d2e718436b7dc62870589ffe3fd30858cefed77e179f4c0d49 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:49 + mkdir -p /var/log/sa [Pipeline] sh 02:51:49 + ls /var/log/sa-host 02:51:49 + sadf -c /var/log/sa-host/sa22 02:51:49 file_magic: OK 02:51:49 HZ: Using current value: 100 02:51:49 file_header: OK 02:51: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 02:51:49 Statistics: 02:51:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:49 File successfully converted to sysstat format version 12.2.1 02:51:49 + sadf -c /var/log/sa-host/sa23 02:51:49 file_magic: OK 02:51:49 HZ: Using current value: 100 02:51:49 file_header: OK 02:51: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 02:51:49 Statistics: 02:51:49 Hnuu...uuuununununu... 02:51:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:49 provisioning config files... 02:51:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4335392203925647897tmp [Pipeline] { [Pipeline] echo 02:51:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:50 ---> create-netrc.sh [Pipeline] } 02:51:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> python-tools-install.sh [Pipeline] echo 02:51:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> sudo-logs.sh 02:51:51 Archiving 'sudo' log.. [Pipeline] echo 02:51:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:52 ---> job-cost.sh 02:51:52 lf-activate-venv: SKIPPING 02:51:52 INFO: No Stack... 02:51:53 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:54 INFO: Archiving Costs [Pipeline] echo 02:51:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:54 ---> logs-deploy.sh 02:51:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/7 02:51:54 INFO: archiving workspace using pattern(s): 02:51:56 Archives upload complete. 02:51:57 INFO: archiving logs to Nexus 02:51:59 ---> uname -a: 02:51:59 Linux prd-centos7-docker-4c-2g-22173.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:51:59 02:51:59