Pull request #912 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4ce5a3699167fe1fd8c949993467574400e9bc24+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (4f9fe1488194d832c93a685136d5f66e091f9eda) 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 ‘prd-centos7-docker-4c-2g-4025’ Running on prd-centos7-docker-4c-2g-4028 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [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-912 # 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 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 Merge succeeded, producing 7812047775a6ae24fca0d0343c05e434ffe67b62 Checking out Revision 7812047775a6ae24fca0d0343c05e434ffe67b62 (PR-912) > 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/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # 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 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7812047775a6ae24fca0d0343c05e434ffe67b62 # timeout=10 Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:56:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:56:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:56:29 ========================================================= 06:56:29 EdgeX Global Pipelines Version Info 06:56:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:56:31 ------------------- 06:56:31 stable info: 06:56:31 ------------------- 06:56:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:56:31 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:56:31 Message: update stable to v1.0.191 06:56:32 ------------------- 06:56:32 experimental info: 06:56:32 ------------------- 06:56:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:56:32 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:56:32 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-912 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-912 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-912 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] echo 06:56:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7812047 [Pipeline] echo 06:56:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:56:33 provisioning config files... 06:56:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config8364817635559259497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:33 ---> docker-login.sh 06:56:33 nexus3.edgexfoundry.org:10001 06:56:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:34 Configure a credential helper to remove this warning. See 06:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:34 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10002 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:34 Configure a credential helper to remove this warning. See 06:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:34 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10003 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:34 Configure a credential helper to remove this warning. See 06:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:34 06:56:34 Login Succeeded 06:56:34 nexus3.edgexfoundry.org:10004 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:34 Configure a credential helper to remove this warning. See 06:56:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:34 06:56:34 Login Succeeded 06:56:34 docker.io 06:56:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:35 Configure a credential helper to remove this warning. See 06:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:35 06:56:35 Login Succeeded 06:56:35 ---> docker-login.sh ends [Pipeline] } 06:56:35 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 06:56:35 + git log --format=format:%s -1 7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] echo 06:56:35 GIT_COMMIT: 7812047775a6ae24fca0d0343c05e434ffe67b62, Commit Message: Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD [Pipeline] echo 06:56:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:36 06:56:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:56:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:36 latest: Pulling from edgex-devops/git-semver 06:56:36 31603596830f: Pulling fs layer 06:56:36 54011a49482f: Pulling fs layer 06:56:36 a6820b24f6d8: Pulling fs layer 06:56:36 f581987b2513: Pulling fs layer 06:56:36 f581987b2513: Waiting 06:56:36 54011a49482f: Verifying Checksum 06:56:36 54011a49482f: Download complete 06:56:36 31603596830f: Verifying Checksum 06:56:36 31603596830f: Download complete 06:56:36 f581987b2513: Verifying Checksum 06:56:36 f581987b2513: Download complete 06:56:36 a6820b24f6d8: Verifying Checksum 06:56:36 a6820b24f6d8: Download complete 06:56:37 31603596830f: Pull complete 06:56:37 54011a49482f: Pull complete 06:56:38 a6820b24f6d8: Pull complete 06:56:38 f581987b2513: Pull complete 06:56:38 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:56:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:56:38 prd-centos7-docker-4c-2g-4028 does not seem to be running inside a container 06:56:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-912 -v /w/workspace/dgexfoundry_device-sdk-go_PR-912:/w/workspace/dgexfoundry_device-sdk-go_PR-912:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-912@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:56:40 $ docker top b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:40 [ssh-agent] Looking for ssh-agent implementation... 06:56:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:41 $ docker exec b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent 06:56:41 SSH_AUTH_SOCK=/tmp/ssh-r1kVImCOtscf/agent.11 06:56:41 SSH_AGENT_PID=16 06:56:41 Running ssh-add (command line suppressed) 06:56:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_2097978906839060366.key (/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_2097978906839060366.key) 06:56:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:41 + git tag --points-at HEAD [Pipeline] } 06:56:41 $ docker exec --env ******** --env ******** b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent -k 06:56:41 unset SSH_AUTH_SOCK; 06:56:41 unset SSH_AGENT_PID; 06:56:41 echo Agent pid 16 killed; 06:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:56:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:56:41 [ssh-agent] Looking for ssh-agent implementation... 06:56:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:56:42 $ docker exec b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent 06:56:42 SSH_AUTH_SOCK=/tmp/ssh-ujv92QVWAdUt/agent.44 06:56:42 SSH_AGENT_PID=49 06:56:42 Running ssh-add (command line suppressed) 06:56:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_7838157468976018930.key (/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_7838157468976018930.key) 06:56:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:56:42 + git semver init 06:56:42 # -> Open(): unable to determine branch for HEAD 06:56:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-912/.git 06:56:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-912 06:56:42 # $SEMVER_REMOTE_NAME = origin 06:56:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:56:42 # $SEMVER_USER_NAME = edgex-jenkins 06:56:42 # $SEMVER_BRANCH = PR-912 06:56:42 # $SEMVER_TEMP = /tmp/semver-549792854 06:56:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:56:43 # '/tmp/semver-549792854' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-912/.semver' 06:56:43 # -> Force: false 06:56:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-912/.semver [Pipeline] } 06:56:43 $ docker exec --env ******** --env ******** b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent -k 06:56:43 unset SSH_AUTH_SOCK; 06:56:43 unset SSH_AGENT_PID; 06:56:43 echo Agent pid 49 killed; 06:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:56:44 + git semver [Pipeline] } 06:56:44 $ docker stop --time=1 b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 06:56:46 $ docker rm -f b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 [Pipeline] // withDockerContainer [Pipeline] sh 06:56:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:56:46 Stashed 1 file(s) [Pipeline] echo 06:56:46 [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 06:57:02 Still waiting to schedule task 06:57:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:57:02 Still waiting to schedule task 06:57:02 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:00:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4032 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [Pipeline] { [Pipeline] ws 07:00:31 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:00:36 using credential edgex-jenkins-ssh 07:00:36 Cloning the remote Git repository 07:00:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:00:36 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:00:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:00:36 > git --version # timeout=10 07:00:37 > git --version # 'git version 2.17.1' 07:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:00:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:00:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:00:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:00:39 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 07:00:39 Merge succeeded, producing 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 07:00:39 Checking out Revision 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 (PR-912) 07:00:39 > git config core.sparsecheckout # timeout=10 07:00:39 > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 07:00:39 > git remote # timeout=10 07:00:39 > git config --get remote.origin.url # timeout=10 07:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:00:39 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 07:00:39 > git rev-parse HEAD^{commit} # timeout=10 07:00:39 > git config core.sparsecheckout # timeout=10 07:00:39 > git checkout -f 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 # timeout=10 07:00:43 Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" 07:00:43 > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:00:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:00:46 + sudo service docker restart 07:00:46 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:00:48 provisioning config files... 07:00:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config961654252628060864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:49 ---> docker-login.sh 07:00:49 nexus3.edgexfoundry.org:10001 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 nexus3.edgexfoundry.org:10002 07:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:50 Configure a credential helper to remove this warning. See 07:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:50 07:00:50 Login Succeeded 07:00:50 nexus3.edgexfoundry.org:10003 07:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:51 Configure a credential helper to remove this warning. See 07:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:51 07:00:51 Login Succeeded 07:00:51 nexus3.edgexfoundry.org:10004 07:00:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:52 Configure a credential helper to remove this warning. See 07:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:52 07:00:52 Login Succeeded 07:00:52 docker.io 07:00:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:52 Configure a credential helper to remove this warning. See 07:00:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:52 07:00:52 Login Succeeded 07:00:52 ---> docker-login.sh ends [Pipeline] } 07:00:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:00:53 ========================================================= 07:00:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 07:00:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:00:53 + 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 . 07:00:53 Sending build context to Docker daemon 2.526MB 07:00:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:00:54 Step 2/8 : FROM ${BASE} 07:00:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:00:54 595b0fe564bb: Pulling fs layer 07:00:54 7186ed65a4f7: Pulling fs layer 07:00:54 316046926c0a: Pulling fs layer 07:00:54 4ebd0625c992: Pulling fs layer 07:00:54 207e8628e3a3: Pulling fs layer 07:00:54 c791037a9be2: Pulling fs layer 07:00:54 ffd874e62e21: Pulling fs layer 07:00:54 4ebd0625c992: Waiting 07:00:54 207e8628e3a3: Waiting 07:00:54 c791037a9be2: Waiting 07:00:54 ffd874e62e21: Waiting 07:00:54 316046926c0a: Verifying Checksum 07:00:54 316046926c0a: Download complete 07:00:54 7186ed65a4f7: Verifying Checksum 07:00:54 7186ed65a4f7: Download complete 07:00:54 207e8628e3a3: Download complete 07:00:54 c791037a9be2: Verifying Checksum 07:00:54 c791037a9be2: Download complete 07:00:54 595b0fe564bb: Verifying Checksum 07:00:54 595b0fe564bb: Download complete 07:00:54 595b0fe564bb: Pull complete 07:00:55 7186ed65a4f7: Pull complete 07:00:55 316046926c0a: Pull complete 07:00:57 ffd874e62e21: Verifying Checksum 07:00:57 ffd874e62e21: Download complete 07:00:58 4ebd0625c992: Download complete 07:01:05 Running on prd-centos7-docker-4c-2g-4033 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [Pipeline] { [Pipeline] ws 07:01:05 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:01:08 4ebd0625c992: Pull complete 07:01:09 207e8628e3a3: Pull complete 07:01:09 using credential edgex-jenkins-ssh 07:01:09 Cloning the remote Git repository 07:01:09 c791037a9be2: Pull complete 07:01:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:01:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:01:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:01:09 > git --version # timeout=10 07:01:10 > git --version # 'git version 2.24.3' 07:01:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:01:11 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 07:01:11 Merge succeeded, producing 47963683eae74da18e120a5601d657f127b94957 07:01:11 Checking out Revision 47963683eae74da18e120a5601d657f127b94957 (PR-912) 07:01:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:01:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:01:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:01:11 > git config core.sparsecheckout # timeout=10 07:01:11 > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 07:01:11 > git remote # timeout=10 07:01:11 > git config --get remote.origin.url # timeout=10 07:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 07:01:11 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 07:01:11 > git rev-parse HEAD^{commit} # timeout=10 07:01:11 > git config core.sparsecheckout # timeout=10 07:01:11 > git checkout -f 47963683eae74da18e120a5601d657f127b94957 # timeout=10 07:01:14 ffd874e62e21: Pull complete 07:01:14 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 07:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 07:01:14 ---> cfc18b08335c 07:01:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:15 Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" 07:01:15 > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 07:01:16 ---> Running in 2527c1e02c3b [Pipeline] withEnv [Pipeline] { 07:01:16 Removing intermediate container 2527c1e02c3b 07:01:16 ---> afa0a8356b8a 07:01:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:01:16 ---> Running in a3976faf2bbc 07:01:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:01:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:01:18 + sudo service docker restart 07:01:18 + true 07:01:18 Redirecting to /bin/systemctl restart docker.service 07:01:18 Removing intermediate container a3976faf2bbc 07:01:18 ---> c113727e914b 07:01:18 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:01:19 ---> Running in 523b1a83a397 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:01:19 provisioning config files... 07:01:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3468786751821084193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:19 ---> docker-login.sh 07:01:19 nexus3.edgexfoundry.org:10001 07:01:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10002 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10003 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 nexus3.edgexfoundry.org:10004 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:20 Configure a credential helper to remove this warning. See 07:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:20 07:01:20 Login Succeeded 07:01:20 docker.io 07:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:01:21 Configure a credential helper to remove this warning. See 07:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:01:21 07:01:21 Login Succeeded 07:01:21 ---> docker-login.sh ends [Pipeline] } 07:01:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:01:21 ========================================================= 07:01:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 07:01:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:01:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:01:22 + 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 . 07:01:22 Sending build context to Docker daemon 2.535MB 07:01:22 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 07:01:22 Step 2/8 : FROM ${BASE} 07:01:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 07:01:22 540db60ca938: Pulling fs layer 07:01:22 adcc1eea9eea: Pulling fs layer 07:01:22 4c4ab2625f07: Pulling fs layer 07:01:22 0510c868ecb4: Pulling fs layer 07:01:22 afea3b2eda06: Pulling fs layer 07:01:22 7809a108b3ef: Pulling fs layer 07:01:22 f706445af74f: Pulling fs layer 07:01:22 afea3b2eda06: Waiting 07:01:22 7809a108b3ef: Waiting 07:01:22 f706445af74f: Waiting 07:01:22 0510c868ecb4: Waiting 07:01:22 4c4ab2625f07: Verifying Checksum 07:01:22 4c4ab2625f07: Download complete 07:01:22 adcc1eea9eea: Download complete 07:01:22 afea3b2eda06: Verifying Checksum 07:01:22 afea3b2eda06: Download complete 07:01:22 540db60ca938: Verifying Checksum 07:01:22 7809a108b3ef: Verifying Checksum 07:01:22 7809a108b3ef: Download complete 07:01:22 540db60ca938: Pull complete 07:01:23 adcc1eea9eea: Pull complete 07:01:23 (1/6) Installing libc-dev (0.7.2-r3) 07:01:23 (2/6) Installing libsodium (1.0.18-r0) 07:01:23 4c4ab2625f07: Pull complete 07:01:24 (3/6) Installing pkgconf (1.7.3-r0) 07:01:24 (4/6) Installing libsodium-dev (1.0.18-r0) 07:01:24 (5/6) Installing libzmq (4.3.3-r1) 07:01:24 f706445af74f: Verifying Checksum 07:01:24 f706445af74f: Download complete 07:01:25 (6/6) Installing zeromq-dev (4.3.3-r1) 07:01:25 Executing busybox-1.32.1-r6.trigger 07:01:25 OK: 139 MiB in 46 packages 07:01:26 0510c868ecb4: Verifying Checksum 07:01:26 0510c868ecb4: Download complete 07:01:26 Removing intermediate container 523b1a83a397 07:01:26 ---> cb5eca8f8a61 07:01:26 Step 6/8 : WORKDIR /device-sdk-go 07:01:26 ---> Running in 16163e2a7b04 07:01:27 Removing intermediate container 16163e2a7b04 07:01:27 ---> 9759c2c8a0bb 07:01:27 Step 7/8 : COPY . . 07:01:28 ---> b04d13406163 07:01:28 Step 8/8 : RUN go mod download 07:01:28 ---> Running in e39b67469b69 07:01:34 0510c868ecb4: Pull complete 07:01:34 afea3b2eda06: Pull complete 07:01:34 7809a108b3ef: Pull complete 07:01:43 f706445af74f: Pull complete 07:01:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 07:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 07:01:43 ---> b068be0155e3 07:01:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:01:43 ---> Running in 8d636b304f59 07:01:43 Removing intermediate container 8d636b304f59 07:01:43 ---> 970574e5c533 07:01:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:01:43 ---> Running in 88ef35cb35cc 07:01:45 Removing intermediate container 88ef35cb35cc 07:01:45 ---> b38ffbb500bb 07:01:45 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:01:45 ---> Running in e21367857c21 07:01:46 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:01:48 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:01:50 (1/6) Installing libc-dev (0.7.2-r3) 07:01:50 (2/6) Installing libsodium (1.0.18-r0) 07:01:50 (3/6) Installing pkgconf (1.7.3-r0) 07:01:50 (4/6) Installing libsodium-dev (1.0.18-r0) 07:01:50 (5/6) Installing libzmq (4.3.3-r1) 07:01:50 (6/6) Installing zeromq-dev (4.3.3-r1) 07:01:51 Executing busybox-1.32.1-r6.trigger 07:01:51 OK: 150 MiB in 46 packages 07:01:51 Removing intermediate container e21367857c21 07:01:51 ---> 7e11eb265407 07:01:51 Step 6/8 : WORKDIR /device-sdk-go 07:01:51 ---> Running in 5d66f22ea330 07:01:51 Removing intermediate container 5d66f22ea330 07:01:51 ---> 889aee27fc4c 07:01:51 Step 7/8 : COPY . . 07:01:53 ---> 0ae47d5444d3 07:01:53 Step 8/8 : RUN go mod download 07:01:53 ---> Running in 586542b3d9b4 07:01:55 Removing intermediate container e39b67469b69 07:01:55 ---> 50d0bdbc2080 07:01:55 Successfully built 50d0bdbc2080 07:01:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:01:55 + docker inspect -f . ci-base-image-arm64 07:01:55 . [Pipeline] withDockerContainer 07:01:55 prd-ubuntu18.04-docker-arm64-4c-16g-4032 does not seem to be running inside a container 07:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 07:01:57 $ docker top 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:58 + go version 07:01:58 go version go1.16.3 linux/arm64 [Pipeline] } 07:01:58 $ docker stop --time=1 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e 07:02:00 $ docker rm -f 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:02:01 + docker inspect -f . ci-base-image-arm64 07:02:01 . [Pipeline] withDockerContainer 07:02:01 prd-ubuntu18.04-docker-arm64-4c-16g-4032 does not seem to be running inside a container 07:02:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 07:02:02 $ docker top 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:03 + go mod tidy [Pipeline] sh 07:02:05 + make test 07:02:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:02:20 Removing intermediate container 586542b3d9b4 07:02:20 ---> 5bf49065f5e4 07:02:20 Successfully built 5bf49065f5e4 07:02:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:02:20 + docker inspect -f . ci-base-image-x86_64 07:02:20 . [Pipeline] withDockerContainer 07:02:20 prd-centos7-docker-4c-2g-4033 does not seem to be running inside a container 07:02:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 07:02:21 $ docker top 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:22 + go version 07:02:22 go version go1.16.3 linux/amd64 [Pipeline] } 07:02:22 $ docker stop --time=1 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b 07:02:24 $ docker rm -f 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:02:24 + docker inspect -f . ci-base-image-x86_64 07:02:24 . [Pipeline] withDockerContainer 07:02:24 prd-centos7-docker-4c-2g-4033 does not seem to be running inside a container 07:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat 07:02:25 $ docker top 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 -eo pid,comm [Pipeline] { [Pipeline] sh 07:02:25 + go mod tidy [Pipeline] sh 07:02:26 + make test 07:02:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:02:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:02:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:03:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:03:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:03:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:03:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.116s coverage: 25.4% of statements 07:03:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:03:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.108s coverage: 28.1% of statements 07:03:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.178s coverage: 78.9% of statements 07:03:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.128s coverage: 10.7% of statements 07:03:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:03:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:03:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:03:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.360s coverage: 30.2% of statements 07:03:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:03:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 07:03:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:03:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:03:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 58.4% of statements 07:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.778s coverage: 89.2% of statements 07:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:03:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.117s coverage: 5.0% of statements 07:03:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:03:12 GO111MODULE=on go vet ./... 07:03:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:03:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:03:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:03:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.251s coverage: 25.4% of statements 07:03:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:03:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 28.1% of statements 07:03:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.252s coverage: 78.9% of statements 07:03:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 10.7% of statements 07:03:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:03:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:03:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:03:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.295s coverage: 30.2% of statements 07:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 07:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:03:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.393s coverage: 58.4% of statements 07:03:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.226s coverage: 89.2% of statements 07:03:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:03:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements 07:03:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:03:46 GO111MODULE=on go vet ./... 07:03:51 gofmt -l . 07:03:51 [ "`gofmt -l .`" = "" ] 07:03:51 ./bin/test-attribution-txt.sh 07:03:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:03:52 $ docker stop --time=1 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 07:03:54 $ docker rm -f 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 [Pipeline] // withDockerContainer [Pipeline] sh 07:03:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:03:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:03:58 + ls -al . 07:03:58 total 212 07:03:58 drwxrwxr-x. 10 jenkins jenkins 4096 May 10 07:03 . 07:03:58 drwxrwxr-x. 4 jenkins jenkins 28 May 10 07:01 .. 07:03:58 drwxrwxr-x. 2 jenkins jenkins 64 May 10 07:01 bin 07:03:58 -rw-r--r--. 1 jenkins jenkins 124140 May 10 07:03 coverage.out 07:03:58 -rw-rw-r--. 1 jenkins jenkins 987 May 10 07:01 Dockerfile.build 07:03:58 -rw-rw-r--. 1 jenkins jenkins 140 May 10 07:01 .dockerignore 07:03:58 drwxrwxr-x. 5 jenkins jenkins 62 May 10 07:01 example 07:03:58 drwxrwxr-x. 8 jenkins jenkins 179 May 10 07:01 .git 07:03:58 drwxrwxr-x. 2 jenkins jenkins 103 May 10 07:01 .github 07:03:58 -rw-rw-r--. 1 jenkins jenkins 138 May 10 07:01 .gitignore 07:03:58 -rw-r--r--. 1 jenkins jenkins 575 May 10 07:03 go.mod 07:03:58 -rw-r--r--. 1 jenkins jenkins 20637 May 10 07:02 go.sum 07:03:58 drwxrwxr-x. 15 jenkins jenkins 222 May 10 07:01 internal 07:03:58 -rw-rw-r--. 1 jenkins jenkins 901 May 10 07:01 Jenkinsfile 07:03:58 -rw-rw-r--. 1 jenkins jenkins 11341 May 10 07:01 LICENSE 07:03:58 -rw-rw-r--. 1 jenkins jenkins 1000 May 10 07:01 Makefile 07:03:58 drwxrwxr-x. 4 jenkins jenkins 26 May 10 07:01 openapi 07:03:58 drwxrwxr-x. 5 jenkins jenkins 50 May 10 07:01 pkg 07:03:58 -rw-rw-r--. 1 jenkins jenkins 7652 May 10 07:01 README.md 07:03:58 -rw-rw-r--. 1 jenkins jenkins 6616 May 10 07:01 RELEASE-NOTES.txt 07:03:58 drwxrwxr-x. 4 jenkins jenkins 54 May 10 07:01 snap 07:03:58 -rw-rw-r--. 1 jenkins jenkins 5 May 10 06:56 VERSION 07:03:58 -rw-rw-r--. 1 jenkins jenkins 222 May 10 07:01 version.go [Pipeline] isUnix [Pipeline] sh 07:03:58 + 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=7812047775a6ae24fca0d0343c05e434ffe67b62 --label arch=amd64 --label version=0.0.0 . 07:03:59 Sending build context to Docker daemon 2.66MB 07:03:59 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:03:59 Step 2/23 : FROM ${BASE} AS builder 07:03:59 ---> 5bf49065f5e4 07:03:59 Step 3/23 : WORKDIR /device-sdk-go 07:03:59 ---> Running in b4c292867153 07:03:59 Removing intermediate container b4c292867153 07:03:59 ---> 9e4c451462db 07:03:59 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:03:59 ---> Running in 9279e114b48c 07:04:00 Removing intermediate container 9279e114b48c 07:04:00 ---> 4d632dcd2e85 07:04:00 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:00 ---> Running in 333b6d6e8412 07:04:02 Removing intermediate container 333b6d6e8412 07:04:02 ---> a3878e7780f9 07:04:02 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:04:02 ---> Running in 9ce4c77442e2 07:04:04 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 07:04:05 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 07:04:08 OK: 150 MiB in 46 packages 07:04:08 Removing intermediate container 9ce4c77442e2 07:04:08 ---> 56e88938331b 07:04:08 Step 7/23 : COPY . . 07:04:10 ---> 50759e184143 07:04:10 Step 8/23 : RUN go mod download 07:04:10 ---> Running in b3908bd6f9f9 07:04:12 Removing intermediate container b3908bd6f9f9 07:04:12 ---> 974da3b066a8 07:04:12 Step 9/23 : RUN make build 07:04:12 ---> Running in 50a6eb0437df 07:04:14 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 07:04:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:04:43 gofmt -l . 07:04:43 [ "`gofmt -l .`" = "" ] 07:04:43 ./bin/test-attribution-txt.sh 07:04:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:04:43 $ docker stop --time=1 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 07:04:44 Removing intermediate container 50a6eb0437df 07:04:44 ---> 3b8092a10d7b 07:04:44 Step 10/23 : FROM alpine:3.12 07:04:45 3.12: Pulling from library/alpine 07:04:45 339de151aab4: Pulling fs layer 07:04:45 $ docker rm -f 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 07:04:45 339de151aab4: Verifying Checksum 07:04:45 339de151aab4: Download complete 07:04:46 339de151aab4: Pull complete 07:04:46 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [Pipeline] // withDockerContainer [Pipeline] sh 07:04:46 Status: Downloaded newer image for alpine:3.12 07:04:46 ---> 13621d1b12d4 07:04:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:04:46 ---> Running in 651d43af8a6e 07:04:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:46 Warning: overwriting stash ‘coverage-report’ 07:04:47 Removing intermediate container 651d43af8a6e 07:04:47 ---> 5f16ddbf773d 07:04:47 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:47 ---> Running in 285e39c38525 07:04:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:04:48 + ls -al . 07:04:48 total 248 07:04:48 drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:04 . 07:04:48 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 .. 07:04:48 -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:00 .dockerignore 07:04:48 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:00 .git 07:04:48 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:00 .github 07:04:48 -rw-rw-r-- 1 jenkins jenkins 138 May 10 07:00 .gitignore 07:04:48 -rw-rw-r-- 1 jenkins jenkins 987 May 10 07:00 Dockerfile.build 07:04:48 -rw-rw-r-- 1 jenkins jenkins 901 May 10 07:00 Jenkinsfile 07:04:48 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 07:00 LICENSE 07:04:48 -rw-rw-r-- 1 jenkins jenkins 1000 May 10 07:00 Makefile 07:04:48 -rw-rw-r-- 1 jenkins jenkins 7652 May 10 07:00 README.md 07:04:48 -rw-rw-r-- 1 jenkins jenkins 6616 May 10 07:00 RELEASE-NOTES.txt 07:04:48 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:56 VERSION 07:04:48 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:00 bin 07:04:48 -rw-r--r-- 1 jenkins jenkins 124140 May 10 07:03 coverage.out 07:04:48 drwxrwxr-x 5 jenkins jenkins 4096 May 10 07:00 example 07:04:48 -rw-r--r-- 1 jenkins jenkins 575 May 10 07:04 go.mod 07:04:48 -rw-r--r-- 1 jenkins jenkins 20637 May 10 07:02 go.sum 07:04:48 drwxrwxr-x 15 jenkins jenkins 4096 May 10 07:00 internal 07:04:48 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 openapi 07:04:48 drwxrwxr-x 5 jenkins jenkins 4096 May 10 07:00 pkg 07:04:48 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 snap 07:04:48 -rw-rw-r-- 1 jenkins jenkins 222 May 10 07:00 version.go [Pipeline] isUnix [Pipeline] sh 07:04:48 Removing intermediate container 285e39c38525 07:04:48 ---> efa0ffef6ef0 07:04:48 Step 13/23 : RUN apk add --update --no-cache zeromq 07:04:48 ---> Running in 0022a08e78d6 07:04:48 + 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=7812047775a6ae24fca0d0343c05e434ffe67b62 --label arch=arm64 --label version=0.0.0 . 07:04:49 Sending build context to Docker daemon 2.651MB 07:04:49 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 07:04:49 Step 2/23 : FROM ${BASE} AS builder 07:04:49 ---> 50d0bdbc2080 07:04:49 Step 3/23 : WORKDIR /device-sdk-go 07:04:49 ---> Running in 5269ff7d41e4 07:04:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:04:50 Removing intermediate container 5269ff7d41e4 07:04:50 ---> 2ec2a26cc91f 07:04:50 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:04:50 ---> Running in 3dca28858f04 07:04:51 Removing intermediate container 3dca28858f04 07:04:51 ---> 7b50d525b2f5 07:04:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:51 ---> Running in d84e12183825 07:04:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:04:52 (1/5) Installing libgcc (9.3.0-r2) 07:04:52 (2/5) Installing libsodium (1.0.18-r0) 07:04:53 (3/5) Installing libstdc++ (9.3.0-r2) 07:04:53 Removing intermediate container d84e12183825 07:04:53 ---> 25b98df20b4d 07:04:53 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:04:53 ---> Running in de77c6248ec3 07:04:54 (4/5) Installing libzmq (4.3.3-r0) 07:04:54 (5/5) Installing zeromq (4.3.3-r0) 07:04:54 Executing busybox-1.31.1-r20.trigger 07:04:54 OK: 8 MiB in 19 packages 07:04:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 07:04:55 Removing intermediate container 0022a08e78d6 07:04:55 ---> d3dd12fe76d7 07:04:55 Step 14/23 : WORKDIR / 07:04:55 ---> Running in 38622d088617 07:04:56 Removing intermediate container 38622d088617 07:04:56 ---> 046f51fe7d86 07:04:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:04:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 07:04:57 ---> e7d06431a83a 07:04:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:04:58 OK: 139 MiB in 46 packages 07:04:58 ---> 8b034b6c24e9 07:04:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:04:58 ---> 7dbc003b7f1e 07:04:58 Step 18/23 : EXPOSE 49990 07:04:58 ---> Running in 85ab5d53f929 07:04:59 Removing intermediate container de77c6248ec3 07:04:59 ---> feb72f6a4998 07:04:59 Step 7/23 : COPY . . 07:04:59 Removing intermediate container 85ab5d53f929 07:04:59 ---> 94bdc4798031 07:04:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:04:59 ---> Running in d009f77413c7 07:04:59 Removing intermediate container d009f77413c7 07:04:59 ---> ec3dfc182764 07:04:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:04:59 ---> Running in 0d39d535e2b9 07:05:00 ---> 8a6b4dc3ed0a 07:05:00 Step 8/23 : RUN go mod download 07:05:00 Removing intermediate container 0d39d535e2b9 07:05:00 ---> f909236f34d8 07:05:00 Step 21/23 : LABEL arch=amd64 07:05:00 ---> Running in 26e51a8bd4bb 07:05:00 ---> Running in 46a391b6a118 07:05:00 Removing intermediate container 26e51a8bd4bb 07:05:00 ---> 56b7938d8e66 07:05:00 Step 22/23 : LABEL git_sha=7812047775a6ae24fca0d0343c05e434ffe67b62 07:05:00 ---> Running in ae0c2e4df3d0 07:05:00 Removing intermediate container ae0c2e4df3d0 07:05:00 ---> dc697489ed8d 07:05:00 Step 23/23 : LABEL version=0.0.0 07:05:01 ---> Running in eff4654d09c1 07:05:01 Removing intermediate container eff4654d09c1 07:05:01 ---> 8e078b88d8a4 07:05:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:05:01 Successfully built 8e078b88d8a4 07:05:01 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 07:05:02 Removing intermediate container 46a391b6a118 07:05:02 ---> 432f1f59dcd5 07:05:02 Step 9/23 : RUN make build 07:05:02 ---> job-cost.sh 07:05:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rG8o 07:05:02 ---> Running in af09a674628e 07:05:03 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 07:05:24 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:05:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:05:37 Removing intermediate container af09a674628e 07:05:37 ---> bf97c05565d0 07:05:37 Step 10/23 : FROM alpine:3.12 07:05:38 3.12: Pulling from library/alpine 07:05:38 d2f70382dc9a: Pulling fs layer 07:05:38 d2f70382dc9a: Verifying Checksum 07:05:38 d2f70382dc9a: Download complete 07:05:39 d2f70382dc9a: Pull complete 07:05:39 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:05:39 Status: Downloaded newer image for alpine:3.12 07:05:39 ---> 9852663dfa18 07:05:39 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:05:39 ---> Running in 4ce483644d8e 07:05:39 Removing intermediate container 4ce483644d8e 07:05:39 ---> 04202cb41024 07:05:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:39 ---> Running in 8cbc45f9c52e 07:05:41 Removing intermediate container 8cbc45f9c52e 07:05:41 ---> de1123c870ae 07:05:41 Step 13/23 : RUN apk add --update --no-cache zeromq 07:05:42 ---> Running in b0f4c867009d 07:05:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:05:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:05:45 (1/5) Installing libgcc (9.3.0-r2) 07:05:45 (2/5) Installing libsodium (1.0.18-r0) 07:05:45 (3/5) Installing libstdc++ (9.3.0-r2) 07:05:46 (4/5) Installing libzmq (4.3.3-r0) 07:05:46 (5/5) Installing zeromq (4.3.3-r0) 07:05:46 Executing busybox-1.31.1-r20.trigger 07:05:46 OK: 8 MiB in 19 packages 07:05:48 Removing intermediate container b0f4c867009d 07:05:48 ---> fb7b9e02c84a 07:05:48 Step 14/23 : WORKDIR / 07:05:48 ---> Running in 79a063d96f0d 07:05:48 Removing intermediate container 79a063d96f0d 07:05:48 ---> 932245c5889e 07:05:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:05:49 ---> 07354efe5f9e 07:05:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:05:50 ---> 867bb8832e6d 07:05:50 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:05:51 ---> d5d6ae237ae5 07:05:51 Step 18/23 : EXPOSE 49990 07:05:51 ---> Running in 655ad45bd8b3 07:05:52 Removing intermediate container 655ad45bd8b3 07:05:52 ---> c40479cb535a 07:05:52 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:05:52 ---> Running in 4e9b9f60c29a 07:05:52 Removing intermediate container 4e9b9f60c29a 07:05:52 ---> 45f9ef217e2a 07:05:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:05:52 ---> Running in c1743f99cb5c 07:05:53 Removing intermediate container c1743f99cb5c 07:05:53 ---> 10adc6be03fa 07:05:53 Step 21/23 : LABEL arch=arm64 07:05:53 ---> Running in d281f585006a 07:05:53 Removing intermediate container d281f585006a 07:05:53 ---> fd2c2e3d8e3f 07:05:53 Step 22/23 : LABEL git_sha=7812047775a6ae24fca0d0343c05e434ffe67b62 07:05:54 ---> Running in 6c935dbd4e14 07:05:54 Removing intermediate container 6c935dbd4e14 07:05:54 ---> e4ff736cdaee 07:05:54 Step 23/23 : LABEL version=0.0.0 07:05:54 ---> Running in a5e9c3f75680 07:05:54 Removing intermediate container a5e9c3f75680 07:05:54 ---> 8d42f94063a0 07:05:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:05:55 Successfully built 8d42f94063a0 07:05:55 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 07:05:55 ---> job-cost.sh 07:05:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ESUY 07:05:57 lf-activate-venv(): INFO: Adding /tmp/venv-rG8o/bin to PATH 07:05:57 INFO: No Stack... 07:05:58 INFO: Retrieving Pricing Info for: v1-standard-2 07:05:59 INFO: Archiving Costs [Pipeline] sh 07:06:00 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 07:06:00 + cut -d, -f6 [Pipeline] lock 07:06:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] 07:06:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] did not exist. Created. 07:06:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:01 + echo total: 0.029999999329447746 [Pipeline] stash 07:06:01 Stashed 1 file(s) [Pipeline] } 07:06:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:06:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:08:11 lf-activate-venv(): INFO: Adding /tmp/venv-ESUY/bin to PATH 07:08:11 INFO: No Stack... 07:08:11 INFO: Retrieving Pricing Info for: lf-standard-4 07:08:11 INFO: Archiving Costs [Pipeline] sh 07:08:11 + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 07:08:11 [Pipeline] lock 07:08:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] 07:08:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] did not exist. Created. 07:08:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:08:12 /w/workspace/device-sdk-go/2@tmp/durable-a81149ac/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-a81149ac/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:08:12 + echo total: 0.20999999344348907 [Pipeline] stash 07:08:12 Warning: overwriting stash ‘stack-cost’ 07:08:12 Stashed 1 file(s) [Pipeline] } 07:08:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-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 07:08:13 provisioning config files... 07:08:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config1067620218926543894tmp [Pipeline] { [Pipeline] sh 07:08:13 + set +x 07:08:13 + curl -s https://codecov.io/bash 07:08:13 + bash -s -- 07:08:13 07:08:13 _____ _ 07:08:13 / ____| | | 07:08:13 | | ___ __| | ___ ___ _____ __ 07:08:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:08:13 | |___| (_) | (_| | __/ (_| (_) \ V / 07:08:13 \_____\___/ \__,_|\___|\___\___/ \_/ 07:08:13 Bash-1.0.2 07:08:13 07:08:13 07:08:13 ==> git version 2.24.3 found 07:08:13 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:08:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:08:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:08:13 ==> Jenkins CI detected. 07:08:13 project root: . 07:08:13 --> token set from env 07:08:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:08:13 ==> Running gcov in . (disable via -X gcov) 07:08:13 ==> Python coveragepy not found 07:08:13 ==> Searching for coverage reports in: 07:08:13 + . 07:08:13 -> Found 1 reports 07:08:13 ==> Detecting git/mercurial file structure 07:08:13 ==> Reading reports 07:08:13 + ./coverage.out bytes=124140 07:08:13 ==> Appending adjustments 07:08:13 https://docs.codecov.io/docs/fixing-reports 07:08:14 + Found adjustments 07:08:14 ==> Gzipping contents 07:08:14 16K /tmp/codecov.IE9cTG.gz 07:08:14 ==> Uploading reports 07:08:14 url: https://codecov.io 07:08:14 query: branch=PR-912&commit=7812047775a6ae24fca0d0343c05e434ffe67b62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-912%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=912&job=&cmd_args= 07:08:14 -> Pinging Codecov 07:08:14 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-912&commit=7812047775a6ae24fca0d0343c05e434ffe67b62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-912%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=912&job=&cmd_args= 07:08:14 -> Uploading to 07:08:14 https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/7812047775a6ae24fca0d0343c05e434ffe67b62/5e018bfc-4c3e-4818-abbe-e1f978ff0145.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T070814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee58e142db2b44b19a6de07c153810fa97f73aed9443b92bcf5a9f61332c1d65 07:08:14 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:14 Dload Upload Total Spent Left Speed 07:08:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16255 0 0 100 16255 0 26712 --:--:-- --:--:-- --:--:-- 26735 07:08:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] } 07:08:15 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 07:08:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:08:16 ---> package-listing.sh 07:08:16 ++ facter osfamily 07:08:16 ++ tr '[:upper:]' '[:lower:]' 07:08:16 + OS_FAMILY=redhat 07:08:16 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-912 07:08:16 + START_PACKAGES=/tmp/packages_start.txt 07:08:16 + END_PACKAGES=/tmp/packages_end.txt 07:08:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:08:16 + PACKAGES=/tmp/packages_start.txt 07:08:16 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-912 ']' 07:08:16 + PACKAGES=/tmp/packages_end.txt 07:08:16 + case "${OS_FAMILY}" in 07:08:16 + sort 07:08:16 + rpm -qa 07:08:22 + '[' -f /tmp/packages_start.txt ']' 07:08:22 + '[' -f /tmp/packages_end.txt ']' 07:08:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:08:22 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-912 ']' 07:08:22 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-912/archives/ 07:08:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-912/archives/ [Pipeline] echo 07:08:22 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-912/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:08:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:22 07:08:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:08:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:23 alpine: Pulling from edgex-lftools-log-publisher 07:08:23 df20fa9351a1: Pulling fs layer 07:08:23 36b3adc4ff6f: Pulling fs layer 07:08:23 8ad3a11d3b57: Pulling fs layer 07:08:23 46f8f816bc3b: Pulling fs layer 07:08:23 93b61091891f: Pulling fs layer 07:08:23 93b9cdb0e59b: Pulling fs layer 07:08:23 5e14af77c1be: Pulling fs layer 07:08:23 01666e4c0597: Pulling fs layer 07:08:23 aa168da1d23b: Pulling fs layer 07:08:23 93b9cdb0e59b: Waiting 07:08:23 5e14af77c1be: Waiting 07:08:23 01666e4c0597: Waiting 07:08:23 aa168da1d23b: Waiting 07:08:23 46f8f816bc3b: Waiting 07:08:23 93b61091891f: Waiting 07:08:23 36b3adc4ff6f: Verifying Checksum 07:08:23 36b3adc4ff6f: Download complete 07:08:23 46f8f816bc3b: Verifying Checksum 07:08:23 46f8f816bc3b: Download complete 07:08:23 df20fa9351a1: Verifying Checksum 07:08:23 df20fa9351a1: Download complete 07:08:23 93b9cdb0e59b: Verifying Checksum 07:08:23 93b9cdb0e59b: Download complete 07:08:23 5e14af77c1be: Verifying Checksum 07:08:23 5e14af77c1be: Download complete 07:08:23 93b61091891f: Verifying Checksum 07:08:23 93b61091891f: Download complete 07:08:23 01666e4c0597: Download complete 07:08:23 8ad3a11d3b57: Verifying Checksum 07:08:23 8ad3a11d3b57: Download complete 07:08:23 df20fa9351a1: Pull complete 07:08:23 36b3adc4ff6f: Pull complete 07:08:24 8ad3a11d3b57: Pull complete 07:08:24 46f8f816bc3b: Pull complete 07:08:25 93b61091891f: Pull complete 07:08:25 93b9cdb0e59b: Pull complete 07:08:25 5e14af77c1be: Pull complete 07:08:25 01666e4c0597: Pull complete 07:08:25 aa168da1d23b: Verifying Checksum 07:08:25 aa168da1d23b: Download complete 07:08:33 aa168da1d23b: Pull complete 07:08:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:08:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:08:34 prd-centos7-docker-4c-2g-4028 does not seem to be running inside a container 07:08:34 $ 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-912/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-912 -v /w/workspace/dgexfoundry_device-sdk-go_PR-912:/w/workspace/dgexfoundry_device-sdk-go_PR-912:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-912@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:08:37 $ docker top f7bd72d046343a0e072875d044fd3cea43ddcd9cfe22502fdc0157d90a7c404c -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:37 + touch /tmp/pre-build-complete [Pipeline] sh 07:08:38 + mkdir -p /var/log/sa [Pipeline] sh 07:08:38 + ls /var/log/sa-host 07:08:38 + sadf -c /var/log/sa-host/sa10 07:08:38 file_magic: OK 07:08:38 HZ: Using current value: 100 07:08:38 file_header: OK 07:08:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:08:38 Statistics: 07:08:38 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... 07:08:38 File successfully converted to sysstat format version 12.2.1 07:08:38 + sadf -c /var/log/sa-host/sa23 07:08:38 file_magic: OK 07:08:38 HZ: Using current value: 100 07:08:38 file_header: OK 07:08:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:08:38 Statistics: 07:08:38 Hnuu...uuuununununu... 07:08:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:38 provisioning config files... 07:08:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config4047892816574210026tmp [Pipeline] { [Pipeline] echo 07:08:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:08:38 ---> create-netrc.sh [Pipeline] } 07:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:08:39 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:08:39 ---> python-tools-install.sh [Pipeline] echo 07:08:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:08:39 ---> sudo-logs.sh 07:08:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:08:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:08:39 ---> job-cost.sh 07:08:39 lf-activate-venv: SKIPPING 07:08:39 DEBUG: total: 0.20999999344348907 07:08:39 INFO: Retrieving Stack Cost... 07:08:41 INFO: Retrieving Pricing Info for: v1-standard-2 07:08:41 INFO: Archiving Costs [Pipeline] echo 07:08:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:08:41 ---> logs-deploy.sh 07:08:41 lf-activate-venv: SKIPPING 07:08:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-912/2 07:08:41 INFO: archiving workspace using pattern(s): 07:08:43 Archives upload complete. 07:08:43 INFO: archiving logs to Nexus