Pull request #795 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 4822fad6fe40ed14e5632a9345f0fe92edb82595+848c16ec05d796c9e5a16abafab7aa79fc4967e4 (df1c6ef2cad5f2ca714b71668a696864d7505aa0) 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 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh 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-795/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-795/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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27290 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [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-795 # 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/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) > git config core.sparsecheckout # timeout=10 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 Commit message: "feat: spawn autoevents for discovered device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:58:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:58:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:58:50 ========================================================= 07:58:50 EdgeX Global Pipelines Version Info 07:58:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:58:51 ------------------- 07:58:51 stable info: 07:58:51 ------------------- 07:58:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:51 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:58:51 Message: update stable to v1.0.179 07:58:52 ------------------- 07:58:52 experimental info: 07:58:52 ------------------- 07:58:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:58:52 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:58:52 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:58:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:58:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:58:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-795 [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-795 [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-795 [Pipeline] echo 07:58:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] echo 07:58:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4822fad [Pipeline] echo 07:58:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:58:57 provisioning config files... 07:58:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config7536543124362134484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:57 ---> docker-login.sh 07:58:57 nexus3.edgexfoundry.org:10001 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10002 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10003 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 nexus3.edgexfoundry.org:10004 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 docker.io 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 ---> docker-login.sh ends [Pipeline] } 07:58:59 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 07:59:00 + git log --format=format:%s -1 4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] echo 07:59:00 GIT_COMMIT: 4822fad6fe40ed14e5632a9345f0fe92edb82595, Commit Message: feat: spawn autoevents for discovered device [Pipeline] echo 07:59:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:59:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:01 07:59:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:59:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:02 latest: Pulling from edgex-devops/git-semver 07:59:02 31603596830f: Pulling fs layer 07:59:02 2a8b12db71e7: Pulling fs layer 07:59:02 6ca5941a6612: Pulling fs layer 07:59:02 ecc8261a40a4: Pulling fs layer 07:59:02 ecc8261a40a4: Waiting 07:59:02 2a8b12db71e7: Verifying Checksum 07:59:02 2a8b12db71e7: Download complete 07:59:02 31603596830f: Verifying Checksum 07:59:02 31603596830f: Download complete 07:59:02 ecc8261a40a4: Verifying Checksum 07:59:02 ecc8261a40a4: Download complete 07:59:02 6ca5941a6612: Verifying Checksum 07:59:02 6ca5941a6612: Download complete 07:59:02 31603596830f: Pull complete 07:59:03 2a8b12db71e7: Pull complete 07:59:03 6ca5941a6612: Pull complete 07:59:03 ecc8261a40a4: Pull complete 07:59:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:59:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:59:04 prd-centos7-docker-4c-2g-27290 does not seem to be running inside a container 07:59:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-795 -v /w/workspace/dgexfoundry_device-sdk-go_PR-795:/w/workspace/dgexfoundry_device-sdk-go_PR-795:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-795@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 07:59:06 $ docker top 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:06 [ssh-agent] Looking for ssh-agent implementation... 07:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:06 $ docker exec 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent 07:59:07 SSH_AUTH_SOCK=/tmp/ssh-7wZe5KeNGtUe/agent.11 07:59:07 SSH_AGENT_PID=16 07:59:07 Running ssh-add (command line suppressed) 07:59:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3448216768218925606.key (/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3448216768218925606.key) 07:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:07 + git tag --points-at HEAD [Pipeline] } 07:59:07 $ docker exec --env ******** --env ******** 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent -k 07:59:07 unset SSH_AUTH_SOCK; 07:59:07 unset SSH_AGENT_PID; 07:59:07 echo Agent pid 16 killed; 07:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:59:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:59:08 [ssh-agent] Looking for ssh-agent implementation... 07:59:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:59:08 $ docker exec 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent 07:59:08 SSH_AUTH_SOCK=/tmp/ssh-bWpmbTHPo0a4/agent.44 07:59:08 SSH_AGENT_PID=50 07:59:08 Running ssh-add (command line suppressed) 07:59:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3129754671517751694.key (/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/private_key_3129754671517751694.key) 07:59:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:59:09 + git semver init 07:59:09 # -> Open(): unable to determine branch for HEAD 07:59:09 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-795/.git 07:59:09 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-795 07:59:09 # $SEMVER_REMOTE_NAME = origin 07:59:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:59:09 # $SEMVER_USER_NAME = edgex-jenkins 07:59:09 # $SEMVER_BRANCH = PR-795 07:59:09 # $SEMVER_TEMP = /tmp/semver-121695880 07:59:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:59:09 # '/tmp/semver-121695880' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-795/.semver' 07:59:09 # -> Force: false 07:59:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-795/.semver [Pipeline] } 07:59:09 $ docker exec --env ******** --env ******** 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e ssh-agent -k 07:59:09 unset SSH_AUTH_SOCK; 07:59:09 unset SSH_AGENT_PID; 07:59:09 echo Agent pid 50 killed; 07:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:59:10 + git semver [Pipeline] } 07:59:10 $ docker stop --time=1 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e 07:59:11 $ docker rm -f 72fe526e902191e65689d37039f9a05ef841e24a62f05749cd39b4a25e42f73e [Pipeline] // withDockerContainer [Pipeline] sh 07:59:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:59:12 Stashed 1 file(s) [Pipeline] echo 07:59:12 [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 07:59:28 Still waiting to schedule task 07:59:28 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27290’ 07:59:28 Still waiting to schedule task 07:59:28 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 08:01:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27291 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [Pipeline] { [Pipeline] ws 08:01:21 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:01:26 using credential edgex-jenkins-ssh 08:01:26 Cloning the remote Git repository 08:01:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:01:26 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:01:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:26 > git --version # timeout=10 08:01:26 > git --version # 'git version 2.17.1' 08:01:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:28 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 08:01:28 Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 08:01:28 Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) 08:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:01:28 > git config core.sparsecheckout # timeout=10 08:01:28 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 08:01:28 > git remote # timeout=10 08:01:28 > git config --get remote.origin.url # timeout=10 08:01:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:28 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 08:01:28 > git rev-parse HEAD^{commit} # timeout=10 08:01:28 > git config core.sparsecheckout # timeout=10 08:01:28 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 08:01:33 Commit message: "feat: spawn autoevents for discovered device" 08:01:33 > git --version # timeout=10 08:01:33 > git --version # 'git version 2.17.1' 08:01:33 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:01:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:01:35 + sudo service docker restart 08:01:35 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:01:38 provisioning config files... 08:01:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1503670927807281932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:39 ---> docker-login.sh 08:01:39 nexus3.edgexfoundry.org:10001 08:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:40 Configure a credential helper to remove this warning. See 08:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:40 08:01:40 Login Succeeded 08:01:40 nexus3.edgexfoundry.org:10002 08:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:41 Configure a credential helper to remove this warning. See 08:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:41 08:01:41 Login Succeeded 08:01:41 nexus3.edgexfoundry.org:10003 08:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:41 Configure a credential helper to remove this warning. See 08:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:41 08:01:41 Login Succeeded 08:01:41 nexus3.edgexfoundry.org:10004 08:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:42 Configure a credential helper to remove this warning. See 08:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:42 08:01:42 Login Succeeded 08:01:42 docker.io 08:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:43 Configure a credential helper to remove this warning. See 08:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:43 08:01:43 Login Succeeded 08:01:43 ---> docker-login.sh ends [Pipeline] } 08:01:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:43 ========================================================= 08:01:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:01:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:01:44 + 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 . 08:01:44 Sending build context to Docker daemon 2.409MB 08:01:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:01:44 Step 2/8 : FROM ${BASE} 08:01:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:01:44 5f621e34cdf4: Pulling fs layer 08:01:44 a4357932f1b6: Pulling fs layer 08:01:44 18c013af1878: Pulling fs layer 08:01:44 00ac8860ef70: Pulling fs layer 08:01:44 63d7cb157983: Pulling fs layer 08:01:44 b116817d02f9: Pulling fs layer 08:01:44 745a02a5169b: Pulling fs layer 08:01:44 00ac8860ef70: Waiting 08:01:44 63d7cb157983: Waiting 08:01:44 b116817d02f9: Waiting 08:01:44 745a02a5169b: Waiting 08:01:44 18c013af1878: Verifying Checksum 08:01:44 18c013af1878: Download complete 08:01:44 a4357932f1b6: Download complete 08:01:44 63d7cb157983: Verifying Checksum 08:01:44 63d7cb157983: Download complete 08:01:44 b116817d02f9: Download complete 08:01:44 5f621e34cdf4: Verifying Checksum 08:01:44 5f621e34cdf4: Download complete 08:01:45 5f621e34cdf4: Pull complete 08:01:45 a4357932f1b6: Pull complete 08:01:46 18c013af1878: Pull complete 08:01:47 745a02a5169b: Verifying Checksum 08:01:47 745a02a5169b: Download complete 08:01:49 00ac8860ef70: Verifying Checksum 08:01:49 00ac8860ef70: Download complete 08:01:54 Running on prd-centos7-docker-4c-2g-27292 in /w/workspace/dgexfoundry_device-sdk-go_PR-795 [Pipeline] { [Pipeline] ws 08:01:54 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:01:57 using credential edgex-jenkins-ssh 08:01:57 Cloning the remote Git repository 08:01:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:01:57 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:01:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:57 > git --version # timeout=10 08:01:57 > git --version # 'git version 2.24.3' 08:01:57 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:58 Merging remotes/origin/master commit 848c16ec05d796c9e5a16abafab7aa79fc4967e4 into PR head commit 4822fad6fe40ed14e5632a9345f0fe92edb82595 08:01:58 Merge succeeded, producing 4822fad6fe40ed14e5632a9345f0fe92edb82595 08:01:58 Checking out Revision 4822fad6fe40ed14e5632a9345f0fe92edb82595 (PR-795) 08:01:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:01:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:01:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:01:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/795/head:refs/remotes/origin/PR-795 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:01:58 > git config core.sparsecheckout # timeout=10 08:01:58 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 08:01:58 > git remote # timeout=10 08:01:58 > git config --get remote.origin.url # timeout=10 08:01:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:01:58 > git merge 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 08:01:58 > git rev-parse HEAD^{commit} # timeout=10 08:01:58 > git config core.sparsecheckout # timeout=10 08:01:58 > git checkout -f 4822fad6fe40ed14e5632a9345f0fe92edb82595 # timeout=10 08:01:59 00ac8860ef70: Pull complete 08:01:59 63d7cb157983: Pull complete 08:01:59 b116817d02f9: Pull complete 08:02:02 Commit message: "feat: spawn autoevents for discovered device" 08:02:02 > git --version # timeout=10 08:02:02 > git --version # 'git version 2.24.3' 08:02:02 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:02:03 745a02a5169b: Pull complete 08:02:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:02:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:02:03 ---> b7e6874047d6 08:02:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:02:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:02:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:02:04 + sudo service docker restart 08:02:04 + true 08:02:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:02:05 provisioning config files... 08:02:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7639482420615711201tmp [Pipeline] { 08:02:05 ---> Running in bfe22e95447b [Pipeline] libraryResource [Pipeline] sh 08:02:06 ---> docker-login.sh 08:02:06 nexus3.edgexfoundry.org:10001 08:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:06 Removing intermediate container bfe22e95447b 08:02:06 ---> de20edf4630d 08:02:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:02:06 ---> Running in 2203057a841d 08:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:06 Configure a credential helper to remove this warning. See 08:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:06 08:02:06 Login Succeeded 08:02:06 nexus3.edgexfoundry.org:10002 08:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:06 Configure a credential helper to remove this warning. See 08:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:06 08:02:06 Login Succeeded 08:02:06 nexus3.edgexfoundry.org:10003 08:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:07 Configure a credential helper to remove this warning. See 08:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:07 08:02:07 Login Succeeded 08:02:07 nexus3.edgexfoundry.org:10004 08:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:07 Configure a credential helper to remove this warning. See 08:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:07 08:02:07 Login Succeeded 08:02:07 docker.io 08:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:02:07 Configure a credential helper to remove this warning. See 08:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:02:07 08:02:07 Login Succeeded 08:02:07 ---> docker-login.sh ends [Pipeline] } 08:02:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:02:08 ========================================================= 08:02:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:02:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:02:08 + 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 . 08:02:08 Sending build context to Docker daemon 2.41MB 08:02:08 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:02:08 Step 2/8 : FROM ${BASE} 08:02:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:02:08 188c0c94c7c5: Pulling fs layer 08:02:08 0ef7d3d256c8: Pulling fs layer 08:02:08 de9db76c5a1d: Pulling fs layer 08:02:08 bca2f99d35d6: Pulling fs layer 08:02:08 93359f2a8cfa: Pulling fs layer 08:02:08 7c6f9722023f: Pulling fs layer 08:02:08 a35cf1a2eb13: Pulling fs layer 08:02:08 bca2f99d35d6: Waiting 08:02:08 93359f2a8cfa: Waiting 08:02:08 7c6f9722023f: Waiting 08:02:08 a35cf1a2eb13: Waiting 08:02:08 de9db76c5a1d: Verifying Checksum 08:02:08 de9db76c5a1d: Download complete 08:02:08 0ef7d3d256c8: Download complete 08:02:08 93359f2a8cfa: Verifying Checksum 08:02:08 93359f2a8cfa: Download complete 08:02:08 7c6f9722023f: Download complete 08:02:08 188c0c94c7c5: Verifying Checksum 08:02:08 188c0c94c7c5: Download complete 08:02:09 Removing intermediate container 2203057a841d 08:02:09 ---> 8381a4e30c1a 08:02:09 Step 5/8 : RUN apk add --update --no-cache make git 08:02:09 ---> Running in 4192df1f648a 08:02:09 188c0c94c7c5: Pull complete 08:02:09 0ef7d3d256c8: Pull complete 08:02:09 de9db76c5a1d: Pull complete 08:02:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:02:10 a35cf1a2eb13: Verifying Checksum 08:02:10 a35cf1a2eb13: Download complete 08:02:11 bca2f99d35d6: Download complete 08:02:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:02:13 OK: 142 MiB in 39 packages 08:02:14 Removing intermediate container 4192df1f648a 08:02:14 ---> 4c5d66c78c9b 08:02:14 Step 6/8 : WORKDIR /device-sdk-go 08:02:14 ---> Running in 581a18a2a930 08:02:15 Removing intermediate container 581a18a2a930 08:02:15 ---> 651c347676ca 08:02:15 Step 7/8 : COPY . . 08:02:16 ---> fdea3666a45f 08:02:16 Step 8/8 : RUN go mod download 08:02:16 ---> Running in 87e533429ba5 08:02:16 bca2f99d35d6: Pull complete 08:02:16 93359f2a8cfa: Pull complete 08:02:16 7c6f9722023f: Pull complete 08:02:22 a35cf1a2eb13: Pull complete 08:02:22 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:02:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:02:22 ---> a62c8e92a672 08:02:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:02:22 ---> Running in e331701a03f2 08:02:22 Removing intermediate container e331701a03f2 08:02:22 ---> 65ebb003bb75 08:02:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:02:22 ---> Running in e2442e38316a 08:02:23 Removing intermediate container e2442e38316a 08:02:23 ---> 0f575af5e11e 08:02:23 Step 5/8 : RUN apk add --update --no-cache make git 08:02:23 ---> Running in 514e8d7d2739 08:02:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:02:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:02:26 OK: 166 MiB in 39 packages 08:02:26 Removing intermediate container 514e8d7d2739 08:02:26 ---> caa73bca1da4 08:02:26 Step 6/8 : WORKDIR /device-sdk-go 08:02:26 ---> Running in 7de66c22014c 08:02:27 Removing intermediate container 7de66c22014c 08:02:27 ---> a4775af304d5 08:02:27 Step 7/8 : COPY . . 08:02:28 ---> a4c67cbc309b 08:02:28 Step 8/8 : RUN go mod download 08:02:28 ---> Running in d9a06cc6a775 08:02:43 Removing intermediate container 87e533429ba5 08:02:43 ---> a346cb0e3470 08:02:43 Successfully built a346cb0e3470 08:02:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:02:43 + docker inspect -f . ci-base-image-arm64 08:02:43 . [Pipeline] withDockerContainer 08:02:44 prd-ubuntu18.04-docker-arm64-4c-16g-27291 does not seem to be running inside a container 08:02:44 $ 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 08:02:45 $ docker top f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:46 + go version 08:02:46 go version go1.15.5 linux/arm64 [Pipeline] } 08:02:46 $ docker stop --time=1 f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 08:02:48 $ docker rm -f f529574702e911defd4d2a72f19c62a016e38ead20b59d194a07e61268aaab71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:02:50 + docker inspect -f . ci-base-image-arm64 08:02:50 . [Pipeline] withDockerContainer 08:02:50 Removing intermediate container d9a06cc6a775 08:02:50 ---> e987671b32c3 08:02:50 Successfully built e987671b32c3 08:02:50 Successfully tagged ci-base-image-x86_64:latest 08:02:50 prd-ubuntu18.04-docker-arm64-4c-16g-27291 does not seem to be running inside a container 08:02:50 $ 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 08:02:51 $ docker top ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 08:02:52 + docker inspect -f . ci-base-image-x86_64 08:02:52 . [Pipeline] withDockerContainer 08:02:52 prd-centos7-docker-4c-2g-27292 does not seem to be running inside a container 08:02: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-x86_64 cat 08:02:53 + make test 08:02:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:02:53 $ docker top 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:54 + go version 08:02:54 go version go1.15.5 linux/amd64 [Pipeline] } 08:02:54 $ docker stop --time=1 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee 08:02:55 $ docker rm -f 8643b1f9927b862eaefb5741ad5e07c83d32e9f4a71ac7d47a5b0dc0184e3fee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:02:56 + docker inspect -f . ci-base-image-x86_64 08:02:56 . [Pipeline] withDockerContainer 08:02:56 prd-centos7-docker-4c-2g-27292 does not seem to be running inside a container 08:02:56 $ 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 08:02:57 $ docker top 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:58 + make test 08:02:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:03:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:03:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:03:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:03:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:03:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:03:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 25.5% of statements 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 10.1% of statements 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.053s coverage: 12.5% of statements 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.061s coverage: 84.8% of statements 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 49.2% of statements 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.063s coverage: 81.3% of statements 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 24.8% of statements 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.241s coverage: 83.5% of statements 08:03:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.3% of statements 08:03:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:03:54 GO111MODULE=on go vet ./... 08:04:01 gofmt -l . 08:04:01 [ "`gofmt -l .`" = "" ] 08:04:01 ./bin/test-attribution-txt.sh 08:04:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:04:01 $ docker stop --time=1 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 08:04:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 25.5% of statements 08:04:03 $ docker rm -f 0cb2f8cc01578c4c20af5b78c5e0c7a51ad092cd0ef00c0f8b9b74f964409e23 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:04:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:04:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:04:07 + ls -al . 08:04:07 total 184 08:04:07 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 08:04 . 08:04:07 drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 08:01 .. 08:04:07 drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 08:01 bin 08:04:07 -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 08:03 coverage.out 08:04:07 -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 08:01 Dockerfile.build 08:04:07 -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 08:01 .dockerignore 08:04:07 drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 08:01 example 08:04:07 drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 08:02 .git 08:04:07 drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 08:01 .github 08:04:07 -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 08:01 .gitignore 08:04:07 -rw-r--r--. 1 jenkins jenkins 515 Feb 23 08:04 go.mod 08:04:07 -rw-r--r--. 1 jenkins jenkins 19062 Feb 23 08:04 go.sum 08:04:07 drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 08:01 internal 08:04:07 -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 08:01 Jenkinsfile 08:04:07 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 08:01 LICENSE 08:04:07 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 08:01 Makefile 08:04:07 drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 08:01 openapi 08:04:07 drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 08:01 pkg 08:04:07 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 08:01 README.md 08:04:07 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 08:01 RELEASE-NOTES.txt 08:04:07 drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 08:01 snap 08:04:07 -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 07:59 VERSION 08:04:07 -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 08:01 version.go [Pipeline] isUnix [Pipeline] sh 08:04:07 + 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=4822fad6fe40ed14e5632a9345f0fe92edb82595 --label arch=amd64 --label version=0.0.0 . 08:04:07 Sending build context to Docker daemon 2.512MB 08:04:07 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:04:07 Step 2/24 : FROM ${BASE} AS builder 08:04:07 ---> e987671b32c3 08:04:07 Step 3/24 : ARG MAKE='make build' 08:04:08 ---> Running in fb87d23f6088 08:04:08 Removing intermediate container fb87d23f6088 08:04:08 ---> 4a48c6e26632 08:04:08 Step 4/24 : WORKDIR /device-sdk-go 08:04:08 ---> Running in fb27e5dbfa99 08:04:08 Removing intermediate container fb27e5dbfa99 08:04:08 ---> 884146d7484f 08:04:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:08 ---> Running in aa3d7017ac42 08:04:08 Removing intermediate container aa3d7017ac42 08:04:08 ---> 0dd4b04b9522 08:04:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:08 ---> Running in a13d19e90bec 08:04:09 Removing intermediate container a13d19e90bec 08:04:09 ---> e11982c028d8 08:04:09 Step 7/24 : RUN apk add --update --no-cache make git 08:04:09 ---> Running in dab817d84d85 08:04:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:04:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:04:11 OK: 166 MiB in 39 packages 08:04:12 Removing intermediate container dab817d84d85 08:04:12 ---> 430ed017f95c 08:04:12 Step 8/24 : COPY . . 08:04:13 ---> a5e99dfcb950 08:04:13 Step 9/24 : RUN ${MAKE} 08:04:13 ---> Running in 5a3fe2d6da93 08:04:14 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 08:04:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:04:24 Removing intermediate container 5a3fe2d6da93 08:04:24 ---> db2b91e73d5b 08:04:24 Step 10/24 : FROM scratch 08:04:24 ---> 08:04:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:24 ---> Running in ba6c30791ba4 08:04:24 Removing intermediate container ba6c30791ba4 08:04:24 ---> 18a4de0b7713 08:04:24 Step 12/24 : ENV APP_PORT=49990 08:04:24 ---> Running in b23aab77b576 08:04:24 Removing intermediate container b23aab77b576 08:04:24 ---> b9b381a372b7 08:04:24 Step 13/24 : EXPOSE $APP_PORT 08:04:24 ---> Running in b636b00d0b12 08:04:25 Removing intermediate container b636b00d0b12 08:04:25 ---> d5dd231a2c37 08:04:25 Step 14/24 : WORKDIR / 08:04:25 ---> Running in 7f723a9a7277 08:04:25 Removing intermediate container 7f723a9a7277 08:04:25 ---> 480d35741bd2 08:04:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:04:25 ---> d040592a2d67 08:04:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:04:25 ---> ed8942e0d665 08:04:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:04:26 ---> fac81bde69d8 08:04:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:04:26 ---> 02e3fd72aad1 08:04:26 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:04:26 ---> fe372ba99ab2 08:04:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:04:26 ---> Running in d379a5118d7f 08:04:26 Removing intermediate container d379a5118d7f 08:04:26 ---> e998af91dbbe 08:04:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:04:26 ---> Running in 2c8e12580402 08:04:27 Removing intermediate container 2c8e12580402 08:04:27 ---> f4eb8c38da71 08:04:27 Step 22/24 : LABEL arch=amd64 08:04:27 ---> Running in 2f2896e0e4f7 08:04:27 Removing intermediate container 2f2896e0e4f7 08:04:27 ---> 8beace20c1d9 08:04:27 Step 23/24 : LABEL git_sha=4822fad6fe40ed14e5632a9345f0fe92edb82595 08:04:27 ---> Running in 3fadf4d4b7cc 08:04:27 Removing intermediate container 3fadf4d4b7cc 08:04:27 ---> c17c82c80d5d 08:04:27 Step 24/24 : LABEL version=0.0.0 08:04:27 ---> Running in c1d5384da4ba 08:04:27 Removing intermediate container c1d5384da4ba 08:04:27 ---> d29e2d4e64f8 08:04:27 [Warning] One or more build-args [ARCH] were not consumed 08:04:27 Successfully built d29e2d4e64f8 08:04:27 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.144s coverage: 10.1% of statements 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 12.5% of statements 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.152s coverage: 84.8% of statements 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.190s coverage: 49.2% of statements 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.197s coverage: 24.8% of statements 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.806s coverage: 83.5% of statements 08:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.3% of statements 08:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:04:27 GO111MODULE=on go vet ./... [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:05:00 gofmt -l . 08:05:00 [ "`gofmt -l .`" = "" ] 08:05:00 ./bin/test-attribution-txt.sh 08:05:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:05:00 $ docker stop --time=1 ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 08:05:02 $ docker rm -f ea48b03b14a63ddc0400fea8ba775e5120fca7c8ec467b8429dfb535b04a1111 [Pipeline] // withDockerContainer [Pipeline] sh 08:05:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:05:03 Warning: overwriting stash ‘coverage-report’ 08:05:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:05:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:05:05 + ls -al . 08:05:05 total 220 08:05:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 08:05 . 08:05:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 .. 08:05:05 -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 08:01 .dockerignore 08:05:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 08:01 .git 08:05:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:01 .github 08:05:05 -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 08:01 .gitignore 08:05:05 -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 08:01 Dockerfile.build 08:05:05 -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 08:01 Jenkinsfile 08:05:05 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 08:01 LICENSE 08:05:05 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 08:01 Makefile 08:05:05 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 08:01 README.md 08:05:05 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 08:01 RELEASE-NOTES.txt 08:05:05 -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 07:59 VERSION 08:05:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 08:01 bin 08:05:05 -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 08:04 coverage.out 08:05:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 example 08:05:05 -rw-r--r-- 1 jenkins jenkins 515 Feb 23 08:04 go.mod 08:05:05 -rw-r--r-- 1 jenkins jenkins 19062 Feb 23 08:05 go.sum 08:05:05 drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 08:01 internal 08:05:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 openapi 08:05:05 drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 08:01 pkg 08:05:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 08:01 snap 08:05:05 -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 08:01 version.go [Pipeline] isUnix [Pipeline] sh 08:05: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=4822fad6fe40ed14e5632a9345f0fe92edb82595 --label arch=arm64 --label version=0.0.0 . 08:05:06 Sending build context to Docker daemon 2.511MB 08:05:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:05:06 Step 2/24 : FROM ${BASE} AS builder 08:05:06 ---> a346cb0e3470 08:05:06 Step 3/24 : ARG MAKE='make build' 08:05:07 ---> Running in 09e3920318ca 08:05:07 Removing intermediate container 09e3920318ca 08:05:07 ---> 67d5b7cd8391 08:05:07 Step 4/24 : WORKDIR /device-sdk-go 08:05:07 ---> Running in 585beb32caf6 08:05:07 Removing intermediate container 585beb32caf6 08:05:07 ---> dfc219c082b9 08:05:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:08 ---> Running in 39fcb613be07 08:05:08 Removing intermediate container 39fcb613be07 08:05:08 ---> f9e11f8358f7 08:05:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:05:08 ---> Running in 67a4df67cea7 08:05:10 Removing intermediate container 67a4df67cea7 08:05:10 ---> d593a5e73e1b 08:05:10 Step 7/24 : RUN apk add --update --no-cache make git 08:05:10 ---> Running in e7015308dfe3 08:05:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:05:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:05:13 OK: 142 MiB in 39 packages 08:05:15 Removing intermediate container e7015308dfe3 08:05:15 ---> 92dd1f67dbad 08:05:15 Step 8/24 : COPY . . 08:05:16 ---> 390ebf550d62 08:05:16 Step 9/24 : RUN ${MAKE} 08:05:16 ---> Running in 25818c41a4a5 08:05:17 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 08:05:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:05:45 Removing intermediate container 25818c41a4a5 08:05:45 ---> 1c79c1e76042 08:05:45 Step 10/24 : FROM scratch 08:05:45 ---> 08:05:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:05:45 ---> Running in 23d14bfb2e5f 08:05:45 Removing intermediate container 23d14bfb2e5f 08:05:45 ---> 826271e17694 08:05:45 Step 12/24 : ENV APP_PORT=49990 08:05:46 ---> Running in 2315098f190f 08:05:46 Removing intermediate container 2315098f190f 08:05:46 ---> aff00274a066 08:05:46 Step 13/24 : EXPOSE $APP_PORT 08:05:46 ---> Running in 7bcedaf29c7e 08:05:47 Removing intermediate container 7bcedaf29c7e 08:05:47 ---> 7e80b768afe1 08:05:47 Step 14/24 : WORKDIR / 08:05:47 ---> Running in 789e26cc1d96 08:05:47 Removing intermediate container 789e26cc1d96 08:05:47 ---> 0802fa597cc8 08:05:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:05:48 ---> c97954ad8dfc 08:05:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:05:49 ---> 71e2f6f62563 08:05:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:05:50 ---> 7e5ee924e590 08:05:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:05:50 ---> 14c1fdf8d6ad 08:05:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:05:51 ---> e4a971e2b0a2 08:05:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:05:51 ---> Running in 3dfbbfa19c7f 08:05:52 Removing intermediate container 3dfbbfa19c7f 08:05:52 ---> 6db4e9fb0131 08:05:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:05:52 ---> Running in e9eed6c628f5 08:05:52 Removing intermediate container e9eed6c628f5 08:05:52 ---> 6baea1a7908b 08:05:52 Step 22/24 : LABEL arch=arm64 08:05:52 ---> Running in ddd4ede94c43 08:05:53 Removing intermediate container ddd4ede94c43 08:05:53 ---> 490cce76a2fb 08:05:53 Step 23/24 : LABEL git_sha=4822fad6fe40ed14e5632a9345f0fe92edb82595 08:05:53 ---> Running in a0e2028c1e68 08:05:53 Removing intermediate container a0e2028c1e68 08:05:53 ---> b9b389bcb43f 08:05:53 Step 24/24 : LABEL version=0.0.0 08:05:53 ---> Running in 038a195a2ad3 08:05:54 Removing intermediate container 038a195a2ad3 08:05:54 ---> 54274eb6efc8 08:05:54 [Warning] One or more build-args [ARCH] were not consumed 08:05:54 Successfully built 54274eb6efc8 08:05:54 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:05:56 provisioning config files... 08:05:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config5235191136924476138tmp [Pipeline] { [Pipeline] sh 08:05:57 + set +x 08:05:57 + curl -s https://codecov.io/bash 08:05:57 + bash -s -- 08:05:57 08:05:57 _____ _ 08:05:57 / ____| | | 08:05:57 | | ___ __| | ___ ___ _____ __ 08:05:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:05:57 | |___| (_) | (_| | __/ (_| (_) \ V / 08:05:57 \_____\___/ \__,_|\___|\___\___/ \_/ 08:05:57 Bash-20210129-7c25fce 08:05:57 08:05:57 08:05:57 ==> git version 2.24.3 found 08:05:57 ==> 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 08:05:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:05:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:05:57 ==> Jenkins CI detected. 08:05:57 project root: . 08:05:57 --> token set from env 08:05:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:05:57 ==> Running gcov in . (disable via -X gcov) 08:05:57 ==> Python coveragepy not found 08:05:57 ==> Searching for coverage reports in: 08:05:57 + . 08:05:57 -> Found 1 reports 08:05:57 ==> Detecting git/mercurial file structure 08:05:57 ==> Reading reports 08:05:57 + ./coverage.out bytes=101757 08:05:57 ==> Appending adjustments 08:05:57 https://docs.codecov.io/docs/fixing-reports 08:05:58 + Found adjustments 08:05:58 ==> Gzipping contents 08:05:58 20K /tmp/codecov.zih1Gj.gz 08:05:58 ==> Uploading reports 08:05:58 url: https://codecov.io 08:05:58 query: branch=PR-795&commit=4822fad6fe40ed14e5632a9345f0fe92edb82595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= 08:05:58 -> Pinging Codecov 08:05:58 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-795&commit=4822fad6fe40ed14e5632a9345f0fe92edb82595&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-795%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=795&job=&cmd_args= 08:05:58 -> Uploading to 08:05:58 https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/4822fad6fe40ed14e5632a9345f0fe92edb82595/ca91f9aa-8f27-4d79-97c8-3d6ca6bb257d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T080558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1314a75815e4088a1543cb93c2e6fa6e26a2b3e474eb3d3d49a1bf475fd1ab0 08:05:58 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:58 Dload Upload Total Spent Left Speed 08:05:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16504 0 0 100 16504 0 34316 --:--:-- --:--:-- --:--:-- 34383 08:05:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4822fad6fe40ed14e5632a9345f0fe92edb82595 [Pipeline] } 08:05:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:06:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:06:04 ---> package-listing.sh 08:06:04 ++ facter osfamily 08:06:04 ++ tr '[:upper:]' '[:lower:]' 08:06:04 + OS_FAMILY=redhat 08:06:04 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-795 08:06:04 + START_PACKAGES=/tmp/packages_start.txt 08:06:04 + END_PACKAGES=/tmp/packages_end.txt 08:06:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:06:04 + PACKAGES=/tmp/packages_start.txt 08:06:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-795 ']' 08:06:04 + PACKAGES=/tmp/packages_end.txt 08:06:04 + case "${OS_FAMILY}" in 08:06:04 + rpm -qa 08:06:04 + sort 08:06:09 + '[' -f /tmp/packages_start.txt ']' 08:06:09 + '[' -f /tmp/packages_end.txt ']' 08:06:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:06:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-795 ']' 08:06:09 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-795/archives/ 08:06:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-795/archives/ [Pipeline] echo 08:06:10 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-795/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:06:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:10 08:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:11 alpine: Pulling from edgex-lftools-log-publisher 08:06:11 df20fa9351a1: Pulling fs layer 08:06:11 36b3adc4ff6f: Pulling fs layer 08:06:11 8ad3a11d3b57: Pulling fs layer 08:06:11 46f8f816bc3b: Pulling fs layer 08:06:11 93b61091891f: Pulling fs layer 08:06:11 93b9cdb0e59b: Pulling fs layer 08:06:11 5e14af77c1be: Pulling fs layer 08:06:11 01666e4c0597: Pulling fs layer 08:06:11 aa168da1d23b: Pulling fs layer 08:06:11 93b9cdb0e59b: Waiting 08:06:11 5e14af77c1be: Waiting 08:06:11 01666e4c0597: Waiting 08:06:11 aa168da1d23b: Waiting 08:06:11 46f8f816bc3b: Waiting 08:06:11 93b61091891f: Waiting 08:06:11 36b3adc4ff6f: Verifying Checksum 08:06:11 36b3adc4ff6f: Download complete 08:06:11 46f8f816bc3b: Verifying Checksum 08:06:11 46f8f816bc3b: Download complete 08:06:11 df20fa9351a1: Verifying Checksum 08:06:11 df20fa9351a1: Download complete 08:06:11 93b9cdb0e59b: Verifying Checksum 08:06:11 93b9cdb0e59b: Download complete 08:06:11 5e14af77c1be: Download complete 08:06:11 01666e4c0597: Verifying Checksum 08:06:11 01666e4c0597: Download complete 08:06:11 8ad3a11d3b57: Verifying Checksum 08:06:11 8ad3a11d3b57: Download complete 08:06:11 93b61091891f: Verifying Checksum 08:06:11 93b61091891f: Download complete 08:06:11 df20fa9351a1: Pull complete 08:06:11 36b3adc4ff6f: Pull complete 08:06:12 8ad3a11d3b57: Pull complete 08:06:12 46f8f816bc3b: Pull complete 08:06:13 aa168da1d23b: Verifying Checksum 08:06:13 aa168da1d23b: Download complete 08:06:14 93b61091891f: Pull complete 08:06:15 93b9cdb0e59b: Pull complete 08:06:15 5e14af77c1be: Pull complete 08:06:15 01666e4c0597: Pull complete 08:06:23 aa168da1d23b: Pull complete 08:06:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:06:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:06:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:06:23 prd-centos7-docker-4c-2g-27290 does not seem to be running inside a container 08:06:23 $ 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-795/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-795 -v /w/workspace/dgexfoundry_device-sdk-go_PR-795:/w/workspace/dgexfoundry_device-sdk-go_PR-795:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-795@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 08:06:27 $ docker top 929fef891c63f813f831015e9a975bc24efe2acb60c105230ff9a826cfaccaf0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:28 + touch /tmp/pre-build-complete [Pipeline] sh 08:06:28 + mkdir -p /var/log/sa [Pipeline] sh 08:06:29 + ls /var/log/sa-host 08:06:29 + sadf -c /var/log/sa-host/sa23 08:06:29 file_magic: OK 08:06:29 HZ: Using current value: 100 08:06:29 file_header: OK 08:06:29 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 08:06:29 Statistics: 08:06:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:06:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:29 provisioning config files... 08:06:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-795@tmp/config155571811187018126tmp [Pipeline] { [Pipeline] echo 08:06:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:30 ---> create-netrc.sh [Pipeline] } 08:06:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:06:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:06:31 ---> python-tools-install.sh [Pipeline] echo 08:06:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:06:31 ---> sudo-logs.sh 08:06:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:06:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:06:31 ---> job-cost.sh 08:06:31 lf-activate-venv: SKIPPING 08:06:31 INFO: No Stack... 08:06:32 INFO: Retrieving Pricing Info for: v1-standard-2 08:06:33 INFO: Archiving Costs [Pipeline] echo 08:06:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:33 ---> logs-deploy.sh 08:06:33 lf-activate-venv: SKIPPING 08:06:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-795/1 08:06:33 INFO: archiving workspace using pattern(s): 08:06:35 Archives upload complete. 08:06:35 INFO: archiving logs to Nexus 08:06:36 ---> uname -a: 08:06:36 Linux prd-centos7-docker-4c-2g-27290.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:06:36 08:06:36 08:06:36 ---> lscpu: 08:06:36 Architecture: x86_64 08:06:36 CPU op-mode(s): 32-bit, 64-bit 08:06:36 Byte Order: Little Endian 08:06:36 Address sizes: 40 bits physical, 48 bits virtual 08:06:36 CPU(s): 4 08:06:36 On-line CPU(s) list: 0-3 08:06:36 Thread(s) per core: 1 08:06:36 Core(s) per socket: 1 08:06:36 Socket(s): 4 08:06:36 NUMA node(s): 1 08:06:36 Vendor ID: GenuineIntel 08:06:36 CPU family: 6 08:06:36 Model: 44 08:06:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:06:36 Stepping: 1 08:06:36 CPU MHz: 2933.442 08:06:36 BogoMIPS: 5866.88 08:06:36 Virtualization: VT-x 08:06:36 Hypervisor vendor: KVM 08:06:36 Virtualization type: full 08:06:36 L1d cache: 128 KiB 08:06:36 L1i cache: 128 KiB 08:06:36 L2 cache: 16 MiB 08:06:36 L3 cache: 64 MiB 08:06:36 NUMA node0 CPU(s): 0-3 08:06:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:06:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:06:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:06:36 Vulnerability Meltdown: Mitigation; PTI 08:06:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:06:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:06:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:06:36 Vulnerability Srbds: Not affected 08:06:36 Vulnerability Tsx async abort: Not affected 08:06:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:06:36 08:06:36 08:06:36 ---> nproc: 08:06:36 4 08:06:36 08:06:36