Pull request #754 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4+2e0b14878cfb4a574be8745ab7c226ce26d53775 (f2969b101d7ee2fb0f3f369288e87156940b0d89) 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-754/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-754/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22587 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [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-754 # 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 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # 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 07:01:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:01:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:01:58 ========================================================= 07:01:58 EdgeX Global Pipelines Version Info 07:01:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:02:00 ------------------- 07:02:00 stable info: 07:02:00 ------------------- 07:02:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:02:00 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:02:00 Message: update stable to v1.0.179 07:02:01 ------------------- 07:02:01 experimental info: 07:02:01 ------------------- 07:02:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:02:01 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:02:01 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:02:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:02:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:02:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:02:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:02:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:02:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-754 [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-754 [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-754 [Pipeline] echo 07:02:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] echo 07:02:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63b56b3 [Pipeline] echo 07:02:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:02:06 provisioning config files... 07:02:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config303157398323039981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:06 ---> docker-login.sh 07:02:06 nexus3.edgexfoundry.org:10001 07:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:07 Configure a credential helper to remove this warning. See 07:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:07 07:02:07 Login Succeeded 07:02:07 nexus3.edgexfoundry.org:10002 07:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:07 Configure a credential helper to remove this warning. See 07:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:07 07:02:07 Login Succeeded 07:02:07 nexus3.edgexfoundry.org:10003 07:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:07 Configure a credential helper to remove this warning. See 07:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:07 07:02:07 Login Succeeded 07:02:07 nexus3.edgexfoundry.org:10004 07:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:07 Configure a credential helper to remove this warning. See 07:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:07 07:02:07 Login Succeeded 07:02:07 docker.io 07:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:08 Configure a credential helper to remove this warning. See 07:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:08 07:02:08 Login Succeeded 07:02:08 ---> docker-login.sh ends [Pipeline] } 07:02:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:09 + git log --format=format:%s -1 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] echo 07:02:09 GIT_COMMIT: 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:02:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:02:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:10 07:02:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:02:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:11 latest: Pulling from edgex-devops/git-semver 07:02:11 31603596830f: Pulling fs layer 07:02:11 2a8b12db71e7: Pulling fs layer 07:02:11 6ca5941a6612: Pulling fs layer 07:02:11 ecc8261a40a4: Pulling fs layer 07:02:11 ecc8261a40a4: Waiting 07:02:11 2a8b12db71e7: Verifying Checksum 07:02:11 2a8b12db71e7: Download complete 07:02:11 31603596830f: Verifying Checksum 07:02:11 31603596830f: Download complete 07:02:11 ecc8261a40a4: Verifying Checksum 07:02:11 ecc8261a40a4: Download complete 07:02:11 6ca5941a6612: Verifying Checksum 07:02:11 6ca5941a6612: Download complete 07:02:11 31603596830f: Pull complete 07:02:12 2a8b12db71e7: Pull complete 07:02:13 6ca5941a6612: Pull complete 07:02:13 ecc8261a40a4: Pull complete 07:02:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:02:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:02:13 prd-centos7-docker-4c-2g-22587 does not seem to be running inside a container 07:02:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-754 -v /w/workspace/dgexfoundry_device-sdk-go_PR-754:/w/workspace/dgexfoundry_device-sdk-go_PR-754:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-754@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 07:02:15 $ docker top 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:02:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:15 [ssh-agent] Looking for ssh-agent implementation... 07:02:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:16 $ docker exec 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent 07:02:16 SSH_AUTH_SOCK=/tmp/ssh-rc8wySeVFBvJ/agent.11 07:02:16 SSH_AGENT_PID=16 07:02:16 Running ssh-add (command line suppressed) 07:02:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_7382249083591929182.key (/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_7382249083591929182.key) 07:02:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:16 + git tag --points-at HEAD [Pipeline] } 07:02:17 $ docker exec --env ******** --env ******** 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent -k 07:02:17 unset SSH_AUTH_SOCK; 07:02:17 unset SSH_AGENT_PID; 07:02:17 echo Agent pid 16 killed; 07:02:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:02:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:02:17 [ssh-agent] Looking for ssh-agent implementation... 07:02:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:02:17 $ docker exec 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent 07:02:17 SSH_AUTH_SOCK=/tmp/ssh-00AdLmrhaQq3/agent.45 07:02:17 SSH_AGENT_PID=50 07:02:17 Running ssh-add (command line suppressed) 07:02:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_6741573778950924619.key (/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/private_key_6741573778950924619.key) 07:02:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:02:18 + git semver init 07:02:18 # -> Open(): unable to determine branch for HEAD 07:02:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-754/.git 07:02:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-754 07:02:18 # $SEMVER_REMOTE_NAME = origin 07:02:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:02:18 # $SEMVER_USER_NAME = edgex-jenkins 07:02:18 # $SEMVER_BRANCH = PR-754 07:02:18 # $SEMVER_TEMP = /tmp/semver-103414031 07:02:18 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:02:19 # '/tmp/semver-103414031' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-754/.semver' 07:02:19 # -> Force: false 07:02:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-754/.semver [Pipeline] } 07:02:19 $ docker exec --env ******** --env ******** 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 ssh-agent -k 07:02:19 unset SSH_AUTH_SOCK; 07:02:19 unset SSH_AGENT_PID; 07:02:19 echo Agent pid 50 killed; 07:02:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:02:20 + git semver [Pipeline] } 07:02:20 $ docker stop --time=1 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 07:02:21 $ docker rm -f 3e65a9d46e69addbd8845e79619a71e99479676aebb14338cca99f4b00536fa5 [Pipeline] // withDockerContainer [Pipeline] sh 07:02:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:02:22 Stashed 1 file(s) [Pipeline] echo 07:02:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 07:02:38 Still waiting to schedule task 07:02:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:02:38 Still waiting to schedule task 07:02:38 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 07:04:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22588 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [Pipeline] { [Pipeline] ws 07:04:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:04:25 using credential edgex-jenkins-ssh 07:04:25 Cloning the remote Git repository 07:04:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:04:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:04:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:25 > git --version # timeout=10 07:04:25 > git --version # 'git version 2.17.1' 07:04:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:27 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:04:27 Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:04:27 Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) 07:04:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:26 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:04:27 > git config core.sparsecheckout # timeout=10 07:04:27 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 07:04:27 > git remote # timeout=10 07:04:27 > git config --get remote.origin.url # timeout=10 07:04:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:27 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 07:04:27 > git rev-parse HEAD^{commit} # timeout=10 07:04:27 > git config core.sparsecheckout # timeout=10 07:04:27 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 07:04:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:04:31 > git --version # timeout=10 07:04:31 > git --version # 'git version 2.17.1' 07:04:31 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:04:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:04:34 + + true 07:04:34 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:04:37 provisioning config files... 07:04:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7290742239119907909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:37 ---> docker-login.sh 07:04:37 nexus3.edgexfoundry.org:10001 07:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:39 Configure a credential helper to remove this warning. See 07:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:39 07:04:39 Login Succeeded 07:04:39 nexus3.edgexfoundry.org:10002 07:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:39 Configure a credential helper to remove this warning. See 07:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:39 07:04:39 Login Succeeded 07:04:39 nexus3.edgexfoundry.org:10003 07:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:40 Configure a credential helper to remove this warning. See 07:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:40 07:04:40 Login Succeeded 07:04:40 nexus3.edgexfoundry.org:10004 07:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:40 Configure a credential helper to remove this warning. See 07:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:40 07:04:40 Login Succeeded 07:04:40 docker.io 07:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:41 Configure a credential helper to remove this warning. See 07:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:41 07:04:41 Login Succeeded 07:04:41 ---> docker-login.sh ends [Pipeline] } 07:04:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:41 ========================================================= 07:04:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:04:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:04:42 + 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 . 07:04:42 Sending build context to Docker daemon 2.555MB 07:04:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:04:42 Step 2/8 : FROM ${BASE} 07:04:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:04:42 5f621e34cdf4: Pulling fs layer 07:04:42 a4357932f1b6: Pulling fs layer 07:04:42 18c013af1878: Pulling fs layer 07:04:42 00ac8860ef70: Pulling fs layer 07:04:42 63d7cb157983: Pulling fs layer 07:04:42 b116817d02f9: Pulling fs layer 07:04:42 745a02a5169b: Pulling fs layer 07:04:42 00ac8860ef70: Waiting 07:04:42 63d7cb157983: Waiting 07:04:42 b116817d02f9: Waiting 07:04:42 745a02a5169b: Waiting 07:04:42 18c013af1878: Download complete 07:04:42 a4357932f1b6: Download complete 07:04:42 63d7cb157983: Verifying Checksum 07:04:42 63d7cb157983: Download complete 07:04:42 b116817d02f9: Verifying Checksum 07:04:42 b116817d02f9: Download complete 07:04:42 5f621e34cdf4: Verifying Checksum 07:04:42 5f621e34cdf4: Download complete 07:04:43 5f621e34cdf4: Pull complete 07:04:44 a4357932f1b6: Pull complete 07:04:44 18c013af1878: Pull complete 07:04:45 745a02a5169b: Verifying Checksum 07:04:45 745a02a5169b: Download complete 07:04:46 00ac8860ef70: Verifying Checksum 07:04:46 00ac8860ef70: Download complete 07:04:55 Running on prd-centos7-docker-4c-2g-22590 in /w/workspace/dgexfoundry_device-sdk-go_PR-754 [Pipeline] { [Pipeline] ws 07:04:55 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:04:57 using credential edgex-jenkins-ssh 07:04:57 Cloning the remote Git repository 07:04:58 00ac8860ef70: Pull complete 07:04:58 63d7cb157983: Pull complete 07:04:58 b116817d02f9: Pull complete 07:04:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:04:57 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:04:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:57 > git --version # timeout=10 07:04:57 > git --version # 'git version 2.24.3' 07:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:58 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:04:59 Merge succeeded, producing 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:04:59 Checking out Revision 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 (PR-754) 07:04:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:04:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:04:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/754/head:refs/remotes/origin/PR-754 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:04:58 > git config core.sparsecheckout # timeout=10 07:04:58 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 07:04:58 > git remote # timeout=10 07:04:58 > git config --get remote.origin.url # timeout=10 07:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 07:04:58 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 07:04:58 > git rev-parse HEAD^{commit} # timeout=10 07:04:58 > git config core.sparsecheckout # timeout=10 07:04:58 > git checkout -f 63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 # timeout=10 07:05:01 745a02a5169b: Pull complete 07:05:01 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:05:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:05:01 ---> b7e6874047d6 07:05:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:05:02 > git --version # timeout=10 07:05:02 > git --version # 'git version 2.24.3' 07:05:02 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 07:05:04 ---> Running in df5727726666 [Pipeline] sh 07:05:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:05:04 Removing intermediate container df5727726666 07:05:04 ---> 09434e4b77fd 07:05:04 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:04 ---> Running in 4288a11a5f83 07:05:04 + sudo service docker restart 07:05:04 + true 07:05:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:05:06 provisioning config files... 07:05:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4276577912892331169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:06 ---> docker-login.sh 07:05:06 nexus3.edgexfoundry.org:10001 07:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:07 Configure a credential helper to remove this warning. See 07:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:07 07:05:07 Login Succeeded 07:05:07 nexus3.edgexfoundry.org:10002 07:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:07 Configure a credential helper to remove this warning. See 07:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:07 07:05:07 Login Succeeded 07:05:07 nexus3.edgexfoundry.org:10003 07:05:07 Removing intermediate container 4288a11a5f83 07:05:07 ---> e6b5c63d4804 07:05:07 Step 5/8 : RUN apk add --update --no-cache make git 07:05:07 ---> Running in 6d4e0d5e6228 07:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:07 Configure a credential helper to remove this warning. See 07:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:07 07:05:07 Login Succeeded 07:05:07 nexus3.edgexfoundry.org:10004 07:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:07 Configure a credential helper to remove this warning. See 07:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:07 07:05:07 Login Succeeded 07:05:07 docker.io 07:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:05:08 Configure a credential helper to remove this warning. See 07:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:05:08 07:05:08 Login Succeeded 07:05:08 ---> docker-login.sh ends [Pipeline] } 07:05:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 07:05:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] unstash [Pipeline] echo 07:05:08 ========================================================= 07:05:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:05:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:05:09 + 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 . 07:05:09 Sending build context to Docker daemon 2.547MB 07:05:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:05:09 Step 2/8 : FROM ${BASE} 07:05:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:05:09 188c0c94c7c5: Pulling fs layer 07:05:09 0ef7d3d256c8: Pulling fs layer 07:05:09 de9db76c5a1d: Pulling fs layer 07:05:09 bca2f99d35d6: Pulling fs layer 07:05:09 93359f2a8cfa: Pulling fs layer 07:05:09 7c6f9722023f: Pulling fs layer 07:05:09 a35cf1a2eb13: Pulling fs layer 07:05:09 93359f2a8cfa: Waiting 07:05:09 7c6f9722023f: Waiting 07:05:09 a35cf1a2eb13: Waiting 07:05:09 bca2f99d35d6: Waiting 07:05:09 de9db76c5a1d: Verifying Checksum 07:05:09 de9db76c5a1d: Download complete 07:05:09 0ef7d3d256c8: Verifying Checksum 07:05:09 0ef7d3d256c8: Download complete 07:05:09 93359f2a8cfa: Verifying Checksum 07:05:09 93359f2a8cfa: Download complete 07:05:09 7c6f9722023f: Verifying Checksum 07:05:09 7c6f9722023f: Download complete 07:05:09 188c0c94c7c5: Verifying Checksum 07:05:09 188c0c94c7c5: Download complete 07:05:09 188c0c94c7c5: Pull complete 07:05:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:05:09 0ef7d3d256c8: Pull complete 07:05:09 de9db76c5a1d: Pull complete 07:05:10 OK: 142 MiB in 39 packages 07:05:11 a35cf1a2eb13: Verifying Checksum 07:05:11 a35cf1a2eb13: Download complete 07:05:11 bca2f99d35d6: Verifying Checksum 07:05:11 bca2f99d35d6: Download complete 07:05:11 Removing intermediate container 6d4e0d5e6228 07:05:11 ---> ff590d8f36bf 07:05:11 Step 6/8 : WORKDIR /device-sdk-go 07:05:12 ---> Running in 7658bda97969 07:05:12 Removing intermediate container 7658bda97969 07:05:12 ---> a4ace068a446 07:05:12 Step 7/8 : COPY . . 07:05:14 ---> ffdaf8b214c8 07:05:14 Step 8/8 : RUN go mod download 07:05:14 ---> Running in 363e14c9355a 07:05:16 bca2f99d35d6: Pull complete 07:05:16 93359f2a8cfa: Pull complete 07:05:16 7c6f9722023f: Pull complete 07:05:26 a35cf1a2eb13: Pull complete 07:05:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:05:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:05:26 ---> a62c8e92a672 07:05:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:26 ---> Running in 391cc65ea424 07:05:26 Removing intermediate container 391cc65ea424 07:05:26 ---> bbb5574405d6 07:05:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:26 ---> Running in 472580bca789 07:05:27 Removing intermediate container 472580bca789 07:05:27 ---> 5069c3211142 07:05:27 Step 5/8 : RUN apk add --update --no-cache make git 07:05:27 ---> Running in 995c44db7d50 07:05:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:05:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:05:29 OK: 166 MiB in 39 packages 07:05:30 Removing intermediate container 995c44db7d50 07:05:30 ---> 315dee541c1c 07:05:30 Step 6/8 : WORKDIR /device-sdk-go 07:05:30 ---> Running in f769de7ad619 07:05:30 Removing intermediate container f769de7ad619 07:05:30 ---> f39c8c157215 07:05:30 Step 7/8 : COPY . . 07:05:31 ---> d0fc4c338e01 07:05:31 Step 8/8 : RUN go mod download 07:05:31 ---> Running in b76bc69f27b9 07:05:36 Removing intermediate container 363e14c9355a 07:05:36 ---> 2afe214d812a 07:05:36 Successfully built 2afe214d812a 07:05:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:05:36 + docker inspect -f . ci-base-image-arm64 07:05:36 . [Pipeline] withDockerContainer 07:05:36 prd-ubuntu18.04-docker-arm64-4c-16g-22588 does not seem to be running inside a container 07:05:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:05:38 $ docker top 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:39 + go version 07:05:39 go version go1.15.5 linux/arm64 [Pipeline] } 07:05:39 $ docker stop --time=1 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 07:05:41 $ docker rm -f 8d9dc2a5f6ce607248b7cf62046f013594ec0f5bb218d4c20d154cb72833df55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:05:42 + docker inspect -f . ci-base-image-arm64 07:05:42 . [Pipeline] withDockerContainer 07:05:43 prd-ubuntu18.04-docker-arm64-4c-16g-22588 does not seem to be running inside a container 07:05:43 $ 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 07:05:44 $ docker top 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:45 + make test 07:05:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:05:50 Removing intermediate container b76bc69f27b9 07:05:50 ---> 6d509f6329dc 07:05:50 Successfully built 6d509f6329dc 07:05:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:05:50 + docker inspect -f . ci-base-image-x86_64 07:05:50 . [Pipeline] withDockerContainer 07:05:50 prd-centos7-docker-4c-2g-22590 does not seem to be running inside a container 07:05:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:05:51 $ docker top 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:51 + go version 07:05:51 go version go1.15.5 linux/amd64 [Pipeline] } 07:05:51 $ docker stop --time=1 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 07:05:53 $ docker rm -f 65e4644e745cfb927df8766f01d13d4fc448cc1549e394f9f394646c783990b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:05:54 + docker inspect -f . ci-base-image-x86_64 07:05:54 . [Pipeline] withDockerContainer 07:05:54 prd-centos7-docker-4c-2g-22590 does not seem to be running inside a container 07:05:54 $ 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-x86_64 cat 07:05:55 $ docker top 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:55 + make test 07:05:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:06:04 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:06:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:06:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:06:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:06:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:06:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 19.4% of statements 07:06:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.491s coverage: 97.1% of statements 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.067s coverage: 21.7% of statements 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.254s coverage: 43.2% of statements 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.273s coverage: 68.9% of statements 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 53.8% of statements 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.823s coverage: 83.5% of statements 07:06:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.2% of statements 07:06:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:06:52 GO111MODULE=on go vet ./... 07:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:06:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 19.4% of statements 07:06:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.355s coverage: 97.1% of statements 07:06:59 gofmt -l . 07:06:59 [ "`gofmt -l .`" = "" ] 07:06:59 ./bin/test-attribution-txt.sh 07:06:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:07:00 $ docker stop --time=1 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 07:07:02 $ docker rm -f 4e801403bd61cb9d8ff7cb50e3b213d8bb2702c212be5ddea42ce69e18e9bfc1 [Pipeline] // withDockerContainer [Pipeline] sh 07:07:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:07:06 + ls -al . 07:07:06 total 216 07:07:06 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 25 07:07 . 07:07:06 drwxrwxr-x. 4 jenkins jenkins 28 Jan 25 07:04 .. 07:07:06 drwxrwxr-x. 2 jenkins jenkins 64 Jan 25 07:04 bin 07:07:06 -rw-r--r--. 1 jenkins jenkins 136842 Jan 25 07:06 coverage.out 07:07:06 -rw-rw-r--. 1 jenkins jenkins 949 Jan 25 07:04 Dockerfile.build 07:07:06 -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 07:04 .dockerignore 07:07:06 drwxrwxr-x. 4 jenkins jenkins 48 Jan 25 07:04 example 07:07:06 drwxrwxr-x. 8 jenkins jenkins 179 Jan 25 07:05 .git 07:07:06 drwxrwxr-x. 2 jenkins jenkins 103 Jan 25 07:04 .github 07:07:06 -rw-rw-r--. 1 jenkins jenkins 138 Jan 25 07:04 .gitignore 07:07:06 -rw-r--r--. 1 jenkins jenkins 514 Jan 25 07:06 go.mod 07:07:06 -rw-r--r--. 1 jenkins jenkins 14016 Jan 25 07:07 go.sum 07:07:06 drwxrwxr-x. 15 jenkins jenkins 211 Jan 25 07:04 internal 07:07:06 -rw-rw-r--. 1 jenkins jenkins 901 Jan 25 07:04 Jenkinsfile 07:07:06 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 07:04 LICENSE 07:07:06 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 25 07:04 Makefile 07:07:06 drwxrwxr-x. 4 jenkins jenkins 26 Jan 25 07:04 openapi 07:07:06 drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 07:04 pkg 07:07:06 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 25 07:04 README.md 07:07:06 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 25 07:04 RELEASE-NOTES.txt 07:07:06 drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 07:04 snap 07:07:06 -rw-rw-r--. 1 jenkins jenkins 5 Jan 25 07:02 VERSION 07:07:06 -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 07:04 version.go [Pipeline] isUnix [Pipeline] sh 07:07:06 + 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=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 --label arch=amd64 --label version=0.0.0 . 07:07:07 Sending build context to Docker daemon 2.685MB 07:07:07 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:07:07 Step 2/24 : FROM ${BASE} AS builder 07:07:07 ---> 6d509f6329dc 07:07:07 Step 3/24 : ARG MAKE='make build' 07:07:07 ---> Running in dd5ad2f96beb 07:07:07 Removing intermediate container dd5ad2f96beb 07:07:07 ---> b8e9cc49c295 07:07:07 Step 4/24 : WORKDIR /device-sdk-go 07:07:07 ---> Running in 35f31f7a0485 07:07:07 Removing intermediate container 35f31f7a0485 07:07:07 ---> ee78118349eb 07:07:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:07:07 ---> Running in e794a29d567f 07:07:07 Removing intermediate container e794a29d567f 07:07:07 ---> 41401478fb65 07:07:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:08 ---> Running in 70d93b31d7b8 07:07:09 Removing intermediate container 70d93b31d7b8 07:07:09 ---> 06c61a96ab3e 07:07:09 Step 7/24 : RUN apk add --update --no-cache make git 07:07:09 ---> Running in 4e9ae756451d 07:07:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:07:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:07:10 OK: 166 MiB in 39 packages 07:07:11 Removing intermediate container 4e9ae756451d 07:07:11 ---> 8a022bd24345 07:07:11 Step 8/24 : COPY . . 07:07:12 ---> 0087c1bbf7e7 07:07:12 Step 9/24 : RUN ${MAKE} 07:07:12 ---> Running in bb709ae812fb 07:07:12 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 07:07:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 9.4% of statements 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 21.7% of statements 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.581s coverage: 43.2% of statements 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.777s coverage: 68.9% of statements 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.191s coverage: 26.8% of statements 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.901s coverage: 83.5% of statements 07:07:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 07:07:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:07:21 GO111MODULE=on go vet ./... 07:07:23 Removing intermediate container bb709ae812fb 07:07:23 ---> b688c65209b9 07:07:23 Step 10/24 : FROM scratch 07:07:23 ---> 07:07:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:07:23 ---> Running in b4fd1cd228e7 07:07:23 Removing intermediate container b4fd1cd228e7 07:07:23 ---> 7655e7ff445d 07:07:23 Step 12/24 : ENV APP_PORT=49990 07:07:23 ---> Running in 336543ce2d66 07:07:23 Removing intermediate container 336543ce2d66 07:07:23 ---> 81bb74de2d93 07:07:23 Step 13/24 : EXPOSE $APP_PORT 07:07:23 ---> Running in 20d4f8a5d66e 07:07:23 Removing intermediate container 20d4f8a5d66e 07:07:23 ---> d53744f1b68c 07:07:23 Step 14/24 : WORKDIR / 07:07:23 ---> Running in 0d03891f63f9 07:07:24 Removing intermediate container 0d03891f63f9 07:07:24 ---> cbf55ea2337b 07:07:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:07:25 ---> 14bd286dadfe 07:07:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:07:25 ---> 8f031b891bf1 07:07:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:07:25 ---> a07d49dc4605 07:07:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:07:25 ---> 7daf113d6069 07:07:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:07:25 ---> 35f2d737ce13 07:07:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:07:25 ---> Running in 9ebaed0324cf 07:07:26 Removing intermediate container 9ebaed0324cf 07:07:26 ---> 879369cf405b 07:07:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:07:26 ---> Running in 35c906390fd5 07:07:26 Removing intermediate container 35c906390fd5 07:07:26 ---> a92e0bf00e03 07:07:26 Step 22/24 : LABEL arch=amd64 07:07:26 ---> Running in da7af22818fc 07:07:26 Removing intermediate container da7af22818fc 07:07:26 ---> 9df5a76724c9 07:07:26 Step 23/24 : LABEL git_sha=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:07:26 ---> Running in ab092c655007 07:07:26 Removing intermediate container ab092c655007 07:07:26 ---> e041b4cf2bcc 07:07:26 Step 24/24 : LABEL version=0.0.0 07:07:26 ---> Running in a92f3a7164ec 07:07:27 Removing intermediate container a92f3a7164ec 07:07:27 ---> e9574d599672 07:07:27 [Warning] One or more build-args [ARCH] were not consumed 07:07:27 Successfully built e9574d599672 07:07:27 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:08:00 gofmt -l . 07:08:00 [ "`gofmt -l .`" = "" ] 07:08:00 ./bin/test-attribution-txt.sh 07:08:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:08:00 $ docker stop --time=1 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 07:08:03 $ docker rm -f 29928faf4c6afdbac30001e49d0a4aba5922c193ef773c7660049978aeaed126 [Pipeline] // withDockerContainer [Pipeline] sh 07:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:08:04 Warning: overwriting stash ‘coverage-report’ 07:08:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:08:06 + ls -al . 07:08:06 total 252 07:08:06 drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 07:07 . 07:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 .. 07:08:06 -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 07:04 .dockerignore 07:08:06 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 07:04 .git 07:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 07:04 .github 07:08:06 -rw-rw-r-- 1 jenkins jenkins 138 Jan 25 07:04 .gitignore 07:08:06 -rw-rw-r-- 1 jenkins jenkins 949 Jan 25 07:04 Dockerfile.build 07:08:06 -rw-rw-r-- 1 jenkins jenkins 901 Jan 25 07:04 Jenkinsfile 07:08:06 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 07:04 LICENSE 07:08:06 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 25 07:04 Makefile 07:08:06 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 25 07:04 README.md 07:08:06 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 25 07:04 RELEASE-NOTES.txt 07:08:06 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 07:02 VERSION 07:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 07:04 bin 07:08:06 -rw-r--r-- 1 jenkins jenkins 136842 Jan 25 07:07 coverage.out 07:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 example 07:08:06 -rw-r--r-- 1 jenkins jenkins 514 Jan 25 07:07 go.mod 07:08:06 -rw-r--r-- 1 jenkins jenkins 14016 Jan 25 07:07 go.sum 07:08:06 drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 07:04 internal 07:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 openapi 07:08:06 drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 07:04 pkg 07:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 07:04 snap 07:08:06 -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 07:04 version.go [Pipeline] isUnix [Pipeline] sh 07:08:06 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 --label arch=arm64 --label version=0.0.0 . 07:08:07 Sending build context to Docker daemon 2.693MB 07:08:07 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:08:07 Step 2/24 : FROM ${BASE} AS builder 07:08:07 ---> 2afe214d812a 07:08:07 Step 3/24 : ARG MAKE='make build' 07:08:07 ---> Running in ccdc13a77884 07:08:08 Removing intermediate container ccdc13a77884 07:08:08 ---> d550de777f35 07:08:08 Step 4/24 : WORKDIR /device-sdk-go 07:08:08 ---> Running in c9b7d6ea1c29 07:08:08 Removing intermediate container c9b7d6ea1c29 07:08:08 ---> 290e55f857e0 07:08:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:08:08 ---> Running in ae3c2b5ceaae 07:08:09 Removing intermediate container ae3c2b5ceaae 07:08:09 ---> b6bade51de93 07:08:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:08:09 ---> Running in c61eab1baa40 07:08:11 Removing intermediate container c61eab1baa40 07:08:11 ---> da39c859bee4 07:08:11 Step 7/24 : RUN apk add --update --no-cache make git 07:08:11 ---> Running in 62e93a3a2c99 07:08:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:08:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:08:13 OK: 142 MiB in 39 packages 07:08:15 Removing intermediate container 62e93a3a2c99 07:08:15 ---> 14399167d525 07:08:15 Step 8/24 : COPY . . 07:08:16 ---> 5c1393c69cea 07:08:16 Step 9/24 : RUN ${MAKE} 07:08:16 ---> Running in 82b8d70ec27c 07:08:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:08:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:08:44 Removing intermediate container 82b8d70ec27c 07:08:44 ---> 1eb8d1d9ab47 07:08:44 Step 10/24 : FROM scratch 07:08:44 ---> 07:08:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:08:45 ---> Running in b83576394dc6 07:08:45 Removing intermediate container b83576394dc6 07:08:45 ---> 12f362dfb705 07:08:45 Step 12/24 : ENV APP_PORT=49990 07:08:45 ---> Running in 90c734a35267 07:08:45 Removing intermediate container 90c734a35267 07:08:45 ---> 4a4e49d9599e 07:08:45 Step 13/24 : EXPOSE $APP_PORT 07:08:46 ---> Running in ac41ee68b0cc 07:08:46 Removing intermediate container ac41ee68b0cc 07:08:46 ---> cb77728a3a21 07:08:46 Step 14/24 : WORKDIR / 07:08:46 ---> Running in b2f1f663b575 07:08:47 Removing intermediate container b2f1f663b575 07:08:47 ---> 124136aa2e2f 07:08:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:08:48 ---> 9f7945195c7a 07:08:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:08:48 ---> 1129212c0fa5 07:08:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:08:49 ---> 525c5422ada2 07:08:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:08:50 ---> 2e237ac8b68b 07:08:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:08:51 ---> 732faad9354d 07:08:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:08:51 ---> Running in c864d5ebb98a 07:08:51 Removing intermediate container c864d5ebb98a 07:08:51 ---> 4be20df736fd 07:08:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:08:51 ---> Running in aea3cf8c7e84 07:08:51 Removing intermediate container aea3cf8c7e84 07:08:51 ---> f81038f6ecf2 07:08:51 Step 22/24 : LABEL arch=arm64 07:08:52 ---> Running in 75a3f878ba69 07:08:52 Removing intermediate container 75a3f878ba69 07:08:52 ---> f25c58a6e74d 07:08:52 Step 23/24 : LABEL git_sha=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 07:08:52 ---> Running in 221f1908640a 07:08:53 Removing intermediate container 221f1908640a 07:08:53 ---> b22aec061110 07:08:53 Step 24/24 : LABEL version=0.0.0 07:08:53 ---> Running in 5ae9ddbd7fa0 07:08:53 Removing intermediate container 5ae9ddbd7fa0 07:08:53 ---> ba3ba8860d45 07:08:53 [Warning] One or more build-args [ARCH] were not consumed 07:08:54 Successfully built ba3ba8860d45 07:08:54 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:08:56 provisioning config files... 07:08:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config6778244702111878149tmp [Pipeline] { [Pipeline] sh 07:08:56 + set +x 07:08:56 + curl -s https://codecov.io/bash 07:08:56 + bash -s -- 07:08:57 07:08:57 _____ _ 07:08:57 / ____| | | 07:08:57 | | ___ __| | ___ ___ _____ __ 07:08:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:57 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:57 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:57 Bash-20210115-cec3c92 07:08:57 07:08:57 07:08:57 ==> git version 2.24.3 found 07:08:57 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:08:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:08:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:08:57 ==> Jenkins CI detected. 07:08:57 project root: . 07:08:57 --> token set from env 07:08:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:57 ==> Running gcov in . (disable via -X gcov) 07:08:57 ==> Python coveragepy not found 07:08:57 ==> Searching for coverage reports in: 07:08:57 + . 07:08:57 -> Found 1 reports 07:08:57 ==> Detecting git/mercurial file structure 07:08:57 ==> Reading reports 07:08:57 + ./coverage.out bytes=136842 07:08:57 ==> Appending adjustments 07:08:57 https://docs.codecov.io/docs/fixing-reports 07:08:57 + Found adjustments 07:08:57 ==> Gzipping contents 07:08:57 24K /tmp/codecov.DLrRwP.gz 07:08:57 ==> Uploading reports 07:08:57 url: https://codecov.io 07:08:57 query: branch=PR-754&commit=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=754&job=&cmd_args= 07:08:57 -> Pinging Codecov 07:08:57 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-754&commit=63b56b3698328b71f7bf40adf7e6fe4ab988e5a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-754%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=754&job=&cmd_args= 07:08:58 -> Uploading to 07:08:58 https://storage.googleapis.com/codecov/v4/raw/2021-01-25/7E55EF52A471D76F132DFD9A03CDDE97/63b56b3698328b71f7bf40adf7e6fe4ab988e5a4/6704f8a2-bdac-4d2c-91cc-3c619f636f66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210125T070857Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d52ca130223088a0e3fa7059deab639b3bef95f4b221d69c3e11ee0f42fbbe86 07:08:58 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:58 Dload Upload Total Spent Left Speed 07:08:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21562 0 0 100 21562 0 51090 --:--:-- --:--:-- --:--:-- 51216 07:08:58 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/63b56b3698328b71f7bf40adf7e6fe4ab988e5a4 [Pipeline] } 07:08:58 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 07:09:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:09:02 ---> package-listing.sh 07:09:02 ++ facter osfamily 07:09:02 ++ tr '[:upper:]' '[:lower:]' 07:09:02 + OS_FAMILY=redhat 07:09:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-754 07:09:02 + START_PACKAGES=/tmp/packages_start.txt 07:09:02 + END_PACKAGES=/tmp/packages_end.txt 07:09:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:09:02 + PACKAGES=/tmp/packages_start.txt 07:09:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-754 ']' 07:09:02 + PACKAGES=/tmp/packages_end.txt 07:09:02 + case "${OS_FAMILY}" in 07:09:02 + rpm -qa 07:09:02 + sort 07:09:08 + '[' -f /tmp/packages_start.txt ']' 07:09:08 + '[' -f /tmp/packages_end.txt ']' 07:09:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:09:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-754 ']' 07:09:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-754/archives/ 07:09:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-754/archives/ [Pipeline] echo 07:09:08 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-754/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:09:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:09:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:09:08 07:09:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:09:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:09:09 alpine: Pulling from edgex-lftools-log-publisher 07:09:09 df20fa9351a1: Pulling fs layer 07:09:09 36b3adc4ff6f: Pulling fs layer 07:09:09 8ad3a11d3b57: Pulling fs layer 07:09:09 46f8f816bc3b: Pulling fs layer 07:09:09 93b61091891f: Pulling fs layer 07:09:09 93b9cdb0e59b: Pulling fs layer 07:09:09 5e14af77c1be: Pulling fs layer 07:09:09 01666e4c0597: Pulling fs layer 07:09:09 aa168da1d23b: Pulling fs layer 07:09:09 46f8f816bc3b: Waiting 07:09:09 93b9cdb0e59b: Waiting 07:09:09 93b61091891f: Waiting 07:09:09 aa168da1d23b: Waiting 07:09:09 01666e4c0597: Waiting 07:09:09 36b3adc4ff6f: Download complete 07:09:09 46f8f816bc3b: Verifying Checksum 07:09:09 46f8f816bc3b: Download complete 07:09:09 df20fa9351a1: Verifying Checksum 07:09:09 93b9cdb0e59b: Verifying Checksum 07:09:09 93b9cdb0e59b: Download complete 07:09:09 5e14af77c1be: Download complete 07:09:09 93b61091891f: Download complete 07:09:09 01666e4c0597: Verifying Checksum 07:09:09 01666e4c0597: Download complete 07:09:09 df20fa9351a1: Pull complete 07:09:10 36b3adc4ff6f: Pull complete 07:09:10 8ad3a11d3b57: Verifying Checksum 07:09:10 8ad3a11d3b57: Download complete 07:09:11 8ad3a11d3b57: Pull complete 07:09:11 46f8f816bc3b: Pull complete 07:09:12 aa168da1d23b: Verifying Checksum 07:09:12 aa168da1d23b: Download complete 07:09:12 93b61091891f: Pull complete 07:09:12 93b9cdb0e59b: Pull complete 07:09:12 5e14af77c1be: Pull complete 07:09:12 01666e4c0597: Pull complete 07:09:20 aa168da1d23b: Pull complete 07:09:20 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:09:21 prd-centos7-docker-4c-2g-22587 does not seem to be running inside a container 07:09:21 $ 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-754/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-754 -v /w/workspace/dgexfoundry_device-sdk-go_PR-754:/w/workspace/dgexfoundry_device-sdk-go_PR-754:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-754@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 07:09:24 $ docker top d327396d2daa75db76c633d1716ffef89f214f47fcca8c01fe94de17df5b9bc8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:25 + touch /tmp/pre-build-complete [Pipeline] sh 07:09:25 + mkdir -p /var/log/sa [Pipeline] sh 07:09:26 + ls /var/log/sa-host 07:09:26 + sadf -c /var/log/sa-host/sa23 07:09:26 file_magic: OK 07:09:26 HZ: Using current value: 100 07:09:26 file_header: OK 07:09:26 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 07:09:26 Statistics: 07:09:26 Hnuu...uuuununununu... 07:09:26 File successfully converted to sysstat format version 12.2.1 07:09:26 + sadf -c /var/log/sa-host/sa25 07:09:26 file_magic: OK 07:09:26 HZ: Using current value: 100 07:09:26 file_header: OK 07:09:26 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 07:09:26 Statistics: 07:09:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:09:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:26 provisioning config files... 07:09:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp/config6501959886608973553tmp [Pipeline] { [Pipeline] echo 07:09:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:09:27 ---> create-netrc.sh [Pipeline] } 07:09:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:09:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:09:27 ---> python-tools-install.sh [Pipeline] echo 07:09:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:09:28 ---> sudo-logs.sh 07:09:28 Archiving 'sudo' log.. [Pipeline] echo 07:09:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:09:28 ---> job-cost.sh 07:09:28 lf-activate-venv: SKIPPING 07:09:28 INFO: No Stack... 07:09:29 INFO: Retrieving Pricing Info for: v1-standard-2 07:09:30 INFO: Archiving Costs [Pipeline] echo 07:09:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:09:30 ---> logs-deploy.sh 07:09:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-754/1 07:09:30 INFO: archiving workspace using pattern(s): 07:09:32 Archives upload complete. 07:09:32 INFO: archiving logs to Nexus 07:09:33 ---> uname -a: 07:09:33 Linux prd-centos7-docker-4c-2g-22587.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:09:33 07:09:33 07:09:33 ---> lscpu: 07:09:33 Architecture: x86_64 07:09:33 CPU op-mode(s): 32-bit, 64-bit 07:09:33 Byte Order: Little Endian 07:09:33 Address sizes: 40 bits physical, 48 bits virtual 07:09:33 CPU(s): 4 07:09:33 On-line CPU(s) list: 0-3 07:09:33 Thread(s) per core: 1 07:09:33 Core(s) per socket: 1 07:09:33 Socket(s): 4 07:09:33 NUMA node(s): 1 07:09:33 Vendor ID: GenuineIntel 07:09:33 CPU family: 6 07:09:33 Model: 44 07:09:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:09:33 Stepping: 1 07:09:33 CPU MHz: 2933.436 07:09:33 BogoMIPS: 5866.87 07:09:33 Virtualization: VT-x 07:09:33 Hypervisor vendor: KVM 07:09:33 Virtualization type: full 07:09:33 L1d cache: 128 KiB 07:09:33 L1i cache: 128 KiB 07:09:33 L2 cache: 16 MiB 07:09:33 L3 cache: 64 MiB 07:09:33 NUMA node0 CPU(s): 0-3 07:09:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:09:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:09:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:09:33 Vulnerability Meltdown: Mitigation; PTI 07:09:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:09:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:09:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:09:33 Vulnerability Srbds: Not affected 07:09:33 Vulnerability Tsx async abort: Not affected 07:09:33 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 07:09:33 07:09:33 07:09:33 ---> nproc: 07:09:33 4 07:09:33 07:09:33 07:09:33 ---> df -h: 07:09:33 Filesystem Size Used Available Use% Mounted on 07:09:33 overlay 50.0G 7.3G 42.7G 15% / 07:09:33 tmpfs 64.0M 0 64.0M 0% /dev 07:09:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:09:33 shm 64.0M 0 64.0M 0% /dev/shm 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-754 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-754@tmp 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 07:09:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 07:09:33 07:09:33 07:09:33 ---> free -m: 07:09:33 total used free shared buff/cache available 07:09:33 Mem: 1837 697 94 0 1045 1035 07:09:33 Swap: 1023 1 1022 07:09:33 07:09:33