Pull request #824 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 f2441cf37640eb727d641ecd71424c5462bf906c+e34679e4f02bbc164353b5eb88e70f6c516b0d21 (002dec72c1687a0756bef73b6ba0d397c63a853d) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-824/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-824/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30285 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [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-824 # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) > 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/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 Commit message: "fix: remove hard-coded Content-Type in SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:06:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:06:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:06:11 ========================================================= 09:06:11 EdgeX Global Pipelines Version Info 09:06:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:06:13 ------------------- 09:06:13 stable info: 09:06:13 ------------------- 09:06:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:06:13 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:06:13 Message: update stable to v1.0.186 09:06:14 ------------------- 09:06:14 experimental info: 09:06:14 ------------------- 09:06:14 Commited By: **** collab-it+edgex@linuxfoundation.org 09:06:14 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:06:14 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:06:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:06:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:06:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:06:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:06:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:06:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:06:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-824 [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-824 [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-824 [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2441cf [Pipeline] echo 09:06:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:06:19 provisioning config files... 09:06:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config330311129406815367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:19 ---> docker-login.sh 09:06:19 nexus3.edgexfoundry.org:10001 09:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:20 Configure a credential helper to remove this warning. See 09:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:20 09:06:20 Login Succeeded 09:06:20 nexus3.edgexfoundry.org:10002 09:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:20 Configure a credential helper to remove this warning. See 09:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:20 09:06:20 Login Succeeded 09:06:20 nexus3.edgexfoundry.org:10003 09:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:20 Configure a credential helper to remove this warning. See 09:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:20 09:06:20 Login Succeeded 09:06:20 nexus3.edgexfoundry.org:10004 09:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:20 Configure a credential helper to remove this warning. See 09:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:20 09:06:20 Login Succeeded 09:06:20 docker.io 09:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:21 Configure a credential helper to remove this warning. See 09:06:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:21 09:06:21 Login Succeeded 09:06:21 ---> docker-login.sh ends [Pipeline] } 09:06:21 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 09:06:22 + git log --format=format:%s -1 f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] echo 09:06:22 GIT_COMMIT: f2441cf37640eb727d641ecd71424c5462bf906c, Commit Message: fix: remove hard-coded Content-Type in SDK [Pipeline] echo 09:06:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:06:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:06:23 09:06:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:06:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:06:24 latest: Pulling from edgex-devops/git-semver 09:06:24 31603596830f: Pulling fs layer 09:06:24 2a8b12db71e7: Pulling fs layer 09:06:24 6ca5941a6612: Pulling fs layer 09:06:24 ecc8261a40a4: Pulling fs layer 09:06:24 ecc8261a40a4: Waiting 09:06:24 2a8b12db71e7: Verifying Checksum 09:06:24 2a8b12db71e7: Download complete 09:06:24 31603596830f: Verifying Checksum 09:06:24 31603596830f: Download complete 09:06:24 6ca5941a6612: Verifying Checksum 09:06:24 6ca5941a6612: Download complete 09:06:24 ecc8261a40a4: Verifying Checksum 09:06:24 ecc8261a40a4: Download complete 09:06:24 31603596830f: Pull complete 09:06:24 2a8b12db71e7: Pull complete 09:06:25 6ca5941a6612: Pull complete 09:06:25 ecc8261a40a4: Pull complete 09:06:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:06:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:06:26 prd-centos7-docker-4c-2g-30285 does not seem to be running inside a container 09:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-824 -v /w/workspace/dgexfoundry_device-sdk-go_PR-824:/w/workspace/dgexfoundry_device-sdk-go_PR-824:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-824@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 09:06:28 $ docker top 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:28 [ssh-agent] Looking for ssh-agent implementation... 09:06:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:29 $ docker exec 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent 09:06:29 SSH_AUTH_SOCK=/tmp/ssh-mZTjKdUzQ96U/agent.12 09:06:29 SSH_AGENT_PID=17 09:06:29 Running ssh-add (command line suppressed) 09:06:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_9023445144012193912.key (/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_9023445144012193912.key) 09:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:29 + git tag --points-at HEAD [Pipeline] } 09:06:29 $ docker exec --env ******** --env ******** 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent -k 09:06:29 unset SSH_AUTH_SOCK; 09:06:29 unset SSH_AGENT_PID; 09:06:29 echo Agent pid 17 killed; 09:06:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:06:30 [ssh-agent] Looking for ssh-agent implementation... 09:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:06:30 $ docker exec 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent 09:06:30 SSH_AUTH_SOCK=/tmp/ssh-LrmfeD8dBrkG/agent.45 09:06:30 SSH_AGENT_PID=51 09:06:30 Running ssh-add (command line suppressed) 09:06:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_4758047211616060586.key (/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/private_key_4758047211616060586.key) 09:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:06:31 + git semver init 09:06:31 # -> Open(): unable to determine branch for HEAD 09:06:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-824/.git 09:06:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-824 09:06:31 # $SEMVER_REMOTE_NAME = origin 09:06:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:06:31 # $SEMVER_USER_NAME = edgex-jenkins 09:06:31 # $SEMVER_BRANCH = PR-824 09:06:31 # $SEMVER_TEMP = /tmp/semver-792008028 09:06:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:06:31 # '/tmp/semver-792008028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-824/.semver' 09:06:31 # -> Force: false 09:06:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-824/.semver [Pipeline] } 09:06:31 $ docker exec --env ******** --env ******** 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e ssh-agent -k 09:06:31 unset SSH_AUTH_SOCK; 09:06:31 unset SSH_AGENT_PID; 09:06:31 echo Agent pid 51 killed; 09:06:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:06:32 + git semver [Pipeline] } 09:06:32 $ docker stop --time=1 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e 09:06:33 $ docker rm -f 293e11fca78ef92628786c08fe33c62335f4de1b9db12a5a5ca13a193c13781e [Pipeline] // withDockerContainer [Pipeline] sh 09:06:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:06:34 Stashed 1 file(s) [Pipeline] echo 09:06:34 [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 09:06:50 Still waiting to schedule task 09:06:50 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30285’ 09:06:50 Still waiting to schedule task 09:06:50 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:08:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30286 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [Pipeline] { [Pipeline] ws 09:08:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:08:33 using credential edgex-jenkins-ssh 09:08:33 Cloning the remote Git repository 09:08:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:08:33 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:08:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:08:33 > git --version # timeout=10 09:08:33 > git --version # 'git version 2.17.1' 09:08:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:08:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:08:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:08:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:08:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:08:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:08:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:08:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:08:36 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c 09:08:36 Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c 09:08:36 Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) 09:08:36 > git config core.sparsecheckout # timeout=10 09:08:36 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 09:08:36 > git remote # timeout=10 09:08:36 > git config --get remote.origin.url # timeout=10 09:08:36 using GIT_SSH to set credentials SSH Credentials for GitHub 09:08:36 > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 09:08:36 > git rev-parse HEAD^{commit} # timeout=10 09:08:36 > git config core.sparsecheckout # timeout=10 09:08:36 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 09:08:41 Commit message: "fix: remove hard-coded Content-Type in SDK" 09:08:41 > git --version # timeout=10 09:08:41 > git --version # 'git version 2.17.1' 09:08:41 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:08:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:08:44 + sudo service docker restart 09:08:44 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:08:47 provisioning config files... 09:08:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3995457527842440189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:47 ---> docker-login.sh 09:08:47 nexus3.edgexfoundry.org:10001 09:08:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:49 Configure a credential helper to remove this warning. See 09:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:49 09:08:49 Login Succeeded 09:08:49 nexus3.edgexfoundry.org:10002 09:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:49 Configure a credential helper to remove this warning. See 09:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:49 09:08:49 Login Succeeded 09:08:49 nexus3.edgexfoundry.org:10003 09:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:49 Configure a credential helper to remove this warning. See 09:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:49 09:08:49 Login Succeeded 09:08:49 nexus3.edgexfoundry.org:10004 09:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:50 Configure a credential helper to remove this warning. See 09:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:50 09:08:50 Login Succeeded 09:08:50 docker.io 09:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:51 Configure a credential helper to remove this warning. See 09:08:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:51 09:08:51 Login Succeeded 09:08:51 ---> docker-login.sh ends [Pipeline] } 09:08:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:08:52 ========================================================= 09:08:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:08:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:08:52 + 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 . 09:08:52 Sending build context to Docker daemon 2.279MB 09:08:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:08:52 Step 2/8 : FROM ${BASE} 09:08:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:08:53 5f621e34cdf4: Pulling fs layer 09:08:53 a4357932f1b6: Pulling fs layer 09:08:53 18c013af1878: Pulling fs layer 09:08:53 00ac8860ef70: Pulling fs layer 09:08:53 63d7cb157983: Pulling fs layer 09:08:53 b116817d02f9: Pulling fs layer 09:08:53 745a02a5169b: Pulling fs layer 09:08:53 63d7cb157983: Waiting 09:08:53 00ac8860ef70: Waiting 09:08:53 b116817d02f9: Waiting 09:08:53 745a02a5169b: Waiting 09:08:53 18c013af1878: Download complete 09:08:53 a4357932f1b6: Verifying Checksum 09:08:53 a4357932f1b6: Download complete 09:08:53 63d7cb157983: Verifying Checksum 09:08:53 63d7cb157983: Download complete 09:08:53 b116817d02f9: Download complete 09:08:53 5f621e34cdf4: Verifying Checksum 09:08:53 5f621e34cdf4: Download complete 09:08:53 5f621e34cdf4: Pull complete 09:08:54 a4357932f1b6: Pull complete 09:08:54 18c013af1878: Pull complete 09:08:55 745a02a5169b: Verifying Checksum 09:08:55 745a02a5169b: Download complete 09:08:58 00ac8860ef70: Verifying Checksum 09:08:58 00ac8860ef70: Download complete 09:09:08 00ac8860ef70: Pull complete 09:09:08 63d7cb157983: Pull complete 09:09:08 b116817d02f9: Pull complete 09:09:13 745a02a5169b: Pull complete 09:09:13 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:09:13 ---> b7e6874047d6 09:09:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:09:15 ---> Running in 42a154bf7ff4 09:09:16 Removing intermediate container 42a154bf7ff4 09:09:16 ---> e7d06eb6d10d 09:09:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:16 ---> Running in b3d63b46e38f 09:09:19 Removing intermediate container b3d63b46e38f 09:09:19 ---> 9ac34beb75da 09:09:19 Step 5/8 : RUN apk add --update --no-cache make git 09:09:19 ---> Running in 4b839854674f 09:09:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:09:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:09:21 OK: 142 MiB in 39 packages 09:09:22 Removing intermediate container 4b839854674f 09:09:22 ---> 2fa2526af9b1 09:09:22 Step 6/8 : WORKDIR /device-sdk-go 09:09:22 ---> Running in 95a350679c5c 09:09:23 Removing intermediate container 95a350679c5c 09:09:23 ---> de30e228761d 09:09:23 Step 7/8 : COPY . . 09:09:24 ---> 907934457fc7 09:09:24 Step 8/8 : RUN go mod download 09:09:24 ---> Running in 1084686208d3 09:09:52 Removing intermediate container 1084686208d3 09:09:52 ---> 16a5544d8a43 09:09:52 Successfully built 16a5544d8a43 09:09:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:09:52 + docker inspect -f . ci-base-image-arm64 09:09:52 . [Pipeline] withDockerContainer 09:09:52 prd-ubuntu18.04-docker-arm64-4c-16g-30286 does not seem to be running inside a container 09:09:52 $ 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 09:09:54 $ docker top a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:55 + go version 09:09:55 go version go1.15.5 linux/arm64 [Pipeline] } 09:09:55 $ docker stop --time=1 a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc 09:09:57 $ docker rm -f a1541f092ba66aa5c28dc17e73d65a92ceb618deb2b32ed16cccdb110cf3d1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:09:58 + docker inspect -f . ci-base-image-arm64 09:09:58 . [Pipeline] withDockerContainer 09:09:59 prd-ubuntu18.04-docker-arm64-4c-16g-30286 does not seem to be running inside a container 09:09:59 $ 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 09:10:00 $ docker top 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:02 + make test 09:10:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:10:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:10:35 Running on prd-centos7-docker-4c-2g-30287 in /w/workspace/dgexfoundry_device-sdk-go_PR-824 [Pipeline] { [Pipeline] ws 09:10:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:10:45 using credential edgex-jenkins-ssh 09:10:45 Cloning the remote Git repository 09:10:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:10:45 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:46 > git --version # timeout=10 09:10:46 > git --version # 'git version 2.24.3' 09:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:10:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:10:47 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f2441cf37640eb727d641ecd71424c5462bf906c 09:10:48 Merge succeeded, producing f2441cf37640eb727d641ecd71424c5462bf906c 09:10:48 Checking out Revision f2441cf37640eb727d641ecd71424c5462bf906c (PR-824) 09:10:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/824/head:refs/remotes/origin/PR-824 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:10:47 > git config core.sparsecheckout # timeout=10 09:10:47 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 09:10:47 > git remote # timeout=10 09:10:47 > git config --get remote.origin.url # timeout=10 09:10:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:10:47 > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 09:10:48 > git rev-parse HEAD^{commit} # timeout=10 09:10:48 > git config core.sparsecheckout # timeout=10 09:10:48 > git checkout -f f2441cf37640eb727d641ecd71424c5462bf906c # timeout=10 09:10:53 Commit message: "fix: remove hard-coded Content-Type in SDK" 09:10:53 > git --version # timeout=10 09:10:53 > git --version # 'git version 2.24.3' 09:10:53 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:10:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:10:56 + sudo service docker restart 09:10:56 + true 09:10:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:10:59 provisioning config files... 09:10:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2946658468606127737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:00 ---> docker-login.sh 09:11:00 nexus3.edgexfoundry.org:10001 09:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:01 Configure a credential helper to remove this warning. See 09:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:01 09:11:01 Login Succeeded 09:11:01 nexus3.edgexfoundry.org:10002 09:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:02 Configure a credential helper to remove this warning. See 09:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:02 09:11:02 Login Succeeded 09:11:02 nexus3.edgexfoundry.org:10003 09:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:02 Configure a credential helper to remove this warning. See 09:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:02 09:11:02 Login Succeeded 09:11:02 nexus3.edgexfoundry.org:10004 09:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:03 Configure a credential helper to remove this warning. See 09:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:03 09:11:03 Login Succeeded 09:11:03 docker.io 09:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:03 Configure a credential helper to remove this warning. See 09:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:03 09:11:03 Login Succeeded 09:11:03 ---> docker-login.sh ends [Pipeline] } 09:11:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 09:11:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:11:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:11:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:11:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] unstash [Pipeline] echo 09:11:04 ========================================================= 09:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:11:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:11:04 + 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 . 09:11:05 Sending build context to Docker daemon 2.277MB 09:11:05 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:11:05 Step 2/8 : FROM ${BASE} 09:11:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:11:05 188c0c94c7c5: Pulling fs layer 09:11:05 0ef7d3d256c8: Pulling fs layer 09:11:05 de9db76c5a1d: Pulling fs layer 09:11:05 bca2f99d35d6: Pulling fs layer 09:11:05 93359f2a8cfa: Pulling fs layer 09:11:05 7c6f9722023f: Pulling fs layer 09:11:05 a35cf1a2eb13: Pulling fs layer 09:11:05 bca2f99d35d6: Waiting 09:11:05 93359f2a8cfa: Waiting 09:11:05 7c6f9722023f: Waiting 09:11:05 a35cf1a2eb13: Waiting 09:11:05 de9db76c5a1d: Verifying Checksum 09:11:05 de9db76c5a1d: Download complete 09:11:05 0ef7d3d256c8: Verifying Checksum 09:11:05 0ef7d3d256c8: Download complete 09:11:05 93359f2a8cfa: Verifying Checksum 09:11:05 93359f2a8cfa: Download complete 09:11:05 7c6f9722023f: Verifying Checksum 09:11:05 7c6f9722023f: Download complete 09:11:05 188c0c94c7c5: Verifying Checksum 09:11:05 188c0c94c7c5: Download complete 09:11:05 188c0c94c7c5: Pull complete 09:11:05 0ef7d3d256c8: Pull complete 09:11:06 de9db76c5a1d: Pull complete 09:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 25.5% of statements 09:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.153s coverage: 81.2% of statements 09:11:08 a35cf1a2eb13: Verifying Checksum 09:11:09 bca2f99d35d6: Verifying Checksum 09:11:09 bca2f99d35d6: Download complete 09:11:28 bca2f99d35d6: Pull complete 09:11:28 93359f2a8cfa: Pull complete 09:11:28 7c6f9722023f: Pull complete 09:11:35 a35cf1a2eb13: Pull complete 09:11:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:11:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:11:35 ---> a62c8e92a672 09:11:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:11:35 ---> Running in 877283215d0d 09:11:36 Removing intermediate container 877283215d0d 09:11:36 ---> d9f49b8e71d1 09:11:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:36 ---> Running in f25500e8a995 09:11:40 Removing intermediate container f25500e8a995 09:11:40 ---> 1fe4fdffa657 09:11:40 Step 5/8 : RUN apk add --update --no-cache make git 09:11:40 ---> Running in f4fc2a301262 09:11:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 10.5% of statements 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.214s coverage: 32.5% of statements 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.272s coverage: 57.3% of statements 09:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.901s coverage: 6.6% of statements 09:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements 09:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:11:40 GO111MODULE=on go vet ./... 09:11:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:11:41 OK: 166 MiB in 39 packages 09:11:42 Removing intermediate container f4fc2a301262 09:11:42 ---> 90a3183a6405 09:11:42 Step 6/8 : WORKDIR /device-sdk-go 09:11:42 ---> Running in a75496dabe77 09:11:43 Removing intermediate container a75496dabe77 09:11:43 ---> 279693caefbb 09:11:43 Step 7/8 : COPY . . 09:11:44 ---> 86846f96d04a 09:11:44 Step 8/8 : RUN go mod download 09:11:45 ---> Running in b80236ec5a0c 09:12:13 gofmt -l . 09:12:13 [ "`gofmt -l .`" = "" ] 09:12:13 ./bin/test-attribution-txt.sh 09:12:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:12:13 $ docker stop --time=1 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 09:12:15 $ docker rm -f 41ffdcf768f4af5642cac6734637d5cfbe04495f64c06c3d19f86548bdcd3e14 [Pipeline] // withDockerContainer [Pipeline] sh 09:12:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:12:17 Removing intermediate container b80236ec5a0c 09:12:17 ---> 278180490e6b 09:12:17 Successfully built 278180490e6b 09:12:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:12:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 09:12:18 + docker inspect -f . ci-base-image-x86_64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 09:12:18 . [Pipeline] withDockerContainer 09:12:20 prd-centos7-docker-4c-2g-30287 does not seem to be running inside a container 09:12: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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:12:23 $ docker top 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 09:12:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:12:24 + go version 09:12:24 go version go1.15.5 linux/amd64 [Pipeline] } 09:12:24 $ docker stop --time=1 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 09:12:24 + ls -al . 09:12:24 total 220 09:12:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 09:12 . 09:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 .. 09:12:24 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 09:08 .dockerignore 09:12:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 09:08 .git 09:12:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:08 .github 09:12:24 -rw-rw-r-- 1 jenkins jenkins 138 Mar 18 09:08 .gitignore 09:12:24 -rw-rw-r-- 1 jenkins jenkins 949 Mar 18 09:08 Dockerfile.build 09:12:24 -rw-rw-r-- 1 jenkins jenkins 901 Mar 18 09:08 Jenkinsfile 09:12:24 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 18 09:08 LICENSE 09:12:24 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 18 09:08 Makefile 09:12:24 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 18 09:08 README.md 09:12:24 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 18 09:08 RELEASE-NOTES.txt 09:12:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 09:06 VERSION 09:12:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 09:08 bin 09:12:24 -rw-r--r-- 1 jenkins jenkins 100015 Mar 18 09:11 coverage.out 09:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 example 09:12:24 -rw-r--r-- 1 jenkins jenkins 479 Mar 18 09:12 go.mod 09:12:24 -rw-r--r-- 1 jenkins jenkins 17490 Mar 18 09:12 go.sum 09:12:24 drwxrwxr-x 13 jenkins jenkins 4096 Mar 18 09:08 internal 09:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 openapi 09:12:24 drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 09:08 pkg 09:12:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 09:08 snap 09:12:24 -rw-rw-r-- 1 jenkins jenkins 222 Mar 18 09:08 version.go 09:12:26 $ docker rm -f 172b216f1b3b2a0198a2b6f725e370c964bb0d00323d0358a83f2e3dc0c5e9b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 09:12:27 + 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=f2441cf37640eb727d641ecd71424c5462bf906c --label arch=arm64 --label version=0.0.0 . [Pipeline] isUnix [Pipeline] sh 09:12:27 Sending build context to Docker daemon 2.38MB 09:12:27 + docker inspect -f . ci-base-image-x86_64 09:12:27 . [Pipeline] withDockerContainer 09:12:27 prd-centos7-docker-4c-2g-30287 does not seem to be running inside a container 09:12:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:12:27 Step 2/24 : FROM ${BASE} AS builder 09:12:27 ---> 16a5544d8a43 09:12:27 Step 3/24 : ARG MAKE='make build' 09:12:27 ---> Running in ab0acc438106 09:12:27 $ 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 09:12:28 Removing intermediate container ab0acc438106 09:12:28 ---> 1fa3168cfe08 09:12:28 Step 4/24 : WORKDIR /device-sdk-go 09:12:28 ---> Running in 1775decbad18 09:12:28 Removing intermediate container 1775decbad18 09:12:28 ---> 5ab72e611b24 09:12:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:12:28 ---> Running in 68443d9de1a8 09:12:29 $ docker top 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 -eo pid,comm 09:12:29 Removing intermediate container 68443d9de1a8 09:12:29 ---> 8c3363414f58 09:12:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:12:29 ---> Running in bfd53e7854e4 [Pipeline] { [Pipeline] sh 09:12:30 + make test 09:12:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:12:31 Removing intermediate container bfd53e7854e4 09:12:31 ---> 99b7a4f5037f 09:12:31 Step 7/24 : RUN apk add --update --no-cache make git 09:12:31 ---> Running in 5efee25dde9c 09:12:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:12:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:12:34 OK: 142 MiB in 39 packages 09:12:35 Removing intermediate container 5efee25dde9c 09:12:35 ---> 7d978b5c7efc 09:12:35 Step 8/24 : COPY . . 09:12:36 ---> adb5ce4eff31 09:12:36 Step 9/24 : RUN ${MAKE} 09:12:36 ---> Running in cc54a709af21 09:12:37 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 09:12:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:13:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:13:05 Removing intermediate container cc54a709af21 09:13:05 ---> 4052576a131c 09:13:05 Step 10/24 : FROM scratch 09:13:05 ---> 09:13:05 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:13:05 ---> Running in ce9e2b06a19e 09:13:06 Removing intermediate container ce9e2b06a19e 09:13:06 ---> e36614a53c9a 09:13:06 Step 12/24 : ENV APP_PORT=49990 09:13:06 ---> Running in 02a732f65759 09:13:06 Removing intermediate container 02a732f65759 09:13:06 ---> 4256b60fc7c2 09:13:06 Step 13/24 : EXPOSE $APP_PORT 09:13:06 ---> Running in a46a77543451 09:13:07 Removing intermediate container a46a77543451 09:13:07 ---> 156338865ea0 09:13:07 Step 14/24 : WORKDIR / 09:13:07 ---> Running in 778d66e38570 09:13:07 Removing intermediate container 778d66e38570 09:13:07 ---> 9ee8d1eac85e 09:13:07 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:13:08 ---> eaeee1c814d3 09:13:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:13:09 ---> c061aa0cedf3 09:13:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:13:10 ---> 4c92da79bb0f 09:13:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:13:11 ---> 997493735b7e 09:13:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:13:11 ---> d33d09acd107 09:13:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:13:11 ---> Running in 9c8afc22b307 09:13:12 Removing intermediate container 9c8afc22b307 09:13:12 ---> 011eb61e1722 09:13:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:13:12 ---> Running in 6d1061ffe9c7 09:13:12 Removing intermediate container 6d1061ffe9c7 09:13:12 ---> d310f356f70f 09:13:12 Step 22/24 : LABEL arch=arm64 09:13:12 ---> Running in 7651f8179611 09:13:13 Removing intermediate container 7651f8179611 09:13:13 ---> 58a02ea46555 09:13:13 Step 23/24 : LABEL git_sha=f2441cf37640eb727d641ecd71424c5462bf906c 09:13:13 ---> Running in 0b79a7d3ad86 09:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:13:14 Removing intermediate container 0b79a7d3ad86 09:13:14 ---> e177fe4701ef 09:13:14 Step 24/24 : LABEL version=0.0.0 09:13:14 ---> Running in f87aa225e29c 09:13:14 Removing intermediate container f87aa225e29c 09:13:14 ---> 5775b39709b5 09:13:14 [Warning] One or more build-args [ARCH] were not consumed 09:13:14 Successfully built 5775b39709b5 09:13:14 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 09:13:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 25.5% of statements 09:13:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.099s coverage: 81.2% of statements 09:13:15 ---> job-cost.sh 09:13:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gJLC 09:13:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.5% of statements 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:13:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:13:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 57.3% of statements 09:13:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.082s coverage: 6.6% of statements 09:13:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.176s coverage: 5.1% of statements 09:13:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:13:43 GO111MODULE=on go vet ./... 09:13:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:14:05 gofmt -l . 09:14:05 [ "`gofmt -l .`" = "" ] 09:14:06 ./bin/test-attribution-txt.sh 09:14:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:14:09 $ docker stop --time=1 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 09:14:13 $ docker rm -f 9e8a696e65e14eaafe12254c993369c92f4d33247b231e05fad61ed2799cb494 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:14:14 Warning: overwriting stash ‘coverage-report’ 09:14:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:14:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:14:16 + ls -al . 09:14:16 total 184 09:14:16 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 18 09:14 . 09:14:16 drwxrwxr-x. 4 jenkins jenkins 28 Mar 18 09:10 .. 09:14:16 drwxrwxr-x. 2 jenkins jenkins 64 Mar 18 09:10 bin 09:14:16 -rw-r--r--. 1 jenkins jenkins 100014 Mar 18 09:13 coverage.out 09:14:16 -rw-rw-r--. 1 jenkins jenkins 949 Mar 18 09:10 Dockerfile.build 09:14:16 -rw-rw-r--. 1 jenkins jenkins 140 Mar 18 09:10 .dockerignore 09:14:16 drwxrwxr-x. 4 jenkins jenkins 48 Mar 18 09:10 example 09:14:16 drwxrwxr-x. 8 jenkins jenkins 179 Mar 18 09:10 .git 09:14:16 drwxrwxr-x. 2 jenkins jenkins 103 Mar 18 09:10 .github 09:14:16 -rw-rw-r--. 1 jenkins jenkins 138 Mar 18 09:10 .gitignore 09:14:16 -rw-r--r--. 1 jenkins jenkins 479 Mar 18 09:14 go.mod 09:14:16 -rw-r--r--. 1 jenkins jenkins 17490 Mar 18 09:14 go.sum 09:14:16 drwxrwxr-x. 13 jenkins jenkins 193 Mar 18 09:10 internal 09:14:16 -rw-rw-r--. 1 jenkins jenkins 901 Mar 18 09:10 Jenkinsfile 09:14:16 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 18 09:10 LICENSE 09:14:16 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 18 09:10 Makefile 09:14:16 drwxrwxr-x. 4 jenkins jenkins 26 Mar 18 09:10 openapi 09:14:16 drwxrwxr-x. 5 jenkins jenkins 50 Mar 18 09:10 pkg 09:14:16 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 18 09:10 README.md 09:14:16 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 18 09:10 RELEASE-NOTES.txt 09:14:16 drwxrwxr-x. 4 jenkins jenkins 54 Mar 18 09:10 snap 09:14:16 -rw-rw-r--. 1 jenkins jenkins 5 Mar 18 09:06 VERSION 09:14:16 -rw-rw-r--. 1 jenkins jenkins 222 Mar 18 09:10 version.go [Pipeline] isUnix [Pipeline] sh 09:14:17 + 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=f2441cf37640eb727d641ecd71424c5462bf906c --label arch=amd64 --label version=0.0.0 . 09:14:18 Sending build context to Docker daemon 2.378MB 09:14:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:14:18 Step 2/24 : FROM ${BASE} AS builder 09:14:18 ---> 278180490e6b 09:14:18 Step 3/24 : ARG MAKE='make build' 09:14:18 ---> Running in 9639fda62016 09:14:19 Removing intermediate container 9639fda62016 09:14:19 ---> 474883526c4e 09:14:19 Step 4/24 : WORKDIR /device-sdk-go 09:14:19 ---> Running in 4d64070e12f7 09:14:19 Removing intermediate container 4d64070e12f7 09:14:19 ---> 12a9688c042b 09:14:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:14:19 ---> Running in 654d4f1fc6d9 09:14:20 Removing intermediate container 654d4f1fc6d9 09:14:20 ---> 9cb220218998 09:14:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:20 ---> Running in 09a295810204 09:14:22 Removing intermediate container 09a295810204 09:14:22 ---> cf614846586c 09:14:22 Step 7/24 : RUN apk add --update --no-cache make git 09:14:22 ---> Running in a6b5c7c3044f 09:14:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:14:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:14:24 OK: 166 MiB in 39 packages 09:14:25 Removing intermediate container a6b5c7c3044f 09:14:25 ---> 494eb84d089e 09:14:25 Step 8/24 : COPY . . 09:14:26 ---> 5d780973a8d1 09:14:26 Step 9/24 : RUN ${MAKE} 09:14:27 ---> Running in e2d838599314 09:14:28 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 09:14:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:14:47 Removing intermediate container e2d838599314 09:14:47 ---> c53f923ba154 09:14:47 Step 10/24 : FROM scratch 09:14:47 ---> 09:14:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:14:47 ---> Running in 29c488554137 09:14:47 Removing intermediate container 29c488554137 09:14:47 ---> a83afe04187b 09:14:47 Step 12/24 : ENV APP_PORT=49990 09:14:47 ---> Running in ffabff6e58df 09:14:47 Removing intermediate container ffabff6e58df 09:14:47 ---> b5ca7b205651 09:14:47 Step 13/24 : EXPOSE $APP_PORT 09:14:47 ---> Running in b43e605d5eae 09:14:48 Removing intermediate container b43e605d5eae 09:14:48 ---> 2a58689b557b 09:14:48 Step 14/24 : WORKDIR / 09:14:48 ---> Running in 62b081409ce9 09:14:48 Removing intermediate container 62b081409ce9 09:14:48 ---> 781a705acade 09:14:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:14:49 ---> 6b22977807c7 09:14:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:14:50 ---> 4c367cc2c807 09:14:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:14:50 ---> 4e366bac729d 09:14:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:14:50 ---> 1ccbf34ea6fb 09:14:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:14:50 ---> b391568192a0 09:14:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:14:51 ---> Running in 730112d4519f 09:14:51 Removing intermediate container 730112d4519f 09:14:51 ---> bb459f0bb89a 09:14:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:14:51 ---> Running in d95428a3ce38 09:14:51 Removing intermediate container d95428a3ce38 09:14:51 ---> 3c3d78a7cfe5 09:14:51 Step 22/24 : LABEL arch=amd64 09:14:52 ---> Running in 4d6a423f42c1 09:14:52 Removing intermediate container 4d6a423f42c1 09:14:52 ---> 738ac0a2499e 09:14:52 Step 23/24 : LABEL git_sha=f2441cf37640eb727d641ecd71424c5462bf906c 09:14:52 ---> Running in 9c067011dc97 09:14:53 Removing intermediate container 9c067011dc97 09:14:53 ---> 308a48842d3e 09:14:53 Step 24/24 : LABEL version=0.0.0 09:14:53 ---> Running in 042d31917286 09:14:54 Removing intermediate container 042d31917286 09:14:54 ---> 6409132f708a 09:14:54 [Warning] One or more build-args [ARCH] were not consumed 09:14:54 Successfully built 6409132f708a 09:14:54 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 09:14:55 ---> job-cost.sh 09:14:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qFmN 09:15:16 lf-activate-venv(): INFO: Adding /tmp/venv-gJLC/bin to PATH 09:15:16 INFO: No Stack... 09:15:17 INFO: Retrieving Pricing Info for: lf-standard-4 09:15:17 INFO: Archiving Costs [Pipeline] sh 09:15:18 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 09:15:18 + cut -d, -f6 [Pipeline] lock 09:15:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] 09:15:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] did not exist. Created. 09:15:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:15:19 + echo total: 0.20999999344348907 [Pipeline] stash 09:15:19 Stashed 1 file(s) [Pipeline] } 09:15:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:15:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:16:01 lf-activate-venv(): INFO: Adding /tmp/venv-qFmN/bin to PATH 09:16:01 INFO: No Stack... 09:16:02 INFO: Retrieving Pricing Info for: v1-standard-2 09:16:03 INFO: Archiving Costs [Pipeline] sh 09:16:03 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 09:16:03 + cut -d, -f6 [Pipeline] lock 09:16:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] 09:16:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] did not exist. Created. 09:16:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-824-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:04 /w/workspace/device-sdk-go/1@tmp/durable-163ac98b/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 09:16:05 + echo total: 0.029999999329447746 [Pipeline] stash 09:16:05 Warning: overwriting stash ‘stack-cost’ 09:16:05 Stashed 1 file(s) [Pipeline] } 09:16:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-824-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 09:16:07 provisioning config files... 09:16:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config7669292835257725241tmp [Pipeline] { [Pipeline] sh 09:16:07 + set +x 09:16:07 + curl -s https://codecov.io/bash 09:16:07 + bash -s -- 09:16:08 09:16:08 _____ _ 09:16:08 / ____| | | 09:16:08 | | ___ __| | ___ ___ _____ __ 09:16:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:16:08 | |___| (_) | (_| | __/ (_| (_) \ V / 09:16:08 \_____\___/ \__,_|\___|\___\___/ \_/ 09:16:08 Bash-20210309-2b87ace 09:16:08 09:16:08 09:16:08 ==> git version 2.24.3 found 09:16:08 ==> 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 09:16:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:16:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:16:08 ==> Jenkins CI detected. 09:16:08 project root: . 09:16:08 --> token set from env 09:16:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:16:08 ==> Running gcov in . (disable via -X gcov) 09:16:08 ==> Python coveragepy not found 09:16:08 ==> Searching for coverage reports in: 09:16:08 + . 09:16:08 -> Found 1 reports 09:16:08 ==> Detecting git/mercurial file structure 09:16:08 ==> Reading reports 09:16:08 + ./coverage.out bytes=100014 09:16:08 ==> Appending adjustments 09:16:08 https://docs.codecov.io/docs/fixing-reports 09:16:08 + Found adjustments 09:16:08 ==> Gzipping contents 09:16:08 16K /tmp/codecov.Lyi0iB.gz 09:16:08 ==> Uploading reports 09:16:08 url: https://codecov.io 09:16:08 query: branch=PR-824&commit=f2441cf37640eb727d641ecd71424c5462bf906c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-824%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= 09:16:08 -> Pinging Codecov 09:16:08 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-824&commit=f2441cf37640eb727d641ecd71424c5462bf906c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-824%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=824&job=&cmd_args= 09:16:09 -> Uploading to 09:16:09 https://storage.googleapis.com/codecov/v4/raw/2021-03-18/7E55EF52A471D76F132DFD9A03CDDE97/f2441cf37640eb727d641ecd71424c5462bf906c/d008bc2d-a973-49e3-9533-431e7ae0f538.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T091608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c73b0ebaddcce9fc013a4079510a2787c60a54006b23587cfed3968b0eed863 09:16:09 % Total % Received % Xferd Average Speed Time Time Time Current 09:16:09 Dload Upload Total Spent Left Speed 09:16:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13510 0 0 100 13510 0 32313 --:--:-- --:--:-- --:--:-- 32398 09:16:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f2441cf37640eb727d641ecd71424c5462bf906c [Pipeline] } 09:16:09 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 09:16:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:16:13 ---> package-listing.sh 09:16:13 ++ tr '[:upper:]' '[:lower:]' 09:16:13 ++ facter osfamily 09:16:13 + OS_FAMILY=redhat 09:16:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-824 09:16:13 + START_PACKAGES=/tmp/packages_start.txt 09:16:13 + END_PACKAGES=/tmp/packages_end.txt 09:16:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:16:13 + PACKAGES=/tmp/packages_start.txt 09:16:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-824 ']' 09:16:13 + PACKAGES=/tmp/packages_end.txt 09:16:13 + case "${OS_FAMILY}" in 09:16:13 + rpm -qa 09:16:13 + sort 09:16:18 + '[' -f /tmp/packages_start.txt ']' 09:16:18 + '[' -f /tmp/packages_end.txt ']' 09:16:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:16:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-824 ']' 09:16:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-824/archives/ 09:16:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-824/archives/ [Pipeline] echo 09:16:18 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-824/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:16:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:16:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:16:20 09:16:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:16:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:16:21 alpine: Pulling from edgex-lftools-log-publisher 09:16:21 df20fa9351a1: Pulling fs layer 09:16:21 36b3adc4ff6f: Pulling fs layer 09:16:21 8ad3a11d3b57: Pulling fs layer 09:16:21 46f8f816bc3b: Pulling fs layer 09:16:21 93b61091891f: Pulling fs layer 09:16:21 93b9cdb0e59b: Pulling fs layer 09:16:21 5e14af77c1be: Pulling fs layer 09:16:21 01666e4c0597: Pulling fs layer 09:16:21 aa168da1d23b: Pulling fs layer 09:16:21 93b9cdb0e59b: Waiting 09:16:21 5e14af77c1be: Waiting 09:16:21 01666e4c0597: Waiting 09:16:21 aa168da1d23b: Waiting 09:16:21 46f8f816bc3b: Waiting 09:16:21 93b61091891f: Waiting 09:16:21 36b3adc4ff6f: Download complete 09:16:21 46f8f816bc3b: Verifying Checksum 09:16:21 46f8f816bc3b: Download complete 09:16:21 df20fa9351a1: Verifying Checksum 09:16:21 df20fa9351a1: Download complete 09:16:21 93b9cdb0e59b: Verifying Checksum 09:16:21 93b9cdb0e59b: Download complete 09:16:21 93b61091891f: Download complete 09:16:21 5e14af77c1be: Verifying Checksum 09:16:21 5e14af77c1be: Download complete 09:16:21 01666e4c0597: Verifying Checksum 09:16:21 01666e4c0597: Download complete 09:16:21 8ad3a11d3b57: Verifying Checksum 09:16:21 8ad3a11d3b57: Download complete 09:16:21 df20fa9351a1: Pull complete 09:16:22 36b3adc4ff6f: Pull complete 09:16:22 8ad3a11d3b57: Pull complete 09:16:22 46f8f816bc3b: Pull complete 09:16:23 aa168da1d23b: Verifying Checksum 09:16:23 aa168da1d23b: Download complete 09:16:24 93b61091891f: Pull complete 09:16:24 93b9cdb0e59b: Pull complete 09:16:24 5e14af77c1be: Pull complete 09:16:24 01666e4c0597: Pull complete 09:16:33 aa168da1d23b: Pull complete 09:16:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:16:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:16:33 prd-centos7-docker-4c-2g-30285 does not seem to be running inside a container 09:16:33 $ 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-824/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-824 -v /w/workspace/dgexfoundry_device-sdk-go_PR-824:/w/workspace/dgexfoundry_device-sdk-go_PR-824:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-824@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 09:16:37 $ docker top ef401234871967b4b202d755308b516879e01b39b7fbf0cffcb9d2fab202b651 -eo pid,comm [Pipeline] { [Pipeline] sh 09:16:38 + touch /tmp/pre-build-complete [Pipeline] sh 09:16:38 + mkdir -p /var/log/sa [Pipeline] sh 09:16:38 + ls /var/log/sa-host 09:16:38 + sadf -c /var/log/sa-host/sa18 09:16:38 file_magic: OK 09:16:38 HZ: Using current value: 100 09:16:38 file_header: OK 09:16:38 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 09:16:38 Statistics: 09:16:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:16:38 File successfully converted to sysstat format version 12.2.1 09:16:38 + sadf -c /var/log/sa-host/sa23 09:16:38 file_magic: OK 09:16:38 HZ: Using current value: 100 09:16:38 file_header: OK 09:16:38 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 09:16:38 Statistics: 09:16:38 Hnuu...uuuununununu... 09:16:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:16:39 provisioning config files... 09:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-824@tmp/config405297622716760677tmp [Pipeline] { [Pipeline] echo 09:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:16:39 ---> create-netrc.sh [Pipeline] } 09:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:16:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:16:40 ---> python-tools-install.sh [Pipeline] echo 09:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:16:40 ---> sudo-logs.sh 09:16:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:16:41 ---> job-cost.sh 09:16:41 lf-activate-venv: SKIPPING 09:16:41 DEBUG: total: 0.029999999329447746 09:16:41 INFO: Retrieving Stack Cost... 09:16:42 INFO: Retrieving Pricing Info for: v1-standard-2 09:16:42 INFO: Archiving Costs [Pipeline] echo 09:16:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:16:42 ---> logs-deploy.sh 09:16:42 lf-activate-venv: SKIPPING 09:16:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-824/1 09:16:42 INFO: archiving workspace using pattern(s): 09:16:44 Archives upload complete. 09:16:44 INFO: archiving logs to Nexus