Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (f8ed4f463931e27364a6f0dc91a67efd8274f2dd) Running in Durability level: PERFORMANCE_OPTIMIZED 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30100 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 282f6da0e28193c4de9cf90a6648079ba1e5e910 Checking out Revision 282f6da0e28193c4de9cf90a6648079ba1e5e910 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 282f6da0e28193c4de9cf90a6648079ba1e5e910 # timeout=10 Commit message: "Merge commit '79c51434d0b6ff974f0a74c9d16ec224deffdcc1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:46 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 7cbecbb3357f4fad9a0f7f795cc02cb112067614 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:46 ========================================================= 02:42:46 EdgeX Global Pipelines Version Info 02:42:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:48 ------------------- 02:42:48 stable info: 02:42:48 ------------------- 02:42:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:48 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 02:42:48 Message: update stable to v1.0.184 02:42:49 ------------------- 02:42:49 experimental info: 02:42:49 ------------------- 02:42:49 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:49 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 02:42:49 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 282f6da0e28193c4de9cf90a6648079ba1e5e910 [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 282f6da [Pipeline] echo 02:42:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:53 provisioning config files... 02:42:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7644103064516821426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:54 ---> docker-login.sh 02:42:54 nexus3.edgexfoundry.org:10001 02:42:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10002 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10003 02:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:56 Configure a credential helper to remove this warning. See 02:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:56 02:42:56 Login Succeeded 02:42:56 nexus3.edgexfoundry.org:10004 02:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:57 Configure a credential helper to remove this warning. See 02:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:57 02:42:57 Login Succeeded 02:42:57 docker.io 02:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:57 Configure a credential helper to remove this warning. See 02:42:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:57 02:42:57 Login Succeeded 02:42:57 ---> docker-login.sh ends [Pipeline] } 02:42:57 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 02:42:58 + git log --format=format:%s -1 282f6da0e28193c4de9cf90a6648079ba1e5e910 [Pipeline] echo 02:42:58 GIT_COMMIT: 282f6da0e28193c4de9cf90a6648079ba1e5e910, Commit Message: Merge commit '79c51434d0b6ff974f0a74c9d16ec224deffdcc1' into HEAD [Pipeline] echo 02:42:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:59 02:42:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:00 latest: Pulling from edgex-devops/git-semver 02:43:00 31603596830f: Pulling fs layer 02:43:00 2a8b12db71e7: Pulling fs layer 02:43:00 6ca5941a6612: Pulling fs layer 02:43:00 ecc8261a40a4: Pulling fs layer 02:43:00 ecc8261a40a4: Waiting 02:43:00 2a8b12db71e7: Verifying Checksum 02:43:00 2a8b12db71e7: Download complete 02:43:00 31603596830f: Verifying Checksum 02:43:00 31603596830f: Download complete 02:43:00 ecc8261a40a4: Verifying Checksum 02:43:00 ecc8261a40a4: Download complete 02:43:00 6ca5941a6612: Download complete 02:43:01 31603596830f: Pull complete 02:43:01 2a8b12db71e7: Pull complete 02:43:04 6ca5941a6612: Pull complete 02:43:05 ecc8261a40a4: Pull complete 02:43:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:05 prd-centos7-docker-4c-2g-30100 does not seem to be running inside a container 02:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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:10004/edgex-devops/git-semver:latest cat 02:43:09 $ docker top c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:09 [ssh-agent] Looking for ssh-agent implementation... 02:43:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:10 $ docker exec c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba ssh-agent 02:43:10 SSH_AUTH_SOCK=/tmp/ssh-IIrf3us8UX7m/agent.11 02:43:10 SSH_AGENT_PID=16 02:43:10 Running ssh-add (command line suppressed) 02:43:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3876961351685691934.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_3876961351685691934.key) 02:43:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:11 + git tag --points-at HEAD [Pipeline] } 02:43:11 $ docker exec --env ******** --env ******** c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba ssh-agent -k 02:43:11 unset SSH_AUTH_SOCK; 02:43:11 unset SSH_AGENT_PID; 02:43:11 echo Agent pid 16 killed; 02:43:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:11 [ssh-agent] Looking for ssh-agent implementation... 02:43:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:12 $ docker exec c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba ssh-agent 02:43:12 SSH_AUTH_SOCK=/tmp/ssh-gcHmQVhWbjiY/agent.46 02:43:12 SSH_AGENT_PID=51 02:43:12 Running ssh-add (command line suppressed) 02:43:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6650602437940404296.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6650602437940404296.key) 02:43:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:13 + git semver init 02:43:13 # -> Open(): unable to determine branch for HEAD 02:43:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:13 # $SEMVER_REMOTE_NAME = origin 02:43:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:13 # $SEMVER_USER_NAME = edgex-jenkins 02:43:13 # $SEMVER_BRANCH = PR-725 02:43:13 # $SEMVER_TEMP = /tmp/semver-757795736 02:43:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:14 # '/tmp/semver-757795736' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:14 # -> Force: false 02:43:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:14 $ docker exec --env ******** --env ******** c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba ssh-agent -k 02:43:14 unset SSH_AUTH_SOCK; 02:43:14 unset SSH_AGENT_PID; 02:43:14 echo Agent pid 51 killed; 02:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:15 + git semver [Pipeline] } 02:43:15 $ docker stop --time=1 c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba 02:43:17 $ docker rm -f c45479db82cfbeb9022659b399ca7d57101e5955d68eaaa1dbb68a44cac281ba [Pipeline] // withDockerContainer [Pipeline] sh 02:43:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:19 Stashed 1 file(s) [Pipeline] echo 02:43:19 [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 02:43:35 Still waiting to schedule task 02:43:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30100’ 02:43:35 Still waiting to schedule task 02:43:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30101 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:45:21 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:45:26 using credential edgex-jenkins-ssh 02:45:26 Cloning the remote Git repository 02:45:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:26 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:45:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:26 > git --version # timeout=10 02:45:26 > git --version # 'git version 2.17.1' 02:45:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:28 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:45:28 Merge succeeded, producing 1a7c399f43a8c0865de856c227485c33b6d1c78c 02:45:28 Checking out Revision 1a7c399f43a8c0865de856c227485c33b6d1c78c (PR-725) 02:45:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:28 > git config core.sparsecheckout # timeout=10 02:45:28 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:45:28 > git remote # timeout=10 02:45:28 > git config --get remote.origin.url # timeout=10 02:45:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:28 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 02:45:28 > git rev-parse HEAD^{commit} # timeout=10 02:45:28 > git config core.sparsecheckout # timeout=10 02:45:28 > git checkout -f 1a7c399f43a8c0865de856c227485c33b6d1c78c # timeout=10 02:45:33 Commit message: "Merge commit '79c51434d0b6ff974f0a74c9d16ec224deffdcc1' into HEAD" 02:45:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:33 > git rev-list --no-walk 7cbecbb3357f4fad9a0f7f795cc02cb112067614 # timeout=10 02:45:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:35 + sudo service docker restart 02:45:35 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:38 provisioning config files... 02:45:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config830528171449519481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:38 ---> docker-login.sh 02:45:38 nexus3.edgexfoundry.org:10001 02:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:40 Configure a credential helper to remove this warning. See 02:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:40 02:45:40 Login Succeeded 02:45:40 nexus3.edgexfoundry.org:10002 02:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:40 Configure a credential helper to remove this warning. See 02:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:40 02:45:40 Login Succeeded 02:45:40 nexus3.edgexfoundry.org:10003 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 nexus3.edgexfoundry.org:10004 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:41 Configure a credential helper to remove this warning. See 02:45:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:41 02:45:41 Login Succeeded 02:45:41 docker.io 02:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:42 Configure a credential helper to remove this warning. See 02:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:42 02:45:42 Login Succeeded 02:45:42 ---> docker-login.sh ends [Pipeline] } 02:45:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:42 ========================================================= 02:45:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:45:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:43 + 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 . 02:45:43 Sending build context to Docker daemon 2.288MB 02:45:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:45:43 Step 2/8 : FROM ${BASE} 02:45:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:45:43 5f621e34cdf4: Pulling fs layer 02:45:43 a4357932f1b6: Pulling fs layer 02:45:43 18c013af1878: Pulling fs layer 02:45:43 00ac8860ef70: Pulling fs layer 02:45:43 63d7cb157983: Pulling fs layer 02:45:43 b116817d02f9: Pulling fs layer 02:45:43 745a02a5169b: Pulling fs layer 02:45:43 00ac8860ef70: Waiting 02:45:43 63d7cb157983: Waiting 02:45:43 745a02a5169b: Waiting 02:45:43 b116817d02f9: Waiting 02:45:43 18c013af1878: Verifying Checksum 02:45:43 18c013af1878: Download complete 02:45:43 a4357932f1b6: Verifying Checksum 02:45:43 a4357932f1b6: Download complete 02:45:43 63d7cb157983: Verifying Checksum 02:45:43 63d7cb157983: Download complete 02:45:43 5f621e34cdf4: Download complete 02:45:43 b116817d02f9: Verifying Checksum 02:45:43 b116817d02f9: Download complete 02:45:44 5f621e34cdf4: Pull complete 02:45:44 a4357932f1b6: Pull complete 02:45:44 18c013af1878: Pull complete 02:45:47 745a02a5169b: Verifying Checksum 02:45:47 745a02a5169b: Download complete 02:45:48 00ac8860ef70: Verifying Checksum 02:45:48 00ac8860ef70: Download complete 02:45:59 00ac8860ef70: Pull complete 02:45:59 63d7cb157983: Pull complete 02:45:59 b116817d02f9: Pull complete 02:46:01 Running on prd-centos7-docker-4c-2g-30102 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:01 Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout 02:46:03 745a02a5169b: Pull complete 02:46:03 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:03 ---> b7e6874047d6 02:46:03 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:03 using credential edgex-jenkins-ssh 02:46:03 Cloning the remote Git repository 02:46:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:03 > git init /w/workspace/device-sdk-go/20 # timeout=10 02:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 > git --version # timeout=10 02:46:04 > git --version # 'git version 2.24.3' 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:05 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:05 Merge succeeded, producing 6f4242a64acf1ec209c61c6de366b0fc6cd20f58 02:46:05 Checking out Revision 6f4242a64acf1ec209c61c6de366b0fc6cd20f58 (PR-725) 02:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:05 > git config core.sparsecheckout # timeout=10 02:46:05 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:05 > git remote # timeout=10 02:46:05 > git config --get remote.origin.url # timeout=10 02:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:05 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 02:46:05 > git rev-parse HEAD^{commit} # timeout=10 02:46:05 > git config core.sparsecheckout # timeout=10 02:46:05 > git checkout -f 6f4242a64acf1ec209c61c6de366b0fc6cd20f58 # timeout=10 02:46:06 ---> Running in 72826854c779 02:46:06 Removing intermediate container 72826854c779 02:46:06 ---> 12f06a961f7e 02:46:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:06 ---> Running in 6e1dbc85ec53 02:46:08 Removing intermediate container 6e1dbc85ec53 02:46:08 ---> 1fb3e2a975d3 02:46:08 Step 5/8 : RUN apk add --update --no-cache make git 02:46:09 Commit message: "Merge commit '79c51434d0b6ff974f0a74c9d16ec224deffdcc1' into HEAD" 02:46:09 First time build. Skipping changelog. 02:46:09 ---> Running in 4fbf1a55a5fb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:09 > git rev-list --no-walk 7cbecbb3357f4fad9a0f7f795cc02cb112067614 # timeout=10 02:46:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:10 + sudo service docker restart 02:46:10 + true 02:46:10 Redirecting to /bin/systemctl restart docker.service 02:46:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:11 OK: 142 MiB in 39 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:11 provisioning config files... 02:46:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config5795562978122700822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:12 ---> docker-login.sh 02:46:12 nexus3.edgexfoundry.org:10001 02:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:12 Configure a credential helper to remove this warning. See 02:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:12 02:46:12 Login Succeeded 02:46:12 nexus3.edgexfoundry.org:10002 02:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:12 Configure a credential helper to remove this warning. See 02:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:12 02:46:12 Login Succeeded 02:46:12 nexus3.edgexfoundry.org:10003 02:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:13 Configure a credential helper to remove this warning. See 02:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:13 02:46:13 Login Succeeded 02:46:13 nexus3.edgexfoundry.org:10004 02:46:13 Removing intermediate container 4fbf1a55a5fb 02:46:13 ---> dc138043228e 02:46:13 Step 6/8 : WORKDIR /device-sdk-go 02:46:13 ---> Running in 9dd365dff2dc 02:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:13 Configure a credential helper to remove this warning. See 02:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:13 02:46:13 Login Succeeded 02:46:13 docker.io 02:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:13 Configure a credential helper to remove this warning. See 02:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:13 02:46:13 Login Succeeded 02:46:13 ---> docker-login.sh ends [Pipeline] } 02:46:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 02:46:13 Removing intermediate container 9dd365dff2dc 02:46:13 ---> 781261704765 02:46:13 Step 7/8 : COPY . . [Pipeline] echo 02:46:13 ========================================================= 02:46:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:14 + 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 . 02:46:14 Sending build context to Docker daemon 2.282MB 02:46:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:14 Step 2/8 : FROM ${BASE} 02:46:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:14 188c0c94c7c5: Pulling fs layer 02:46:14 0ef7d3d256c8: Pulling fs layer 02:46:14 de9db76c5a1d: Pulling fs layer 02:46:14 bca2f99d35d6: Pulling fs layer 02:46:14 93359f2a8cfa: Pulling fs layer 02:46:14 7c6f9722023f: Pulling fs layer 02:46:14 a35cf1a2eb13: Pulling fs layer 02:46:14 93359f2a8cfa: Waiting 02:46:14 7c6f9722023f: Waiting 02:46:14 bca2f99d35d6: Waiting 02:46:14 a35cf1a2eb13: Waiting 02:46:14 de9db76c5a1d: Verifying Checksum 02:46:14 de9db76c5a1d: Download complete 02:46:14 0ef7d3d256c8: Download complete 02:46:14 93359f2a8cfa: Verifying Checksum 02:46:14 93359f2a8cfa: Download complete 02:46:14 ---> 528a1dd84546 02:46:14 Step 8/8 : RUN go mod download 02:46:14 7c6f9722023f: Verifying Checksum 02:46:14 7c6f9722023f: Download complete 02:46:14 188c0c94c7c5: Verifying Checksum 02:46:14 188c0c94c7c5: Download complete 02:46:15 188c0c94c7c5: Pull complete 02:46:15 ---> Running in 34d571597b3d 02:46:15 0ef7d3d256c8: Pull complete 02:46:15 de9db76c5a1d: Pull complete 02:46:16 a35cf1a2eb13: Verifying Checksum 02:46:16 a35cf1a2eb13: Download complete 02:46:17 bca2f99d35d6: Download complete 02:46:22 bca2f99d35d6: Pull complete 02:46:22 93359f2a8cfa: Pull complete 02:46:22 7c6f9722023f: Pull complete 02:46:28 a35cf1a2eb13: Pull complete 02:46:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:28 ---> a62c8e92a672 02:46:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:28 ---> Running in f76f57353e5b 02:46:28 Removing intermediate container f76f57353e5b 02:46:28 ---> f31f2ea42adf 02:46:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:28 ---> Running in 9f8d2efe8968 02:46:29 Removing intermediate container 9f8d2efe8968 02:46:29 ---> d11715491af0 02:46:29 Step 5/8 : RUN apk add --update --no-cache make git 02:46:30 ---> Running in d2215dbe3015 02:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:31 OK: 166 MiB in 39 packages 02:46:31 Removing intermediate container d2215dbe3015 02:46:31 ---> c4d554969984 02:46:31 Step 6/8 : WORKDIR /device-sdk-go 02:46:31 ---> Running in 91dca43d9a0d 02:46:32 Removing intermediate container 91dca43d9a0d 02:46:32 ---> 4f0166803810 02:46:32 Step 7/8 : COPY . . 02:46:33 ---> 91837631ff80 02:46:33 Step 8/8 : RUN go mod download 02:46:33 ---> Running in ed3bd70ea0d4 02:46:41 Removing intermediate container 34d571597b3d 02:46:41 ---> 7bb2b5cff978 02:46:41 Successfully built 7bb2b5cff978 02:46:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:46:42 + docker inspect -f . ci-base-image-arm64 02:46:42 . [Pipeline] withDockerContainer 02:46:42 prd-ubuntu18.04-docker-arm64-4c-16g-30101 does not seem to be running inside a container 02:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:44 $ docker top 5ae6d0f23dded32912d6b6f56c7a5fac13cbd4e7aa7b317bcd3850bbc28ddbc9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:45 + go version 02:46:45 go version go1.15.5 linux/arm64 [Pipeline] } 02:46:45 $ docker stop --time=1 5ae6d0f23dded32912d6b6f56c7a5fac13cbd4e7aa7b317bcd3850bbc28ddbc9 02:46:47 $ docker rm -f 5ae6d0f23dded32912d6b6f56c7a5fac13cbd4e7aa7b317bcd3850bbc28ddbc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:48 + docker inspect -f . ci-base-image-arm64 02:46:48 . [Pipeline] withDockerContainer 02:46:48 prd-ubuntu18.04-docker-arm64-4c-16g-30101 does not seem to be running inside a container 02:46:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 02:46:50 $ docker top edd572d6759b94cccefaa976e2ca7c30f3d2de7be4d4cf1afd2fd41de26afca2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:51 + make test 02:46:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:55 Removing intermediate container ed3bd70ea0d4 02:46:55 ---> 1e41e7432578 02:46:55 Successfully built 1e41e7432578 02:46:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:55 + docker inspect -f . ci-base-image-x86_64 02:46:55 . [Pipeline] withDockerContainer 02:46:56 prd-centos7-docker-4c-2g-30102 does not seem to be running inside a container 02:46:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:56 $ docker top d810c3ce527bd25ed361d5d864068998df8c566c73c31299e72a69df541f315a -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:57 + go version 02:46:57 go version go1.15.5 linux/amd64 [Pipeline] } 02:46:57 $ docker stop --time=1 d810c3ce527bd25ed361d5d864068998df8c566c73c31299e72a69df541f315a 02:46:58 $ docker rm -f d810c3ce527bd25ed361d5d864068998df8c566c73c31299e72a69df541f315a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:59 + docker inspect -f . ci-base-image-x86_64 02:46:59 . [Pipeline] withDockerContainer 02:46:59 prd-centos7-docker-4c-2g-30102 does not seem to be running inside a container 02:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:47:00 $ docker top 7dbbcd6addf607bdc9501ea70ea4fee168b41cca2cecdebc174f4bca6d954adb -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:00 + make test 02:47:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.052s coverage: 25.5% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.068s coverage: 10.5% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 12.5% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.060s coverage: 84.8% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.3% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.065s coverage: 81.2% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.068s coverage: 24.8% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.129s coverage: 6.4% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:57 GO111MODULE=on go vet ./... 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.118s coverage: 25.5% of statements 02:48:06 gofmt -l . 02:48:06 [ "`gofmt -l .`" = "" ] 02:48:06 ./bin/test-attribution-txt.sh 02:48:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:06 $ docker stop --time=1 7dbbcd6addf607bdc9501ea70ea4fee168b41cca2cecdebc174f4bca6d954adb 02:48:08 $ docker rm -f 7dbbcd6addf607bdc9501ea70ea4fee168b41cca2cecdebc174f4bca6d954adb [Pipeline] // withDockerContainer [Pipeline] sh 02:48:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:12 + ls -al . 02:48:12 total 188 02:48:12 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 02:48 . 02:48:12 drwxrwxr-x. 4 jenkins jenkins 30 Mar 17 02:46 .. 02:48:12 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 02:46 bin 02:48:12 -rw-r--r--. 1 jenkins jenkins 103667 Mar 17 02:47 coverage.out 02:48:12 -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 02:46 Dockerfile.build 02:48:12 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 02:46 .dockerignore 02:48:12 drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 02:46 example 02:48:12 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 02:46 .git 02:48:12 drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 02:46 .github 02:48:12 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 02:46 .gitignore 02:48:12 -rw-r--r--. 1 jenkins jenkins 479 Mar 17 02:48 go.mod 02:48:12 -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 02:48 go.sum 02:48:12 drwxrwxr-x. 12 jenkins jenkins 171 Mar 17 02:46 internal 02:48:12 -rw-rw-r--. 1 jenkins jenkins 894 Mar 17 02:46 Jenkinsfile 02:48:12 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 02:46 LICENSE 02:48:12 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 02:46 Makefile 02:48:12 drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 02:46 openapi 02:48:12 drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 02:46 pkg 02:48:12 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 02:46 README.md 02:48:12 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 02:46 RELEASE-NOTES.txt 02:48:12 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 02:46 snap 02:48:12 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 02:43 VERSION 02:48:12 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:12 + docker build -t 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=282f6da0e28193c4de9cf90a6648079ba1e5e910 --label arch=amd64 --label version=0.0.0 . 02:48:12 Sending build context to Docker daemon 2.386MB 02:48:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:48:12 Step 2/24 : FROM ${BASE} AS builder 02:48:12 ---> 1e41e7432578 02:48:12 Step 3/24 : ARG MAKE='make build' 02:48:13 ---> Running in 767b30456039 02:48:13 Removing intermediate container 767b30456039 02:48:13 ---> b603c0a4b1d3 02:48:13 Step 4/24 : WORKDIR /device-sdk-go 02:48:13 ---> Running in a1f9e6fed147 02:48:13 Removing intermediate container a1f9e6fed147 02:48:13 ---> 77d1c6670f84 02:48:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:13 ---> Running in ff35c0a94531 02:48:14 Removing intermediate container ff35c0a94531 02:48:14 ---> 33338ad39872 02:48:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:14 ---> Running in bb01acc1e313 02:48:15 Removing intermediate container bb01acc1e313 02:48:15 ---> 24577a4c2488 02:48:15 Step 7/24 : RUN apk add --update --no-cache make git 02:48:15 ---> Running in 28b2ce9a5cb2 02:48:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:16 OK: 166 MiB in 39 packages 02:48:16 Removing intermediate container 28b2ce9a5cb2 02:48:16 ---> 7caa421ae3af 02:48:16 Step 8/24 : COPY . . 02:48:18 ---> 463ae80ce216 02:48:18 Step 9/24 : RUN ${MAKE} 02:48:18 ---> Running in e89d06068eda 02:48:18 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 02:48:27 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 10.5% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 12.5% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.167s coverage: 84.8% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.274s coverage: 57.3% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.165s coverage: 81.2% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.179s coverage: 24.8% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.808s coverage: 6.4% of statements 02:48:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.1% of statements 02:48:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:27 GO111MODULE=on go vet ./... 02:48:30 Removing intermediate container e89d06068eda 02:48:30 ---> 3548d7daf7a4 02:48:30 Step 10/24 : FROM scratch 02:48:30 ---> 02:48:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:30 ---> Running in 5921b80e52d4 02:48:30 Removing intermediate container 5921b80e52d4 02:48:30 ---> c7dfa5ff9154 02:48:30 Step 12/24 : ENV APP_PORT=49990 02:48:30 ---> Running in d39c06557f2f 02:48:30 Removing intermediate container d39c06557f2f 02:48:30 ---> 26a9e21fa8df 02:48:30 Step 13/24 : EXPOSE $APP_PORT 02:48:30 ---> Running in a19bbc94f330 02:48:31 Removing intermediate container a19bbc94f330 02:48:31 ---> f39b507e7ad2 02:48:31 Step 14/24 : WORKDIR / 02:48:31 ---> Running in cdd127f69044 02:48:31 Removing intermediate container cdd127f69044 02:48:31 ---> c148984fcec7 02:48:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:31 ---> 76602f80f8cc 02:48:31 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:31 ---> ae3fa18426a2 02:48:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:32 ---> 7941b4636e8b 02:48:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:32 ---> faf6eae65152 02:48:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:32 ---> def7c462202f 02:48:32 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:32 ---> Running in fb05e0611979 02:48:32 Removing intermediate container fb05e0611979 02:48:32 ---> 1bf8af29a409 02:48:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:32 ---> Running in d1ced6274888 02:48:33 Removing intermediate container d1ced6274888 02:48:33 ---> e3b776451c1a 02:48:33 Step 22/24 : LABEL arch=amd64 02:48:33 ---> Running in 476537643f3d 02:48:33 Removing intermediate container 476537643f3d 02:48:33 ---> 54731397da44 02:48:33 Step 23/24 : LABEL git_sha=282f6da0e28193c4de9cf90a6648079ba1e5e910 02:48:33 ---> Running in 2204e22058a3 02:48:33 Removing intermediate container 2204e22058a3 02:48:33 ---> e5112395adb2 02:48:33 Step 24/24 : LABEL version=0.0.0 02:48:33 ---> Running in 364fd296840a 02:48:33 Removing intermediate container 364fd296840a 02:48:33 ---> 1dbdca671478 02:48:33 [Warning] One or more build-args [ARCH] were not consumed 02:48:33 Successfully built 1dbdca671478 02:48:33 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:48:35 ---> job-cost.sh 02:48:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cYlK 02:48:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:48:59 gofmt -l . 02:48:59 [ "`gofmt -l .`" = "" ] 02:48:59 ./bin/test-attribution-txt.sh 02:49:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:01 $ docker stop --time=1 edd572d6759b94cccefaa976e2ca7c30f3d2de7be4d4cf1afd2fd41de26afca2 02:49:03 $ docker rm -f edd572d6759b94cccefaa976e2ca7c30f3d2de7be4d4cf1afd2fd41de26afca2 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:05 Warning: overwriting stash ‘coverage-report’ 02:49:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:07 + ls -al . 02:49:07 total 224 02:49:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 02:49 . 02:49:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:45 .. 02:49:07 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 02:45 .dockerignore 02:49:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 02:45 .git 02:49:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:45 .github 02:49:07 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 02:45 .gitignore 02:49:07 -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 02:45 Dockerfile.build 02:49:07 -rw-rw-r-- 1 jenkins jenkins 894 Mar 17 02:45 Jenkinsfile 02:49:07 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 02:45 LICENSE 02:49:07 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 02:45 Makefile 02:49:07 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 02:45 README.md 02:49:07 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 02:45 RELEASE-NOTES.txt 02:49:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 02:43 VERSION 02:49:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 02:45 bin 02:49:07 -rw-r--r-- 1 jenkins jenkins 103667 Mar 17 02:48 coverage.out 02:49:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:45 example 02:49:07 -rw-r--r-- 1 jenkins jenkins 479 Mar 17 02:49 go.mod 02:49:07 -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 02:49 go.sum 02:49:07 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 02:45 internal 02:49:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:45 openapi 02:49:07 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 02:45 pkg 02:49:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 02:45 snap 02:49:07 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:07 + docker build -t 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=282f6da0e28193c4de9cf90a6648079ba1e5e910 --label arch=arm64 --label version=0.0.0 . 02:49:07 Sending build context to Docker daemon 2.392MB 02:49:07 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:07 Step 2/24 : FROM ${BASE} AS builder 02:49:07 ---> 7bb2b5cff978 02:49:07 Step 3/24 : ARG MAKE='make build' 02:49:08 ---> Running in 1cd22ba9c909 02:49:08 Removing intermediate container 1cd22ba9c909 02:49:08 ---> 6e9b02963799 02:49:08 Step 4/24 : WORKDIR /device-sdk-go 02:49:08 ---> Running in a37c4fe12e91 02:49:09 Removing intermediate container a37c4fe12e91 02:49:09 ---> 70869548fdf5 02:49:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:09 ---> Running in 0f8b5de93a82 02:49:10 Removing intermediate container 0f8b5de93a82 02:49:10 ---> 4a0d8231e473 02:49:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:10 ---> Running in 4e34bb6eaa17 02:49:11 Removing intermediate container 4e34bb6eaa17 02:49:11 ---> 2205232ef58e 02:49:11 Step 7/24 : RUN apk add --update --no-cache make git 02:49:12 ---> Running in 0c76267e0159 02:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:14 OK: 142 MiB in 39 packages 02:49:15 Removing intermediate container 0c76267e0159 02:49:15 ---> 4b762b6fe76b 02:49:15 Step 8/24 : COPY . . 02:49:16 lf-activate-venv(): INFO: Adding /tmp/venv-cYlK/bin to PATH 02:49:16 INFO: No Stack... 02:49:16 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:16 INFO: Archiving Costs [Pipeline] sh 02:49:17 + cat /w/workspace/device-sdk-go/20/archives/cost.csv 02:49:17 + cut -d, -f6 02:49:17 ---> 4bf862cf0579 02:49:17 Step 9/24 : RUN ${MAKE} 02:49:17 ---> Running in 408fd4f375b1 [Pipeline] lock 02:49:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] 02:49:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] did not exist. Created. 02:49:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:17 + echo total: 0.029999999329447746 [Pipeline] stash 02:49:18 Stashed 1 file(s) [Pipeline] } 02:49:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:18 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 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:45 Removing intermediate container 408fd4f375b1 02:49:45 ---> 978cc9e724d7 02:49:45 Step 10/24 : FROM scratch 02:49:45 ---> 02:49:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:45 ---> Running in b733c1171bea 02:49:46 Removing intermediate container b733c1171bea 02:49:46 ---> 18da070729f7 02:49:46 Step 12/24 : ENV APP_PORT=49990 02:49:46 ---> Running in c981443c9d34 02:49:46 Removing intermediate container c981443c9d34 02:49:46 ---> 5ee5aa84fd67 02:49:46 Step 13/24 : EXPOSE $APP_PORT 02:49:47 ---> Running in c598095a8d6a 02:49:47 Removing intermediate container c598095a8d6a 02:49:47 ---> 43326a43142f 02:49:47 Step 14/24 : WORKDIR / 02:49:47 ---> Running in 35ed2017a750 02:49:48 Removing intermediate container 35ed2017a750 02:49:48 ---> 6a02d96d092e 02:49:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:49 ---> 2a41ccd095f2 02:49:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:49 ---> 3f0ea9d7f8ee 02:49:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:50 ---> bff0e904fded 02:49:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:51 ---> 4dc30b189ddf 02:49:51 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:51 ---> 8e93280effb2 02:49:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:52 ---> Running in 8ebf962f9e78 02:49:52 Removing intermediate container 8ebf962f9e78 02:49:52 ---> b133258cafbe 02:49:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:52 ---> Running in 98c6a9fcb2fc 02:49:53 Removing intermediate container 98c6a9fcb2fc 02:49:53 ---> 6f90c62cfc3b 02:49:53 Step 22/24 : LABEL arch=arm64 02:49:53 ---> Running in 89f1a56a2b35 02:49:53 Removing intermediate container 89f1a56a2b35 02:49:53 ---> ef0da2567cb9 02:49:53 Step 23/24 : LABEL git_sha=282f6da0e28193c4de9cf90a6648079ba1e5e910 02:49:53 ---> Running in a8d507cca08c 02:49:54 Removing intermediate container a8d507cca08c 02:49:54 ---> 041e4e66129f 02:49:54 Step 24/24 : LABEL version=0.0.0 02:49:54 ---> Running in 3e9af12b07b5 02:49:55 Removing intermediate container 3e9af12b07b5 02:49:55 ---> e240949f879c 02:49:55 [Warning] One or more build-args [ARCH] were not consumed 02:49:55 Successfully built e240949f879c 02:49:55 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:49:55 ---> job-cost.sh 02:49:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tobj 02:50:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:51:56 lf-activate-venv(): INFO: Adding /tmp/venv-tobj/bin to PATH 02:51:56 INFO: No Stack... 02:51:57 INFO: Retrieving Pricing Info for: lf-standard-4 02:51:57 INFO: Archiving Costs [Pipeline] sh 02:51:58 + cat /w/workspace/device-sdk-go/20/archives/cost.csv 02:51:58 + cut -d, -f6 [Pipeline] lock 02:51:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] 02:51:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] did not exist. Created. 02:51:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:51:58 /w/workspace/device-sdk-go/20@tmp/durable-7e56ee16/script.sh: 1: /w/workspace/device-sdk-go/20@tmp/durable-7e56ee16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:51:59 + echo total: 0.20999999344348907 [Pipeline] stash 02:51:59 Warning: overwriting stash ‘stack-cost’ 02:51:59 Stashed 1 file(s) [Pipeline] } 02:51:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-20-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:52:00 provisioning config files... 02:52:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7752070907911352781tmp [Pipeline] { [Pipeline] sh 02:52:01 + set +x 02:52:01 + curl -s https://codecov.io/bash 02:52:01 + bash -s -- 02:52:01 02:52:01 _____ _ 02:52:01 / ____| | | 02:52:01 | | ___ __| | ___ ___ _____ __ 02:52:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:01 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:01 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:01 Bash-20210309-2b87ace 02:52:01 02:52:01 02:52:01 ==> git version 2.24.3 found 02:52:01 ==> 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 02:52:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:01 ==> Jenkins CI detected. 02:52:01 project root: . 02:52:01 --> token set from env 02:52:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:01 ==> Running gcov in . (disable via -X gcov) 02:52:01 ==> Python coveragepy not found 02:52:01 ==> Searching for coverage reports in: 02:52:01 + . 02:52:01 -> Found 1 reports 02:52:01 ==> Detecting git/mercurial file structure 02:52:01 ==> Reading reports 02:52:01 + ./coverage.out bytes=103667 02:52:01 ==> Appending adjustments 02:52:01 https://docs.codecov.io/docs/fixing-reports 02:52:02 + Found adjustments 02:52:02 ==> Gzipping contents 02:52:02 16K /tmp/codecov.o7lxXw.gz 02:52:02 ==> Uploading reports 02:52:02 url: https://codecov.io 02:52:02 query: branch=PR-725&commit=282f6da0e28193c4de9cf90a6648079ba1e5e910&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:02 -> Pinging Codecov 02:52:02 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=282f6da0e28193c4de9cf90a6648079ba1e5e910&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:03 -> Uploading to 02:52:03 https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/282f6da0e28193c4de9cf90a6648079ba1e5e910/728c698d-9c6a-45b7-a342-671fc59a9034.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T025202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8d65e72b2e38892949a828188ab25e65897f0e2e76c7dcd553f10a2816aa7e8 02:52:03 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:03 Dload Upload Total Spent Left Speed 02:52:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13854 0 0 100 13854 0 32551 --:--:-- --:--:-- --:--:-- 32521 100 13854 0 0 100 13854 0 32535 --:--:-- --:--:-- --:--:-- 32521 02:52:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/282f6da0e28193c4de9cf90a6648079ba1e5e910 [Pipeline] } 02:52:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:52:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:06 ---> package-listing.sh 02:52:06 ++ facter osfamily 02:52:06 ++ tr '[:upper:]' '[:lower:]' 02:52:06 + OS_FAMILY=redhat 02:52:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:06 + START_PACKAGES=/tmp/packages_start.txt 02:52:06 + END_PACKAGES=/tmp/packages_end.txt 02:52:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:06 + PACKAGES=/tmp/packages_start.txt 02:52:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:06 + PACKAGES=/tmp/packages_end.txt 02:52:06 + case "${OS_FAMILY}" in 02:52:06 + rpm -qa 02:52:06 + sort 02:52:15 + '[' -f /tmp/packages_start.txt ']' 02:52:15 + '[' -f /tmp/packages_end.txt ']' 02:52:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:52:15 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:52:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:52:15 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:52:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:15 02:52:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:52:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:16 alpine: Pulling from edgex-lftools-log-publisher 02:52:16 df20fa9351a1: Pulling fs layer 02:52:16 36b3adc4ff6f: Pulling fs layer 02:52:16 8ad3a11d3b57: Pulling fs layer 02:52:16 46f8f816bc3b: Pulling fs layer 02:52:16 93b61091891f: Pulling fs layer 02:52:16 93b9cdb0e59b: Pulling fs layer 02:52:16 5e14af77c1be: Pulling fs layer 02:52:16 01666e4c0597: Pulling fs layer 02:52:16 aa168da1d23b: Pulling fs layer 02:52:16 46f8f816bc3b: Waiting 02:52:16 93b61091891f: Waiting 02:52:16 93b9cdb0e59b: Waiting 02:52:16 5e14af77c1be: Waiting 02:52:16 01666e4c0597: Waiting 02:52:16 aa168da1d23b: Waiting 02:52:16 36b3adc4ff6f: Download complete 02:52:16 46f8f816bc3b: Verifying Checksum 02:52:16 46f8f816bc3b: Download complete 02:52:16 df20fa9351a1: Verifying Checksum 02:52:16 93b9cdb0e59b: Verifying Checksum 02:52:16 93b9cdb0e59b: Download complete 02:52:16 5e14af77c1be: Verifying Checksum 02:52:16 5e14af77c1be: Download complete 02:52:16 93b61091891f: Verifying Checksum 02:52:16 93b61091891f: Download complete 02:52:16 01666e4c0597: Verifying Checksum 02:52:16 01666e4c0597: Download complete 02:52:17 df20fa9351a1: Pull complete 02:52:17 8ad3a11d3b57: Verifying Checksum 02:52:17 8ad3a11d3b57: Download complete 02:52:17 36b3adc4ff6f: Pull complete 02:52:20 8ad3a11d3b57: Pull complete 02:52:20 46f8f816bc3b: Pull complete 02:52:20 aa168da1d23b: Verifying Checksum 02:52:20 aa168da1d23b: Download complete 02:52:21 93b61091891f: Pull complete 02:52:21 93b9cdb0e59b: Pull complete 02:52:21 5e14af77c1be: Pull complete 02:52:21 01666e4c0597: Pull complete 02:52:34 aa168da1d23b: Pull complete 02:52:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:35 prd-centos7-docker-4c-2g-30100 does not seem to be running inside a container 02:52:35 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:39 $ docker top ed93c916989c82cd09734ae55090fbca011f3926a6a1884078299be263830005 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:40 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:41 + mkdir -p /var/log/sa [Pipeline] sh 02:52:41 + ls /var/log/sa-host 02:52:41 + sadf -c /var/log/sa-host/sa17 02:52:41 file_magic: OK 02:52:41 HZ: Using current value: 100 02:52:41 file_header: OK 02:52:41 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 02:52:41 Statistics: 02:52:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:41 File successfully converted to sysstat format version 12.2.1 02:52:41 + sadf -c /var/log/sa-host/sa23 02:52:41 file_magic: OK 02:52:41 HZ: Using current value: 100 02:52:41 file_header: OK 02:52:41 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 02:52:41 Statistics: 02:52:41 Hnuu...uuuununununu... 02:52:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:42 provisioning config files... 02:52:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7506633741728223509tmp [Pipeline] { [Pipeline] echo 02:52:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:42 ---> create-netrc.sh [Pipeline] } 02:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:43 ---> python-tools-install.sh [Pipeline] echo 02:52:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:43 ---> sudo-logs.sh 02:52:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:52:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:44 ---> job-cost.sh 02:52:44 lf-activate-venv: SKIPPING 02:52:44 DEBUG: total: 0.20999999344348907 02:52:44 INFO: Retrieving Stack Cost... 02:52:45 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:45 INFO: Archiving Costs [Pipeline] echo 02:52:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:46 ---> logs-deploy.sh 02:52:46 lf-activate-venv: SKIPPING 02:52:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/20 02:52:46 INFO: archiving workspace using pattern(s): 02:52:49 Archives upload complete. 02:52:49 INFO: archiving logs to Nexus 02:52:51 ---> uname -a: 02:52:51 Linux prd-centos7-docker-4c-2g-30100.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:52:51 02:52:51 02:52:51 ---> lscpu: 02:52:51 Architecture: x86_64 02:52:51 CPU op-mode(s): 32-bit, 64-bit 02:52:51 Byte Order: Little Endian 02:52:51 Address sizes: 40 bits physical, 48 bits virtual 02:52:51 CPU(s): 4 02:52:51 On-line CPU(s) list: 0-3 02:52:51 Thread(s) per core: 1 02:52:51 Core(s) per socket: 1 02:52:51 Socket(s): 4 02:52:51 NUMA node(s): 1 02:52:51 Vendor ID: GenuineIntel 02:52:51 CPU family: 6 02:52:51 Model: 44 02:52:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:52:51 Stepping: 1 02:52:51 CPU MHz: 2933.438 02:52:51 BogoMIPS: 5866.87 02:52:51 Virtualization: VT-x 02:52:51 Hypervisor vendor: KVM 02:52:51 Virtualization type: full 02:52:51 L1d cache: 128 KiB 02:52:51 L1i cache: 128 KiB 02:52:51 L2 cache: 16 MiB 02:52:51 L3 cache: 64 MiB 02:52:51 NUMA node0 CPU(s): 0-3 02:52:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:52:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:52:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:52:51 Vulnerability Meltdown: Mitigation; PTI 02:52:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:52:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:52:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:52:51 Vulnerability Srbds: Not affected 02:52:51 Vulnerability Tsx async abort: Not affected 02:52:51 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 02:52:51 02:52:51 02:52:51 ---> nproc: 02:52:51 4 02:52:51 02:52:51 02:52:51 ---> df -h: 02:52:51 Filesystem Size Used Available Use% Mounted on 02:52:51 overlay 50.0G 7.3G 42.7G 15% / 02:52:51 tmpfs 64.0M 0 64.0M 0% /dev 02:52:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:52:51 shm 64.0M 0 64.0M 0% /dev/shm 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:52:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:52:51 02:52:51 02:52:51 ---> free -m: 02:52:51 total used free shared buff/cache available 02:52:51 Mem: 1837 704 97 0 1036 1028 02:52:51 Swap: 1023 1 1022 02:52:51 02:52:51 02:52:51 ---> ip addr: 02:52:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:52:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:52:51 inet 127.0.0.1/8 scope host lo 02:52:51 valid_lft forever preferred_lft forever 02:52:51 inet6 ::1/128 scope host 02:52:51 valid_lft forever preferred_lft forever 02:52:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:52:51 link/ether fa:16:3e:61:5a:b9 brd ff:ff:ff:ff:ff:ff 02:52:51 inet 10.30.123.246/23 brd 10.30.123.255 scope global dynamic eth0 02:52:51 valid_lft 85720sec preferred_lft 85720sec 02:52:51 inet6 fe80::f816:3eff:fe61:5ab9/64 scope link 02:52:51 valid_lft forever preferred_lft forever 02:52:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:52:51 link/ether 02:42:c3:28:ed:6e brd ff:ff:ff:ff:ff:ff 02:52:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:52:51 valid_lft forever preferred_lft forever 02:52:51 inet6 fe80::42:c3ff:fe28:ed6e/64 scope link 02:52:51 valid_lft forever preferred_lft forever 02:52:51 02:52:51 02:52:51 ---> sar -b -r -n DEV: 02:52:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 03/17/21 _x86_64_ (4 CPU) 02:52:51 02:52:51 02:41:17 LINUX RESTART (4 CPU) 02:52:51 02:52:51 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:52:51 02:43:01 114.91 47.39 67.52 0.00 6642.85 36705.54 0.00 02:52:51 02:44:01 23.34 5.37 17.97 0.00 1236.00 2331.54 0.00 02:52:51 02:45:01 1.83 0.00 1.83 0.00 0.00 36.59 0.00 02:52:51 02:46:01 0.20 0.00 0.20 0.00 0.00 2.03 0.00 02:52:51 02:47:01 0.63 0.00 0.63 0.00 0.00 7.22 0.00 02:52:51 02:48:01 0.23 0.00 0.23 0.00 0.00 2.96 0.00 02:52:51 02:49:01 0.23 0.00 0.23 0.00 0.00 2.18 0.00 02:52:51 02:50:02 0.43 0.00 0.43 0.00 0.00 5.84 0.00 02:52:51 02:51:01 0.17 0.00 0.17 0.00 0.00 1.51 0.00 02:52:51 02:52:01 0.32 0.03 0.28 0.00 2.26 3.21 0.00 02:52:51 Average: 14.27 5.29 8.97 0.00 790.31 3921.07 0.00 02:52:51 02:52:51 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:52:51 02:43:01 92736 0 601320 31.96 2620 1184868 1350124 46.08 441228 1151640 34648 02:52:51 02:44:01 156192 0 589348 31.32 2620 1133384 1139304 38.88 402444 1123136 8 02:52:51 02:45:01 169272 0 576264 30.63 2620 1133388 1053348 35.95 404492 1110028 16 02:52:51 02:46:01 166488 0 579044 30.77 2620 1133392 1053540 35.96 401212 1116392 8 02:52:51 02:47:01 165708 0 579768 30.81 2620 1133448 1053676 35.96 403648 1114356 16 02:52:51 02:48:01 165160 0 580364 30.85 2620 1133400 1053496 35.95 417140 1101600 8 02:52:51 02:49:01 165572 0 579948 30.82 2620 1133404 1053436 35.95 416952 1101596 8 02:52:51 02:50:02 165448 0 580068 30.83 2620 1133408 1053412 35.95 416812 1101596 8 02:52:51 02:51:01 165852 0 579656 30.81 2620 1133416 1053412 35.95 416960 1101596 8 02:52:51 02:52:01 160404 0 584996 31.09 2620 1133524 1065816 36.37 421052 1101664 124 02:52:51 Average: 157283 0 583078 30.99 2620 1138563 1092956 37.30 414194 1112360 3485 02:52:51 02:52:51 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:52:51 02:43:01 eth0 231.78 171.04 1031.63 63.00 0.00 0.00 0.00 0.00 02:52:51 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:44:01 eth0 34.40 32.61 52.37 37.10 0.00 0.00 0.00 0.00 02:52:51 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:44:01 docker0 11.45 8.95 1.58 23.86 0.00 0.00 0.00 0.00 02:52:51 02:45:01 eth0 0.75 0.05 0.06 0.00 0.00 0.00 0.00 0.00 02:52:51 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:46:01 eth0 1.46 0.53 0.77 0.12 0.00 0.00 0.00 0.00 02:52:51 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:47:01 eth0 0.45 0.40 0.27 0.30 0.00 0.00 0.00 0.00 02:52:51 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:48:01 eth0 0.20 0.17 0.08 0.07 0.00 0.00 0.00 0.00 02:52:51 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:49:01 eth0 0.22 0.20 0.07 0.01 0.00 0.00 0.00 0.00 02:52:51 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:50:02 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:51 02:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:51:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:52:51 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:52:01 eth0 1.57 1.12 1.65 0.53 0.00 0.00 0.00 0.00 02:52:51 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 Average: eth0 27.18 20.69 109.00 10.14 0.00 0.00 0.00 0.00 02:52:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:52:51 Average: docker0 1.15 0.90 0.16 2.39 0.00 0.00 0.00 0.00 02:52:51 02:52:51