Pull request #766 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 431e6fd2fa79ac37559238e44c4086dd7f3de7f4+84ea4a05cef1466ee67975698004463005cbf340 (2b1b6b6134aa4423a4facb6f0ba3da160fe6066c) 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-766/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-766/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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 ‘prd-centos7-docker-4c-2g-23962’ is offline Running on prd-centos7-docker-4c-2g-23965 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [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-766 # 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/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 Merge succeeded, producing 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 Checking out Revision 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 (PR-766) > git config core.sparsecheckout # timeout=10 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:42:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:42:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:42:45 ========================================================= 13:42:45 EdgeX Global Pipelines Version Info 13:42:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:42:46 ------------------- 13:42:46 stable info: 13:42:46 ------------------- 13:42:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:42:46 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 13:42:46 Message: update stable to v1.0.179 13:42:47 ------------------- 13:42:47 experimental info: 13:42:47 ------------------- 13:42:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:42:47 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 13:42:47 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:42:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:42:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:42:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:42:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:42:50 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-766 [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-766 [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-766 [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 431e6fd [Pipeline] echo 13:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:42:52 provisioning config files... 13:42:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config8053990521330719926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:52 ---> docker-login.sh 13:42:52 nexus3.edgexfoundry.org:10001 13:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10002 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10003 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10004 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 docker.io 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 ---> docker-login.sh ends [Pipeline] } 13:42:53 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 13:42:55 + git log --format=format:%s -1 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 [Pipeline] echo 13:42:55 GIT_COMMIT: 431e6fd2fa79ac37559238e44c4086dd7f3de7f4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 13:42:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 13:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:42:55 13:42:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:42:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:42:56 latest: Pulling from edgex-devops/git-semver 13:42:56 31603596830f: Pulling fs layer 13:42:56 2a8b12db71e7: Pulling fs layer 13:42:56 6ca5941a6612: Pulling fs layer 13:42:56 ecc8261a40a4: Pulling fs layer 13:42:56 ecc8261a40a4: Waiting 13:42:56 2a8b12db71e7: Verifying Checksum 13:42:56 2a8b12db71e7: Download complete 13:42:56 31603596830f: Verifying Checksum 13:42:56 ecc8261a40a4: Verifying Checksum 13:42:56 ecc8261a40a4: Download complete 13:42:56 6ca5941a6612: Verifying Checksum 13:42:56 6ca5941a6612: Download complete 13:42:56 31603596830f: Pull complete 13:42:57 2a8b12db71e7: Pull complete 13:42:57 6ca5941a6612: Pull complete 13:42:57 ecc8261a40a4: Pull complete 13:42:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 13:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:42:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:42:58 prd-centos7-docker-4c-2g-23965 does not seem to be running inside a container 13:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-766 -v /w/workspace/dgexfoundry_device-sdk-go_PR-766:/w/workspace/dgexfoundry_device-sdk-go_PR-766:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-766@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:43:01 $ docker top e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:43:01 [ssh-agent] Looking for ssh-agent implementation... 13:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:43:01 $ docker exec e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 ssh-agent 13:43:01 SSH_AUTH_SOCK=/tmp/ssh-9p4YgivYDrsZ/agent.11 13:43:01 SSH_AGENT_PID=17 13:43:01 Running ssh-add (command line suppressed) 13:43:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_830350185913953356.key (/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_830350185913953356.key) 13:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:43:02 + git tag --points-at HEAD [Pipeline] } 13:43:02 $ docker exec --env ******** --env ******** e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 ssh-agent -k 13:43:02 unset SSH_AUTH_SOCK; 13:43:02 unset SSH_AGENT_PID; 13:43:02 echo Agent pid 17 killed; 13:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:43:02 [ssh-agent] Looking for ssh-agent implementation... 13:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:43:03 $ docker exec e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 ssh-agent 13:43:03 SSH_AUTH_SOCK=/tmp/ssh-GJm8XZzZvGvX/agent.45 13:43:03 SSH_AGENT_PID=50 13:43:03 Running ssh-add (command line suppressed) 13:43:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_1539754425483715574.key (/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/private_key_1539754425483715574.key) 13:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:43:03 + git semver init 13:43:03 # -> Open(): unable to determine branch for HEAD 13:43:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-766/.git 13:43:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-766 13:43:03 # $SEMVER_REMOTE_NAME = origin 13:43:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:43:03 # $SEMVER_USER_NAME = edgex-jenkins 13:43:03 # $SEMVER_BRANCH = PR-766 13:43:03 # $SEMVER_TEMP = /tmp/semver-763398053 13:43:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:43:05 # '/tmp/semver-763398053' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-766/.semver' 13:43:05 # -> Force: false 13:43:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-766/.semver [Pipeline] } 13:43:05 $ docker exec --env ******** --env ******** e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 ssh-agent -k 13:43:05 unset SSH_AUTH_SOCK; 13:43:05 unset SSH_AGENT_PID; 13:43:05 echo Agent pid 50 killed; 13:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:43:05 + git semver [Pipeline] } 13:43:06 $ docker stop --time=1 e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 13:43:07 $ docker rm -f e4827eefb1ea0eb1a66afd05921075543d3f68a8efead2f37d0990e49b1b0251 [Pipeline] // withDockerContainer [Pipeline] sh 13:43:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:43:08 Stashed 1 file(s) [Pipeline] echo 13:43:08 [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 13:43:24 Still waiting to schedule task 13:43:24 Waiting for next available executor on ‘centos7-docker-4c-2g’ 13:43:24 Still waiting to schedule task 13:43:24 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-23964’ 13:44:27 Running on prd-centos7-docker-4c-2g-23968 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [Pipeline] { [Pipeline] ws 13:44:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 13:44:30 using credential edgex-jenkins-ssh 13:44:30 Cloning the remote Git repository 13:44:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:44:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 13:44:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:44:30 > git --version # timeout=10 13:44:30 > git --version # 'git version 2.24.3' 13:44:30 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:44:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:44:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:44:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:44:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:44:31 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:44:32 Merge succeeded, producing 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:44:32 Checking out Revision 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 (PR-766) 13:44:31 > git config core.sparsecheckout # timeout=10 13:44:31 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 13:44:32 > git remote # timeout=10 13:44:32 > git config --get remote.origin.url # timeout=10 13:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:32 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 13:44:32 > git rev-parse HEAD^{commit} # timeout=10 13:44:32 > git config core.sparsecheckout # timeout=10 13:44:32 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 13:44:35 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 13:44:35 > git --version # timeout=10 13:44:35 > git --version # 'git version 2.24.3' 13:44:35 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:44:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 13:44:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 13:44:37 + sudo service docker restart 13:44:37 + true 13:44:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:44:39 provisioning config files... 13:44:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6497473525245087331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:44:39 ---> docker-login.sh 13:44:39 nexus3.edgexfoundry.org:10001 13:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:40 Configure a credential helper to remove this warning. See 13:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:40 13:44:40 Login Succeeded 13:44:40 nexus3.edgexfoundry.org:10002 13:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:40 Configure a credential helper to remove this warning. See 13:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:40 13:44:40 Login Succeeded 13:44:40 nexus3.edgexfoundry.org:10003 13:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:40 Configure a credential helper to remove this warning. See 13:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:40 13:44:40 Login Succeeded 13:44:40 nexus3.edgexfoundry.org:10004 13:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:40 Configure a credential helper to remove this warning. See 13:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:40 13:44:40 Login Succeeded 13:44:40 docker.io 13:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:44:41 Configure a credential helper to remove this warning. See 13:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:44:41 13:44:41 Login Succeeded 13:44:41 ---> docker-login.sh ends [Pipeline] } 13:44:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:44:41 ========================================================= 13:44:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 13:44:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:44:42 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 13:44:42 Sending build context to Docker daemon 2.475MB 13:44:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:44:42 Step 2/8 : FROM ${BASE} 13:44:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 13:44:42 188c0c94c7c5: Pulling fs layer 13:44:42 0ef7d3d256c8: Pulling fs layer 13:44:42 de9db76c5a1d: Pulling fs layer 13:44:42 bca2f99d35d6: Pulling fs layer 13:44:42 93359f2a8cfa: Pulling fs layer 13:44:42 7c6f9722023f: Pulling fs layer 13:44:42 a35cf1a2eb13: Pulling fs layer 13:44:42 93359f2a8cfa: Waiting 13:44:42 7c6f9722023f: Waiting 13:44:42 a35cf1a2eb13: Waiting 13:44:42 bca2f99d35d6: Waiting 13:44:42 de9db76c5a1d: Verifying Checksum 13:44:42 de9db76c5a1d: Download complete 13:44:42 0ef7d3d256c8: Verifying Checksum 13:44:42 0ef7d3d256c8: Download complete 13:44:42 93359f2a8cfa: Verifying Checksum 13:44:42 93359f2a8cfa: Download complete 13:44:42 7c6f9722023f: Verifying Checksum 13:44:42 7c6f9722023f: Download complete 13:44:42 188c0c94c7c5: Verifying Checksum 13:44:42 188c0c94c7c5: Download complete 13:44:42 188c0c94c7c5: Pull complete 13:44:43 0ef7d3d256c8: Pull complete 13:44:43 de9db76c5a1d: Pull complete 13:44:46 a35cf1a2eb13: Verifying Checksum 13:44:46 a35cf1a2eb13: Download complete 13:44:46 bca2f99d35d6: Verifying Checksum 13:44:46 bca2f99d35d6: Download complete 13:44:51 bca2f99d35d6: Pull complete 13:44:52 93359f2a8cfa: Pull complete 13:44:52 7c6f9722023f: Pull complete 13:44:59 a35cf1a2eb13: Pull complete 13:44:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 13:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 13:44:59 ---> a62c8e92a672 13:44:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:44:59 ---> Running in 9a8b3f46d0d4 13:44:59 Removing intermediate container 9a8b3f46d0d4 13:44:59 ---> 185060a91562 13:44:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:44:59 ---> Running in 16e542ff53a8 13:45:01 Removing intermediate container 16e542ff53a8 13:45:01 ---> 2321953f34a3 13:45:01 Step 5/8 : RUN apk add --update --no-cache make git 13:45:01 ---> Running in 9569daed03ef 13:45:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:45:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:45:02 OK: 166 MiB in 39 packages 13:45:03 Removing intermediate container 9569daed03ef 13:45:03 ---> aa08704f5e76 13:45:03 Step 6/8 : WORKDIR /device-sdk-go 13:45:03 ---> Running in c6a3c1639411 13:45:03 Removing intermediate container c6a3c1639411 13:45:03 ---> dd6cabeb324c 13:45:03 Step 7/8 : COPY . . 13:45:05 ---> 204c0a7c4626 13:45:05 Step 8/8 : RUN go mod download 13:45:05 ---> Running in cf510904f0d2 13:45:27 Removing intermediate container cf510904f0d2 13:45:27 ---> 4fe4407ea133 13:45:27 Successfully built 4fe4407ea133 13:45:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:45:27 + docker inspect -f . ci-base-image-x86_64 13:45:27 . [Pipeline] withDockerContainer 13:45:27 prd-centos7-docker-4c-2g-23968 does not seem to be running inside a container 13:45: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 ******** ci-base-image-x86_64 cat 13:45:28 $ docker top 74877d85ad5fb4fdc48cafee3e455d48205c1c11373865a7149ac0d7e61b6437 -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:29 + go version 13:45:29 go version go1.15.5 linux/amd64 [Pipeline] } 13:45:29 $ docker stop --time=1 74877d85ad5fb4fdc48cafee3e455d48205c1c11373865a7149ac0d7e61b6437 13:45:30 $ docker rm -f 74877d85ad5fb4fdc48cafee3e455d48205c1c11373865a7149ac0d7e61b6437 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:45:31 + docker inspect -f . ci-base-image-x86_64 13:45:31 . [Pipeline] withDockerContainer 13:45:31 prd-centos7-docker-4c-2g-23968 does not seem to be running inside a container 13:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:45:32 $ docker top cd023ee137e06eec133015a2cc2f74c434efc2553e8a7d2930c9c8117fca3c65 -eo pid,comm [Pipeline] { [Pipeline] sh 13:45:33 + make test 13:45:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:45:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:45:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:45:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:45:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:45:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 19.4% of statements 13:45:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.461s coverage: 97.1% of statements 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 9.4% of statements 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.229s coverage: 43.6% of statements 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.302s coverage: 68.9% of statements 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 53.8% of statements 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 25.2% of statements 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.589s coverage: 83.5% of statements 13:46:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 13:46:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:46:29 GO111MODULE=on go vet ./... 13:46:38 gofmt -l . 13:46:38 [ "`gofmt -l .`" = "" ] 13:46:38 ./bin/test-attribution-txt.sh 13:46:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:46:38 $ docker stop --time=1 cd023ee137e06eec133015a2cc2f74c434efc2553e8a7d2930c9c8117fca3c65 13:46:40 $ docker rm -f cd023ee137e06eec133015a2cc2f74c434efc2553e8a7d2930c9c8117fca3c65 [Pipeline] // withDockerContainer [Pipeline] sh 13:46:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:46:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:46:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:46:43 + ls -al . 13:46:43 total 216 13:46:43 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 29 13:46 . 13:46:43 drwxrwxr-x. 4 jenkins jenkins 28 Jan 29 13:44 .. 13:46:43 drwxrwxr-x. 2 jenkins jenkins 64 Jan 29 13:44 bin 13:46:43 -rw-r--r--. 1 jenkins jenkins 137332 Jan 29 13:46 coverage.out 13:46:43 -rw-rw-r--. 1 jenkins jenkins 949 Jan 29 13:44 Dockerfile.build 13:46:43 -rw-rw-r--. 1 jenkins jenkins 140 Jan 29 13:44 .dockerignore 13:46:43 drwxrwxr-x. 4 jenkins jenkins 48 Jan 29 13:44 example 13:46:43 drwxrwxr-x. 8 jenkins jenkins 179 Jan 29 13:44 .git 13:46:43 drwxrwxr-x. 2 jenkins jenkins 103 Jan 29 13:44 .github 13:46:43 -rw-rw-r--. 1 jenkins jenkins 138 Jan 29 13:44 .gitignore 13:46:43 -rw-r--r--. 1 jenkins jenkins 515 Jan 29 13:46 go.mod 13:46:43 -rw-r--r--. 1 jenkins jenkins 14193 Jan 29 13:46 go.sum 13:46:43 drwxrwxr-x. 15 jenkins jenkins 211 Jan 29 13:44 internal 13:46:43 -rw-rw-r--. 1 jenkins jenkins 901 Jan 29 13:44 Jenkinsfile 13:46:43 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 29 13:44 LICENSE 13:46:43 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 29 13:44 Makefile 13:46:43 drwxrwxr-x. 4 jenkins jenkins 26 Jan 29 13:44 openapi 13:46:43 drwxrwxr-x. 5 jenkins jenkins 50 Jan 29 13:44 pkg 13:46:43 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 29 13:44 README.md 13:46:43 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 29 13:44 RELEASE-NOTES.txt 13:46:43 drwxrwxr-x. 4 jenkins jenkins 54 Jan 29 13:44 snap 13:46:43 -rw-rw-r--. 1 jenkins jenkins 5 Jan 29 13:43 VERSION 13:46:43 -rw-rw-r--. 1 jenkins jenkins 222 Jan 29 13:44 version.go [Pipeline] isUnix [Pipeline] sh 13:46:43 + 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=431e6fd2fa79ac37559238e44c4086dd7f3de7f4 --label arch=amd64 --label version=0.0.0 . 13:46:44 Sending build context to Docker daemon 2.613MB 13:46:44 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:46:44 Step 2/24 : FROM ${BASE} AS builder 13:46:44 ---> 4fe4407ea133 13:46:44 Step 3/24 : ARG MAKE='make build' 13:46:44 ---> Running in 2608fadd4df7 13:46:44 Removing intermediate container 2608fadd4df7 13:46:44 ---> 2c0cecc8018c 13:46:44 Step 4/24 : WORKDIR /device-sdk-go 13:46:45 ---> Running in 1ccad63bdb41 13:46:45 Removing intermediate container 1ccad63bdb41 13:46:45 ---> ccc177f8b36e 13:46:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:46:45 ---> Running in b26e5f2970d3 13:46:45 Removing intermediate container b26e5f2970d3 13:46:45 ---> 4562624230c6 13:46:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:46:45 ---> Running in c15bfad3ce36 13:46:46 Removing intermediate container c15bfad3ce36 13:46:46 ---> 1a5bf236e4a7 13:46:46 Step 7/24 : RUN apk add --update --no-cache make git 13:46:46 ---> Running in a44a484b629c 13:46:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 13:46:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 13:46:48 OK: 166 MiB in 39 packages 13:46:48 Removing intermediate container a44a484b629c 13:46:48 ---> cf66af8a1cae 13:46:48 Step 8/24 : COPY . . 13:46:49 ---> 06cbcf59e694 13:46:49 Step 9/24 : RUN ${MAKE} 13:46:49 ---> Running in 146347c1e442 13:46:50 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 13:46:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23970 in /w/workspace/dgexfoundry_device-sdk-go_PR-766 [Pipeline] { [Pipeline] ws 13:46:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 13:46:56 using credential edgex-jenkins-ssh 13:46:56 Cloning the remote Git repository 13:46:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:46:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 13:46:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:46:56 > git --version # timeout=10 13:46:56 > git --version # 'git version 2.17.1' 13:46:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:46:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:46:58 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:46:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:46:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:46:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:46:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:46:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/766/head:refs/remotes/origin/PR-766 +refs/heads/master:refs/remotes/origin/master # timeout=10 13:46:58 > git config core.sparsecheckout # timeout=10 13:46:58 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 13:46:58 Merge succeeded, producing 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:46:58 Checking out Revision 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 (PR-766) 13:46:58 > git remote # timeout=10 13:46:58 > git config --get remote.origin.url # timeout=10 13:46:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:46:58 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 13:46:58 > git rev-parse HEAD^{commit} # timeout=10 13:46:58 > git config core.sparsecheckout # timeout=10 13:46:58 > git checkout -f 431e6fd2fa79ac37559238e44c4086dd7f3de7f4 # timeout=10 13:47:00 Removing intermediate container 146347c1e442 13:47:00 ---> 591a451ef9ff 13:47:00 Step 10/24 : FROM scratch 13:47:00 ---> 13:47:00 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:47:00 ---> Running in 07d153501ef9 13:47:00 Removing intermediate container 07d153501ef9 13:47:00 ---> 200704a4449f 13:47:00 Step 12/24 : ENV APP_PORT=49990 13:47:00 ---> Running in f04bc0bdd7f2 13:47:00 Removing intermediate container f04bc0bdd7f2 13:47:00 ---> a533eb498f53 13:47:00 Step 13/24 : EXPOSE $APP_PORT 13:47:00 ---> Running in d9f1ca6f721a 13:47:01 Removing intermediate container d9f1ca6f721a 13:47:01 ---> 1b9834ef49c4 13:47:01 Step 14/24 : WORKDIR / 13:47:01 ---> Running in 56db4c180955 13:47:01 Removing intermediate container 56db4c180955 13:47:01 ---> ff130ebf0c24 13:47:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:47:02 ---> 5aee67760459 13:47:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:47:02 ---> fce1298256e2 13:47:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:47:02 ---> f9197837dc92 13:47:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:47:02 ---> 47562cf52c1e 13:47:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:47:02 ---> 5782240adec2 13:47:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:47:02 ---> Running in 8ce8046f5e77 13:47:03 Removing intermediate container 8ce8046f5e77 13:47:03 ---> d2323c0f90d7 13:47:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:47:03 ---> Running in 31bf94c1be67 13:47:03 Removing intermediate container 31bf94c1be67 13:47:03 ---> 7efdfa4355bf 13:47:03 Step 22/24 : LABEL arch=amd64 13:47:03 ---> Running in 177aed4f6a10 13:47:03 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 13:47:03 > git --version # timeout=10 13:47:03 > git --version # 'git version 2.17.1' 13:47:03 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 13:47:03 Removing intermediate container 177aed4f6a10 13:47:03 ---> 96c0b99886c2 13:47:03 Step 23/24 : LABEL git_sha=431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:47:03 ---> Running in 56bb4975efd2 13:47:03 Removing intermediate container 56bb4975efd2 13:47:03 ---> 82c6bd3eaff7 13:47:03 Step 24/24 : LABEL version=0.0.0 13:47:03 ---> Running in 4283950364b5 [Pipeline] withEnv [Pipeline] { 13:47:04 Removing intermediate container 4283950364b5 13:47:04 ---> 68104a6744bf 13:47:04 [Warning] One or more build-args [ARCH] were not consumed 13:47:04 Successfully built 68104a6744bf 13:47:04 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 13:47:05 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 13:47:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh 13:47:06 + sudo service docker restart 13:47:06 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 13:47:09 provisioning config files... 13:47:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3263533608897541998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:47:10 ---> docker-login.sh 13:47:10 nexus3.edgexfoundry.org:10001 13:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:11 Configure a credential helper to remove this warning. See 13:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:11 13:47:11 Login Succeeded 13:47:11 nexus3.edgexfoundry.org:10002 13:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:12 Configure a credential helper to remove this warning. See 13:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:12 13:47:12 Login Succeeded 13:47:12 nexus3.edgexfoundry.org:10003 13:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:12 Configure a credential helper to remove this warning. See 13:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:12 13:47:12 Login Succeeded 13:47:12 nexus3.edgexfoundry.org:10004 13:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:13 Configure a credential helper to remove this warning. See 13:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:13 13:47:13 Login Succeeded 13:47:13 docker.io 13:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:14 Configure a credential helper to remove this warning. See 13:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:14 13:47:14 Login Succeeded 13:47:14 ---> docker-login.sh ends [Pipeline] } 13:47:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:47:14 ========================================================= 13:47:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 13:47:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 13:47:15 + 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 . 13:47:15 Sending build context to Docker daemon 2.481MB 13:47:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 13:47:15 Step 2/8 : FROM ${BASE} 13:47:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:47:15 5f621e34cdf4: Pulling fs layer 13:47:15 a4357932f1b6: Pulling fs layer 13:47:15 18c013af1878: Pulling fs layer 13:47:15 00ac8860ef70: Pulling fs layer 13:47:15 63d7cb157983: Pulling fs layer 13:47:15 b116817d02f9: Pulling fs layer 13:47:15 745a02a5169b: Pulling fs layer 13:47:15 00ac8860ef70: Waiting 13:47:15 63d7cb157983: Waiting 13:47:15 b116817d02f9: Waiting 13:47:15 745a02a5169b: Waiting 13:47:15 18c013af1878: Verifying Checksum 13:47:15 18c013af1878: Download complete 13:47:15 a4357932f1b6: Verifying Checksum 13:47:15 a4357932f1b6: Download complete 13:47:15 63d7cb157983: Verifying Checksum 13:47:15 63d7cb157983: Download complete 13:47:15 b116817d02f9: Verifying Checksum 13:47:15 b116817d02f9: Download complete 13:47:16 5f621e34cdf4: Download complete 13:47:16 5f621e34cdf4: Pull complete 13:47:17 a4357932f1b6: Pull complete 13:47:18 18c013af1878: Pull complete 13:47:18 745a02a5169b: Verifying Checksum 13:47:18 745a02a5169b: Download complete 13:47:19 00ac8860ef70: Verifying Checksum 13:47:19 00ac8860ef70: Download complete 13:47:29 00ac8860ef70: Pull complete 13:47:29 63d7cb157983: Pull complete 13:47:30 b116817d02f9: Pull complete 13:47:34 745a02a5169b: Pull complete 13:47:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 13:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 13:47:34 ---> b7e6874047d6 13:47:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:47:36 ---> Running in fae164912b64 13:47:36 Removing intermediate container fae164912b64 13:47:36 ---> 54edc5314a27 13:47:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:47:36 ---> Running in ca9938a1ca7e 13:47:39 Removing intermediate container ca9938a1ca7e 13:47:39 ---> 7e71c702bac9 13:47:39 Step 5/8 : RUN apk add --update --no-cache make git 13:47:39 ---> Running in 3182e9dab944 13:47:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:47:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:47:41 OK: 142 MiB in 39 packages 13:47:42 Removing intermediate container 3182e9dab944 13:47:42 ---> f9ffd758b38e 13:47:42 Step 6/8 : WORKDIR /device-sdk-go 13:47:43 ---> Running in a76405baccc3 13:47:43 Removing intermediate container a76405baccc3 13:47:43 ---> 8d5aa839773f 13:47:43 Step 7/8 : COPY . . 13:47:45 ---> f0dea69b8a56 13:47:45 Step 8/8 : RUN go mod download 13:47:45 ---> Running in 1d1dbe0d0345 13:48:07 Removing intermediate container 1d1dbe0d0345 13:48:07 ---> ec4e15e0f1a3 13:48:07 Successfully built ec4e15e0f1a3 13:48:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:48:07 + docker inspect -f . ci-base-image-arm64 13:48:07 . [Pipeline] withDockerContainer 13:48:07 prd-ubuntu18.04-docker-arm64-4c-16g-23970 does not seem to be running inside a container 13:48:08 $ 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 ******** ci-base-image-arm64 cat 13:48:09 $ docker top 4c792b7251081f61998a67a7f66ba8481990709671a04d9a6dab77ccc7f72235 -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:10 + go version 13:48:10 go version go1.15.5 linux/arm64 [Pipeline] } 13:48:10 $ docker stop --time=1 4c792b7251081f61998a67a7f66ba8481990709671a04d9a6dab77ccc7f72235 13:48:12 $ docker rm -f 4c792b7251081f61998a67a7f66ba8481990709671a04d9a6dab77ccc7f72235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:48:13 + docker inspect -f . ci-base-image-arm64 13:48:13 . [Pipeline] withDockerContainer 13:48:14 prd-ubuntu18.04-docker-arm64-4c-16g-23970 does not seem to be running inside a container 13:48:14 $ 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 ******** ci-base-image-arm64 cat 13:48:15 $ docker top ef247434ba56c639752b02530e5b49dcfdeba1ca2687ba4fef29eb5f4f2be7ba -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:16 + make test 13:48:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:48:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:49:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:49:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 19.4% of statements 13:49:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.216s coverage: 97.1% of statements 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.175s coverage: 9.4% of statements 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.568s coverage: 43.6% of statements 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.731s coverage: 68.9% of statements 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.179s coverage: 53.8% of statements 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.182s coverage: 25.2% of statements 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.722s coverage: 83.5% of statements 13:49:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.144s coverage: 4.2% of statements 13:49:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:49:51 GO111MODULE=on go vet ./... 13:50:31 gofmt -l . 13:50:31 [ "`gofmt -l .`" = "" ] 13:50:31 ./bin/test-attribution-txt.sh 13:50:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 13:50:31 $ docker stop --time=1 ef247434ba56c639752b02530e5b49dcfdeba1ca2687ba4fef29eb5f4f2be7ba 13:50:33 $ docker rm -f ef247434ba56c639752b02530e5b49dcfdeba1ca2687ba4fef29eb5f4f2be7ba [Pipeline] // withDockerContainer [Pipeline] sh 13:50:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:50:34 Warning: overwriting stash ‘coverage-report’ 13:50:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:50:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:50:36 + ls -al . 13:50:36 total 252 13:50:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 29 13:50 . 13:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:46 .. 13:50:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 29 13:46 .dockerignore 13:50:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 29 13:47 .git 13:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 13:46 .github 13:50:36 -rw-rw-r-- 1 jenkins jenkins 138 Jan 29 13:46 .gitignore 13:50:36 -rw-rw-r-- 1 jenkins jenkins 949 Jan 29 13:46 Dockerfile.build 13:50:36 -rw-rw-r-- 1 jenkins jenkins 901 Jan 29 13:46 Jenkinsfile 13:50:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 29 13:46 LICENSE 13:50:36 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 29 13:46 Makefile 13:50:36 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 29 13:46 README.md 13:50:36 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 29 13:46 RELEASE-NOTES.txt 13:50:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 29 13:43 VERSION 13:50:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 29 13:46 bin 13:50:36 -rw-r--r-- 1 jenkins jenkins 137333 Jan 29 13:49 coverage.out 13:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:46 example 13:50:36 -rw-r--r-- 1 jenkins jenkins 515 Jan 29 13:50 go.mod 13:50:36 -rw-r--r-- 1 jenkins jenkins 14193 Jan 29 13:50 go.sum 13:50:36 drwxrwxr-x 15 jenkins jenkins 4096 Jan 29 13:46 internal 13:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:46 openapi 13:50:36 drwxrwxr-x 5 jenkins jenkins 4096 Jan 29 13:46 pkg 13:50:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 29 13:46 snap 13:50:36 -rw-rw-r-- 1 jenkins jenkins 222 Jan 29 13:46 version.go [Pipeline] isUnix [Pipeline] sh 13:50:36 + 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=431e6fd2fa79ac37559238e44c4086dd7f3de7f4 --label arch=arm64 --label version=0.0.0 . 13:50:37 Sending build context to Docker daemon 2.619MB 13:50:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 13:50:37 Step 2/24 : FROM ${BASE} AS builder 13:50:37 ---> ec4e15e0f1a3 13:50:37 Step 3/24 : ARG MAKE='make build' 13:50:37 ---> Running in 43fd6a3357b8 13:50:38 Removing intermediate container 43fd6a3357b8 13:50:38 ---> 5d880b6f892b 13:50:38 Step 4/24 : WORKDIR /device-sdk-go 13:50:38 ---> Running in 195e17b7c2dd 13:50:38 Removing intermediate container 195e17b7c2dd 13:50:38 ---> 7392047070e2 13:50:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:50:38 ---> Running in 135411ae6fe1 13:50:39 Removing intermediate container 135411ae6fe1 13:50:39 ---> 18651cfabaa8 13:50:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:50:39 ---> Running in 2cf64a05a96f 13:50:41 Removing intermediate container 2cf64a05a96f 13:50:41 ---> 795196b6d61d 13:50:41 Step 7/24 : RUN apk add --update --no-cache make git 13:50:41 ---> Running in 96cb6c3bb964 13:50:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 13:50:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 13:50:44 OK: 142 MiB in 39 packages 13:50:45 Removing intermediate container 96cb6c3bb964 13:50:45 ---> e92ef8d9d87d 13:50:45 Step 8/24 : COPY . . 13:50:46 ---> abf5a9ec53c8 13:50:46 Step 9/24 : RUN ${MAKE} 13:50:46 ---> Running in 8086bcd61fbf 13:50:47 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 13:51:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 13:51:15 Removing intermediate container 8086bcd61fbf 13:51:15 ---> 6aaa0077530a 13:51:15 Step 10/24 : FROM scratch 13:51:15 ---> 13:51:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:51:15 ---> Running in fe66332e36b5 13:51:15 Removing intermediate container fe66332e36b5 13:51:15 ---> 478c0ce7fa1b 13:51:15 Step 12/24 : ENV APP_PORT=49990 13:51:15 ---> Running in a7cc6262aa61 13:51:16 Removing intermediate container a7cc6262aa61 13:51:16 ---> 51971191ae3c 13:51:16 Step 13/24 : EXPOSE $APP_PORT 13:51:16 ---> Running in b0f1113330f3 13:51:17 Removing intermediate container b0f1113330f3 13:51:17 ---> c14c32b471cd 13:51:17 Step 14/24 : WORKDIR / 13:51:17 ---> Running in e15cb998ba2c 13:51:17 Removing intermediate container e15cb998ba2c 13:51:17 ---> b3b9bd51b689 13:51:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 13:51:18 ---> 5cf825cc13c0 13:51:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 13:51:19 ---> 85d603d6d6ee 13:51:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 13:51:20 ---> 95d7d6cf66eb 13:51:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 13:51:20 ---> 4524948c558b 13:51:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 13:51:21 ---> ea8ddf019213 13:51:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 13:51:21 ---> Running in c243aa093e18 13:51:22 Removing intermediate container c243aa093e18 13:51:22 ---> b923c5f3c944 13:51:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:51:22 ---> Running in dda83b41a51b 13:51:22 Removing intermediate container dda83b41a51b 13:51:22 ---> 87713d46af7c 13:51:22 Step 22/24 : LABEL arch=arm64 13:51:22 ---> Running in c8a69eee55ea 13:51:23 Removing intermediate container c8a69eee55ea 13:51:23 ---> df7101583add 13:51:23 Step 23/24 : LABEL git_sha=431e6fd2fa79ac37559238e44c4086dd7f3de7f4 13:51:23 ---> Running in 67992c8d386d 13:51:24 Removing intermediate container 67992c8d386d 13:51:24 ---> 97acc1c6bfcc 13:51:24 Step 24/24 : LABEL version=0.0.0 13:51:24 ---> Running in 42f2df75dab1 13:51:24 Removing intermediate container 42f2df75dab1 13:51:24 ---> 4bf113d1478b 13:51:24 [Warning] One or more build-args [ARCH] were not consumed 13:51:24 Successfully built 4bf113d1478b 13:51:24 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 13:51:26 provisioning config files... 13:51:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config8457578630650053067tmp [Pipeline] { [Pipeline] sh 13:51:27 + set +x 13:51:27 + curl -s https://codecov.io/bash 13:51:27 + bash -s -- 13:51:27 13:51:27 _____ _ 13:51:27 / ____| | | 13:51:27 | | ___ __| | ___ ___ _____ __ 13:51:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:51:27 | |___| (_) | (_| | __/ (_| (_) \ V / 13:51:27 \_____\___/ \__,_|\___|\___\___/ \_/ 13:51:27 Bash-20210128-d4071a2 13:51:27 13:51:27 13:51:27 ==> git version 2.24.3 found 13:51:27 ==> 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 13:51:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:51:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:51:27 ==> Jenkins CI detected. 13:51:27 project root: . 13:51:27 --> token set from env 13:51:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:51:27 ==> Running gcov in . (disable via -X gcov) 13:51:27 ==> Python coveragepy not found 13:51:27 ==> Searching for coverage reports in: 13:51:27 + . 13:51:27 -> Found 1 reports 13:51:27 ==> Detecting git/mercurial file structure 13:51:27 ==> Reading reports 13:51:27 + ./coverage.out bytes=137333 13:51:27 ==> Appending adjustments 13:51:27 https://docs.codecov.io/docs/fixing-reports 13:51:28 + Found adjustments 13:51:28 ==> Gzipping contents 13:51:28 24K /tmp/codecov.MAZkkK.gz 13:51:28 ==> Uploading reports 13:51:28 url: https://codecov.io 13:51:28 query: branch=PR-766&commit=431e6fd2fa79ac37559238e44c4086dd7f3de7f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-766%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=766&job=&cmd_args= 13:51:28 -> Pinging Codecov 13:51:28 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-766&commit=431e6fd2fa79ac37559238e44c4086dd7f3de7f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-766%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=766&job=&cmd_args= 13:51:28 -> Uploading to 13:51:28 https://storage.googleapis.com/codecov/v4/raw/2021-01-29/7E55EF52A471D76F132DFD9A03CDDE97/431e6fd2fa79ac37559238e44c4086dd7f3de7f4/63e21303-8e57-42cc-920d-7a48a0d65b22.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210129T135128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7cabe3532182c9a661fe2d694aa48f45851e7db353b2e2b7095aa543dbc22b1 13:51:28 % Total % Received % Xferd Average Speed Time Time Time Current 13:51:28 Dload Upload Total Spent Left Speed 13:51:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21646 0 0 100 21646 0 46742 --:--:-- --:--:-- --:--:-- 46852 13:51:28 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/431e6fd2fa79ac37559238e44c4086dd7f3de7f4 [Pipeline] } 13:51:29 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 13:51:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:51:32 ---> package-listing.sh 13:51:32 ++ facter osfamily 13:51:32 ++ tr '[:upper:]' '[:lower:]' 13:51:32 + OS_FAMILY=redhat 13:51:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-766 13:51:32 + START_PACKAGES=/tmp/packages_start.txt 13:51:32 + END_PACKAGES=/tmp/packages_end.txt 13:51:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:51:32 + PACKAGES=/tmp/packages_start.txt 13:51:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-766 ']' 13:51:32 + PACKAGES=/tmp/packages_end.txt 13:51:32 + case "${OS_FAMILY}" in 13:51:32 + rpm -qa 13:51:32 + sort 13:51:38 + '[' -f /tmp/packages_start.txt ']' 13:51:38 + '[' -f /tmp/packages_end.txt ']' 13:51:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:51:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-766 ']' 13:51:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-766/archives/ 13:51:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-766/archives/ [Pipeline] echo 13:51:38 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-766/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:51:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:51:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:51:38 13:51:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 13:51:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:51:39 alpine: Pulling from edgex-lftools-log-publisher 13:51:39 df20fa9351a1: Pulling fs layer 13:51:39 36b3adc4ff6f: Pulling fs layer 13:51:39 8ad3a11d3b57: Pulling fs layer 13:51:39 46f8f816bc3b: Pulling fs layer 13:51:39 93b61091891f: Pulling fs layer 13:51:39 93b9cdb0e59b: Pulling fs layer 13:51:39 5e14af77c1be: Pulling fs layer 13:51:39 01666e4c0597: Pulling fs layer 13:51:39 aa168da1d23b: Pulling fs layer 13:51:39 5e14af77c1be: Waiting 13:51:39 01666e4c0597: Waiting 13:51:39 aa168da1d23b: Waiting 13:51:39 93b9cdb0e59b: Waiting 13:51:39 93b61091891f: Waiting 13:51:39 46f8f816bc3b: Waiting 13:51:39 36b3adc4ff6f: Verifying Checksum 13:51:39 36b3adc4ff6f: Download complete 13:51:39 46f8f816bc3b: Download complete 13:51:39 df20fa9351a1: Verifying Checksum 13:51:39 df20fa9351a1: Download complete 13:51:39 93b61091891f: Verifying Checksum 13:51:39 93b61091891f: Download complete 13:51:39 93b9cdb0e59b: Verifying Checksum 13:51:39 93b9cdb0e59b: Download complete 13:51:39 5e14af77c1be: Verifying Checksum 13:51:39 5e14af77c1be: Download complete 13:51:39 01666e4c0597: Verifying Checksum 13:51:39 01666e4c0597: Download complete 13:51:39 8ad3a11d3b57: Verifying Checksum 13:51:39 8ad3a11d3b57: Download complete 13:51:39 df20fa9351a1: Pull complete 13:51:40 36b3adc4ff6f: Pull complete 13:51:40 8ad3a11d3b57: Pull complete 13:51:41 46f8f816bc3b: Pull complete 13:51:41 aa168da1d23b: Download complete 13:51:41 93b61091891f: Pull complete 13:51:42 93b9cdb0e59b: Pull complete 13:51:42 5e14af77c1be: Pull complete 13:51:42 01666e4c0597: Pull complete 13:51:50 aa168da1d23b: Pull complete 13:51:50 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 13:51:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 13:51:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 13:51:50 prd-centos7-docker-4c-2g-23965 does not seem to be running inside a container 13:51:50 $ 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-766/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-766 -v /w/workspace/dgexfoundry_device-sdk-go_PR-766:/w/workspace/dgexfoundry_device-sdk-go_PR-766:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-766@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:10003/edgex-lftools-log-publisher:alpine cat 13:51:54 $ docker top e82b3ff865a5bb8746a7ec18cb45006ee5627ddb09e34defe8f46501eb02e114 -eo pid,comm [Pipeline] { [Pipeline] sh 13:51:55 + touch /tmp/pre-build-complete [Pipeline] sh 13:51:55 + mkdir -p /var/log/sa [Pipeline] sh 13:51:55 + ls /var/log/sa-host 13:51:55 + sadf -c /var/log/sa-host/sa23 13:51:55 file_magic: OK 13:51:55 HZ: Using current value: 100 13:51:55 file_header: OK 13:51:55 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 13:51:55 Statistics: 13:51:55 Hnuu...uuuununununu... 13:51:55 File successfully converted to sysstat format version 12.2.1 13:51:55 + sadf -c /var/log/sa-host/sa29 13:51:55 file_magic: OK 13:51:55 HZ: Using current value: 100 13:51:55 file_header: OK 13:51:55 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 13:51:55 Statistics: 13:51:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:51:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:51:55 provisioning config files... 13:51:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp/config4362645505478600188tmp [Pipeline] { [Pipeline] echo 13:51:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:51:56 ---> create-netrc.sh [Pipeline] } 13:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 13:51:56 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 13:51:56 ---> python-tools-install.sh [Pipeline] echo 13:51:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:51:57 ---> sudo-logs.sh 13:51:57 Archiving 'sudo' log.. [Pipeline] echo 13:51:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:51:57 ---> job-cost.sh 13:51:57 lf-activate-venv: SKIPPING 13:51:57 INFO: No Stack... 13:51:58 INFO: Retrieving Pricing Info for: v1-standard-2 13:51:59 INFO: Archiving Costs [Pipeline] echo 13:51:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:51:59 ---> logs-deploy.sh 13:51:59 lf-activate-venv: SKIPPING 13:51:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-766/1 13:51:59 INFO: archiving workspace using pattern(s): 13:52:01 Archives upload complete. 13:52:01 INFO: archiving logs to Nexus 13:52:02 ---> uname -a: 13:52:02 Linux prd-centos7-docker-4c-2g-23965.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 13:52:02 13:52:02 13:52:02 ---> lscpu: 13:52:02 Architecture: x86_64 13:52:02 CPU op-mode(s): 32-bit, 64-bit 13:52:02 Byte Order: Little Endian 13:52:02 Address sizes: 40 bits physical, 48 bits virtual 13:52:02 CPU(s): 4 13:52:02 On-line CPU(s) list: 0-3 13:52:02 Thread(s) per core: 1 13:52:02 Core(s) per socket: 1 13:52:02 Socket(s): 4 13:52:02 NUMA node(s): 1 13:52:02 Vendor ID: GenuineIntel 13:52:02 CPU family: 6 13:52:02 Model: 44 13:52:02 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 13:52:02 Stepping: 1 13:52:02 CPU MHz: 2933.438 13:52:02 BogoMIPS: 5866.87 13:52:02 Virtualization: VT-x 13:52:02 Hypervisor vendor: KVM 13:52:02 Virtualization type: full 13:52:02 L1d cache: 128 KiB 13:52:02 L1i cache: 128 KiB 13:52:02 L2 cache: 16 MiB 13:52:02 L3 cache: 64 MiB 13:52:02 NUMA node0 CPU(s): 0-3 13:52:02 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 13:52:02 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 13:52:02 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 13:52:02 Vulnerability Meltdown: Mitigation; PTI 13:52:02 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:52:02 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 13:52:02 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 13:52:02 Vulnerability Srbds: Not affected 13:52:02 Vulnerability Tsx async abort: Not affected 13:52:02 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 13:52:02 13:52:02 13:52:02 ---> nproc: 13:52:02 4 13:52:02 13:52:02 13:52:02 ---> df -h: 13:52:02 Filesystem Size Used Available Use% Mounted on 13:52:02 overlay 50.0G 7.3G 42.7G 15% / 13:52:02 tmpfs 64.0M 0 64.0M 0% /dev 13:52:02 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 13:52:02 shm 64.0M 0 64.0M 0% /dev/shm 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-766 13:52:02 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-766@tmp 13:52:02 13:52:02