Pull request #810 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 75663ab93bad3fbe0e90708ec208749593d2616e+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (6349b7fb6f1cd9085d26bd152c87adf618e60432) Running in Durability level: MAX_SURVIVABILITY 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-810/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-810/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28930 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 [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-810 # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 75663ab93bad3fbe0e90708ec208749593d2616e Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) > 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/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:29:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:29:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:29:24 ========================================================= 03:29:24 EdgeX Global Pipelines Version Info 03:29:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:29:26 ------------------- 03:29:26 stable info: 03:29:26 ------------------- 03:29:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:29:26 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 03:29:26 Message: update stable to v1.0.184 03:29:27 ------------------- 03:29:27 experimental info: 03:29:27 ------------------- 03:29:27 Commited By: **** collab-it+edgex@linuxfoundation.org 03:29:27 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 03:29:27 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:29:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:29:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:29:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:29:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:29:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:29:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-810 [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-810 [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-810 [Pipeline] echo 03:29:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] echo 03:29:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75663ab [Pipeline] echo 03:29:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:29:32 provisioning config files... 03:29:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config7126388659648271844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:32 ---> docker-login.sh 03:29:32 nexus3.edgexfoundry.org:10001 03:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:33 Configure a credential helper to remove this warning. See 03:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:33 03:29:33 Login Succeeded 03:29:33 nexus3.edgexfoundry.org:10002 03:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:33 Configure a credential helper to remove this warning. See 03:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:33 03:29:33 Login Succeeded 03:29:33 nexus3.edgexfoundry.org:10003 03:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:33 Configure a credential helper to remove this warning. See 03:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:33 03:29:33 Login Succeeded 03:29:33 nexus3.edgexfoundry.org:10004 03:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:34 Configure a credential helper to remove this warning. See 03:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:34 03:29:34 Login Succeeded 03:29:34 docker.io 03:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:34 Configure a credential helper to remove this warning. See 03:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:34 03:29:34 Login Succeeded 03:29:34 ---> docker-login.sh ends [Pipeline] } 03:29:34 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 03:29:35 + git log --format=format:%s -1 75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] echo 03:29:35 GIT_COMMIT: 75663ab93bad3fbe0e90708ec208749593d2616e, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 03:29:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:29:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:29:36 03:29:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:29:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:29:37 latest: Pulling from edgex-devops/git-semver 03:29:37 31603596830f: Pulling fs layer 03:29:37 2a8b12db71e7: Pulling fs layer 03:29:37 6ca5941a6612: Pulling fs layer 03:29:37 ecc8261a40a4: Pulling fs layer 03:29:37 ecc8261a40a4: Waiting 03:29:37 2a8b12db71e7: Verifying Checksum 03:29:37 2a8b12db71e7: Download complete 03:29:37 31603596830f: Verifying Checksum 03:29:37 31603596830f: Download complete 03:29:37 ecc8261a40a4: Verifying Checksum 03:29:37 ecc8261a40a4: Download complete 03:29:37 6ca5941a6612: Verifying Checksum 03:29:37 6ca5941a6612: Download complete 03:29:37 31603596830f: Pull complete 03:29:37 2a8b12db71e7: Pull complete 03:29:38 6ca5941a6612: Pull complete 03:29:39 ecc8261a40a4: Pull complete 03:29:39 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:29:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:29:39 prd-centos7-docker-4c-2g-28930 does not seem to be running inside a container 03:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-810 -v /w/workspace/dgexfoundry_device-sdk-go_PR-810:/w/workspace/dgexfoundry_device-sdk-go_PR-810:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-810@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:29:41 $ docker top 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:41 [ssh-agent] Looking for ssh-agent implementation... 03:29:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:42 $ docker exec 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent 03:29:42 SSH_AUTH_SOCK=/tmp/ssh-h3ifkGv4KtHP/agent.12 03:29:42 SSH_AGENT_PID=17 03:29:42 Running ssh-add (command line suppressed) 03:29:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_6422521753163248607.key (/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_6422521753163248607.key) 03:29:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:42 + git tag --points-at HEAD [Pipeline] } 03:29:42 $ docker exec --env ******** --env ******** 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent -k 03:29:42 unset SSH_AUTH_SOCK; 03:29:42 unset SSH_AGENT_PID; 03:29:42 echo Agent pid 17 killed; 03:29:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:29:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:43 [ssh-agent] Looking for ssh-agent implementation... 03:29:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:43 $ docker exec 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent 03:29:43 SSH_AUTH_SOCK=/tmp/ssh-OlUV0X23qZ02/agent.46 03:29:43 SSH_AGENT_PID=52 03:29:43 Running ssh-add (command line suppressed) 03:29:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_1137310092641910974.key (/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/private_key_1137310092641910974.key) 03:29:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:44 + git semver init 03:29:44 # -> Open(): unable to determine branch for HEAD 03:29:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-810/.git 03:29:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-810 03:29:44 # $SEMVER_REMOTE_NAME = origin 03:29:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:29:44 # $SEMVER_USER_NAME = edgex-jenkins 03:29:44 # $SEMVER_BRANCH = PR-810 03:29:44 # $SEMVER_TEMP = /tmp/semver-670622626 03:29:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:29:44 # '/tmp/semver-670622626' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-810/.semver' 03:29:44 # -> Force: false 03:29:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-810/.semver [Pipeline] } 03:29:44 $ docker exec --env ******** --env ******** 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c ssh-agent -k 03:29:44 unset SSH_AUTH_SOCK; 03:29:44 unset SSH_AGENT_PID; 03:29:44 echo Agent pid 52 killed; 03:29:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:29:45 + git semver [Pipeline] } 03:29:45 $ docker stop --time=1 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c 03:29:46 $ docker rm -f 234b8582665e700dcc5f0094ad67b643a37b35a60e08d21fe9c7471576cc337c [Pipeline] // withDockerContainer [Pipeline] sh 03:29:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:29:47 Stashed 1 file(s) [Pipeline] echo 03:29:47 [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 03:30:03 Still waiting to schedule task 03:30:03 ‘prd-centos7-docker-4c-2g-28925’ is offline; ‘prd-centos7-docker-4c-2g-28931’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-28926’ doesn’t have label ‘centos7-docker-4c-2g’ 03:30:03 Still waiting to schedule task 03:30:03 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:32:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28932 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 [Pipeline] { [Pipeline] ws 03:32:55 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:33:01 using credential edgex-jenkins-ssh 03:33:01 Cloning the remote Git repository 03:33:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:33:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:33:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:33:01 > git --version # timeout=10 03:33:01 > git --version # 'git version 2.17.1' 03:33:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:33:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:33:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:33:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:33:03 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 75663ab93bad3fbe0e90708ec208749593d2616e 03:33:03 Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e 03:33:03 Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) 03:33:03 > git config core.sparsecheckout # timeout=10 03:33:03 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 03:33:03 > git remote # timeout=10 03:33:03 > git config --get remote.origin.url # timeout=10 03:33:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:03 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 03:33:03 > git rev-parse HEAD^{commit} # timeout=10 03:33:03 > git config core.sparsecheckout # timeout=10 03:33:03 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 03:33:08 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 03:33:08 > git --version # timeout=10 03:33:08 > git --version # 'git version 2.17.1' 03:33:08 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:09 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:33:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:33:10 + sudo service docker restart 03:33:10 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:33:13 provisioning config files... 03:33:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1011950611199350291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:13 ---> docker-login.sh 03:33:13 nexus3.edgexfoundry.org:10001 03:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:15 Configure a credential helper to remove this warning. See 03:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:15 03:33:15 Login Succeeded 03:33:15 nexus3.edgexfoundry.org:10002 03:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:15 Configure a credential helper to remove this warning. See 03:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:15 03:33:15 Login Succeeded 03:33:15 nexus3.edgexfoundry.org:10003 03:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:15 Configure a credential helper to remove this warning. See 03:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:15 03:33:15 Login Succeeded 03:33:15 nexus3.edgexfoundry.org:10004 03:33:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:16 Configure a credential helper to remove this warning. See 03:33:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:16 03:33:16 Login Succeeded 03:33:16 docker.io 03:33:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:17 Configure a credential helper to remove this warning. See 03:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:17 03:33:17 Login Succeeded 03:33:17 ---> docker-login.sh ends [Pipeline] } 03:33:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:33:17 ========================================================= 03:33:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:33:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:33:18 + 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 . 03:33:18 Sending build context to Docker daemon 2.427MB 03:33:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:33:18 Step 2/8 : FROM ${BASE} 03:33:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:33:18 5f621e34cdf4: Pulling fs layer 03:33:18 a4357932f1b6: Pulling fs layer 03:33:18 18c013af1878: Pulling fs layer 03:33:18 00ac8860ef70: Pulling fs layer 03:33:18 63d7cb157983: Pulling fs layer 03:33:18 b116817d02f9: Pulling fs layer 03:33:18 745a02a5169b: Pulling fs layer 03:33:18 63d7cb157983: Waiting 03:33:18 b116817d02f9: Waiting 03:33:18 00ac8860ef70: Waiting 03:33:18 18c013af1878: Verifying Checksum 03:33:18 18c013af1878: Download complete 03:33:18 a4357932f1b6: Verifying Checksum 03:33:18 a4357932f1b6: Download complete 03:33:18 63d7cb157983: Verifying Checksum 03:33:18 63d7cb157983: Download complete 03:33:19 b116817d02f9: Download complete 03:33:19 5f621e34cdf4: Verifying Checksum 03:33:19 5f621e34cdf4: Download complete 03:33:20 5f621e34cdf4: Pull complete 03:33:20 a4357932f1b6: Pull complete 03:33:21 18c013af1878: Pull complete 03:33:21 745a02a5169b: Verifying Checksum 03:33:21 745a02a5169b: Download complete 03:33:23 00ac8860ef70: Verifying Checksum 03:33:23 00ac8860ef70: Download complete 03:33:33 00ac8860ef70: Pull complete 03:33:33 63d7cb157983: Pull complete 03:33:33 b116817d02f9: Pull complete 03:33:36 745a02a5169b: Pull complete 03:33:36 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:33:36 ---> b7e6874047d6 03:33:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:33:39 ---> Running in 1c16813dd848 03:33:39 Removing intermediate container 1c16813dd848 03:33:39 ---> 09edbc0eb57f 03:33:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:33:39 ---> Running in 2cb64843a274 03:33:42 Removing intermediate container 2cb64843a274 03:33:42 ---> 5d4bc50976f0 03:33:42 Step 5/8 : RUN apk add --update --no-cache make git 03:33:42 ---> Running in 4dd1afd7037c 03:33:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:33:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:33:44 OK: 142 MiB in 39 packages 03:33:45 Removing intermediate container 4dd1afd7037c 03:33:45 ---> e0fec0c62c9c 03:33:45 Step 6/8 : WORKDIR /device-sdk-go 03:33:45 ---> Running in a939c9d7812f 03:33:46 Removing intermediate container a939c9d7812f 03:33:46 ---> 6093b8f6957e 03:33:46 Step 7/8 : COPY . . 03:33:47 ---> e4e208f6f1a0 03:33:47 Step 8/8 : RUN go mod download 03:33:47 ---> Running in c60f30206e0c 03:34:14 Removing intermediate container c60f30206e0c 03:34:14 ---> dce64869d42d 03:34:14 Successfully built dce64869d42d 03:34:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:34:14 + docker inspect -f . ci-base-image-arm64 03:34:14 . [Pipeline] withDockerContainer 03:34:15 prd-ubuntu18.04-docker-arm64-4c-16g-28932 does not seem to be running inside a container 03:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 03:34:16 $ docker top ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:17 + go version 03:34:17 go version go1.15.5 linux/arm64 [Pipeline] } 03:34:18 $ docker stop --time=1 ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 03:34:19 $ docker rm -f ff58291db5b9afd58345275b0d9aeba1f5d1fc13a32762f48939e530bec1f1d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:34:21 + docker inspect -f . ci-base-image-arm64 03:34:21 . [Pipeline] withDockerContainer 03:34:21 prd-ubuntu18.04-docker-arm64-4c-16g-28932 does not seem to be running inside a container 03:34:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 03:34:21 Running on prd-centos7-docker-4c-2g-28933 in /w/workspace/dgexfoundry_device-sdk-go_PR-810 03:34:23 $ docker top 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 03:34:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:34:24 + make test 03:34:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:34:31 using credential edgex-jenkins-ssh 03:34:31 Cloning the remote Git repository 03:34:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:34:31 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:34:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:34:31 > git --version # timeout=10 03:34:31 > git --version # 'git version 2.24.3' 03:34:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:34:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:34:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:34:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:34:34 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit 75663ab93bad3fbe0e90708ec208749593d2616e 03:34:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:34:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:34:33 using GIT_SSH to set credentials SSH Credentials for GitHub 03:34:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/810/head:refs/remotes/origin/PR-810 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:34:34 > git config core.sparsecheckout # timeout=10 03:34:34 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 03:34:34 > git remote # timeout=10 03:34:34 Merge succeeded, producing 75663ab93bad3fbe0e90708ec208749593d2616e 03:34:34 Checking out Revision 75663ab93bad3fbe0e90708ec208749593d2616e (PR-810) 03:34:34 > git config --get remote.origin.url # timeout=10 03:34:34 using GIT_SSH to set credentials SSH Credentials for GitHub 03:34:34 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 03:34:34 > git rev-parse HEAD^{commit} # timeout=10 03:34:34 > git config core.sparsecheckout # timeout=10 03:34:34 > git checkout -f 75663ab93bad3fbe0e90708ec208749593d2616e # timeout=10 03:34:40 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 03:34:41 > git --version # timeout=10 03:34:41 > git --version # 'git version 2.24.3' 03:34:41 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:42 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:34:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:34:43 + sudo service docker restart 03:34:43 + true 03:34:43 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:34:45 provisioning config files... 03:34:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1000695208437410489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:34:46 ---> docker-login.sh 03:34:46 nexus3.edgexfoundry.org:10001 03:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:48 Configure a credential helper to remove this warning. See 03:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:48 03:34:48 Login Succeeded 03:34:48 nexus3.edgexfoundry.org:10002 03:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:49 Configure a credential helper to remove this warning. See 03:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:49 03:34:49 Login Succeeded 03:34:49 nexus3.edgexfoundry.org:10003 03:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:49 Configure a credential helper to remove this warning. See 03:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:49 03:34:49 Login Succeeded 03:34:49 nexus3.edgexfoundry.org:10004 03:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:50 Configure a credential helper to remove this warning. See 03:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:50 03:34:50 Login Succeeded 03:34:50 docker.io 03:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:34:50 Configure a credential helper to remove this warning. See 03:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:34:50 03:34:50 Login Succeeded 03:34:50 ---> docker-login.sh ends [Pipeline] } 03:34:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:34:51 ========================================================= 03:34:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:34:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:34:51 + 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 . 03:34:52 Sending build context to Docker daemon 2.426MB 03:34:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:34:52 Step 2/8 : FROM ${BASE} 03:34:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:34:52 188c0c94c7c5: Pulling fs layer 03:34:52 0ef7d3d256c8: Pulling fs layer 03:34:52 de9db76c5a1d: Pulling fs layer 03:34:52 bca2f99d35d6: Pulling fs layer 03:34:52 93359f2a8cfa: Pulling fs layer 03:34:52 7c6f9722023f: Pulling fs layer 03:34:52 a35cf1a2eb13: Pulling fs layer 03:34:52 93359f2a8cfa: Waiting 03:34:52 7c6f9722023f: Waiting 03:34:52 a35cf1a2eb13: Waiting 03:34:52 bca2f99d35d6: Waiting 03:34:52 de9db76c5a1d: Verifying Checksum 03:34:52 de9db76c5a1d: Download complete 03:34:52 0ef7d3d256c8: Download complete 03:34:52 93359f2a8cfa: Verifying Checksum 03:34:52 93359f2a8cfa: Download complete 03:34:52 7c6f9722023f: Verifying Checksum 03:34:52 7c6f9722023f: Download complete 03:34:53 188c0c94c7c5: Verifying Checksum 03:34:53 188c0c94c7c5: Download complete 03:34:54 188c0c94c7c5: Pull complete 03:34:55 0ef7d3d256c8: Pull complete 03:34:55 de9db76c5a1d: Pull complete 03:34:57 a35cf1a2eb13: Verifying Checksum 03:34:57 a35cf1a2eb13: Download complete 03:34:58 bca2f99d35d6: Verifying Checksum 03:34:58 bca2f99d35d6: Download complete 03:35:17 bca2f99d35d6: Pull complete 03:35:17 93359f2a8cfa: Pull complete 03:35:17 7c6f9722023f: Pull complete 03:35:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:35:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:35:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:35:28 a35cf1a2eb13: Pull complete 03:35:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:35:28 ---> a62c8e92a672 03:35:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:35:28 ---> Running in f6156680a5ed 03:35:28 Removing intermediate container f6156680a5ed 03:35:28 ---> 644c9333d276 03:35:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:28 ---> Running in 4e1e5f469a36 03:35:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.118s coverage: 25.5% of statements 03:35:32 Removing intermediate container 4e1e5f469a36 03:35:32 ---> 4e76407119a3 03:35:32 Step 5/8 : RUN apk add --update --no-cache make git 03:35:32 ---> Running in 626e999032f9 03:35:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:35:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:35:35 OK: 166 MiB in 39 packages 03:35:36 Removing intermediate container 626e999032f9 03:35:36 ---> af7030157599 03:35:36 Step 6/8 : WORKDIR /device-sdk-go 03:35:36 ---> Running in 26ac0f205b8e 03:35:37 Removing intermediate container 26ac0f205b8e 03:35:37 ---> 861fd2cb9d3b 03:35:37 Step 7/8 : COPY . . 03:35:41 ---> c8133218aad9 03:35:41 Step 8/8 : RUN go mod download 03:35:41 ---> Running in ae046d0ee983 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 10.5% of statements 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 12.5% of statements 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.155s coverage: 84.8% of statements 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 48.9% of statements 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.139s coverage: 81.3% of statements 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.177s coverage: 24.8% of statements 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.753s coverage: 85.6% of statements 03:35:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.2% of statements 03:35:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:35:59 GO111MODULE=on go vet ./... 03:36:20 Removing intermediate container ae046d0ee983 03:36:20 ---> 3f1a05008f73 03:36:20 Successfully built 3f1a05008f73 03:36:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:36:20 + docker inspect -f . ci-base-image-x86_64 03:36:22 . [Pipeline] withDockerContainer 03:36:22 prd-centos7-docker-4c-2g-28933 does not seem to be running inside a container 03:36:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 03:36:24 $ docker top 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:25 + go version 03:36:25 go version go1.15.5 linux/amd64 [Pipeline] } 03:36:25 $ docker stop --time=1 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 03:36:27 $ docker rm -f 954e269601e0d44c7055352622b775b315aeffc28e8ff87e18144f39a5981357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:36:28 + docker inspect -f . ci-base-image-x86_64 03:36:29 . [Pipeline] withDockerContainer 03:36:29 prd-centos7-docker-4c-2g-28933 does not seem to be running inside a container 03:36:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 03:36:31 gofmt -l . 03:36:31 [ "`gofmt -l .`" = "" ] 03:36:31 ./bin/test-attribution-txt.sh 03:36:31 $ docker top e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db -eo pid,comm 03:36:31 ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] sh [Pipeline] } 03:36:32 $ docker stop --time=1 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 03:36:33 + make test 03:36:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:36:34 $ docker rm -f 684d84e7147fece820c21b829f80c50c6643ed70e80183a9187fc677e4bcec51 [Pipeline] // withDockerContainer [Pipeline] sh 03:36:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:36:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:36:41 + ls -al . 03:36:41 total 220 03:36:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 03:36 . 03:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 .. 03:36:41 -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:33 .dockerignore 03:36:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:33 .git 03:36:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:33 .github 03:36:41 -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 03:33 .gitignore 03:36:41 -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 03:33 Dockerfile.build 03:36:41 -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 03:33 Jenkinsfile 03:36:41 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:33 LICENSE 03:36:41 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 03:33 Makefile 03:36:41 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 03:33 README.md 03:36:41 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 03:33 RELEASE-NOTES.txt 03:36:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 03:29 VERSION 03:36:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:33 bin 03:36:41 -rw-r--r-- 1 jenkins jenkins 101321 Mar 8 03:35 coverage.out 03:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 example 03:36:41 -rw-r--r-- 1 jenkins jenkins 516 Mar 8 03:36 go.mod 03:36:41 -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 03:36 go.sum 03:36:41 drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:33 internal 03:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 openapi 03:36:41 drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:33 pkg 03:36:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:33 snap 03:36:41 -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:33 version.go [Pipeline] isUnix [Pipeline] sh 03:36:41 + 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=75663ab93bad3fbe0e90708ec208749593d2616e --label arch=arm64 --label version=0.0.0 . 03:36:41 Sending build context to Docker daemon 2.529MB 03:36:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:36:42 Step 2/24 : FROM ${BASE} AS builder 03:36:42 ---> dce64869d42d 03:36:42 Step 3/24 : ARG MAKE='make build' 03:36:42 ---> Running in 39da2bdb3e6f 03:36:42 Removing intermediate container 39da2bdb3e6f 03:36:42 ---> aee357de3289 03:36:42 Step 4/24 : WORKDIR /device-sdk-go 03:36:42 ---> Running in 97be7091f11a 03:36:43 Removing intermediate container 97be7091f11a 03:36:43 ---> edc802593af9 03:36:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:36:43 ---> Running in fa01e89519ed 03:36:44 Removing intermediate container fa01e89519ed 03:36:44 ---> 0d7b78887597 03:36:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:36:44 ---> Running in e073b1725991 03:36:46 Removing intermediate container e073b1725991 03:36:46 ---> f7ad1b070203 03:36:46 Step 7/24 : RUN apk add --update --no-cache make git 03:36:46 ---> Running in 10a3967daaff 03:36:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:36:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:36:48 OK: 142 MiB in 39 packages 03:36:49 Removing intermediate container 10a3967daaff 03:36:49 ---> 99060a585bc4 03:36:49 Step 8/24 : COPY . . 03:36:51 ---> 6d37fd30ce0c 03:36:51 Step 9/24 : RUN ${MAKE} 03:36:51 ---> Running in 2bd3eee1340c 03:36:52 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 03:36:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:37:19 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:37:19 Removing intermediate container 2bd3eee1340c 03:37:19 ---> 2ee17e45d27c 03:37:19 Step 10/24 : FROM scratch 03:37:19 ---> 03:37:19 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:37:19 ---> Running in 1966f8ace423 03:37:19 Removing intermediate container 1966f8ace423 03:37:19 ---> 29479b82f9de 03:37:19 Step 12/24 : ENV APP_PORT=49990 03:37:20 ---> Running in 535285f8a121 03:37:20 Removing intermediate container 535285f8a121 03:37:20 ---> 895344267b56 03:37:20 Step 13/24 : EXPOSE $APP_PORT 03:37:20 ---> Running in fefd46a55346 03:37:21 Removing intermediate container fefd46a55346 03:37:21 ---> d570684cc189 03:37:21 Step 14/24 : WORKDIR / 03:37:21 ---> Running in ba31945cf1f6 03:37:21 Removing intermediate container ba31945cf1f6 03:37:21 ---> 878ab9db2d4c 03:37:21 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:37:22 ---> f708f147f327 03:37:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:37:23 ---> 9f0a52bbba92 03:37:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:37:23 ---> 123fb7921959 03:37:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:37:24 ---> 46593fc3905b 03:37:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:37:25 ---> 9bff3527918b 03:37:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:37:25 ---> Running in 438cbcfd7ba7 03:37:25 Removing intermediate container 438cbcfd7ba7 03:37:25 ---> 64f3ae3b3e89 03:37:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:37:26 ---> Running in 7455801efe73 03:37:26 Removing intermediate container 7455801efe73 03:37:26 ---> 005fe8bb477f 03:37:26 Step 22/24 : LABEL arch=arm64 03:37:26 ---> Running in b6e321c8671e 03:37:27 Removing intermediate container b6e321c8671e 03:37:27 ---> 3cff6307ce79 03:37:27 Step 23/24 : LABEL git_sha=75663ab93bad3fbe0e90708ec208749593d2616e 03:37:27 ---> Running in a1e80e068eaf 03:37:27 Removing intermediate container a1e80e068eaf 03:37:27 ---> ce6b0d81d78c 03:37:27 Step 24/24 : LABEL version=0.0.0 03:37:27 ---> Running in bd7b5d6939e8 03:37:28 Removing intermediate container bd7b5d6939e8 03:37:28 ---> f7b004ad0e99 03:37:28 [Warning] One or more build-args [ARCH] were not consumed 03:37:28 Successfully built f7b004ad0e99 03:37:28 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 Post stage [Pipeline] libraryResource [Pipeline] sh 03:37:29 ---> job-cost.sh 03:37:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lVsZ 03:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:37:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:37:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.211s coverage: 25.5% of statements 03:38:08 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.098s coverage: 10.5% of statements 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.149s coverage: 12.5% of statements 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.138s coverage: 84.8% of statements 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.157s coverage: 48.9% of statements 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.118s coverage: 81.3% of statements 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.138s coverage: 24.8% of statements 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.419s coverage: 85.6% of statements 03:38:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 5.2% of statements 03:38:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:38:19 GO111MODULE=on go vet ./... 03:38:52 gofmt -l . 03:38:52 [ "`gofmt -l .`" = "" ] 03:38:52 ./bin/test-attribution-txt.sh 03:38:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:38:53 $ docker stop --time=1 e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db 03:38:56 $ docker rm -f e88e03d98c79040cb4b80d81a202d337942f8d51ac07f9d464aca3ae0415c6db [Pipeline] // withDockerContainer [Pipeline] sh 03:38:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:57 Warning: overwriting stash ‘coverage-report’ 03:38:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:38:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:00 + ls -al . 03:39:00 total 184 03:39:00 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 03:38 . 03:39:00 drwxrwxr-x. 4 jenkins jenkins 28 Mar 8 03:34 .. 03:39:00 drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 03:34 bin 03:39:00 -rw-r--r--. 1 jenkins jenkins 101321 Mar 8 03:38 coverage.out 03:39:00 -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 03:34 Dockerfile.build 03:39:00 -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 03:34 .dockerignore 03:39:00 drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 03:34 example 03:39:00 drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 03:34 .git 03:39:00 drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 03:34 .github 03:39:00 -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 03:34 .gitignore 03:39:00 -rw-r--r--. 1 jenkins jenkins 516 Mar 8 03:38 go.mod 03:39:00 -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 03:38 go.sum 03:39:00 drwxrwxr-x. 13 jenkins jenkins 183 Mar 8 03:34 internal 03:39:00 -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 03:34 Jenkinsfile 03:39:00 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 03:34 LICENSE 03:39:00 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 03:34 Makefile 03:39:00 drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 03:34 openapi 03:39:00 drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 03:34 pkg 03:39:00 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 03:34 README.md 03:39:00 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 03:34 RELEASE-NOTES.txt 03:39:00 drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 03:34 snap 03:39:00 -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 03:29 VERSION 03:39:00 -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 03:34 version.go [Pipeline] isUnix [Pipeline] sh 03:39:00 + 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=75663ab93bad3fbe0e90708ec208749593d2616e --label arch=amd64 --label version=0.0.0 . 03:39:00 Sending build context to Docker daemon 2.528MB 03:39:01 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:39:01 Step 2/24 : FROM ${BASE} AS builder 03:39:01 ---> 3f1a05008f73 03:39:01 Step 3/24 : ARG MAKE='make build' 03:39:01 ---> Running in eb3b680a8076 03:39:02 Removing intermediate container eb3b680a8076 03:39:02 ---> f6c7fe8be115 03:39:02 Step 4/24 : WORKDIR /device-sdk-go 03:39:02 ---> Running in 639cf3d61a3b 03:39:03 Removing intermediate container 639cf3d61a3b 03:39:03 ---> 35e365060733 03:39:03 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:03 ---> Running in 16b315ce8ae3 03:39:04 Removing intermediate container 16b315ce8ae3 03:39:04 ---> 8cee0500badf 03:39:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:04 ---> Running in 25f80e2485ed 03:39:07 Removing intermediate container 25f80e2485ed 03:39:07 ---> 100a86bf7dd4 03:39:07 Step 7/24 : RUN apk add --update --no-cache make git 03:39:07 ---> Running in d6c76d67dfe4 03:39:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:39:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:39:09 OK: 166 MiB in 39 packages 03:39:10 Removing intermediate container d6c76d67dfe4 03:39:10 ---> b9f4db284df7 03:39:10 Step 8/24 : COPY . . 03:39:11 ---> 9914af5123d0 03:39:11 Step 9/24 : RUN ${MAKE} 03:39:11 ---> Running in f361b6a08cde 03:39:12 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 03:39:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:39:48 Removing intermediate container f361b6a08cde 03:39:48 ---> 9d3b39ab9495 03:39:48 Step 10/24 : FROM scratch 03:39:48 ---> 03:39:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:39:49 ---> Running in 9d5571bd357c 03:39:49 Removing intermediate container 9d5571bd357c 03:39:49 ---> 190ba095e679 03:39:49 Step 12/24 : ENV APP_PORT=49990 03:39:49 ---> Running in e8b98fbce097 03:39:49 Removing intermediate container e8b98fbce097 03:39:49 ---> 4a0cfeef3a20 03:39:49 Step 13/24 : EXPOSE $APP_PORT 03:39:49 ---> Running in 82560332bdf6 03:39:50 Removing intermediate container 82560332bdf6 03:39:50 ---> 9b3537435d9f 03:39:50 Step 14/24 : WORKDIR / 03:39:50 ---> Running in ae2ba3630242 03:39:50 Removing intermediate container ae2ba3630242 03:39:50 ---> dd72a3db94ca 03:39:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:39:51 ---> 5af3774090e9 03:39:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:39:52 ---> a4a66cd37e39 03:39:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:39:53 ---> 597ff0e3ba90 03:39:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:39:54 ---> c4d3cb9b6048 03:39:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:39:55 ---> 98a8686ec7b1 03:39:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:39:55 ---> Running in 0c213837dd8d 03:39:55 Removing intermediate container 0c213837dd8d 03:39:55 ---> eab66ca6958a 03:39:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:39:55 ---> Running in 0854f629f673 03:39:56 Removing intermediate container 0854f629f673 03:39:56 ---> bbcfac248b7d 03:39:56 Step 22/24 : LABEL arch=amd64 03:39:56 ---> Running in b676309c95b5 03:39:56 Removing intermediate container b676309c95b5 03:39:56 ---> e7bd11717154 03:39:56 Step 23/24 : LABEL git_sha=75663ab93bad3fbe0e90708ec208749593d2616e 03:39:56 ---> Running in a7a4550dc089 03:39:56 Removing intermediate container a7a4550dc089 03:39:56 ---> 16411e9b729d 03:39:56 Step 24/24 : LABEL version=0.0.0 03:39:57 ---> Running in 3d5b71cc3580 03:39:57 Removing intermediate container 3d5b71cc3580 03:39:57 ---> c7289ab97f69 03:39:57 [Warning] One or more build-args [ARCH] were not consumed 03:39:57 Successfully built c7289ab97f69 03:39:57 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 Post stage [Pipeline] libraryResource [Pipeline] sh 03:39:58 ---> job-cost.sh 03:39:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uB99 03:40:15 lf-activate-venv(): INFO: Adding /tmp/venv-lVsZ/bin to PATH 03:40:15 INFO: No Stack... 03:40:15 INFO: Retrieving Pricing Info for: lf-standard-4 03:40:15 INFO: Archiving Costs [Pipeline] sh 03:40:15 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv 03:40:15 -d, -f6 [Pipeline] lock 03:40:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] 03:40:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] did not exist. Created. 03:40:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:16 + echo total: 0.20999999344348907 [Pipeline] stash 03:40:16 Stashed 1 file(s) [Pipeline] } 03:40:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:40:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:41:19 lf-activate-venv(): INFO: Adding /tmp/venv-uB99/bin to PATH 03:41:19 INFO: No Stack... 03:41:19 INFO: Retrieving Pricing Info for: v1-standard-2 03:41:19 INFO: Archiving Costs [Pipeline] sh 03:41:19 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:41:19 + cut -d, -f6 [Pipeline] lock 03:41:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] 03:41:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] did not exist. Created. 03:41:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:41:20 /w/workspace/device-sdk-go/1@tmp/durable-bf833214/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 03:41:20 + echo total: 0.029999999329447746 [Pipeline] stash 03:41:20 Warning: overwriting stash ‘stack-cost’ 03:41:20 Stashed 1 file(s) [Pipeline] } 03:41:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-810-1-stack-cost] [Pipeline] // lock [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 03:41:22 provisioning config files... 03:41:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config2909717809963143509tmp [Pipeline] { [Pipeline] sh 03:41:23 + set +x 03:41:23 + curl -s https://codecov.io/bash 03:41:23 + bash -s -- 03:41:23 03:41:23 _____ _ 03:41:23 / ____| | | 03:41:23 | | ___ __| | ___ ___ _____ __ 03:41:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:41:23 | |___| (_) | (_| | __/ (_| (_) \ V / 03:41:23 \_____\___/ \__,_|\___|\___\___/ \_/ 03:41:23 Bash-20210226-7100762 03:41:23 03:41:23 03:41:23 ==> git version 2.24.3 found 03:41:23 ==> 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 03:41:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:41:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:41:23 ==> Jenkins CI detected. 03:41:23 project root: . 03:41:23 --> token set from env 03:41:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:41:23 ==> Running gcov in . (disable via -X gcov) 03:41:23 ==> Python coveragepy not found 03:41:23 ==> Searching for coverage reports in: 03:41:23 + . 03:41:23 -> Found 1 reports 03:41:23 ==> Detecting git/mercurial file structure 03:41:23 ==> Reading reports 03:41:23 + ./coverage.out bytes=101321 03:41:23 ==> Appending adjustments 03:41:23 https://docs.codecov.io/docs/fixing-reports 03:41:23 + Found adjustments 03:41:23 ==> Gzipping contents 03:41:23 20K /tmp/codecov.DbEwtX.gz 03:41:23 ==> Uploading reports 03:41:23 url: https://codecov.io 03:41:23 query: branch=PR-810&commit=75663ab93bad3fbe0e90708ec208749593d2616e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-810%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=810&job=&cmd_args= 03:41:23 -> Pinging Codecov 03:41:23 https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-810&commit=75663ab93bad3fbe0e90708ec208749593d2616e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-810%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=810&job=&cmd_args= 03:41:24 -> Uploading to 03:41:24 https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/75663ab93bad3fbe0e90708ec208749593d2616e/5ce8c6d0-f093-421c-a0fa-9ffbaa3cd59c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T034124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad7727391419c2bf51571b8e96dad69e1135d03bb8ecb0bce7c666fcd3cc33b6 03:41:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:41:24 Dload Upload Total Spent Left Speed 03:41:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16463 0 0 100 16463 0 34668 --:--:-- --:--:-- --:--:-- 34658 100 16463 0 0 100 16463 0 34656 --:--:-- --:--:-- --:--:-- 34658 03:41:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/75663ab93bad3fbe0e90708ec208749593d2616e [Pipeline] } 03:41: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] { (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 03:41:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:41:28 ---> package-listing.sh 03:41:28 ++ facter osfamily 03:41:28 ++ tr '[:upper:]' '[:lower:]' 03:41:28 + OS_FAMILY=redhat 03:41:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-810 03:41:28 + START_PACKAGES=/tmp/packages_start.txt 03:41:28 + END_PACKAGES=/tmp/packages_end.txt 03:41:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:41:28 + PACKAGES=/tmp/packages_start.txt 03:41:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-810 ']' 03:41:28 + PACKAGES=/tmp/packages_end.txt 03:41:28 + case "${OS_FAMILY}" in 03:41:28 + rpm -qa 03:41:28 + sort 03:41:33 + '[' -f /tmp/packages_start.txt ']' 03:41:33 + '[' -f /tmp/packages_end.txt ']' 03:41:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:41:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-810 ']' 03:41:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-810/archives/ 03:41:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-810/archives/ [Pipeline] echo 03:41: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-810/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:41:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:34 03:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:41:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:34 alpine: Pulling from edgex-lftools-log-publisher 03:41:34 df20fa9351a1: Pulling fs layer 03:41:34 36b3adc4ff6f: Pulling fs layer 03:41:34 8ad3a11d3b57: Pulling fs layer 03:41:34 46f8f816bc3b: Pulling fs layer 03:41:34 93b61091891f: Pulling fs layer 03:41:34 93b9cdb0e59b: Pulling fs layer 03:41:34 5e14af77c1be: Pulling fs layer 03:41:34 01666e4c0597: Pulling fs layer 03:41:34 aa168da1d23b: Pulling fs layer 03:41:34 46f8f816bc3b: Waiting 03:41:34 5e14af77c1be: Waiting 03:41:34 93b61091891f: Waiting 03:41:34 aa168da1d23b: Waiting 03:41:34 01666e4c0597: Waiting 03:41:34 93b9cdb0e59b: Waiting 03:41:34 36b3adc4ff6f: Download complete 03:41:34 46f8f816bc3b: Verifying Checksum 03:41:34 46f8f816bc3b: Download complete 03:41:35 df20fa9351a1: Download complete 03:41:35 93b9cdb0e59b: Verifying Checksum 03:41:35 93b9cdb0e59b: Download complete 03:41:35 93b61091891f: Download complete 03:41:35 5e14af77c1be: Verifying Checksum 03:41:35 5e14af77c1be: Download complete 03:41:35 01666e4c0597: Verifying Checksum 03:41:35 01666e4c0597: Download complete 03:41:35 df20fa9351a1: Pull complete 03:41:35 36b3adc4ff6f: Pull complete 03:41:36 8ad3a11d3b57: Verifying Checksum 03:41:36 8ad3a11d3b57: Download complete 03:41:36 8ad3a11d3b57: Pull complete 03:41:36 46f8f816bc3b: Pull complete 03:41:37 aa168da1d23b: Verifying Checksum 03:41:37 aa168da1d23b: Download complete 03:41:38 93b61091891f: Pull complete 03:41:38 93b9cdb0e59b: Pull complete 03:41:38 5e14af77c1be: Pull complete 03:41:38 01666e4c0597: Pull complete 03:41:45 aa168da1d23b: Pull complete 03:41:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:41:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:41:45 prd-centos7-docker-4c-2g-28930 does not seem to be running inside a container 03:41:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-810/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-810 -v /w/workspace/dgexfoundry_device-sdk-go_PR-810:/w/workspace/dgexfoundry_device-sdk-go_PR-810:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:41:48 $ docker top b27650409cd1324c4b45b300e09fb2c2c341c7454356860cec8a02bf98110542 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:49 + touch /tmp/pre-build-complete [Pipeline] sh 03:41:49 + mkdir -p /var/log/sa [Pipeline] sh 03:41:50 + ls /var/log/sa-host 03:41:50 + sadf -c /var/log/sa-host/sa08 03:41:50 file_magic: OK 03:41:50 HZ: Using current value: 100 03:41:50 file_header: OK 03:41:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:41:50 Statistics: 03:41:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:41:50 File successfully converted to sysstat format version 12.2.1 03:41:50 + sadf -c /var/log/sa-host/sa23 03:41:50 file_magic: OK 03:41:50 HZ: Using current value: 100 03:41:50 file_header: OK 03:41:50 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:41:50 Statistics: 03:41:50 Hnuu...uuuununununu... 03:41:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:41:50 provisioning config files... 03:41:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-810@tmp/config5016530435980074363tmp [Pipeline] { [Pipeline] echo 03:41:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:41:50 ---> create-netrc.sh [Pipeline] } 03:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:41:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:41:51 ---> python-tools-install.sh [Pipeline] echo 03:41:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:41:51 ---> sudo-logs.sh 03:41:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:41:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:41:52 ---> job-cost.sh 03:41:52 lf-activate-venv: SKIPPING 03:41:52 DEBUG: total: 0.029999999329447746 03:41:52 INFO: Retrieving Stack Cost... 03:41:53 INFO: Retrieving Pricing Info for: v1-standard-2 03:41:53 INFO: Archiving Costs [Pipeline] echo 03:41:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:41:53 ---> logs-deploy.sh 03:41:53 lf-activate-venv: SKIPPING 03:41:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-810/1 03:41:53 INFO: archiving workspace using pattern(s): 03:41:55 Archives upload complete. 03:41:55 INFO: archiving logs to Nexus