Pull request #900 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9+edddd13237ed2f870dfa3fb5fc7d300be4879f06 (6597a663e3a9f284a56649eab6ad98492038b868) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3943 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # 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/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # 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 edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 Commit message: "Merge branch 'master' into ut" > git rev-list --no-walk a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:58 ========================================================= 05:04:58 EdgeX Global Pipelines Version Info 05:04:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:05:00 ------------------- 05:05:00 stable info: 05:05:00 ------------------- 05:05:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:05:00 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:05:00 Message: update stable to v1.0.191 05:05:01 ------------------- 05:05:01 experimental info: 05:05:01 ------------------- 05:05:01 Commited By: **** collab-it+edgex@linuxfoundation.org 05:05:01 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:05:01 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:05:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fdfe4e [Pipeline] echo 05:05:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:05:02 provisioning config files... 05:05:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config2723678301567520178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:03 ---> docker-login.sh 05:05:03 nexus3.edgexfoundry.org:10001 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 nexus3.edgexfoundry.org:10002 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 nexus3.edgexfoundry.org:10003 05:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:03 Configure a credential helper to remove this warning. See 05:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:03 05:05:03 Login Succeeded 05:05:03 nexus3.edgexfoundry.org:10004 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 docker.io 05:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:04 Configure a credential helper to remove this warning. See 05:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:04 05:05:04 Login Succeeded 05:05:04 ---> docker-login.sh ends [Pipeline] } 05:05:04 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 05:05:05 + git log --format=format:%s -1 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] echo 05:05:05 GIT_COMMIT: 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9, Commit Message: Merge branch 'master' into ut [Pipeline] echo 05:05:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:06 05:05:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:05:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:06 latest: Pulling from edgex-devops/git-semver 05:05:06 31603596830f: Pulling fs layer 05:05:06 54011a49482f: Pulling fs layer 05:05:06 a6820b24f6d8: Pulling fs layer 05:05:06 f581987b2513: Pulling fs layer 05:05:06 f581987b2513: Waiting 05:05:06 54011a49482f: Verifying Checksum 05:05:06 54011a49482f: Download complete 05:05:07 31603596830f: Verifying Checksum 05:05:07 31603596830f: Download complete 05:05:07 f581987b2513: Verifying Checksum 05:05:07 f581987b2513: Download complete 05:05:07 a6820b24f6d8: Verifying Checksum 05:05:07 a6820b24f6d8: Download complete 05:05:07 31603596830f: Pull complete 05:05:07 54011a49482f: Pull complete 05:05:08 a6820b24f6d8: Pull complete 05:05:08 f581987b2513: Pull complete 05:05:08 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:05:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:05:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:05:08 prd-centos7-docker-4c-2g-3943 does not seem to be running inside a container 05:05:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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 05:05:10 $ docker top 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:05:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:10 [ssh-agent] Looking for ssh-agent implementation... 05:05:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:11 $ docker exec 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent 05:05:11 SSH_AUTH_SOCK=/tmp/ssh-jeV8WjIuLMai/agent.12 05:05:11 SSH_AGENT_PID=17 05:05:11 Running ssh-add (command line suppressed) 05:05:11 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6912350412499546606.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6912350412499546606.key) 05:05:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:11 + git tag --points-at HEAD [Pipeline] } 05:05:11 $ docker exec --env ******** --env ******** 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent -k 05:05:11 unset SSH_AUTH_SOCK; 05:05:11 unset SSH_AGENT_PID; 05:05:11 echo Agent pid 17 killed; 05:05:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:05:12 [ssh-agent] Looking for ssh-agent implementation... 05:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:05:12 $ docker exec 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent 05:05:12 SSH_AUTH_SOCK=/tmp/ssh-UnSJLGDICwiM/agent.46 05:05:12 SSH_AGENT_PID=52 05:05:12 Running ssh-add (command line suppressed) 05:05:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5450773898365666097.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5450773898365666097.key) 05:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:05:13 + git semver init 05:05:13 # -> Open(): unable to determine branch for HEAD 05:05:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git 05:05:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 05:05:13 # $SEMVER_REMOTE_NAME = origin 05:05:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:05:13 # $SEMVER_USER_NAME = edgex-jenkins 05:05:13 # $SEMVER_BRANCH = PR-900 05:05:13 # $SEMVER_TEMP = /tmp/semver-184059524 05:05:13 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:05:14 # '/tmp/semver-184059524' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' 05:05:14 # -> Force: false 05:05:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } 05:05:14 $ docker exec --env ******** --env ******** 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent -k 05:05:14 unset SSH_AUTH_SOCK; 05:05:14 unset SSH_AGENT_PID; 05:05:14 echo Agent pid 52 killed; 05:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:05:14 + git semver [Pipeline] } 05:05:14 $ docker stop --time=1 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 05:05:16 $ docker rm -f 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:05:16 Stashed 1 file(s) [Pipeline] echo 05:05:16 [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 05:05:32 Still waiting to schedule task 05:05:32 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:05:32 Still waiting to schedule task 05:05:32 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:08:59 Running on prd-centos7-docker-4c-2g-3945 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws 05:08:59 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 05:09:02 using credential edgex-jenkins-ssh 05:09:02 Cloning the remote Git repository 05:09:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:09:02 > git init /w/workspace/device-sdk-go/5 # timeout=10 05:09:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:09:02 > git --version # timeout=10 05:09:02 > git --version # 'git version 2.24.3' 05:09:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:09:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:05 Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:09:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:09:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:09:05 > git config core.sparsecheckout # timeout=10 05:09:05 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 05:09:05 Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:09:05 Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) 05:09:05 > git remote # timeout=10 05:09:05 > git config --get remote.origin.url # timeout=10 05:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:05 > git merge edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 05:09:05 > git rev-parse HEAD^{commit} # timeout=10 05:09:05 > git config core.sparsecheckout # timeout=10 05:09:05 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 05:09:09 Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:09:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:09:11 + sudo service docker restart 05:09:11 + true 05:09:11 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:09:12 provisioning config files... 05:09:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5160331690733987810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:13 ---> docker-login.sh 05:09:13 nexus3.edgexfoundry.org:10001 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 nexus3.edgexfoundry.org:10002 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 nexus3.edgexfoundry.org:10003 05:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:14 Configure a credential helper to remove this warning. See 05:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:14 05:09:14 Login Succeeded 05:09:14 nexus3.edgexfoundry.org:10004 05:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:14 Configure a credential helper to remove this warning. See 05:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:14 05:09:14 Login Succeeded 05:09:14 docker.io 05:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:14 Configure a credential helper to remove this warning. See 05:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:14 05:09:14 Login Succeeded 05:09:14 ---> docker-login.sh ends [Pipeline] } 05:09:14 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:14 ========================================================= 05:09:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:09:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:09:15 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 05:09:15 Sending build context to Docker daemon 2.577MB 05:09:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:09:15 Step 2/8 : FROM ${BASE} 05:09:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:09:15 540db60ca938: Pulling fs layer 05:09:15 adcc1eea9eea: Pulling fs layer 05:09:15 4c4ab2625f07: Pulling fs layer 05:09:15 0510c868ecb4: Pulling fs layer 05:09:15 afea3b2eda06: Pulling fs layer 05:09:15 7809a108b3ef: Pulling fs layer 05:09:15 f706445af74f: Pulling fs layer 05:09:15 afea3b2eda06: Waiting 05:09:15 7809a108b3ef: Waiting 05:09:15 f706445af74f: Waiting 05:09:15 0510c868ecb4: Waiting 05:09:15 4c4ab2625f07: Verifying Checksum 05:09:15 4c4ab2625f07: Download complete 05:09:15 adcc1eea9eea: Verifying Checksum 05:09:15 adcc1eea9eea: Download complete 05:09:15 afea3b2eda06: Verifying Checksum 05:09:15 afea3b2eda06: Download complete 05:09:15 7809a108b3ef: Download complete 05:09:15 540db60ca938: Verifying Checksum 05:09:15 540db60ca938: Download complete 05:09:15 540db60ca938: Pull complete 05:09:15 adcc1eea9eea: Pull complete 05:09:15 4c4ab2625f07: Pull complete 05:09:17 f706445af74f: Verifying Checksum 05:09:17 f706445af74f: Download complete 05:09:18 0510c868ecb4: Verifying Checksum 05:09:18 0510c868ecb4: Download complete 05:09:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3944 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws 05:09:19 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 05:09:23 0510c868ecb4: Pull complete 05:09:23 afea3b2eda06: Pull complete 05:09:23 7809a108b3ef: Pull complete 05:09:24 using credential edgex-jenkins-ssh 05:09:24 Cloning the remote Git repository 05:09:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:09:25 > git init /w/workspace/device-sdk-go/5 # timeout=10 05:09:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:09:25 > git --version # timeout=10 05:09:25 > git --version # 'git version 2.17.1' 05:09:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:09:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:09:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:09:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:09:27 Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:09:27 Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:09:27 Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) 05:09:27 > git config core.sparsecheckout # timeout=10 05:09:27 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 05:09:27 > git remote # timeout=10 05:09:27 > git config --get remote.origin.url # timeout=10 05:09:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:27 > git merge edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 05:09:27 > git rev-parse HEAD^{commit} # timeout=10 05:09:27 > git config core.sparsecheckout # timeout=10 05:09:27 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 05:09:31 f706445af74f: Pull complete 05:09:31 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:09:31 ---> b068be0155e3 05:09:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:09:31 ---> Running in 39adae46d07c 05:09:31 Removing intermediate container 39adae46d07c 05:09:31 ---> 43ad08748144 05:09:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:31 ---> Running in 9df9ccebb421 05:09:32 Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:32 Removing intermediate container 9df9ccebb421 05:09:32 ---> aadb6cc7b085 05:09:32 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:09:32 ---> Running in 4caf7d23cf8f 05:09:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:09:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:09:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:09:34 + + true 05:09:34 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:09:36 provisioning config files... 05:09:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3065643261837914777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:37 ---> docker-login.sh 05:09:37 nexus3.edgexfoundry.org:10001 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:38 Configure a credential helper to remove this warning. See 05:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:38 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10002 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:38 Configure a credential helper to remove this warning. See 05:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:38 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10003 05:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:39 Configure a credential helper to remove this warning. See 05:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:39 05:09:39 Login Succeeded 05:09:39 nexus3.edgexfoundry.org:10004 05:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:39 Configure a credential helper to remove this warning. See 05:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:39 05:09:39 Login Succeeded 05:09:39 docker.io 05:09:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:40 Configure a credential helper to remove this warning. See 05:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:40 05:09:40 Login Succeeded 05:09:40 ---> docker-login.sh ends [Pipeline] } 05:09:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:41 ========================================================= 05:09:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:09:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:09:41 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 05:09:42 Sending build context to Docker daemon 2.585MB 05:09:42 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:09:42 Step 2/8 : FROM ${BASE} 05:09:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:42 595b0fe564bb: Pulling fs layer 05:09:42 7186ed65a4f7: Pulling fs layer 05:09:42 316046926c0a: Pulling fs layer 05:09:42 4ebd0625c992: Pulling fs layer 05:09:42 207e8628e3a3: Pulling fs layer 05:09:42 c791037a9be2: Pulling fs layer 05:09:42 ffd874e62e21: Pulling fs layer 05:09:42 4ebd0625c992: Waiting 05:09:42 207e8628e3a3: Waiting 05:09:42 c791037a9be2: Waiting 05:09:42 ffd874e62e21: Waiting 05:09:42 316046926c0a: Download complete 05:09:42 7186ed65a4f7: Download complete 05:09:42 207e8628e3a3: Verifying Checksum 05:09:42 207e8628e3a3: Download complete 05:09:42 c791037a9be2: Verifying Checksum 05:09:42 c791037a9be2: Download complete 05:09:42 595b0fe564bb: Verifying Checksum 05:09:42 595b0fe564bb: Download complete 05:09:42 595b0fe564bb: Pull complete 05:09:42 (1/6) Installing libc-dev (0.7.2-r3) 05:09:42 (2/6) Installing libsodium (1.0.18-r0) 05:09:43 (3/6) Installing pkgconf (1.7.3-r0) 05:09:43 (4/6) Installing libsodium-dev (1.0.18-r0) 05:09:43 7186ed65a4f7: Pull complete 05:09:43 316046926c0a: Pull complete 05:09:44 (5/6) Installing libzmq (4.3.3-r1) 05:09:44 ffd874e62e21: Verifying Checksum 05:09:44 ffd874e62e21: Download complete 05:09:44 (6/6) Installing zeromq-dev (4.3.3-r1) 05:09:45 Executing busybox-1.32.1-r6.trigger 05:09:45 OK: 150 MiB in 46 packages 05:09:45 4ebd0625c992: Verifying Checksum 05:09:45 4ebd0625c992: Download complete 05:09:46 Removing intermediate container 4caf7d23cf8f 05:09:46 ---> e3a415016b97 05:09:46 Step 6/8 : WORKDIR /device-sdk-go 05:09:46 ---> Running in 4e18f8c598ff 05:09:46 Removing intermediate container 4e18f8c598ff 05:09:46 ---> e4aa71badd6a 05:09:46 Step 7/8 : COPY . . 05:09:47 ---> f259081d6ed3 05:09:47 Step 8/8 : RUN go mod download 05:09:47 ---> Running in 516057c89298 05:09:55 4ebd0625c992: Pull complete 05:09:55 207e8628e3a3: Pull complete 05:09:56 c791037a9be2: Pull complete 05:09:59 ffd874e62e21: Pull complete 05:09:59 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:09:59 ---> cfc18b08335c 05:09:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:10:02 ---> Running in 296cbd3e3327 05:10:02 Removing intermediate container 296cbd3e3327 05:10:02 ---> e41cadc55d7f 05:10:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:02 ---> Running in c590d68c4e77 05:10:05 Removing intermediate container c590d68c4e77 05:10:05 ---> 61e1181a49ab 05:10:05 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:10:05 ---> Running in 8028a2833611 05:10:06 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:10:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:10:09 (1/6) Installing libc-dev (0.7.2-r3) 05:10:09 (2/6) Installing libsodium (1.0.18-r0) 05:10:09 (3/6) Installing pkgconf (1.7.3-r0) 05:10:09 (4/6) Installing libsodium-dev (1.0.18-r0) 05:10:10 (5/6) Installing libzmq (4.3.3-r1) 05:10:10 (6/6) Installing zeromq-dev (4.3.3-r1) 05:10:10 Executing busybox-1.32.1-r6.trigger 05:10:10 OK: 139 MiB in 46 packages 05:10:11 Removing intermediate container 8028a2833611 05:10:11 ---> e1639229252c 05:10:11 Step 6/8 : WORKDIR /device-sdk-go 05:10:11 ---> Running in f757591e07bd 05:10:12 Removing intermediate container f757591e07bd 05:10:12 ---> bbeb68f930c1 05:10:12 Step 7/8 : COPY . . 05:10:13 ---> 86887904982b 05:10:13 Step 8/8 : RUN go mod download 05:10:13 ---> Running in d65424227df1 05:10:14 Removing intermediate container 516057c89298 05:10:14 ---> 5d40c17df159 05:10:14 Successfully built 5d40c17df159 05:10:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:10:14 + docker inspect -f . ci-base-image-x86_64 05:10:14 . [Pipeline] withDockerContainer 05:10:14 prd-centos7-docker-4c-2g-3945 does not seem to be running inside a container 05:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 05:10:15 $ docker top cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:15 + go version 05:10:15 go version go1.16.3 linux/amd64 [Pipeline] } 05:10:15 $ docker stop --time=1 cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e 05:10:17 $ docker rm -f cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:17 + docker inspect -f . ci-base-image-x86_64 05:10:17 . [Pipeline] withDockerContainer 05:10:17 prd-centos7-docker-4c-2g-3945 does not seem to be running inside a container 05:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-x86_64 cat 05:10:18 $ docker top b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:19 + go mod tidy [Pipeline] sh 05:10:19 + make test 05:10:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:10:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:10:40 Removing intermediate container d65424227df1 05:10:40 ---> b6b4aecd1438 05:10:40 Successfully built b6b4aecd1438 05:10:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:10:41 + docker inspect -f . ci-base-image-arm64 05:10:41 . [Pipeline] withDockerContainer 05:10:41 prd-ubuntu18.04-docker-arm64-4c-16g-3944 does not seem to be running inside a container 05:10:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 05:10:42 $ docker top 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:43 + go version 05:10:43 go version go1.16.3 linux/arm64 [Pipeline] } 05:10:43 $ docker stop --time=1 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 05:10:45 $ docker rm -f 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:46 + docker inspect -f . ci-base-image-arm64 05:10:46 . [Pipeline] withDockerContainer 05:10:46 prd-ubuntu18.04-docker-arm64-4c-16g-3944 does not seem to be running inside a container 05:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 05:10:48 $ docker top ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:49 + go mod tidy [Pipeline] sh 05:10:50 + make test 05:10:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 25.4% of statements 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.095s coverage: 28.1% of statements 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.066s coverage: 10.7% of statements 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 30.2% of statements 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:10:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:10:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 58.4% of statements 05:10:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.235s coverage: 89.2% of statements 05:10:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:10:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements 05:10:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:10:57 GO111MODULE=on go vet ./... 05:11:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:11:19 gofmt -l . 05:11:19 [ "`gofmt -l .`" = "" ] 05:11:19 ./bin/test-attribution-txt.sh 05:11:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:11:19 $ docker stop --time=1 b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 05:11:22 $ docker rm -f b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:11:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:26 + ls -al . 05:11:26 total 212 05:11:26 drwxrwxr-x. 10 jenkins jenkins 4096 May 10 05:11 . 05:11:26 drwxrwxr-x. 4 jenkins jenkins 28 May 10 05:09 .. 05:11:26 drwxrwxr-x. 2 jenkins jenkins 64 May 10 05:09 bin 05:11:26 -rw-r--r--. 1 jenkins jenkins 124140 May 10 05:10 coverage.out 05:11:26 -rw-rw-r--. 1 jenkins jenkins 987 May 10 05:09 Dockerfile.build 05:11:26 -rw-rw-r--. 1 jenkins jenkins 140 May 10 05:09 .dockerignore 05:11:26 drwxrwxr-x. 5 jenkins jenkins 62 May 10 05:09 example 05:11:26 drwxrwxr-x. 8 jenkins jenkins 179 May 10 05:09 .git 05:11:26 drwxrwxr-x. 2 jenkins jenkins 103 May 10 05:09 .github 05:11:26 -rw-rw-r--. 1 jenkins jenkins 138 May 10 05:09 .gitignore 05:11:26 -rw-r--r--. 1 jenkins jenkins 575 May 10 05:11 go.mod 05:11:26 -rw-r--r--. 1 jenkins jenkins 20904 May 10 05:10 go.sum 05:11:26 drwxrwxr-x. 15 jenkins jenkins 222 May 10 05:09 internal 05:11:26 -rw-rw-r--. 1 jenkins jenkins 901 May 10 05:09 Jenkinsfile 05:11:26 -rw-rw-r--. 1 jenkins jenkins 11341 May 10 05:09 LICENSE 05:11:26 -rw-rw-r--. 1 jenkins jenkins 1022 May 10 05:09 Makefile 05:11:26 drwxrwxr-x. 4 jenkins jenkins 26 May 10 05:09 openapi 05:11:26 drwxrwxr-x. 5 jenkins jenkins 50 May 10 05:09 pkg 05:11:26 -rw-rw-r--. 1 jenkins jenkins 7652 May 10 05:09 README.md 05:11:26 -rw-rw-r--. 1 jenkins jenkins 6616 May 10 05:09 RELEASE-NOTES.txt 05:11:26 drwxrwxr-x. 4 jenkins jenkins 54 May 10 05:09 snap 05:11:26 -rw-rw-r--. 1 jenkins jenkins 5 May 10 05:05 VERSION 05:11:26 -rw-rw-r--. 1 jenkins jenkins 222 May 10 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:11:26 + 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=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 --label arch=amd64 --label version=0.0.0 . 05:11:27 Sending build context to Docker daemon 2.702MB 05:11:27 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:11:27 Step 2/23 : FROM ${BASE} AS builder 05:11:27 ---> 5d40c17df159 05:11:27 Step 3/23 : WORKDIR /device-sdk-go 05:11:28 ---> Running in 40a317569bc2 05:11:28 Removing intermediate container 40a317569bc2 05:11:28 ---> cf408e0ae4ab 05:11:28 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:11:28 ---> Running in 388432c9d54c 05:11:28 Removing intermediate container 388432c9d54c 05:11:28 ---> 6694fd60b761 05:11:28 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:28 ---> Running in 6818861abd82 05:11:29 Removing intermediate container 6818861abd82 05:11:29 ---> b1bbf0a3a0ad 05:11:29 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:11:29 ---> Running in 497caa3fe04e 05:11:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:11:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:11:38 OK: 150 MiB in 46 packages 05:11:39 Removing intermediate container 497caa3fe04e 05:11:39 ---> 4942c1e444cf 05:11:39 Step 7/23 : COPY . . 05:11:40 ---> 0c2be204c7f7 05:11:40 Step 8/23 : RUN go mod download 05:11:40 ---> Running in df29dc5aba43 05:11:41 Removing intermediate container df29dc5aba43 05:11:41 ---> 8d9b7be02f60 05:11:41 Step 9/23 : RUN make build 05:11:41 ---> Running in e688c131dc17 05:11:41 CGO_ENABLED=1 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 05:11:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:11:55 Removing intermediate container e688c131dc17 05:11:55 ---> 0cc731939f0d 05:11:55 Step 10/23 : FROM alpine:3.12 05:11:55 3.12: Pulling from library/alpine 05:11:55 339de151aab4: Pulling fs layer 05:11:55 339de151aab4: Verifying Checksum 05:11:55 339de151aab4: Download complete 05:11:55 339de151aab4: Pull complete 05:11:55 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:11:55 Status: Downloaded newer image for alpine:3.12 05:11:55 ---> 13621d1b12d4 05:11:55 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:11:56 ---> Running in b7a09e810f73 05:11:56 Removing intermediate container b7a09e810f73 05:11:56 ---> 5c931545ec07 05:11:56 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:56 ---> Running in 487c9b599ec2 05:11:57 Removing intermediate container 487c9b599ec2 05:11:57 ---> c9d8d7c03469 05:11:57 Step 13/23 : RUN apk add --update --no-cache zeromq 05:11:57 ---> Running in fc426ed6b6db 05:11:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:11:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:11:59 (1/5) Installing libgcc (9.3.0-r2) 05:12:00 (2/5) Installing libsodium (1.0.18-r0) 05:12:00 (3/5) Installing libstdc++ (9.3.0-r2) 05:12:01 (4/5) Installing libzmq (4.3.3-r0) 05:12:03 (5/5) Installing zeromq (4.3.3-r0) 05:12:03 Executing busybox-1.31.1-r20.trigger 05:12:03 OK: 8 MiB in 19 packages 05:12:03 Removing intermediate container fc426ed6b6db 05:12:03 ---> d4c5a549466d 05:12:03 Step 14/23 : WORKDIR / 05:12:03 ---> Running in 341b72615151 05:12:03 Removing intermediate container 341b72615151 05:12:03 ---> bf1f515fec0e 05:12:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:12:04 ---> ecbfb27bd07f 05:12:04 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:12:04 ---> 8f39193b6b5b 05:12:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:12:05 ---> 7a18d40fbf9c 05:12:05 Step 18/23 : EXPOSE 49990 05:12:05 ---> Running in 5cc90c9a6844 05:12:05 Removing intermediate container 5cc90c9a6844 05:12:05 ---> bc3ac0a67bbc 05:12:05 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:12:05 ---> Running in fffb940da524 05:12:05 Removing intermediate container fffb940da524 05:12:05 ---> cbd2e66db3c3 05:12:05 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:05 ---> Running in ea225a5f4f01 05:12:05 Removing intermediate container ea225a5f4f01 05:12:05 ---> a92c5751370b 05:12:05 Step 21/23 : LABEL arch=amd64 05:12:05 ---> Running in bad019ef4eb3 05:12:06 Removing intermediate container bad019ef4eb3 05:12:06 ---> 8a01d593804b 05:12:06 Step 22/23 : LABEL git_sha=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:12:06 ---> Running in 8761bc245e59 05:12:06 Removing intermediate container 8761bc245e59 05:12:06 ---> dd28fbbead52 05:12:06 Step 23/23 : LABEL version=0.0.0 05:12:06 ---> Running in 0dfc2d6bd7b0 05:12:06 Removing intermediate container 0dfc2d6bd7b0 05:12:06 ---> 69453d4ffed7 05:12:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:12:06 Successfully built 69453d4ffed7 05:12:06 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 Post stage [Pipeline] libraryResource [Pipeline] sh 05:12:07 ---> job-cost.sh 05:12:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Se85 05:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:12:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.185s coverage: 25.4% of statements 05:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.131s coverage: 28.1% of statements 05:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.165s coverage: 78.9% of statements 05:12:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.160s coverage: 10.7% of statements 05:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:12:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:12:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.215s coverage: 30.2% of statements 05:12:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:12:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 05:12:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:12:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:12:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.344s coverage: 58.4% of statements 05:12:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.122s coverage: 89.2% of statements 05:12:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:12:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements 05:12:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:12:32 GO111MODULE=on go vet ./... 05:12:48 lf-activate-venv(): INFO: Adding /tmp/venv-Se85/bin to PATH 05:12:48 INFO: No Stack... 05:12:48 INFO: Retrieving Pricing Info for: v1-standard-2 05:12:49 INFO: Archiving Costs [Pipeline] sh 05:12:50 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 05:12:50 + cut -d, -f6 [Pipeline] lock 05:12:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] 05:12:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] did not exist. Created. 05:12:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:50 + echo total: 0.029999999329447746 [Pipeline] stash 05:12:50 Stashed 1 file(s) [Pipeline] } 05:12:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:13:29 gofmt -l . 05:13:29 [ "`gofmt -l .`" = "" ] 05:13:29 ./bin/test-attribution-txt.sh 05:13:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:13:29 $ docker stop --time=1 ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 05:13:31 $ docker rm -f ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:33 Warning: overwriting stash ‘coverage-report’ 05:13:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:13:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:13:34 + ls -al . 05:13:34 total 248 05:13:34 drwxrwxr-x 10 jenkins jenkins 4096 May 10 05:13 . 05:13:34 drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 .. 05:13:34 -rw-rw-r-- 1 jenkins jenkins 140 May 10 05:09 .dockerignore 05:13:34 drwxrwxr-x 8 jenkins jenkins 4096 May 10 05:09 .git 05:13:34 drwxrwxr-x 2 jenkins jenkins 4096 May 10 05:09 .github 05:13:34 -rw-rw-r-- 1 jenkins jenkins 138 May 10 05:09 .gitignore 05:13:34 -rw-rw-r-- 1 jenkins jenkins 987 May 10 05:09 Dockerfile.build 05:13:34 -rw-rw-r-- 1 jenkins jenkins 901 May 10 05:09 Jenkinsfile 05:13:34 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 05:09 LICENSE 05:13:34 -rw-rw-r-- 1 jenkins jenkins 1022 May 10 05:09 Makefile 05:13:34 -rw-rw-r-- 1 jenkins jenkins 7652 May 10 05:09 README.md 05:13:34 -rw-rw-r-- 1 jenkins jenkins 6616 May 10 05:09 RELEASE-NOTES.txt 05:13:34 -rw-rw-r-- 1 jenkins jenkins 5 May 10 05:05 VERSION 05:13:34 drwxrwxr-x 2 jenkins jenkins 4096 May 10 05:09 bin 05:13:34 -rw-r--r-- 1 jenkins jenkins 124140 May 10 05:12 coverage.out 05:13:34 drwxrwxr-x 5 jenkins jenkins 4096 May 10 05:09 example 05:13:34 -rw-r--r-- 1 jenkins jenkins 575 May 10 05:13 go.mod 05:13:34 -rw-r--r-- 1 jenkins jenkins 20904 May 10 05:10 go.sum 05:13:34 drwxrwxr-x 15 jenkins jenkins 4096 May 10 05:09 internal 05:13:34 drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 openapi 05:13:34 drwxrwxr-x 5 jenkins jenkins 4096 May 10 05:09 pkg 05:13:34 drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 snap 05:13:34 -rw-rw-r-- 1 jenkins jenkins 222 May 10 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:13:35 + 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=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 --label arch=arm64 --label version=0.0.0 . 05:13:35 Sending build context to Docker daemon 2.71MB 05:13:35 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:13:35 Step 2/23 : FROM ${BASE} AS builder 05:13:35 ---> b6b4aecd1438 05:13:35 Step 3/23 : WORKDIR /device-sdk-go 05:13:36 ---> Running in 4b0b27df4169 05:13:36 Removing intermediate container 4b0b27df4169 05:13:36 ---> 2f7fbc01cad1 05:13:36 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:13:36 ---> Running in 03dfac55c650 05:13:37 Removing intermediate container 03dfac55c650 05:13:37 ---> 23bad672725a 05:13:37 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:13:37 ---> Running in 77d13bdbbe4e 05:13:39 Removing intermediate container 77d13bdbbe4e 05:13:39 ---> cff880f75ff9 05:13:39 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:13:39 ---> Running in 94bdff390bc0 05:13:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:13:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:13:43 OK: 139 MiB in 46 packages 05:13:44 Removing intermediate container 94bdff390bc0 05:13:44 ---> fdc11680d16b 05:13:44 Step 7/23 : COPY . . 05:13:46 ---> f88bda56d6f8 05:13:46 Step 8/23 : RUN go mod download 05:13:46 ---> Running in 406d27cd6e26 05:13:48 Removing intermediate container 406d27cd6e26 05:13:48 ---> d3f72545c774 05:13:48 Step 9/23 : RUN make build 05:13:48 ---> Running in 87feb85557c5 05:13:49 CGO_ENABLED=1 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 05:14:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:14:23 Removing intermediate container 87feb85557c5 05:14:23 ---> 03cfccc33a52 05:14:23 Step 10/23 : FROM alpine:3.12 05:14:24 3.12: Pulling from library/alpine 05:14:24 d2f70382dc9a: Pulling fs layer 05:14:24 d2f70382dc9a: Verifying Checksum 05:14:24 d2f70382dc9a: Download complete 05:14:25 d2f70382dc9a: Pull complete 05:14:25 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:14:25 Status: Downloaded newer image for alpine:3.12 05:14:25 ---> 9852663dfa18 05:14:25 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:14:25 ---> Running in c81031ead715 05:14:25 Removing intermediate container c81031ead715 05:14:25 ---> 76416e609ec1 05:14:25 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:26 ---> Running in fc1548d13178 05:14:28 Removing intermediate container fc1548d13178 05:14:28 ---> 209d305673fd 05:14:28 Step 13/23 : RUN apk add --update --no-cache zeromq 05:14:28 ---> Running in 15ead0f7e00a 05:14:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:14:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:14:31 (1/5) Installing libgcc (9.3.0-r2) 05:14:32 (2/5) Installing libsodium (1.0.18-r0) 05:14:32 (3/5) Installing libstdc++ (9.3.0-r2) 05:14:33 (4/5) Installing libzmq (4.3.3-r0) 05:14:33 (5/5) Installing zeromq (4.3.3-r0) 05:14:33 Executing busybox-1.31.1-r20.trigger 05:14:33 OK: 8 MiB in 19 packages 05:14:34 Removing intermediate container 15ead0f7e00a 05:14:34 ---> c8726c68ad80 05:14:34 Step 14/23 : WORKDIR / 05:14:34 ---> Running in c3e1c8a9317e 05:14:35 Removing intermediate container c3e1c8a9317e 05:14:35 ---> 6ae14135c43a 05:14:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:14:35 ---> f4f64354686c 05:14:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:14:37 ---> c005810f7473 05:14:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:14:37 ---> 10195d0091d9 05:14:37 Step 18/23 : EXPOSE 49990 05:14:38 ---> Running in b9ea2ec4d8d1 05:14:38 Removing intermediate container b9ea2ec4d8d1 05:14:38 ---> 601b366a2d25 05:14:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:14:38 ---> Running in 879d93f5336d 05:14:39 Removing intermediate container 879d93f5336d 05:14:39 ---> a8f12851208d 05:14:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:14:39 ---> Running in 27dd0fc77fb8 05:14:39 Removing intermediate container 27dd0fc77fb8 05:14:39 ---> 7d46a664448e 05:14:39 Step 21/23 : LABEL arch=arm64 05:14:39 ---> Running in 36dc5704e13e 05:14:40 Removing intermediate container 36dc5704e13e 05:14:40 ---> 4adc006bed7c 05:14:40 Step 22/23 : LABEL git_sha=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 05:14:40 ---> Running in 1b36160f2745 05:14:41 Removing intermediate container 1b36160f2745 05:14:41 ---> 36df75e276f5 05:14:41 Step 23/23 : LABEL version=0.0.0 05:14:41 ---> Running in 86f019e8b3d9 05:14:41 Removing intermediate container 86f019e8b3d9 05:14:41 ---> b2a02d6cfea3 05:14:41 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:14:41 Successfully built b2a02d6cfea3 05:14:41 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 Post stage [Pipeline] libraryResource [Pipeline] sh 05:14:42 ---> job-cost.sh 05:14:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xzzj 05:15:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:16:42 lf-activate-venv(): INFO: Adding /tmp/venv-xzzj/bin to PATH 05:16:42 INFO: No Stack... 05:16:42 INFO: Retrieving Pricing Info for: lf-standard-4 05:16:43 INFO: Archiving Costs [Pipeline] sh 05:16:43 + cut -d, -f6 05:16:43 + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock 05:16:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] 05:16:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] did not exist. Created. 05:16:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:44 /w/workspace/device-sdk-go/5@tmp/durable-849a9118/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-849a9118/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:16:44 + echo total: 0.20999999344348907 [Pipeline] stash 05:16:44 Warning: overwriting stash ‘stack-cost’ 05:16:44 Stashed 1 file(s) [Pipeline] } 05:16:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-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 05:16:45 provisioning config files... 05:16:45 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config6060083571424814503tmp [Pipeline] { [Pipeline] sh 05:16:45 + set +x 05:16:45 + curl -s https://codecov.io/bash 05:16:45 + bash -s -- 05:16:46 05:16:46 _____ _ 05:16:46 / ____| | | 05:16:46 | | ___ __| | ___ ___ _____ __ 05:16:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:16:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:16:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:16:46 Bash-1.0.2 05:16:46 05:16:46 05:16:46 ==> git version 2.24.3 found 05:16:46 ==> 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 05:16:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:16:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:16:46 ==> Jenkins CI detected. 05:16:46 project root: . 05:16:46 --> token set from env 05:16:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:16:46 ==> Running gcov in . (disable via -X gcov) 05:16:46 ==> Python coveragepy not found 05:16:46 ==> Searching for coverage reports in: 05:16:46 + . 05:16:46 -> Found 1 reports 05:16:46 ==> Detecting git/mercurial file structure 05:16:46 ==> Reading reports 05:16:46 + ./coverage.out bytes=124140 05:16:46 ==> Appending adjustments 05:16:46 https://docs.codecov.io/docs/fixing-reports 05:16:46 + Found adjustments 05:16:46 ==> Gzipping contents 05:16:46 16K /tmp/codecov.vVPc39.gz 05:16:46 ==> Uploading reports 05:16:46 url: https://codecov.io 05:16:46 query: branch=PR-900&commit=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= 05:16:46 -> Pinging Codecov 05:16:46 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= 05:16:47 -> Uploading to 05:16:47 https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/5fdfe4e96ed49d8ecf859992466e40d3a779b6f9/9d9fd8dd-9458-473f-81d1-473e95fde917.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T051646Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4154f9fc7d3cece9204038804d00b20e554881a6ee6c26d2ff0724f727f5b8e5 05:16:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:47 Dload Upload Total Spent Left Speed 05:16:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16222 0 0 100 16222 0 37870 --:--:-- --:--:-- --:--:-- 37901 05:16:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] } 05:16:47 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 05:16:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:16:49 ---> package-listing.sh 05:16:49 ++ facter osfamily 05:16:49 ++ tr '[:upper:]' '[:lower:]' 05:16:49 + OS_FAMILY=redhat 05:16:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 05:16:49 + START_PACKAGES=/tmp/packages_start.txt 05:16:49 + END_PACKAGES=/tmp/packages_end.txt 05:16:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:16:49 + PACKAGES=/tmp/packages_start.txt 05:16:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' 05:16:49 + PACKAGES=/tmp/packages_end.txt 05:16:49 + case "${OS_FAMILY}" in 05:16:49 + rpm -qa 05:16:49 + sort 05:16:54 + '[' -f /tmp/packages_start.txt ']' 05:16:54 + '[' -f /tmp/packages_end.txt ']' 05:16:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:16:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' 05:16:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ 05:16:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo 05:16:54 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:16:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:16:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:16:55 05:16:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:16:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:16:55 alpine: Pulling from edgex-lftools-log-publisher 05:16:55 df20fa9351a1: Pulling fs layer 05:16:55 36b3adc4ff6f: Pulling fs layer 05:16:55 8ad3a11d3b57: Pulling fs layer 05:16:55 46f8f816bc3b: Pulling fs layer 05:16:55 93b61091891f: Pulling fs layer 05:16:55 93b9cdb0e59b: Pulling fs layer 05:16:55 5e14af77c1be: Pulling fs layer 05:16:55 01666e4c0597: Pulling fs layer 05:16:55 aa168da1d23b: Pulling fs layer 05:16:55 46f8f816bc3b: Waiting 05:16:55 93b61091891f: Waiting 05:16:55 93b9cdb0e59b: Waiting 05:16:55 5e14af77c1be: Waiting 05:16:55 01666e4c0597: Waiting 05:16:55 aa168da1d23b: Waiting 05:16:55 36b3adc4ff6f: Verifying Checksum 05:16:55 36b3adc4ff6f: Download complete 05:16:55 46f8f816bc3b: Verifying Checksum 05:16:55 46f8f816bc3b: Download complete 05:16:55 df20fa9351a1: Verifying Checksum 05:16:55 df20fa9351a1: Download complete 05:16:55 93b9cdb0e59b: Verifying Checksum 05:16:55 93b9cdb0e59b: Download complete 05:16:55 5e14af77c1be: Verifying Checksum 05:16:55 5e14af77c1be: Download complete 05:16:55 93b61091891f: Verifying Checksum 05:16:55 93b61091891f: Download complete 05:16:55 01666e4c0597: Verifying Checksum 05:16:55 01666e4c0597: Download complete 05:16:55 8ad3a11d3b57: Verifying Checksum 05:16:55 8ad3a11d3b57: Download complete 05:16:56 df20fa9351a1: Pull complete 05:16:56 36b3adc4ff6f: Pull complete 05:16:56 8ad3a11d3b57: Pull complete 05:16:57 46f8f816bc3b: Pull complete 05:16:58 aa168da1d23b: Verifying Checksum 05:16:58 aa168da1d23b: Download complete 05:16:58 93b61091891f: Pull complete 05:16:58 93b9cdb0e59b: Pull complete 05:16:58 5e14af77c1be: Pull complete 05:16:58 01666e4c0597: Pull complete 05:17:07 aa168da1d23b: Pull complete 05:17:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:17:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:17:07 prd-centos7-docker-4c-2g-3943 does not seem to be running inside a container 05:17:07 $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@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 05:17:10 $ docker top d6afeb33af03cd3038b74f441a03e003781470095f9c6c2d5d9fc8ea37b71f0a -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:11 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:11 + mkdir -p /var/log/sa [Pipeline] sh 05:17:11 + ls /var/log/sa-host 05:17:11 + sadf -c /var/log/sa-host/sa10 05:17:11 file_magic: OK 05:17:11 HZ: Using current value: 100 05:17:11 file_header: OK 05:17:11 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 05:17:11 Statistics: 05:17:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:17:11 File successfully converted to sysstat format version 12.2.1 05:17:11 + sadf -c /var/log/sa-host/sa23 05:17:11 file_magic: OK 05:17:11 HZ: Using current value: 100 05:17:11 file_header: OK 05:17:11 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 05:17:11 Statistics: 05:17:11 Hnuu...uuuununununu... 05:17:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:12 provisioning config files... 05:17:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config1888579147547486729tmp [Pipeline] { [Pipeline] echo 05:17:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:12 ---> create-netrc.sh [Pipeline] } 05:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:17:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:17:12 ---> python-tools-install.sh [Pipeline] echo 05:17:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:13 ---> sudo-logs.sh 05:17:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:13 ---> job-cost.sh 05:17:13 lf-activate-venv: SKIPPING 05:17:13 DEBUG: total: 0.20999999344348907 05:17:13 INFO: Retrieving Stack Cost... 05:17:14 INFO: Retrieving Pricing Info for: v1-standard-2 05:17:15 INFO: Archiving Costs [Pipeline] echo 05:17:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:15 ---> logs-deploy.sh 05:17:15 lf-activate-venv: SKIPPING 05:17:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/5 05:17:15 INFO: archiving workspace using pattern(s): 05:17:17 Archives upload complete. 05:17:17 INFO: archiving logs to Nexus 05:17:18 ---> uname -a: 05:17:18 Linux prd-centos7-docker-4c-2g-3943.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:17:18 05:17:18 05:17:18 ---> lscpu: 05:17:18 Architecture: x86_64 05:17:18 CPU op-mode(s): 32-bit, 64-bit 05:17:18 Byte Order: Little Endian 05:17:18 Address sizes: 40 bits physical, 48 bits virtual 05:17:18 CPU(s): 4 05:17:18 On-line CPU(s) list: 0-3 05:17:18 Thread(s) per core: 1 05:17:18 Core(s) per socket: 1 05:17:18 Socket(s): 4 05:17:18 NUMA node(s): 1 05:17:18 Vendor ID: GenuineIntel 05:17:18 CPU family: 6 05:17:18 Model: 44 05:17:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:17:18 Stepping: 1 05:17:18 CPU MHz: 2933.438 05:17:18 BogoMIPS: 5866.87 05:17:18 Virtualization: VT-x 05:17:18 Hypervisor vendor: KVM 05:17:18 Virtualization type: full 05:17:18 L1d cache: 128 KiB 05:17:18 L1i cache: 128 KiB 05:17:18 L2 cache: 16 MiB 05:17:18 L3 cache: 64 MiB 05:17:18 NUMA node0 CPU(s): 0-3 05:17:18 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:17:18 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:17:18 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:17:18 Vulnerability Meltdown: Mitigation; PTI 05:17:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:17:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:17:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:17:18 Vulnerability Srbds: Not affected 05:17:18 Vulnerability Tsx async abort: Not affected 05:17:18 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 05:17:18 05:17:18