Pull request #747 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 71e5df75fd8945efafd8b03cb9b04546d5a8a259+1c2f003b09666c9aca7d142d934c7ec3af9c247b (647d6eec3d7e29165130bcd9a363d7f602588e11) 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-747/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-747/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-21916 in /w/workspace/dgexfoundry_device-sdk-go_PR-747 [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-747 # 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/747/head:refs/remotes/origin/PR-747 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 71e5df75fd8945efafd8b03cb9b04546d5a8a259 Merge succeeded, producing 71e5df75fd8945efafd8b03cb9b04546d5a8a259 Checking out Revision 71e5df75fd8945efafd8b03cb9b04546d5a8a259 (PR-747) > git config core.sparsecheckout # timeout=10 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # timeout=10 Commit message: "refactor: consume edgex v2 go-mods" 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 09:27:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:27:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:27:38 ========================================================= 09:27:38 EdgeX Global Pipelines Version Info 09:27:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:27:40 ------------------- 09:27:40 stable info: 09:27:40 ------------------- 09:27:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:27:40 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:27:40 Message: update stable to v1.0.179 09:27:41 ------------------- 09:27:41 experimental info: 09:27:41 ------------------- 09:27:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:27:41 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:27:41 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:27:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:27:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:27:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:27:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:27:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-747 [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-747 [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-747 [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71e5df75fd8945efafd8b03cb9b04546d5a8a259 [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71e5df7 [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:27:46 provisioning config files... 09:27:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/config8736700440557261909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:27:46 ---> docker-login.sh 09:27:46 nexus3.edgexfoundry.org:10001 09:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:46 Configure a credential helper to remove this warning. See 09:27:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:46 09:27:46 Login Succeeded 09:27:46 nexus3.edgexfoundry.org:10002 09:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:47 Configure a credential helper to remove this warning. See 09:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:47 09:27:47 Login Succeeded 09:27:47 nexus3.edgexfoundry.org:10003 09:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:47 Configure a credential helper to remove this warning. See 09:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:47 09:27:47 Login Succeeded 09:27:47 nexus3.edgexfoundry.org:10004 09:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:47 Configure a credential helper to remove this warning. See 09:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:47 09:27:47 Login Succeeded 09:27:47 docker.io 09:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:47 Configure a credential helper to remove this warning. See 09:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:47 09:27:47 Login Succeeded 09:27:47 ---> docker-login.sh ends [Pipeline] } 09:27:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:49 + git log --format=format:%s -1 71e5df75fd8945efafd8b03cb9b04546d5a8a259 [Pipeline] echo 09:27:49 GIT_COMMIT: 71e5df75fd8945efafd8b03cb9b04546d5a8a259, Commit Message: refactor: consume edgex v2 go-mods [Pipeline] echo 09:27:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:50 09:27:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:27:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:50 latest: Pulling from edgex-devops/git-semver 09:27:50 31603596830f: Pulling fs layer 09:27:50 2a8b12db71e7: Pulling fs layer 09:27:50 6ca5941a6612: Pulling fs layer 09:27:50 ecc8261a40a4: Pulling fs layer 09:27:50 ecc8261a40a4: Waiting 09:27:50 2a8b12db71e7: Verifying Checksum 09:27:50 2a8b12db71e7: Download complete 09:27:50 31603596830f: Verifying Checksum 09:27:50 31603596830f: Download complete 09:27:51 6ca5941a6612: Verifying Checksum 09:27:51 6ca5941a6612: Download complete 09:27:51 ecc8261a40a4: Verifying Checksum 09:27:51 ecc8261a40a4: Download complete 09:27:51 31603596830f: Pull complete 09:27:51 2a8b12db71e7: Pull complete 09:27:52 6ca5941a6612: Pull complete 09:27:52 ecc8261a40a4: Pull complete 09:27:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:27:52 prd-centos7-docker-4c-2g-21916 does not seem to be running inside a container 09:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-747 -v /w/workspace/dgexfoundry_device-sdk-go_PR-747:/w/workspace/dgexfoundry_device-sdk-go_PR-747:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:27:55 $ docker top dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:55 [ssh-agent] Looking for ssh-agent implementation... 09:27:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:55 $ docker exec dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf ssh-agent 09:27:56 SSH_AUTH_SOCK=/tmp/ssh-IPTHxeVwSOMA/agent.11 09:27:56 SSH_AGENT_PID=17 09:27:56 Running ssh-add (command line suppressed) 09:27:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/private_key_301429620262537946.key (/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/private_key_301429620262537946.key) 09:27:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:56 + git tag --points-at HEAD [Pipeline] } 09:27:56 $ docker exec --env ******** --env ******** dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf ssh-agent -k 09:27:56 unset SSH_AUTH_SOCK; 09:27:56 unset SSH_AGENT_PID; 09:27:56 echo Agent pid 17 killed; 09:27:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:57 [ssh-agent] Looking for ssh-agent implementation... 09:27:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:57 $ docker exec dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf ssh-agent 09:27:57 SSH_AUTH_SOCK=/tmp/ssh-JDdgOF1ctECU/agent.47 09:27:57 SSH_AGENT_PID=52 09:27:57 Running ssh-add (command line suppressed) 09:27:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/private_key_4751118241975874587.key (/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/private_key_4751118241975874587.key) 09:27:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:57 + git semver init 09:27:57 # -> Open(): unable to determine branch for HEAD 09:27:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-747/.git 09:27:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-747 09:27:57 # $SEMVER_REMOTE_NAME = origin 09:27:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:27:57 # $SEMVER_USER_NAME = edgex-jenkins 09:27:57 # $SEMVER_BRANCH = PR-747 09:27:57 # $SEMVER_TEMP = /tmp/semver-044624684 09:27:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:27:58 # '/tmp/semver-044624684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-747/.semver' 09:27:58 # -> Force: false 09:27:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-747/.semver [Pipeline] } 09:27:58 $ docker exec --env ******** --env ******** dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf ssh-agent -k 09:27:58 unset SSH_AUTH_SOCK; 09:27:58 unset SSH_AGENT_PID; 09:27:58 echo Agent pid 52 killed; 09:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:59 + git semver [Pipeline] } 09:27:59 $ docker stop --time=1 dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf 09:28:00 $ docker rm -f dedd3b3c3a0867164bede0b5b47e8357a301935a4f74ca624190b38753cacfbf [Pipeline] // withDockerContainer [Pipeline] sh 09:28:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:28:01 Stashed 1 file(s) [Pipeline] echo 09:28:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 09:28:17 Still waiting to schedule task 09:28:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:28:17 Still waiting to schedule task 09:28:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:30:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21917 in /w/workspace/dgexfoundry_device-sdk-go_PR-747 [Pipeline] { [Pipeline] ws 09:30:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:30:13 using credential edgex-jenkins-ssh 09:30:14 Cloning the remote Git repository 09:30:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:30:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:30:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:14 > git --version # timeout=10 09:30:14 > git --version # 'git version 2.17.1' 09:30:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:15 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/747/head:refs/remotes/origin/PR-747 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:16 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:30:16 Merge succeeded, producing 71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:30:16 Checking out Revision 71e5df75fd8945efafd8b03cb9b04546d5a8a259 (PR-747) 09:30:16 > git config core.sparsecheckout # timeout=10 09:30:16 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # timeout=10 09:30:16 > git remote # timeout=10 09:30:16 > git config --get remote.origin.url # timeout=10 09:30:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:16 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 09:30:16 > git rev-parse HEAD^{commit} # timeout=10 09:30:16 > git config core.sparsecheckout # timeout=10 09:30:16 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # timeout=10 09:30:20 Commit message: "refactor: consume edgex v2 go-mods" 09:30:21 > git --version # timeout=10 09:30:21 > git --version # 'git version 2.17.1' 09:30:21 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:30:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:30:23 + sudo service docker restart 09:30:23 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:30:26 provisioning config files... 09:30:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8345666529776226466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:26 ---> docker-login.sh 09:30:26 nexus3.edgexfoundry.org:10001 09:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:28 Configure a credential helper to remove this warning. See 09:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:28 09:30:28 Login Succeeded 09:30:28 nexus3.edgexfoundry.org:10002 09:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:28 Configure a credential helper to remove this warning. See 09:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:28 09:30:28 Login Succeeded 09:30:28 nexus3.edgexfoundry.org:10003 09:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:29 Configure a credential helper to remove this warning. See 09:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:29 09:30:29 Login Succeeded 09:30:29 nexus3.edgexfoundry.org:10004 09:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:29 Configure a credential helper to remove this warning. See 09:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:29 09:30:29 Login Succeeded 09:30:29 docker.io 09:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:30 Configure a credential helper to remove this warning. See 09:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:30 09:30:30 Login Succeeded 09:30:30 ---> docker-login.sh ends [Pipeline] } 09:30:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:30:30 ========================================================= 09:30:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:30:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:30:31 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:30:32 Sending build context to Docker daemon 2.568MB 09:30:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:30:32 Step 2/8 : FROM ${BASE} 09:30:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:30:32 5f621e34cdf4: Pulling fs layer 09:30:32 a4357932f1b6: Pulling fs layer 09:30:32 18c013af1878: Pulling fs layer 09:30:32 00ac8860ef70: Pulling fs layer 09:30:32 63d7cb157983: Pulling fs layer 09:30:32 b116817d02f9: Pulling fs layer 09:30:32 745a02a5169b: Pulling fs layer 09:30:32 00ac8860ef70: Waiting 09:30:32 b116817d02f9: Waiting 09:30:32 63d7cb157983: Waiting 09:30:32 745a02a5169b: Waiting 09:30:32 18c013af1878: Verifying Checksum 09:30:32 18c013af1878: Download complete 09:30:32 a4357932f1b6: Verifying Checksum 09:30:32 a4357932f1b6: Download complete 09:30:32 63d7cb157983: Verifying Checksum 09:30:32 63d7cb157983: Download complete 09:30:32 b116817d02f9: Verifying Checksum 09:30:32 b116817d02f9: Download complete 09:30:32 5f621e34cdf4: Verifying Checksum 09:30:32 5f621e34cdf4: Download complete 09:30:32 5f621e34cdf4: Pull complete 09:30:33 a4357932f1b6: Pull complete 09:30:33 18c013af1878: Pull complete 09:30:34 745a02a5169b: Verifying Checksum 09:30:34 745a02a5169b: Download complete 09:30:35 00ac8860ef70: Verifying Checksum 09:30:35 00ac8860ef70: Download complete 09:30:39 Running on prd-centos7-docker-4c-2g-21918 in /w/workspace/dgexfoundry_device-sdk-go_PR-747 [Pipeline] { [Pipeline] ws 09:30:39 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:30:42 using credential edgex-jenkins-ssh 09:30:42 Cloning the remote Git repository 09:30:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:30:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:30:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:42 > git --version # timeout=10 09:30:42 > git --version # 'git version 2.24.3' 09:30:42 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:43 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:30:43 Merge succeeded, producing 71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:30:43 Checking out Revision 71e5df75fd8945efafd8b03cb9b04546d5a8a259 (PR-747) 09:30:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/747/head:refs/remotes/origin/PR-747 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:43 > git config core.sparsecheckout # timeout=10 09:30:43 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # timeout=10 09:30:43 > git remote # timeout=10 09:30:43 > git config --get remote.origin.url # timeout=10 09:30:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:43 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 09:30:43 > git rev-parse HEAD^{commit} # timeout=10 09:30:43 > git config core.sparsecheckout # timeout=10 09:30:43 > git checkout -f 71e5df75fd8945efafd8b03cb9b04546d5a8a259 # timeout=10 09:30:46 00ac8860ef70: Pull complete 09:30:46 63d7cb157983: Pull complete 09:30:46 b116817d02f9: Pull complete 09:30:47 Commit message: "refactor: consume edgex v2 go-mods" 09:30:47 > git --version # timeout=10 09:30:47 > git --version # 'git version 2.24.3' 09:30:47 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:48 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:30:49 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:30:49 + sudo service docker restart 09:30:49 + true 09:30:49 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { 09:30:50 745a02a5169b: Pull complete 09:30:50 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:30:50 ---> b7e6874047d6 09:30:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] wrap 09:30:50 provisioning config files... 09:30:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3898250593024824051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:51 ---> docker-login.sh 09:30:51 nexus3.edgexfoundry.org:10001 09:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:51 Configure a credential helper to remove this warning. See 09:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:51 09:30:51 Login Succeeded 09:30:51 nexus3.edgexfoundry.org:10002 09:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:51 Configure a credential helper to remove this warning. See 09:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:51 09:30:51 Login Succeeded 09:30:51 nexus3.edgexfoundry.org:10003 09:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:52 Configure a credential helper to remove this warning. See 09:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:52 09:30:52 Login Succeeded 09:30:52 nexus3.edgexfoundry.org:10004 09:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:52 Configure a credential helper to remove this warning. See 09:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:52 09:30:52 Login Succeeded 09:30:52 docker.io 09:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:30:52 Configure a credential helper to remove this warning. See 09:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:30:52 09:30:52 Login Succeeded 09:30:52 ---> docker-login.sh ends [Pipeline] } 09:30:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:30:53 ========================================================= 09:30:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:30:53 ========================================================= 09:30:53 ---> Running in 41e64845f835 09:30:53 Removing intermediate container 41e64845f835 09:30:53 ---> 41f7bde901ac 09:30:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] isUnix [Pipeline] sh 09:30:53 ---> Running in 614dc6b3af42 09:30:53 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:30:53 Sending build context to Docker daemon 2.578MB 09:30:53 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:30:53 Step 2/8 : FROM ${BASE} 09:30:53 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:30:53 188c0c94c7c5: Pulling fs layer 09:30:53 0ef7d3d256c8: Pulling fs layer 09:30:53 de9db76c5a1d: Pulling fs layer 09:30:53 bca2f99d35d6: Pulling fs layer 09:30:53 93359f2a8cfa: Pulling fs layer 09:30:53 7c6f9722023f: Pulling fs layer 09:30:53 a35cf1a2eb13: Pulling fs layer 09:30:53 93359f2a8cfa: Waiting 09:30:53 7c6f9722023f: Waiting 09:30:53 a35cf1a2eb13: Waiting 09:30:53 bca2f99d35d6: Waiting 09:30:53 de9db76c5a1d: Verifying Checksum 09:30:53 de9db76c5a1d: Download complete 09:30:53 0ef7d3d256c8: Download complete 09:30:53 93359f2a8cfa: Verifying Checksum 09:30:53 93359f2a8cfa: Download complete 09:30:53 7c6f9722023f: Verifying Checksum 09:30:53 7c6f9722023f: Download complete 09:30:53 188c0c94c7c5: Verifying Checksum 09:30:53 188c0c94c7c5: Download complete 09:30:54 188c0c94c7c5: Pull complete 09:30:54 0ef7d3d256c8: Pull complete 09:30:54 de9db76c5a1d: Pull complete 09:30:55 a35cf1a2eb13: Verifying Checksum 09:30:55 a35cf1a2eb13: Download complete 09:30:56 Removing intermediate container 614dc6b3af42 09:30:56 ---> a5e1c8e00306 09:30:56 Step 5/8 : RUN apk add --update --no-cache make git 09:30:56 ---> Running in 962737f4404c 09:30:56 bca2f99d35d6: Download complete 09:30:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:30:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:30:58 OK: 142 MiB in 39 packages 09:30:59 Removing intermediate container 962737f4404c 09:30:59 ---> 20e44820da67 09:30:59 Step 6/8 : WORKDIR /device-sdk-go 09:30:59 ---> Running in 1d4b598c7d8e 09:31:00 Removing intermediate container 1d4b598c7d8e 09:31:00 ---> 634c0d05340a 09:31:00 Step 7/8 : COPY . . 09:31:02 ---> 8b166e24a235 09:31:02 Step 8/8 : RUN go mod download 09:31:02 ---> Running in 137bb8ab41cb 09:31:02 bca2f99d35d6: Pull complete 09:31:02 93359f2a8cfa: Pull complete 09:31:02 7c6f9722023f: Pull complete 09:31:08 a35cf1a2eb13: Pull complete 09:31:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:31:08 ---> a62c8e92a672 09:31:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:08 ---> Running in c67ee9f04fd7 09:31:08 Removing intermediate container c67ee9f04fd7 09:31:08 ---> 71bf5288fc4b 09:31:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:08 ---> Running in ece3823ebf61 09:31:09 Removing intermediate container ece3823ebf61 09:31:09 ---> 22e7e15ae1a8 09:31:09 Step 5/8 : RUN apk add --update --no-cache make git 09:31:09 ---> Running in 6b6a6108ca5c 09:31:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:31:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:31:12 OK: 166 MiB in 39 packages 09:31:12 Removing intermediate container 6b6a6108ca5c 09:31:12 ---> 75462c00821e 09:31:12 Step 6/8 : WORKDIR /device-sdk-go 09:31:12 ---> Running in 6650cee961ab 09:31:12 Removing intermediate container 6650cee961ab 09:31:12 ---> 07e15e4515c8 09:31:12 Step 7/8 : COPY . . 09:31:14 ---> 2c357c0fe8b2 09:31:14 Step 8/8 : RUN go mod download 09:31:14 ---> Running in 2c1cd51c9934 09:31:24 Removing intermediate container 137bb8ab41cb 09:31:24 ---> 35a7a40e2bc1 09:31:24 Successfully built 35a7a40e2bc1 09:31:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:31:24 + docker inspect -f . ci-base-image-arm64 09:31:24 . [Pipeline] withDockerContainer 09:31:24 prd-ubuntu18.04-docker-arm64-4c-16g-21917 does not seem to be running inside a container 09:31:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:31:26 $ docker top 6f0ea0e45248ca5d9760755dffff374940362ed96ce96b77dbc4ae72b7d02a82 -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:27 + go version 09:31:27 go version go1.15.5 linux/arm64 [Pipeline] } 09:31:27 $ docker stop --time=1 6f0ea0e45248ca5d9760755dffff374940362ed96ce96b77dbc4ae72b7d02a82 09:31:29 $ docker rm -f 6f0ea0e45248ca5d9760755dffff374940362ed96ce96b77dbc4ae72b7d02a82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:31 + docker inspect -f . ci-base-image-arm64 09:31:31 . [Pipeline] withDockerContainer 09:31:31 prd-ubuntu18.04-docker-arm64-4c-16g-21917 does not seem to be running inside a container 09:31: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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:31:32 Removing intermediate container 2c1cd51c9934 09:31:32 ---> 16abcc350f9f 09:31:32 Successfully built 16abcc350f9f 09:31:32 Successfully tagged ci-base-image-x86_64:latest 09:31:33 $ docker top 99164b77051cead5d86b6acd2d6d7ab81a35ce975344322ced2728761ca98f9b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 09:31:34 + docker inspect -f . ci-base-image-x86_64 09:31:34 . [Pipeline] withDockerContainer 09:31:34 prd-centos7-docker-4c-2g-21918 does not seem to be running inside a container 09:31:34 + make test 09:31:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:31:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:31:35 $ docker top d50228dd69b0bbf626e9d423e624dfe109dd48f4e45f29490ec6605f5dead891 -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:35 + go version 09:31:35 go version go1.15.5 linux/amd64 [Pipeline] } 09:31:35 $ docker stop --time=1 d50228dd69b0bbf626e9d423e624dfe109dd48f4e45f29490ec6605f5dead891 09:31:37 $ docker rm -f d50228dd69b0bbf626e9d423e624dfe109dd48f4e45f29490ec6605f5dead891 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:38 + docker inspect -f . ci-base-image-x86_64 09:31:38 . [Pipeline] withDockerContainer 09:31:38 prd-centos7-docker-4c-2g-21918 does not seem to be running inside a container 09:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:31:39 $ docker top 112d9e2014a48c4e27e455a6ee27004594705936a8c68f9dedb653d99b14a9a3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:39 + make test 09:31:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:31:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:31:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:32:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:32:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:32:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:32:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 19.4% of statements 09:32:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.458s coverage: 97.1% of statements 09:32:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:32:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:32:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.200s coverage: 19.4% of statements 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 9.4% of statements 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 21.7% of statements 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 43.2% of statements 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.270s coverage: 68.9% of statements 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 53.8% of statements 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.359s coverage: 83.5% of statements 09:32:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.064s coverage: 4.2% of statements 09:32:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:32:36 GO111MODULE=on go vet ./... 09:32:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.310s coverage: 97.1% of statements 09:32:43 gofmt -l . 09:32:43 [ "`gofmt -l .`" = "" ] 09:32:43 ./bin/test-attribution-txt.sh 09:32:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:32:43 $ docker stop --time=1 112d9e2014a48c4e27e455a6ee27004594705936a8c68f9dedb653d99b14a9a3 09:32:46 $ docker rm -f 112d9e2014a48c4e27e455a6ee27004594705936a8c68f9dedb653d99b14a9a3 [Pipeline] // withDockerContainer [Pipeline] sh 09:32:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:32:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:32:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:32:50 + ls -al . 09:32:50 total 216 09:32:50 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 09:32 . 09:32:50 drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 09:30 .. 09:32:50 drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 09:30 bin 09:32:50 -rw-r--r--. 1 jenkins jenkins 136842 Jan 21 09:32 coverage.out 09:32:50 -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 09:30 Dockerfile.build 09:32:50 -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 09:30 .dockerignore 09:32:50 drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 09:30 example 09:32:50 drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 09:30 .git 09:32:50 drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 09:30 .github 09:32:50 -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 09:30 .gitignore 09:32:50 -rw-r--r--. 1 jenkins jenkins 514 Jan 21 09:32 go.mod 09:32:50 -rw-r--r--. 1 jenkins jenkins 14016 Jan 21 09:32 go.sum 09:32:50 drwxrwxr-x. 15 jenkins jenkins 211 Jan 21 09:30 internal 09:32:50 -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 09:30 Jenkinsfile 09:32:50 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 09:30 LICENSE 09:32:50 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 09:30 Makefile 09:32:50 drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 09:30 openapi 09:32:50 drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 09:30 pkg 09:32:50 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 09:30 README.md 09:32:50 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 09:30 RELEASE-NOTES.txt 09:32:50 drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 09:30 snap 09:32:50 -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 09:28 VERSION 09:32:50 -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 09:30 version.go [Pipeline] isUnix [Pipeline] sh 09:32:50 + 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=71e5df75fd8945efafd8b03cb9b04546d5a8a259 --label arch=amd64 --label version=0.0.0 . 09:32:51 Sending build context to Docker daemon 2.716MB 09:32:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:32:51 Step 2/24 : FROM ${BASE} AS builder 09:32:51 ---> 16abcc350f9f 09:32:51 Step 3/24 : ARG MAKE='make build' 09:32:51 ---> Running in 7f9501cf7a69 09:32:52 Removing intermediate container 7f9501cf7a69 09:32:52 ---> c485c5157a3a 09:32:52 Step 4/24 : WORKDIR /device-sdk-go 09:32:52 ---> Running in 329472a3ad2c 09:32:52 Removing intermediate container 329472a3ad2c 09:32:52 ---> 0be60d87d37d 09:32:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:32:52 ---> Running in 6bd41288adc7 09:32:52 Removing intermediate container 6bd41288adc7 09:32:52 ---> 84dd71efb2d1 09:32:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:32:52 ---> Running in 2c6177bcea34 09:32:53 Removing intermediate container 2c6177bcea34 09:32:53 ---> ec0d149e7eea 09:32:53 Step 7/24 : RUN apk add --update --no-cache make git 09:32:53 ---> Running in fde40364162a 09:32:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:32:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:32:55 OK: 166 MiB in 39 packages 09:32:55 Removing intermediate container fde40364162a 09:32:55 ---> c1c0ff68cb8e 09:32:55 Step 8/24 : COPY . . 09:32:56 ---> db2d69ca831d 09:32:56 Step 9/24 : RUN ${MAKE} 09:32:56 ---> Running in 079ac96b0f22 09:32:57 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:33:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:33:08 Removing intermediate container 079ac96b0f22 09:33:08 ---> 83d8bd7741b7 09:33:08 Step 10/24 : FROM scratch 09:33:08 ---> 09:33:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:08 ---> Running in 7e2af84d61bf 09:33:08 Removing intermediate container 7e2af84d61bf 09:33:08 ---> 05530ac22cd8 09:33:08 Step 12/24 : ENV APP_PORT=49990 09:33:08 ---> Running in 95992500dd3c 09:33:08 Removing intermediate container 95992500dd3c 09:33:08 ---> 7ee52088f6df 09:33:08 Step 13/24 : EXPOSE $APP_PORT 09:33:08 ---> Running in 92b43587f02c 09:33:08 Removing intermediate container 92b43587f02c 09:33:08 ---> 0f2a4ff22134 09:33:08 Step 14/24 : WORKDIR / 09:33:08 ---> Running in 57989d33fe93 09:33:09 Removing intermediate container 57989d33fe93 09:33:09 ---> 6356e531347e 09:33:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:33:09 ---> e490d4c72549 09:33:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:33:09 ---> ab476e01a4b1 09:33:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:33:10 ---> 0ebbe8dc6554 09:33:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:33:10 ---> 971e67b20261 09:33:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:33:10 ---> cd43e1c7614e 09:33:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:33:10 ---> Running in 40a7ec8cac93 09:33:10 Removing intermediate container 40a7ec8cac93 09:33:10 ---> 344bf49db2c9 09:33:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:33:10 ---> Running in 89f17681e2d3 09:33:11 Removing intermediate container 89f17681e2d3 09:33:11 ---> 7958b43eda3e 09:33:11 Step 22/24 : LABEL arch=amd64 09:33:11 ---> Running in cd6e300b99e6 09:33:11 Removing intermediate container cd6e300b99e6 09:33:11 ---> 89cf9e2a0b68 09:33:11 Step 23/24 : LABEL git_sha=71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:33:11 ---> Running in 513cc27110c6 09:33:11 Removing intermediate container 513cc27110c6 09:33:11 ---> cef76446745a 09:33:11 Step 24/24 : LABEL version=0.0.0 09:33:11 ---> Running in de463b052df4 09:33:11 Removing intermediate container de463b052df4 09:33:11 ---> 501b00c45b66 09:33:11 [Warning] One or more build-args [ARCH] were not consumed 09:33:11 Successfully built 501b00c45b66 09:33:11 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.136s coverage: 21.7% of statements 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.614s coverage: 43.2% of statements 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.786s coverage: 68.9% of statements 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.194s coverage: 26.8% of statements 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.938s coverage: 83.5% of statements 09:33:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.134s coverage: 4.2% of statements 09:33:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:33:12 GO111MODULE=on go vet ./... [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] } 09:33:44 gofmt -l . 09:33:44 [ "`gofmt -l .`" = "" ] 09:33:44 ./bin/test-attribution-txt.sh 09:33:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:33:44 $ docker stop --time=1 99164b77051cead5d86b6acd2d6d7ab81a35ce975344322ced2728761ca98f9b 09:33:46 $ docker rm -f 99164b77051cead5d86b6acd2d6d7ab81a35ce975344322ced2728761ca98f9b [Pipeline] // withDockerContainer [Pipeline] sh 09:33:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:33:48 Warning: overwriting stash ‘coverage-report’ 09:33:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:33:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:33:50 + ls -al . 09:33:50 total 252 09:33:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 09:33 . 09:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:30 .. 09:33:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 09:30 .dockerignore 09:33:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 09:30 .git 09:33:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 09:30 .github 09:33:50 -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 09:30 .gitignore 09:33:50 -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 09:30 Dockerfile.build 09:33:50 -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 09:30 Jenkinsfile 09:33:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 09:30 LICENSE 09:33:50 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 09:30 Makefile 09:33:50 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 09:30 README.md 09:33:50 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 09:30 RELEASE-NOTES.txt 09:33:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 09:28 VERSION 09:33:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 09:30 bin 09:33:50 -rw-r--r-- 1 jenkins jenkins 136842 Jan 21 09:33 coverage.out 09:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:30 example 09:33:50 -rw-r--r-- 1 jenkins jenkins 514 Jan 21 09:33 go.mod 09:33:50 -rw-r--r-- 1 jenkins jenkins 14016 Jan 21 09:33 go.sum 09:33:50 drwxrwxr-x 15 jenkins jenkins 4096 Jan 21 09:30 internal 09:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:30 openapi 09:33:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 09:30 pkg 09:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 09:30 snap 09:33:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 09:30 version.go [Pipeline] isUnix [Pipeline] sh 09:33:50 + 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=71e5df75fd8945efafd8b03cb9b04546d5a8a259 --label arch=arm64 --label version=0.0.0 . 09:33:51 Sending build context to Docker daemon 2.706MB 09:33:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:33:51 Step 2/24 : FROM ${BASE} AS builder 09:33:51 ---> 35a7a40e2bc1 09:33:51 Step 3/24 : ARG MAKE='make build' 09:33:51 ---> Running in 55f75bbd8ab4 09:33:52 Removing intermediate container 55f75bbd8ab4 09:33:52 ---> 43aade231023 09:33:52 Step 4/24 : WORKDIR /device-sdk-go 09:33:52 ---> Running in 91ef206addca 09:33:52 Removing intermediate container 91ef206addca 09:33:52 ---> fafbd30f8c84 09:33:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:33:52 ---> Running in e65b08f3fbc7 09:33:53 Removing intermediate container e65b08f3fbc7 09:33:53 ---> d568dc9e59b0 09:33:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:33:53 ---> Running in b98a5124fa17 09:33:55 Removing intermediate container b98a5124fa17 09:33:55 ---> e2d96671f763 09:33:55 Step 7/24 : RUN apk add --update --no-cache make git 09:33:55 ---> Running in fda32569e64d 09:33:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:33:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:33:58 OK: 142 MiB in 39 packages 09:33:59 Removing intermediate container fda32569e64d 09:33:59 ---> 4847ef9db9cf 09:33:59 Step 8/24 : COPY . . 09:34:00 ---> f54bc21e0691 09:34:00 Step 9/24 : RUN ${MAKE} 09:34:00 ---> Running in d6169a8a3e45 09:34:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:34:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:34:28 Removing intermediate container d6169a8a3e45 09:34:28 ---> 4ce6a039012e 09:34:28 Step 10/24 : FROM scratch 09:34:28 ---> 09:34:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:34:28 ---> Running in aca112a5c595 09:34:28 Removing intermediate container aca112a5c595 09:34:28 ---> cbd33b3f2133 09:34:28 Step 12/24 : ENV APP_PORT=49990 09:34:29 ---> Running in 0896ed74605d 09:34:29 Removing intermediate container 0896ed74605d 09:34:29 ---> e5b3e2941520 09:34:29 Step 13/24 : EXPOSE $APP_PORT 09:34:29 ---> Running in 0deea696eb5b 09:34:29 Removing intermediate container 0deea696eb5b 09:34:29 ---> 8d26aae53d71 09:34:29 Step 14/24 : WORKDIR / 09:34:30 ---> Running in 258e36653978 09:34:30 Removing intermediate container 258e36653978 09:34:30 ---> 3f14c8c68293 09:34:30 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:34:31 ---> 5b7b9d7700e8 09:34:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:34:32 ---> 6fface150a73 09:34:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:34:33 ---> e025c268df82 09:34:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:34:33 ---> f519c4ea31e8 09:34:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:34:34 ---> 5ee7e107ac14 09:34:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:34:34 ---> Running in 1147dacc1e02 09:34:35 Removing intermediate container 1147dacc1e02 09:34:35 ---> 126dd912f724 09:34:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:34:35 ---> Running in 0001ecc445d7 09:34:36 Removing intermediate container 0001ecc445d7 09:34:36 ---> 6b41184f53c8 09:34:36 Step 22/24 : LABEL arch=arm64 09:34:36 ---> Running in 723c51dfa286 09:34:36 Removing intermediate container 723c51dfa286 09:34:36 ---> 5b08c52ca829 09:34:36 Step 23/24 : LABEL git_sha=71e5df75fd8945efafd8b03cb9b04546d5a8a259 09:34:36 ---> Running in b310c4671c6f 09:34:37 Removing intermediate container b310c4671c6f 09:34:37 ---> f6707ab7f5ea 09:34:37 Step 24/24 : LABEL version=0.0.0 09:34:37 ---> Running in da0cb6b05082 09:34:37 Removing intermediate container da0cb6b05082 09:34:37 ---> 10048265218e 09:34:37 [Warning] One or more build-args [ARCH] were not consumed 09:34:37 Successfully built 10048265218e 09:34:37 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 09:34:40 provisioning config files... 09:34:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/config3037599392930912281tmp [Pipeline] { [Pipeline] sh 09:34:40 + set +x 09:34:40 + curl -s https://codecov.io/bash 09:34:40 + bash -s -- 09:34:41 09:34:41 _____ _ 09:34:41 / ____| | | 09:34:41 | | ___ __| | ___ ___ _____ __ 09:34:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:34:41 | |___| (_) | (_| | __/ (_| (_) \ V / 09:34:41 \_____\___/ \__,_|\___|\___\___/ \_/ 09:34:41 Bash-20210115-cec3c92 09:34:41 09:34:41 09:34:41 ==> git version 2.24.3 found 09:34:41 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 09:34:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:34:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:34:41 ==> Jenkins CI detected. 09:34:41 project root: . 09:34:41 --> token set from env 09:34:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:34:41 ==> Running gcov in . (disable via -X gcov) 09:34:41 ==> Python coveragepy not found 09:34:41 ==> Searching for coverage reports in: 09:34:41 + . 09:34:41 -> Found 1 reports 09:34:41 ==> Detecting git/mercurial file structure 09:34:41 ==> Reading reports 09:34:41 + ./coverage.out bytes=136842 09:34:41 ==> Appending adjustments 09:34:41 https://docs.codecov.io/docs/fixing-reports 09:34:41 + Found adjustments 09:34:41 ==> Gzipping contents 09:34:41 24K /tmp/codecov.7NMn85.gz 09:34:41 ==> Uploading reports 09:34:41 url: https://codecov.io 09:34:41 query: branch=PR-747&commit=71e5df75fd8945efafd8b03cb9b04546d5a8a259&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-747%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=747&job=&cmd_args= 09:34:41 -> Pinging Codecov 09:34:41 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-747&commit=71e5df75fd8945efafd8b03cb9b04546d5a8a259&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-747%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=747&job=&cmd_args= 09:34:42 -> Uploading to 09:34:42 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/71e5df75fd8945efafd8b03cb9b04546d5a8a259/541dada5-aa00-40b8-926d-33b3319aff52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T093441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=657392d7130bdc434ed7a902c0b6791906d7964872a5e1dfc68f1dc1d37785ae 09:34:42 % Total % Received % Xferd Average Speed Time Time Time Current 09:34:42 Dload Upload Total Spent Left Speed 09:34:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21533 0 0 100 21533 0 40569 --:--:-- --:--:-- --:--:-- 40551 100 21533 0 0 100 21533 0 40555 --:--:-- --:--:-- --:--:-- 40551 09:34:42 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/71e5df75fd8945efafd8b03cb9b04546d5a8a259 [Pipeline] } 09:34:42 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 09:34:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:34:47 ---> package-listing.sh 09:34:47 ++ facter osfamily 09:34:47 ++ tr '[:upper:]' '[:lower:]' 09:34:47 + OS_FAMILY=redhat 09:34:47 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-747 09:34:47 + START_PACKAGES=/tmp/packages_start.txt 09:34:47 + END_PACKAGES=/tmp/packages_end.txt 09:34:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:34:47 + PACKAGES=/tmp/packages_start.txt 09:34:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-747 ']' 09:34:47 + PACKAGES=/tmp/packages_end.txt 09:34:47 + case "${OS_FAMILY}" in 09:34:47 + rpm -qa 09:34:47 + sort 09:34:52 + '[' -f /tmp/packages_start.txt ']' 09:34:52 + '[' -f /tmp/packages_end.txt ']' 09:34:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:34:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-747 ']' 09:34:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-747/archives/ 09:34:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-747/archives/ [Pipeline] echo 09:34:52 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-747/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:34:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:34:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:53 09:34:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:34:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:34:53 alpine: Pulling from edgex-lftools-log-publisher 09:34:53 df20fa9351a1: Pulling fs layer 09:34:53 36b3adc4ff6f: Pulling fs layer 09:34:53 8ad3a11d3b57: Pulling fs layer 09:34:53 46f8f816bc3b: Pulling fs layer 09:34:53 93b61091891f: Pulling fs layer 09:34:53 93b9cdb0e59b: Pulling fs layer 09:34:53 5e14af77c1be: Pulling fs layer 09:34:53 01666e4c0597: Pulling fs layer 09:34:53 aa168da1d23b: Pulling fs layer 09:34:53 46f8f816bc3b: Waiting 09:34:53 93b61091891f: Waiting 09:34:53 93b9cdb0e59b: Waiting 09:34:53 5e14af77c1be: Waiting 09:34:53 01666e4c0597: Waiting 09:34:53 aa168da1d23b: Waiting 09:34:53 36b3adc4ff6f: Verifying Checksum 09:34:53 36b3adc4ff6f: Download complete 09:34:53 46f8f816bc3b: Verifying Checksum 09:34:53 46f8f816bc3b: Download complete 09:34:53 df20fa9351a1: Verifying Checksum 09:34:53 df20fa9351a1: Download complete 09:34:53 93b9cdb0e59b: Verifying Checksum 09:34:53 93b9cdb0e59b: Download complete 09:34:53 5e14af77c1be: Download complete 09:34:53 93b61091891f: Download complete 09:34:53 01666e4c0597: Verifying Checksum 09:34:53 01666e4c0597: Download complete 09:34:54 8ad3a11d3b57: Verifying Checksum 09:34:54 8ad3a11d3b57: Download complete 09:34:54 df20fa9351a1: Pull complete 09:34:54 36b3adc4ff6f: Pull complete 09:34:55 8ad3a11d3b57: Pull complete 09:34:55 46f8f816bc3b: Pull complete 09:34:56 aa168da1d23b: Verifying Checksum 09:34:56 aa168da1d23b: Download complete 09:34:56 93b61091891f: Pull complete 09:34:57 93b9cdb0e59b: Pull complete 09:34:57 5e14af77c1be: Pull complete 09:34:57 01666e4c0597: Pull complete 09:35:04 aa168da1d23b: Pull complete 09:35:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:35:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:35:04 prd-centos7-docker-4c-2g-21916 does not seem to be running inside a container 09:35:04 $ 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-747/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-747 -v /w/workspace/dgexfoundry_device-sdk-go_PR-747:/w/workspace/dgexfoundry_device-sdk-go_PR-747:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:35:07 $ docker top 9fc4f2bf8d9fbe1c42fe3e6c8e82b8166ca1163d2be32075cf505efc0d0b18f8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:35:08 + touch /tmp/pre-build-complete [Pipeline] sh 09:35:08 + mkdir -p /var/log/sa [Pipeline] sh 09:35:09 + ls /var/log/sa-host 09:35:09 + sadf -c /var/log/sa-host/sa21 09:35:09 file_magic: OK 09:35:09 HZ: Using current value: 100 09:35:09 file_header: OK 09:35:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:35:09 Statistics: 09:35:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:35:09 File successfully converted to sysstat format version 12.2.1 09:35:09 + sadf -c /var/log/sa-host/sa23 09:35:09 file_magic: OK 09:35:09 HZ: Using current value: 100 09:35:09 file_header: OK 09:35:09 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:35:09 Statistics: 09:35:09 Hnuu...uuuununununu... 09:35:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:35:09 provisioning config files... 09:35:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-747@tmp/config6819143485553389268tmp [Pipeline] { [Pipeline] echo 09:35:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:35:10 ---> create-netrc.sh [Pipeline] } 09:35:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:35:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:35:10 ---> python-tools-install.sh [Pipeline] echo 09:35:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:35:11 ---> sudo-logs.sh 09:35:11 Archiving 'sudo' log.. [Pipeline] echo 09:35:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:35:11 ---> job-cost.sh 09:35:11 lf-activate-venv: SKIPPING 09:35:11 INFO: No Stack... 09:35:13 INFO: Retrieving Pricing Info for: v1-standard-2 09:35:13 INFO: Archiving Costs [Pipeline] echo 09:35:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:35:13 ---> logs-deploy.sh 09:35:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-747/1 09:35:13 INFO: archiving workspace using pattern(s): 09:35:15 Archives upload complete. 09:35:15 INFO: archiving logs to Nexus