Pull request #818 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 691fc8b9f319e7052e6cfef84f2f113a2a103960+4a48ed36b56f70f387819c322f1a51e9c7883451 (20c44d30f2cc3d9587f72a67b7d58bcbc0b29b8c) 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-818/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-818/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 ‘prd-centos7-docker-4c-2g-29930’ Running on prd-centos7-docker-4c-2g-29932 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [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-818 # 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 > 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/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) > git config core.sparsecheckout # timeout=10 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # 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 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 Commit message: "feat: add GetProfileByName function API" 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 04:04:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:43 ========================================================= 04:04:43 EdgeX Global Pipelines Version Info 04:04:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:46 ------------------- 04:04:46 stable info: 04:04:46 ------------------- 04:04:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:46 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:04:46 Message: update stable to v1.0.184 04:04:47 ------------------- 04:04:47 experimental info: 04:04:47 ------------------- 04:04:47 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:47 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:04:47 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:04:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-818 [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-818 [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-818 [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 691fc8b [Pipeline] echo 04:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:04:52 provisioning config files... 04:04:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config50867435194875374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:53 ---> docker-login.sh 04:04:53 nexus3.edgexfoundry.org:10001 04:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:56 Configure a credential helper to remove this warning. See 04:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:56 04:04:56 Login Succeeded 04:04:56 nexus3.edgexfoundry.org:10002 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 nexus3.edgexfoundry.org:10003 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 nexus3.edgexfoundry.org:10004 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:58 Configure a credential helper to remove this warning. See 04:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:58 04:04:58 Login Succeeded 04:04:58 docker.io 04:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:58 Configure a credential helper to remove this warning. See 04:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:58 04:04:58 Login Succeeded 04:04:58 ---> docker-login.sh ends [Pipeline] } 04:04:58 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 04:04:59 + git log --format=format:%s -1 691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] echo 04:04:59 GIT_COMMIT: 691fc8b9f319e7052e6cfef84f2f113a2a103960, Commit Message: feat: add GetProfileByName function API [Pipeline] echo 04:04:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:00 04:05:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:05:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:01 latest: Pulling from edgex-devops/git-semver 04:05:01 31603596830f: Pulling fs layer 04:05:01 2a8b12db71e7: Pulling fs layer 04:05:01 6ca5941a6612: Pulling fs layer 04:05:01 ecc8261a40a4: Pulling fs layer 04:05:01 ecc8261a40a4: Waiting 04:05:01 2a8b12db71e7: Verifying Checksum 04:05:01 2a8b12db71e7: Download complete 04:05:02 31603596830f: Verifying Checksum 04:05:02 31603596830f: Download complete 04:05:02 ecc8261a40a4: Verifying Checksum 04:05:02 ecc8261a40a4: Download complete 04:05:02 6ca5941a6612: Verifying Checksum 04:05:02 6ca5941a6612: Download complete 04:05:02 31603596830f: Pull complete 04:05:03 2a8b12db71e7: Pull complete 04:05:05 6ca5941a6612: Pull complete 04:05:06 ecc8261a40a4: Pull complete 04:05:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:05:06 prd-centos7-docker-4c-2g-29932 does not seem to be running inside a container 04:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-818 -v /w/workspace/dgexfoundry_device-sdk-go_PR-818:/w/workspace/dgexfoundry_device-sdk-go_PR-818:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:05:11 $ docker top d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:11 [ssh-agent] Looking for ssh-agent implementation... 04:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:12 $ docker exec d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent 04:05:13 SSH_AUTH_SOCK=/tmp/ssh-nly4YLDsya0p/agent.11 04:05:13 SSH_AGENT_PID=16 04:05:13 Running ssh-add (command line suppressed) 04:05:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_5905054200930076591.key (/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_5905054200930076591.key) 04:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:14 + git tag --points-at HEAD [Pipeline] } 04:05:14 $ docker exec --env ******** --env ******** d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent -k 04:05:15 unset SSH_AUTH_SOCK; 04:05:15 unset SSH_AGENT_PID; 04:05:15 echo Agent pid 16 killed; 04:05:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:15 [ssh-agent] Looking for ssh-agent implementation... 04:05:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:16 $ docker exec d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent 04:05:16 SSH_AUTH_SOCK=/tmp/ssh-rrZ6J7vVEHnk/agent.44 04:05:16 SSH_AGENT_PID=49 04:05:16 Running ssh-add (command line suppressed) 04:05:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_1733284928352895106.key (/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/private_key_1733284928352895106.key) 04:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:17 + git semver init 04:05:17 # -> Open(): unable to determine branch for HEAD 04:05:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-818/.git 04:05:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-818 04:05:17 # $SEMVER_REMOTE_NAME = origin 04:05:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:05:17 # $SEMVER_USER_NAME = edgex-jenkins 04:05:17 # $SEMVER_BRANCH = PR-818 04:05:17 # $SEMVER_TEMP = /tmp/semver-261104402 04:05:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:05:18 # '/tmp/semver-261104402' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-818/.semver' 04:05:18 # -> Force: false 04:05:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-818/.semver [Pipeline] } 04:05:18 $ docker exec --env ******** --env ******** d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe ssh-agent -k 04:05:19 unset SSH_AUTH_SOCK; 04:05:19 unset SSH_AGENT_PID; 04:05:19 echo Agent pid 49 killed; 04:05:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:19 + git semver [Pipeline] } 04:05:19 $ docker stop --time=1 d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe 04:05:21 $ docker rm -f d929b751a58dc16b846ea5b731e56b80edfcf37176eb9ccc3f4446f80569b5fe [Pipeline] // withDockerContainer [Pipeline] sh 04:05:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:23 Stashed 1 file(s) [Pipeline] echo 04:05:23 [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 04:05:39 Still waiting to schedule task 04:05:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:05:39 Still waiting to schedule task 04:05:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:08:27 Running on prd-centos7-docker-4c-2g-29934 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [Pipeline] { [Pipeline] ws 04:08:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:08:30 using credential edgex-jenkins-ssh 04:08:30 Cloning the remote Git repository 04:08:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:30 > git --version # timeout=10 04:08:30 > git --version # 'git version 2.24.3' 04:08:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:08:31 Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 04:08:31 Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 04:08:31 Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) 04:08:31 > git config core.sparsecheckout # timeout=10 04:08:31 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 04:08:31 > git remote # timeout=10 04:08:31 > git config --get remote.origin.url # timeout=10 04:08:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:31 > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 04:08:31 > git rev-parse HEAD^{commit} # timeout=10 04:08:31 > git config core.sparsecheckout # timeout=10 04:08:31 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 04:08:35 Commit message: "feat: add GetProfileByName function API" 04:08:35 > git --version # timeout=10 04:08:35 > git --version # 'git version 2.24.3' 04:08:35 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:08:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:08:37 + true 04:08:37 + sudo service docker restart 04:08:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:08:39 provisioning config files... 04:08:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7557348405024204836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:39 ---> docker-login.sh 04:08:39 nexus3.edgexfoundry.org:10001 04:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:40 Configure a credential helper to remove this warning. See 04:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:40 04:08:40 Login Succeeded 04:08:40 nexus3.edgexfoundry.org:10002 04:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:40 Configure a credential helper to remove this warning. See 04:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:40 04:08:40 Login Succeeded 04:08:40 nexus3.edgexfoundry.org:10003 04:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:40 Configure a credential helper to remove this warning. See 04:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:40 04:08:40 Login Succeeded 04:08:40 nexus3.edgexfoundry.org:10004 04:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:40 Configure a credential helper to remove this warning. See 04:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:40 04:08:40 Login Succeeded 04:08:40 docker.io 04:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 ---> docker-login.sh ends [Pipeline] } 04:08:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:41 ========================================================= 04:08:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:08:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:08:42 + 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 . 04:08:42 Sending build context to Docker daemon 2.27MB 04:08:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:08:42 Step 2/8 : FROM ${BASE} 04:08:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:42 188c0c94c7c5: Pulling fs layer 04:08:42 0ef7d3d256c8: Pulling fs layer 04:08:42 de9db76c5a1d: Pulling fs layer 04:08:42 bca2f99d35d6: Pulling fs layer 04:08:42 93359f2a8cfa: Pulling fs layer 04:08:42 7c6f9722023f: Pulling fs layer 04:08:42 a35cf1a2eb13: Pulling fs layer 04:08:42 bca2f99d35d6: Waiting 04:08:42 93359f2a8cfa: Waiting 04:08:42 7c6f9722023f: Waiting 04:08:42 a35cf1a2eb13: Waiting 04:08:42 de9db76c5a1d: Verifying Checksum 04:08:42 de9db76c5a1d: Download complete 04:08:42 0ef7d3d256c8: Download complete 04:08:42 93359f2a8cfa: Verifying Checksum 04:08:42 93359f2a8cfa: Download complete 04:08:42 7c6f9722023f: Verifying Checksum 04:08:42 7c6f9722023f: Download complete 04:08:42 188c0c94c7c5: Verifying Checksum 04:08:42 188c0c94c7c5: Download complete 04:08:42 188c0c94c7c5: Pull complete 04:08:42 0ef7d3d256c8: Pull complete 04:08:42 de9db76c5a1d: Pull complete 04:08:44 a35cf1a2eb13: Verifying Checksum 04:08:44 a35cf1a2eb13: Download complete 04:08:45 bca2f99d35d6: Verifying Checksum 04:08:45 bca2f99d35d6: Download complete 04:08:50 bca2f99d35d6: Pull complete 04:08:50 93359f2a8cfa: Pull complete 04:08:50 7c6f9722023f: Pull complete 04:08:56 a35cf1a2eb13: Pull complete 04:08:56 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:08:56 ---> a62c8e92a672 04:08:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:56 ---> Running in a0e47b48d5b4 04:08:57 Removing intermediate container a0e47b48d5b4 04:08:57 ---> 5f5b8db5bcb4 04:08:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:57 ---> Running in 726234870c04 04:08:58 Removing intermediate container 726234870c04 04:08:58 ---> 7de0e4014707 04:08:58 Step 5/8 : RUN apk add --update --no-cache make git 04:08:58 ---> Running in 045bf6c7fca9 04:08:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:09:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:09:01 OK: 166 MiB in 39 packages 04:09:01 Removing intermediate container 045bf6c7fca9 04:09:01 ---> a0de37b08610 04:09:01 Step 6/8 : WORKDIR /device-sdk-go 04:09:01 ---> Running in 3d13ce4bf963 04:09:01 Removing intermediate container 3d13ce4bf963 04:09:01 ---> e42721d56b4e 04:09:01 Step 7/8 : COPY . . 04:09:03 ---> 575f1fce37b6 04:09:03 Step 8/8 : RUN go mod download 04:09:03 ---> Running in 3968e588609f 04:09:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29935 in /w/workspace/dgexfoundry_device-sdk-go_PR-818 [Pipeline] { [Pipeline] ws 04:09:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:22 using credential edgex-jenkins-ssh 04:09:22 Cloning the remote Git repository 04:09:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:09:22 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:09:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:22 > git --version # timeout=10 04:09:22 > git --version # 'git version 2.17.1' 04:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:24 Merging remotes/origin/master commit 4a48ed36b56f70f387819c322f1a51e9c7883451 into PR head commit 691fc8b9f319e7052e6cfef84f2f113a2a103960 04:09:25 Removing intermediate container 3968e588609f 04:09:25 ---> e9cca7b05eb1 04:09:25 Successfully built e9cca7b05eb1 04:09:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:09:25 Merge succeeded, producing 691fc8b9f319e7052e6cfef84f2f113a2a103960 04:09:25 Checking out Revision 691fc8b9f319e7052e6cfef84f2f113a2a103960 (PR-818) 04:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:09:24 > git config core.sparsecheckout # timeout=10 04:09:24 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 04:09:25 > git remote # timeout=10 04:09:25 > git config --get remote.origin.url # timeout=10 04:09:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:25 > git merge 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 04:09:25 > git rev-parse HEAD^{commit} # timeout=10 04:09:25 > git config core.sparsecheckout # timeout=10 04:09:25 + docker inspect -f . ci-base-image-x86_64 04:09:25 . [Pipeline] withDockerContainer 04:09:25 prd-centos7-docker-4c-2g-29934 does not seem to be running inside a container 04:09:25 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:09:25 > git checkout -f 691fc8b9f319e7052e6cfef84f2f113a2a103960 # timeout=10 04:09:26 $ docker top 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:27 + go version 04:09:27 go version go1.15.5 linux/amd64 [Pipeline] } 04:09:27 $ docker stop --time=1 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 04:09:28 $ docker rm -f 1a08baab89956bc818264e4697e7331e127801190583138ea8cba971b9a0e9b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 04:09:29 Commit message: "feat: add GetProfileByName function API" [Pipeline] isUnix [Pipeline] sh 04:09:29 > git --version # timeout=10 04:09:29 > git --version # 'git version 2.17.1' 04:09:29 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:09:29 + docker inspect -f . ci-base-image-x86_64 04:09:29 . [Pipeline] withDockerContainer 04:09:30 prd-centos7-docker-4c-2g-29934 does not seem to be running inside a container 04:09:30 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:09:30 $ docker top 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:09:31 + make test 04:09:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:32 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:09:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:09:33 + sudo service docker+ restart 04:09:33 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:09:36 provisioning config files... 04:09:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7323865502245572784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:36 ---> docker-login.sh 04:09:36 nexus3.edgexfoundry.org:10001 04:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:37 Configure a credential helper to remove this warning. See 04:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:37 04:09:37 Login Succeeded 04:09:37 nexus3.edgexfoundry.org:10002 04:09:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 nexus3.edgexfoundry.org:10003 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:38 Configure a credential helper to remove this warning. See 04:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:38 04:09:38 Login Succeeded 04:09:38 nexus3.edgexfoundry.org:10004 04:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:39 Configure a credential helper to remove this warning. See 04:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:39 04:09:39 Login Succeeded 04:09:39 docker.io 04:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:39 Configure a credential helper to remove this warning. See 04:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:39 04:09:39 Login Succeeded 04:09:39 ---> docker-login.sh ends [Pipeline] } 04:09:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:40 ========================================================= 04:09:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:09:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:09:40 + 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 . 04:09:41 Sending build context to Docker daemon 2.27MB 04:09:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:09:41 Step 2/8 : FROM ${BASE} 04:09:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:41 5f621e34cdf4: Pulling fs layer 04:09:41 a4357932f1b6: Pulling fs layer 04:09:41 18c013af1878: Pulling fs layer 04:09:41 00ac8860ef70: Pulling fs layer 04:09:41 63d7cb157983: Pulling fs layer 04:09:41 b116817d02f9: Pulling fs layer 04:09:41 745a02a5169b: Pulling fs layer 04:09:41 00ac8860ef70: Waiting 04:09:41 63d7cb157983: Waiting 04:09:41 b116817d02f9: Waiting 04:09:41 745a02a5169b: Waiting 04:09:41 18c013af1878: Verifying Checksum 04:09:41 18c013af1878: Download complete 04:09:41 a4357932f1b6: Verifying Checksum 04:09:41 a4357932f1b6: Download complete 04:09:41 63d7cb157983: Verifying Checksum 04:09:41 63d7cb157983: Download complete 04:09:41 5f621e34cdf4: Verifying Checksum 04:09:41 b116817d02f9: Verifying Checksum 04:09:41 b116817d02f9: Download complete 04:09:41 5f621e34cdf4: Pull complete 04:09:42 a4357932f1b6: Pull complete 04:09:43 18c013af1878: Pull complete 04:09:43 745a02a5169b: Verifying Checksum 04:09:43 745a02a5169b: Download complete 04:09:44 00ac8860ef70: Verifying Checksum 04:09:44 00ac8860ef70: Download complete 04:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:09:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:09:54 00ac8860ef70: Pull complete 04:09:54 63d7cb157983: Pull complete 04:09:54 b116817d02f9: Pull complete 04:09:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements 04:09:58 745a02a5169b: Pull complete 04:09:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:09:58 ---> b7e6874047d6 04:09:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:10:00 ---> Running in a39d1eb28b5b 04:10:00 Removing intermediate container a39d1eb28b5b 04:10:00 ---> 92aede01cc6f 04:10:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:01 ---> Running in 315078c24565 04:10:03 Removing intermediate container 315078c24565 04:10:03 ---> 816de4247f5f 04:10:03 Step 5/8 : RUN apk add --update --no-cache make git 04:10:03 ---> Running in 109fd5ea80c4 04:10:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:10:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:10:06 OK: 142 MiB in 39 packages 04:10:07 Removing intermediate container 109fd5ea80c4 04:10:07 ---> 785f278f0141 04:10:07 Step 6/8 : WORKDIR /device-sdk-go 04:10:07 ---> Running in 55db4b1882e0 04:10:08 Removing intermediate container 55db4b1882e0 04:10:08 ---> 156504cae0fa 04:10:08 Step 7/8 : COPY . . 04:10:09 ---> 8fb0247f5363 04:10:09 Step 8/8 : RUN go mod download 04:10:09 ---> Running in 4c5064a202bb 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.076s coverage: 10.5% of statements 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.065s coverage: 12.5% of statements 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.053s coverage: 84.8% of statements 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.3% of statements 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.076s coverage: 81.2% of statements 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 24.8% of statements 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.144s coverage: 6.4% of statements 04:10:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.1% of statements 04:10:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:10:27 GO111MODULE=on go vet ./... 04:10:36 Removing intermediate container 4c5064a202bb 04:10:36 ---> a62f8e96ef58 04:10:36 Successfully built a62f8e96ef58 04:10:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:10:36 + docker inspect -f . ci-base-image-arm64 04:10:36 . [Pipeline] withDockerContainer 04:10:36 prd-ubuntu18.04-docker-arm64-4c-16g-29935 does not seem to be running inside a container 04:10:37 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:37 gofmt -l . 04:10:37 [ "`gofmt -l .`" = "" ] 04:10:37 ./bin/test-attribution-txt.sh 04:10:37 ./bin/test-go-mod-tidy.sh 04:10:38 $ docker top ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 -eo pid,comm [Pipeline] { [Pipeline] } 04:10:38 $ docker stop --time=1 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c 04:10:40 $ docker rm -f 89cbb7305f5154e4505ec7d9f079dc55b9923b63c01633dbff78dedb99c7f55c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:10:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:42 Stashed 1 file(s) [Pipeline] } 04:10:42 + go version 04:10:42 go version go1.15.5 linux/arm64 [Pipeline] // script [Pipeline] } [Pipeline] } 04:10:42 $ docker stop --time=1 ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 04:10:44 $ docker rm -f ac9df623a58de49770616496f52b4a14153837d5c7702bdab1322796cdc16160 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 04:10:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:46 + docker inspect -f . ci-base-image-arm64 04:10:46 . [Pipeline] withDockerContainer 04:10:46 + ls -al . 04:10:46 total 188 04:10:46 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 04:10 . 04:10:46 drwxrwxr-x. 4 jenkins jenkins 28 Mar 16 04:08 .. 04:10:46 drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 04:08 bin 04:10:46 -rw-r--r--. 1 jenkins jenkins 103668 Mar 16 04:10 coverage.out 04:10:46 -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 04:08 Dockerfile.build 04:10:46 -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 04:08 .dockerignore 04:10:46 drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 04:08 example 04:10:46 drwxrwxr-x. 8 jenkins jenkins 179 Mar 16 04:08 .git 04:10:46 drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 04:08 .github 04:10:46 -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 04:08 .gitignore 04:10:46 -rw-r--r--. 1 jenkins jenkins 479 Mar 16 04:10 go.mod 04:10:46 -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 04:10 go.sum 04:10:46 drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 04:08 internal 04:10:46 -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 04:08 Jenkinsfile 04:10:46 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 04:08 LICENSE 04:10:46 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 04:08 Makefile 04:10:46 drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 04:08 openapi 04:10:46 drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 04:08 pkg 04:10:46 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 04:08 README.md 04:10:46 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 04:08 RELEASE-NOTES.txt 04:10:46 drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 04:08 snap 04:10:46 -rw-rw-r--. 1 jenkins jenkins 5 Mar 16 04:05 VERSION 04:10:46 -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 04:08 version.go 04:10:46 prd-ubuntu18.04-docker-arm64-4c-16g-29935 does not seem to be running inside a container 04:10:47 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:48 $ docker top e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 04:10:49 + 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=691fc8b9f319e7052e6cfef84f2f113a2a103960 --label arch=amd64 --label version=0.0.0 . 04:10:49 + make test 04:10:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:49 Sending build context to Docker daemon 2.374MB 04:10:49 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:10:49 Step 2/24 : FROM ${BASE} AS builder 04:10:49 ---> e9cca7b05eb1 04:10:49 Step 3/24 : ARG MAKE='make build' 04:10:50 ---> Running in 01773649e94d 04:10:50 Removing intermediate container 01773649e94d 04:10:50 ---> f416ff33a2b2 04:10:50 Step 4/24 : WORKDIR /device-sdk-go 04:10:50 ---> Running in 9cb6a5df1e86 04:10:50 Removing intermediate container 9cb6a5df1e86 04:10:50 ---> dbc9ae85ed22 04:10:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:10:50 ---> Running in 9acb51270775 04:10:50 Removing intermediate container 9acb51270775 04:10:50 ---> 4b89160a8a06 04:10:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:50 ---> Running in 6cc132cd5f66 04:10:51 Removing intermediate container 6cc132cd5f66 04:10:51 ---> 91be7f83857a 04:10:51 Step 7/24 : RUN apk add --update --no-cache make git 04:10:52 ---> Running in 91a724a973df 04:10:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:10:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:10:54 OK: 166 MiB in 39 packages 04:10:54 Removing intermediate container 91a724a973df 04:10:54 ---> f7102144829e 04:10:54 Step 8/24 : COPY . . 04:10:55 ---> 84fc18802ac4 04:10:55 Step 9/24 : RUN ${MAKE} 04:10:55 ---> Running in 7cee2af28c3f 04:10:56 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 04:11:06 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:11:07 Removing intermediate container 7cee2af28c3f 04:11:07 ---> 951e62bc0c4b 04:11:07 Step 10/24 : FROM scratch 04:11:07 ---> 04:11:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:07 ---> Running in 735b05519307 04:11:07 Removing intermediate container 735b05519307 04:11:07 ---> 53a594737952 04:11:07 Step 12/24 : ENV APP_PORT=49990 04:11:07 ---> Running in 16e8aaca4942 04:11:08 Removing intermediate container 16e8aaca4942 04:11:08 ---> 746968fa641b 04:11:08 Step 13/24 : EXPOSE $APP_PORT 04:11:08 ---> Running in 3e4fe1c63e6a 04:11:08 Removing intermediate container 3e4fe1c63e6a 04:11:08 ---> db7094aa34ea 04:11:08 Step 14/24 : WORKDIR / 04:11:08 ---> Running in 6fdb2c301348 04:11:08 Removing intermediate container 6fdb2c301348 04:11:08 ---> 486312e2c173 04:11:08 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:11:08 ---> c29db88f7476 04:11:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:11:08 ---> 2a1878aab665 04:11:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:11:09 ---> 68ca12e9d0c7 04:11:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:11:09 ---> dbf2faca0801 04:11:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:11:09 ---> 0b4e8470c685 04:11:09 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:11:09 ---> Running in f1534c46b0e1 04:11:10 Removing intermediate container f1534c46b0e1 04:11:10 ---> 527358be3327 04:11:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:11:10 ---> Running in 0189cd6aa082 04:11:10 Removing intermediate container 0189cd6aa082 04:11:10 ---> f799cd5759e5 04:11:10 Step 22/24 : LABEL arch=amd64 04:11:10 ---> Running in 4beda4ecabdf 04:11:10 Removing intermediate container 4beda4ecabdf 04:11:10 ---> 18683c0f7633 04:11:10 Step 23/24 : LABEL git_sha=691fc8b9f319e7052e6cfef84f2f113a2a103960 04:11:10 ---> Running in 56d084797978 04:11:10 Removing intermediate container 56d084797978 04:11:10 ---> c207e61d928f 04:11:10 Step 24/24 : LABEL version=0.0.0 04:11:10 ---> Running in 14ac7d39b7a2 04:11:10 Removing intermediate container 14ac7d39b7a2 04:11:10 ---> 11673bbaab87 04:11:10 [Warning] One or more build-args [ARCH] were not consumed 04:11:10 Successfully built 11673bbaab87 04:11:10 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 04:11:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] libraryResource [Pipeline] sh 04:11:12 ---> job-cost.sh 04:11:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ir5S 04:11:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:11:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:11:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:53 lf-activate-venv(): INFO: Adding /tmp/venv-Ir5S/bin to PATH 04:11:53 INFO: No Stack... 04:11:53 INFO: Retrieving Pricing Info for: v1-standard-2 04:11:53 INFO: Archiving Costs [Pipeline] sh 04:11:54 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:11:54 + cut -d, -f6 [Pipeline] lock 04:11:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] 04:11:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] did not exist. Created. 04:11:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:54 + echo total: 0.029999999329447746 [Pipeline] stash 04:11:55 Stashed 1 file(s) [Pipeline] } 04:11:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] // lock 04:11:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 25.5% of statements [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.5% of statements 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 12.5% of statements 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.153s coverage: 84.8% of statements 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.286s coverage: 57.3% of statements 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.168s coverage: 81.2% of statements 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.171s coverage: 24.8% of statements 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.839s coverage: 6.4% of statements 04:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements 04:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:27 GO111MODULE=on go vet ./... 04:13:00 gofmt -l . 04:13:00 [ "`gofmt -l .`" = "" ] 04:13:00 ./bin/test-attribution-txt.sh 04:13:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:13:00 $ docker stop --time=1 e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b 04:13:02 $ docker rm -f e641853e7c25437b8f4a5860d91f09415073ef4a7518df58785955fcd84e848b [Pipeline] // withDockerContainer [Pipeline] sh 04:13:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:13:03 Warning: overwriting stash ‘coverage-report’ 04:13:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:05 + ls -al . 04:13:05 total 224 04:13:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 04:12 . 04:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 .. 04:13:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 04:09 .dockerignore 04:13:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 04:09 .git 04:13:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:09 .github 04:13:05 -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 04:09 .gitignore 04:13:05 -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 04:09 Dockerfile.build 04:13:05 -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 04:09 Jenkinsfile 04:13:05 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 04:09 LICENSE 04:13:05 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 04:09 Makefile 04:13:05 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 04:09 README.md 04:13:05 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 04:09 RELEASE-NOTES.txt 04:13:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 04:05 VERSION 04:13:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:09 bin 04:13:05 -rw-r--r-- 1 jenkins jenkins 103667 Mar 16 04:12 coverage.out 04:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 example 04:13:05 -rw-r--r-- 1 jenkins jenkins 479 Mar 16 04:12 go.mod 04:13:05 -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 04:12 go.sum 04:13:05 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 04:09 internal 04:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 openapi 04:13:05 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 04:09 pkg 04:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:09 snap 04:13:05 -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 04:09 version.go [Pipeline] isUnix [Pipeline] sh 04:13:06 + 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=691fc8b9f319e7052e6cfef84f2f113a2a103960 --label arch=arm64 --label version=0.0.0 . 04:13:06 Sending build context to Docker daemon 2.374MB 04:13:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:13:06 Step 2/24 : FROM ${BASE} AS builder 04:13:06 ---> a62f8e96ef58 04:13:06 Step 3/24 : ARG MAKE='make build' 04:13:07 ---> Running in 041d60929659 04:13:07 Removing intermediate container 041d60929659 04:13:07 ---> e2f68a33074a 04:13:07 Step 4/24 : WORKDIR /device-sdk-go 04:13:07 ---> Running in 2230e7f56660 04:13:08 Removing intermediate container 2230e7f56660 04:13:08 ---> 42f073aa2e79 04:13:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:08 ---> Running in c346c07646ec 04:13:08 Removing intermediate container c346c07646ec 04:13:08 ---> fc23f85be99d 04:13:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:08 ---> Running in 247ff1a07735 04:13:10 Removing intermediate container 247ff1a07735 04:13:10 ---> 3fb3867c1a69 04:13:10 Step 7/24 : RUN apk add --update --no-cache make git 04:13:10 ---> Running in 1699658f8971 04:13:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:13:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:13:13 OK: 142 MiB in 39 packages 04:13:14 Removing intermediate container 1699658f8971 04:13:14 ---> da9ab8385765 04:13:14 Step 8/24 : COPY . . 04:13:15 ---> 6a16fc6f1323 04:13:15 Step 9/24 : RUN ${MAKE} 04:13:15 ---> Running in 463a7efe1621 04:13:16 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 04:13:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:13:47 Removing intermediate container 463a7efe1621 04:13:47 ---> 7c1bed7c0ad5 04:13:47 Step 10/24 : FROM scratch 04:13:47 ---> 04:13:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:47 ---> Running in 13528611de98 04:13:47 Removing intermediate container 13528611de98 04:13:47 ---> a4ca3cf2798b 04:13:47 Step 12/24 : ENV APP_PORT=49990 04:13:47 ---> Running in 00a53b145340 04:13:48 Removing intermediate container 00a53b145340 04:13:48 ---> a8e4f5224606 04:13:48 Step 13/24 : EXPOSE $APP_PORT 04:13:48 ---> Running in 09eb8b0e8a5a 04:13:48 Removing intermediate container 09eb8b0e8a5a 04:13:48 ---> 530362f203e0 04:13:48 Step 14/24 : WORKDIR / 04:13:48 ---> Running in 7e5978342173 04:13:49 Removing intermediate container 7e5978342173 04:13:49 ---> db4cf7550b0d 04:13:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:13:50 ---> a8d4abbedad8 04:13:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:13:51 ---> 4e2c3bf7ae00 04:13:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:13:52 ---> a634a78ed9b2 04:13:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:13:52 ---> 9ac83940a64b 04:13:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:13:53 ---> fd25f85ea6e9 04:13:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:13:53 ---> Running in d1640dd6b553 04:13:54 Removing intermediate container d1640dd6b553 04:13:54 ---> 355144059627 04:13:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:13:54 ---> Running in 5a6c26aeb8c9 04:13:54 Removing intermediate container 5a6c26aeb8c9 04:13:54 ---> d3ad075a0235 04:13:54 Step 22/24 : LABEL arch=arm64 04:13:55 ---> Running in 49b9178360bc 04:13:55 Removing intermediate container 49b9178360bc 04:13:55 ---> 5c3b1419a05c 04:13:55 Step 23/24 : LABEL git_sha=691fc8b9f319e7052e6cfef84f2f113a2a103960 04:13:55 ---> Running in 6aebd6ce7149 04:13:56 Removing intermediate container 6aebd6ce7149 04:13:56 ---> dc167a9c0ab9 04:13:56 Step 24/24 : LABEL version=0.0.0 04:13:56 ---> Running in cd53e26dc881 04:13:56 Removing intermediate container cd53e26dc881 04:13:56 ---> 57da3648ad17 04:13:56 [Warning] One or more build-args [ARCH] were not consumed 04:13:57 Successfully built 57da3648ad17 04:13:57 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:13:58 ---> job-cost.sh 04:13:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vecG 04:14:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:15:58 lf-activate-venv(): INFO: Adding /tmp/venv-vecG/bin to PATH 04:15:58 INFO: No Stack... 04:15:59 INFO: Retrieving Pricing Info for: lf-standard-4 04:15:59 INFO: Archiving Costs [Pipeline] sh 04:16:00 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:16:00 + cut -d, -f6 [Pipeline] lock 04:16:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] 04:16:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] did not exist. Created. 04:16:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-818-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:00 /w/workspace/device-sdk-go/1@tmp/durable-92273b4b/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-92273b4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:01 + echo total: 0.20999999344348907 [Pipeline] stash 04:16:01 Warning: overwriting stash ‘stack-cost’ 04:16:01 Stashed 1 file(s) [Pipeline] } 04:16:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-818-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 04:16:03 provisioning config files... 04:16:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config9008066286489656747tmp [Pipeline] { [Pipeline] sh 04:16:04 + set +x 04:16:04 + curl -s https://codecov.io/bash 04:16:04 + bash -s -- 04:16:04 04:16:04 _____ _ 04:16:04 / ____| | | 04:16:04 | | ___ __| | ___ ___ _____ __ 04:16:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:16:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:16:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:16:04 Bash-20210309-2b87ace 04:16:04 04:16:04 04:16:04 ==> git version 2.24.3 found 04:16:04 ==> 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 04:16:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:16:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:16:04 curl: option -sm: expected a proper numerical parameter 04:16:04 curl: try 'curl --help' or 'curl --manual' for more information 04:16:04 ==> Jenkins CI detected. 04:16:04 project root: . 04:16:04 --> token set from env 04:16:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:16:04 ==> Running gcov in . (disable via -X gcov) 04:16:04 ==> Python coveragepy not found 04:16:04 ==> Searching for coverage reports in: 04:16:04 + . 04:16:04 -> Found 1 reports 04:16:04 ==> Detecting git/mercurial file structure 04:16:04 ==> Reading reports 04:16:04 + ./coverage.out bytes=103667 04:16:04 ==> Appending adjustments 04:16:04 https://docs.codecov.io/docs/fixing-reports 04:16:05 + Found adjustments 04:16:05 ==> Gzipping contents 04:16:05 16K /tmp/codecov.sf3eMo.gz 04:16:05 ==> Uploading reports 04:16:05 url: https://codecov.io 04:16:05 query: branch=PR-818&commit=691fc8b9f319e7052e6cfef84f2f113a2a103960&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-818%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= 04:16:05 -> Pinging Codecov 04:16:05 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-818&commit=691fc8b9f319e7052e6cfef84f2f113a2a103960&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-818%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= 04:16:06 -> Uploading to 04:16:06 https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/691fc8b9f319e7052e6cfef84f2f113a2a103960/a8ffc368-f427-454a-afc9-ccbf7f25a4ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T041606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48ea325c3d738ca0e5d6ea62066c0a7d27181d4c8e90d58f3acd0c5dac09b1c4 04:16:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:06 Dload Upload Total Spent Left Speed 04:16:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13874 0 0 100 13874 0 31112 --:--:-- --:--:-- --:--:-- 31107 04:16:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/691fc8b9f319e7052e6cfef84f2f113a2a103960 [Pipeline] } 04:16:06 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 04:16:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:10 ---> package-listing.sh 04:16:10 ++ tr '[:upper:]' '[:lower:]' 04:16:10 ++ facter osfamily 04:16:11 + OS_FAMILY=redhat 04:16:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-818 04:16:11 + START_PACKAGES=/tmp/packages_start.txt 04:16:11 + END_PACKAGES=/tmp/packages_end.txt 04:16:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:11 + PACKAGES=/tmp/packages_start.txt 04:16:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-818 ']' 04:16:11 + PACKAGES=/tmp/packages_end.txt 04:16:11 + case "${OS_FAMILY}" in 04:16:11 + rpm -qa 04:16:11 + sort 04:16:19 + '[' -f /tmp/packages_start.txt ']' 04:16:19 + '[' -f /tmp/packages_end.txt ']' 04:16:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-818 ']' 04:16:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-818/archives/ 04:16:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-818/archives/ [Pipeline] echo 04:16:19 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-818/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:16:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:16:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:16:20 04:16:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:16:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:16:21 alpine: Pulling from edgex-lftools-log-publisher 04:16:21 df20fa9351a1: Pulling fs layer 04:16:21 36b3adc4ff6f: Pulling fs layer 04:16:21 8ad3a11d3b57: Pulling fs layer 04:16:21 46f8f816bc3b: Pulling fs layer 04:16:21 93b61091891f: Pulling fs layer 04:16:21 93b9cdb0e59b: Pulling fs layer 04:16:21 5e14af77c1be: Pulling fs layer 04:16:21 01666e4c0597: Pulling fs layer 04:16:21 aa168da1d23b: Pulling fs layer 04:16:21 93b9cdb0e59b: Waiting 04:16:21 5e14af77c1be: Waiting 04:16:21 01666e4c0597: Waiting 04:16:21 aa168da1d23b: Waiting 04:16:21 46f8f816bc3b: Waiting 04:16:21 93b61091891f: Waiting 04:16:21 36b3adc4ff6f: Verifying Checksum 04:16:21 36b3adc4ff6f: Download complete 04:16:21 46f8f816bc3b: Download complete 04:16:22 df20fa9351a1: Verifying Checksum 04:16:22 df20fa9351a1: Download complete 04:16:22 93b9cdb0e59b: Verifying Checksum 04:16:22 93b9cdb0e59b: Download complete 04:16:22 93b61091891f: Verifying Checksum 04:16:22 93b61091891f: Download complete 04:16:22 5e14af77c1be: Verifying Checksum 04:16:22 5e14af77c1be: Download complete 04:16:22 01666e4c0597: Verifying Checksum 04:16:22 01666e4c0597: Download complete 04:16:23 df20fa9351a1: Pull complete 04:16:23 8ad3a11d3b57: Verifying Checksum 04:16:23 8ad3a11d3b57: Download complete 04:16:23 36b3adc4ff6f: Pull complete 04:16:26 8ad3a11d3b57: Pull complete 04:16:26 46f8f816bc3b: Pull complete 04:16:28 93b61091891f: Pull complete 04:16:29 93b9cdb0e59b: Pull complete 04:16:29 5e14af77c1be: Pull complete 04:16:29 aa168da1d23b: Verifying Checksum 04:16:29 aa168da1d23b: Download complete 04:16:29 01666e4c0597: Pull complete 04:16:52 aa168da1d23b: Pull complete 04:16:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:16:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:16:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:16:55 prd-centos7-docker-4c-2g-29932 does not seem to be running inside a container 04:16:55 $ 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-818/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-818 -v /w/workspace/dgexfoundry_device-sdk-go_PR-818:/w/workspace/dgexfoundry_device-sdk-go_PR-818:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:16:58 $ docker top 73d51aaab10ad6f9cc308c5bfad2cc205d52f10278859945ab65e9af8762282a -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:59 + mkdir -p /var/log/sa [Pipeline] sh 04:17:00 + ls /var/log/sa-host 04:17:00 + sadf -c /var/log/sa-host/sa16 04:17:00 file_magic: OK 04:17:00 HZ: Using current value: 100 04:17:00 file_header: OK 04:17:00 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 04:17:00 Statistics: 04:17:00 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... 04:17:00 File successfully converted to sysstat format version 12.2.1 04:17:00 + sadf -c /var/log/sa-host/sa23 04:17:00 file_magic: OK 04:17:00 HZ: Using current value: 100 04:17:00 file_header: OK 04:17:00 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 04:17:00 Statistics: 04:17:00 Hnuu...uuuununununu... 04:17:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:00 provisioning config files... 04:17:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-818@tmp/config6266631585487521275tmp [Pipeline] { [Pipeline] echo 04:17:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:01 ---> create-netrc.sh [Pipeline] } 04:17:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:17:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:17:02 ---> python-tools-install.sh [Pipeline] echo 04:17:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:02 ---> sudo-logs.sh 04:17:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:03 ---> job-cost.sh 04:17:03 lf-activate-venv: SKIPPING 04:17:03 DEBUG: total: 0.20999999344348907 04:17:03 INFO: Retrieving Stack Cost... 04:17:05 INFO: Retrieving Pricing Info for: v1-standard-2 04:17:06 INFO: Archiving Costs [Pipeline] echo 04:17:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:07 ---> logs-deploy.sh 04:17:07 lf-activate-venv: SKIPPING 04:17:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-818/1 04:17:07 INFO: archiving workspace using pattern(s): 04:17:11 Archives upload complete. 04:17:11 INFO: archiving logs to Nexus