Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29936 in /w/workspace/dgexfoundry_device-sdk-go_master [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_master # 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/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 Commit message: "Merge pull request #818 from hahattan/sdk-api" > git rev-list --no-walk 4a48ed36b56f70f387819c322f1a51e9c7883451 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:25 ========================================================= 04:19:25 EdgeX Global Pipelines Version Info 04:19:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:27 ------------------- 04:19:27 stable info: 04:19:27 ------------------- 04:19:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:27 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:19:27 Message: update stable to v1.0.184 04:19:28 ------------------- 04:19:28 experimental info: 04:19:28 ------------------- 04:19:28 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:28 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 04:19:28 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:19:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:19:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79c5143 [Pipeline] echo 04:19:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:19:31 provisioning config files... 04:19:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3847634344393718486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:32 ---> docker-login.sh 04:19:32 nexus3.edgexfoundry.org:10001 04:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:32 Configure a credential helper to remove this warning. See 04:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:32 04:19:32 Login Succeeded 04:19:32 nexus3.edgexfoundry.org:10002 04:19:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:32 Configure a credential helper to remove this warning. See 04:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:32 04:19:32 Login Succeeded 04:19:32 nexus3.edgexfoundry.org:10003 04:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:33 Configure a credential helper to remove this warning. See 04:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:33 04:19:33 Login Succeeded 04:19:33 nexus3.edgexfoundry.org:10004 04:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:33 Configure a credential helper to remove this warning. See 04:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:33 04:19:33 Login Succeeded 04:19:33 docker.io 04:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:33 Configure a credential helper to remove this warning. See 04:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:33 04:19:33 Login Succeeded 04:19:33 ---> docker-login.sh ends [Pipeline] } 04:19:33 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 04:19:34 + git log --format=format:%s -1 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] echo 04:19:34 GIT_COMMIT: 79c51434d0b6ff974f0a74c9d16ec224deffdcc1, Commit Message: Merge pull request #818 from hahattan/sdk-api [Pipeline] echo 04:19:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:19:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:35 04:19:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:19:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:36 latest: Pulling from edgex-devops/git-semver 04:19:36 31603596830f: Pulling fs layer 04:19:36 2a8b12db71e7: Pulling fs layer 04:19:36 6ca5941a6612: Pulling fs layer 04:19:36 ecc8261a40a4: Pulling fs layer 04:19:36 ecc8261a40a4: Waiting 04:19:36 2a8b12db71e7: Download complete 04:19:36 31603596830f: Verifying Checksum 04:19:36 31603596830f: Download complete 04:19:36 ecc8261a40a4: Verifying Checksum 04:19:36 ecc8261a40a4: Download complete 04:19:36 6ca5941a6612: Verifying Checksum 04:19:36 6ca5941a6612: Download complete 04:19:36 31603596830f: Pull complete 04:19:36 2a8b12db71e7: Pull complete 04:19:37 6ca5941a6612: Pull complete 04:19:37 ecc8261a40a4: Pull complete 04:19:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:19:37 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:19:39 $ docker top 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:40 [ssh-agent] Looking for ssh-agent implementation... 04:19:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:40 $ docker exec 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent 04:19:40 SSH_AUTH_SOCK=/tmp/ssh-Vee9onaGp3MP/agent.12 04:19:40 SSH_AGENT_PID=17 04:19:40 Running ssh-add (command line suppressed) 04:19:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1921494108299176206.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1921494108299176206.key) 04:19:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:41 + git tag --points-at HEAD [Pipeline] } 04:19:41 $ docker exec --env ******** --env ******** 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent -k 04:19:41 unset SSH_AUTH_SOCK; 04:19:41 unset SSH_AGENT_PID; 04:19:41 echo Agent pid 17 killed; 04:19:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:41 [ssh-agent] Looking for ssh-agent implementation... 04:19:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:41 $ docker exec 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent 04:19:41 SSH_AUTH_SOCK=/tmp/ssh-gV31KIjAyzb1/agent.47 04:19:41 SSH_AGENT_PID=53 04:19:41 Running ssh-add (command line suppressed) 04:19:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2739957871916095781.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2739957871916095781.key) 04:19:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:42 + git semver init 04:19:42 # -> Open(): unable to determine branch for HEAD 04:19:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:19:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:19:42 # $SEMVER_REMOTE_NAME = origin 04:19:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:19:42 # $SEMVER_USER_NAME = edgex-jenkins 04:19:42 # $SEMVER_BRANCH = master 04:19:42 # $SEMVER_TEMP = /tmp/semver-298224892 04:19:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:19:43 # '/tmp/semver-298224892' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 04:19:43 # -> Force: false 04:19:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:19:43 $ docker exec --env ******** --env ******** 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 ssh-agent -k 04:19:43 unset SSH_AUTH_SOCK; 04:19:43 unset SSH_AGENT_PID; 04:19:43 echo Agent pid 53 killed; 04:19:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:44 + git semver [Pipeline] } 04:19:44 $ docker stop --time=1 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 04:19:45 $ docker rm -f 7d727d5e71a953dae7207fe0c2e2caea8f5e15667d2f540c104a1b6e65125010 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:46 Stashed 1 file(s) [Pipeline] echo 04:19:46 [edgeXSemver]: initialized semver on version 2.0.0-dev.23 [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 04:20:01 Still waiting to schedule task 04:20:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:20:01 Still waiting to schedule task 04:20:01 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:21:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29937 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:21:52 Running in /w/workspace/device-sdk-go/128 [Pipeline] { [Pipeline] checkout 04:21:57 using credential edgex-jenkins-ssh 04:21:57 Cloning the remote Git repository 04:21:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:58 > git init /w/workspace/device-sdk-go/128 # timeout=10 04:21:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:58 > git --version # timeout=10 04:21:58 > git --version # 'git version 2.17.1' 04:21:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:59 Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) 04:21:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:21:59 > git config core.sparsecheckout # timeout=10 04:21:59 > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 04:22:04 Commit message: "Merge pull request #818 from hahattan/sdk-api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:06 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:22:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:22:06 + sudo service docker restart 04:22:06 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:22:09 provisioning config files... 04:22:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/128@tmp/config2311105844624273383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:10 ---> docker-login.sh 04:22:10 nexus3.edgexfoundry.org:10001 04:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:11 Configure a credential helper to remove this warning. See 04:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:11 04:22:11 Login Succeeded 04:22:11 nexus3.edgexfoundry.org:10002 04:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:11 Configure a credential helper to remove this warning. See 04:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:11 04:22:11 Login Succeeded 04:22:11 nexus3.edgexfoundry.org:10003 04:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:12 Configure a credential helper to remove this warning. See 04:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:12 04:22:12 Login Succeeded 04:22:12 nexus3.edgexfoundry.org:10004 04:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:12 Configure a credential helper to remove this warning. See 04:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:12 04:22:12 Login Succeeded 04:22:12 docker.io 04:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:13 Configure a credential helper to remove this warning. See 04:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:13 04:22:13 Login Succeeded 04:22:13 ---> docker-login.sh ends [Pipeline] } 04:22:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:14 ========================================================= 04:22:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:22:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:22:14 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 04:22:14 Sending build context to Docker daemon 2.256MB 04:22:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:22:15 Step 2/8 : FROM ${BASE} 04:22:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:22:15 5f621e34cdf4: Pulling fs layer 04:22:15 a4357932f1b6: Pulling fs layer 04:22:15 18c013af1878: Pulling fs layer 04:22:15 00ac8860ef70: Pulling fs layer 04:22:15 63d7cb157983: Pulling fs layer 04:22:15 b116817d02f9: Pulling fs layer 04:22:15 745a02a5169b: Pulling fs layer 04:22:15 00ac8860ef70: Waiting 04:22:15 63d7cb157983: Waiting 04:22:15 b116817d02f9: Waiting 04:22:15 745a02a5169b: Waiting 04:22:15 18c013af1878: Verifying Checksum 04:22:15 a4357932f1b6: Verifying Checksum 04:22:15 18c013af1878: Download complete 04:22:15 a4357932f1b6: Download complete 04:22:15 63d7cb157983: Verifying Checksum 04:22:15 63d7cb157983: Download complete 04:22:15 5f621e34cdf4: Verifying Checksum 04:22:15 5f621e34cdf4: Download complete 04:22:15 b116817d02f9: Verifying Checksum 04:22:15 b116817d02f9: Download complete 04:22:15 5f621e34cdf4: Pull complete 04:22:16 a4357932f1b6: Pull complete 04:22:17 18c013af1878: Pull complete 04:22:18 745a02a5169b: Verifying Checksum 04:22:18 745a02a5169b: Download complete 04:22:19 00ac8860ef70: Verifying Checksum 04:22:19 00ac8860ef70: Download complete 04:22:24 Running on prd-centos7-docker-4c-2g-29938 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:22:24 Running in /w/workspace/device-sdk-go/128 [Pipeline] { [Pipeline] checkout 04:22:27 using credential edgex-jenkins-ssh 04:22:27 Cloning the remote Git repository 04:22:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:22:26 > git init /w/workspace/device-sdk-go/128 # timeout=10 04:22:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:26 > git --version # timeout=10 04:22:26 > git --version # 'git version 2.24.3' 04:22:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:22:28 Checking out Revision 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (master) 04:22:28 > git config core.sparsecheckout # timeout=10 04:22:28 > git checkout -f 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 04:22:29 00ac8860ef70: Pull complete 04:22:29 63d7cb157983: Pull complete 04:22:29 b116817d02f9: Pull complete 04:22:31 Commit message: "Merge pull request #818 from hahattan/sdk-api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:22:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:22:33 + sudo service docker restart 04:22:33 + true 04:22:33 Redirecting to /bin/systemctl restart docker.service 04:22:34 745a02a5169b: Pull complete 04:22:34 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:22:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:22:34 ---> b7e6874047d6 04:22:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:22:35 provisioning config files... 04:22:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/128@tmp/config2591124869286526832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:35 ---> docker-login.sh 04:22:35 nexus3.edgexfoundry.org:10001 04:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:35 Configure a credential helper to remove this warning. See 04:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:35 04:22:35 Login Succeeded 04:22:35 nexus3.edgexfoundry.org:10002 04:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:35 Configure a credential helper to remove this warning. See 04:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:35 04:22:35 Login Succeeded 04:22:35 nexus3.edgexfoundry.org:10003 04:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:36 Configure a credential helper to remove this warning. See 04:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:36 04:22:36 Login Succeeded 04:22:36 nexus3.edgexfoundry.org:10004 04:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:36 Configure a credential helper to remove this warning. See 04:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:36 04:22:36 Login Succeeded 04:22:36 docker.io 04:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:36 Configure a credential helper to remove this warning. See 04:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:36 04:22:36 Login Succeeded 04:22:36 ---> docker-login.sh ends [Pipeline] } 04:22:36 Deleting 1 temporary files [Pipeline] // wrap 04:22:36 ---> Running in 36e13071a0b2 04:22:36 Removing intermediate container 36e13071a0b2 04:22:36 ---> 3331a13e2a0b 04:22:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:36 ---> Running in 89e4a3f39e45 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:37 ========================================================= 04:22:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:22:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:22:37 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 04:22:37 Sending build context to Docker daemon 2.257MB 04:22:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:22:37 Step 2/8 : FROM ${BASE} 04:22:37 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:37 188c0c94c7c5: Pulling fs layer 04:22:37 0ef7d3d256c8: Pulling fs layer 04:22:37 de9db76c5a1d: Pulling fs layer 04:22:37 bca2f99d35d6: Pulling fs layer 04:22:37 93359f2a8cfa: Pulling fs layer 04:22:37 7c6f9722023f: Pulling fs layer 04:22:37 a35cf1a2eb13: Pulling fs layer 04:22:37 93359f2a8cfa: Waiting 04:22:37 7c6f9722023f: Waiting 04:22:37 a35cf1a2eb13: Waiting 04:22:37 bca2f99d35d6: Waiting 04:22:37 de9db76c5a1d: Verifying Checksum 04:22:37 de9db76c5a1d: Download complete 04:22:37 0ef7d3d256c8: Verifying Checksum 04:22:37 0ef7d3d256c8: Download complete 04:22:37 93359f2a8cfa: Verifying Checksum 04:22:37 93359f2a8cfa: Download complete 04:22:37 7c6f9722023f: Download complete 04:22:37 188c0c94c7c5: Verifying Checksum 04:22:37 188c0c94c7c5: Download complete 04:22:38 188c0c94c7c5: Pull complete 04:22:38 0ef7d3d256c8: Pull complete 04:22:38 de9db76c5a1d: Pull complete 04:22:38 Removing intermediate container 89e4a3f39e45 04:22:38 ---> 3b5561457cbf 04:22:38 Step 5/8 : RUN apk add --update --no-cache make git 04:22:39 ---> Running in ff0c3dfe9b92 04:22:39 a35cf1a2eb13: Verifying Checksum 04:22:39 a35cf1a2eb13: Download complete 04:22:40 bca2f99d35d6: Verifying Checksum 04:22:40 bca2f99d35d6: Download complete 04:22:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:22:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:22:41 OK: 142 MiB in 39 packages 04:22:42 Removing intermediate container ff0c3dfe9b92 04:22:42 ---> dd5f9e358118 04:22:42 Step 6/8 : WORKDIR /device-sdk-go 04:22:42 ---> Running in b063b82248ad 04:22:43 Removing intermediate container b063b82248ad 04:22:43 ---> 80b170b97ab1 04:22:43 Step 7/8 : COPY . . 04:22:44 ---> caa80b9ad6aa 04:22:44 Step 8/8 : RUN go mod download 04:22:44 ---> Running in dcc75e73ed1b 04:22:45 bca2f99d35d6: Pull complete 04:22:45 93359f2a8cfa: Pull complete 04:22:45 7c6f9722023f: Pull complete 04:22:50 a35cf1a2eb13: Pull complete 04:22:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:22:50 ---> a62c8e92a672 04:22:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:50 ---> Running in dbf80236e0ab 04:22:50 Removing intermediate container dbf80236e0ab 04:22:50 ---> e4e52a703f9d 04:22:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:50 ---> Running in 7c78c9a019bc 04:22:51 Removing intermediate container 7c78c9a019bc 04:22:51 ---> e069b55339e3 04:22:51 Step 5/8 : RUN apk add --update --no-cache make git 04:22:52 ---> Running in 99b289d3e33a 04:22:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:22:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:22:53 OK: 166 MiB in 39 packages 04:22:54 Removing intermediate container 99b289d3e33a 04:22:54 ---> d9f399c43def 04:22:54 Step 6/8 : WORKDIR /device-sdk-go 04:22:54 ---> Running in 70abe6d0a58d 04:22:54 Removing intermediate container 70abe6d0a58d 04:22:54 ---> ac4bedf39e3b 04:22:54 Step 7/8 : COPY . . 04:22:55 ---> c23a9e8fd09a 04:22:55 Step 8/8 : RUN go mod download 04:22:55 ---> Running in 82d152dfdbf6 04:23:11 Removing intermediate container dcc75e73ed1b 04:23:11 ---> 272e5d8f7164 04:23:11 Successfully built 272e5d8f7164 04:23:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:23:11 + docker inspect -f . ci-base-image-arm64 04:23:11 . [Pipeline] withDockerContainer 04:23:11 prd-ubuntu18.04-docker-arm64-4c-16g-29937 does not seem to be running inside a container 04:23:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@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 ******** ci-base-image-arm64 cat 04:23:13 $ docker top b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:14 + go version 04:23:14 go version go1.15.5 linux/arm64 [Pipeline] } 04:23:14 $ docker stop --time=1 b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b 04:23:16 $ docker rm -f b1ca461a48e14258dfb4b14f3d2b499312c5581dcba88f55c723f9359f64fb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:17 + docker inspect -f . ci-base-image-arm64 04:23:17 . [Pipeline] withDockerContainer 04:23:17 prd-ubuntu18.04-docker-arm64-4c-16g-29937 does not seem to be running inside a container 04:23:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@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 ******** ci-base-image-arm64 cat 04:23:17 Removing intermediate container 82d152dfdbf6 04:23:17 ---> ec9f0564ab2a 04:23:17 Successfully built ec9f0564ab2a 04:23:17 Successfully tagged ci-base-image-x86_64:latest 04:23:19 $ docker top b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 04:23:20 + docker inspect -f . ci-base-image-x86_64 04:23:20 . [Pipeline] withDockerContainer 04:23:20 prd-centos7-docker-4c-2g-29938 does not seem to be running inside a container 04:23:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@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 ******** ci-base-image-x86_64 cat 04:23:20 + make test 04:23:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:23:21 $ docker top da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:21 + go version 04:23:21 go version go1.15.5 linux/amd64 [Pipeline] } 04:23:21 $ docker stop --time=1 da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 04:23:22 $ docker rm -f da2251753d4c4d7ce067b3b10cfe31b4ff2d152be69b03da22c4d76d18ad6315 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:23:23 + docker inspect -f . ci-base-image-x86_64 04:23:23 . [Pipeline] withDockerContainer 04:23:23 prd-centos7-docker-4c-2g-29938 does not seem to be running inside a container 04:23:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/128 -v /w/workspace/device-sdk-go/128:/w/workspace/device-sdk-go/128:rw,z -v /w/workspace/device-sdk-go/128@tmp:/w/workspace/device-sdk-go/128@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 ******** ci-base-image-x86_64 cat 04:23:24 $ docker top 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:25 + make test 04:23:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:23:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:23:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:23:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:23:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:23:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:23:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements 04:24:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:24:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:24:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 12.5% of statements 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.056s coverage: 84.8% of statements 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 57.3% of statements 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.2% of statements 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.082s coverage: 24.8% of statements 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.101s coverage: 6.4% of statements 04:24:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements 04:24:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:24:22 GO111MODULE=on go vet ./... 04:24:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 25.5% of statements 04:24:29 gofmt -l . 04:24:29 [ "`gofmt -l .`" = "" ] 04:24:29 ./bin/test-attribution-txt.sh 04:24:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:24:30 $ docker stop --time=1 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 04:24:32 $ docker rm -f 58c43b7b6ae6b96eb41b6d69c7cee62f34a4f2fa1e3c8e99347baedf052e4dd5 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:24:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:36 + ls -al . 04:24:36 total 188 04:24:36 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 16 04:24 . 04:24:36 drwxrwxr-x. 4 jenkins jenkins 32 Mar 16 04:22 .. 04:24:36 drwxrwxr-x. 2 jenkins jenkins 64 Mar 16 04:22 bin 04:24:36 -rw-r--r--. 1 jenkins jenkins 103667 Mar 16 04:24 coverage.out 04:24:36 -rw-rw-r--. 1 jenkins jenkins 949 Mar 16 04:22 Dockerfile.build 04:24:36 -rw-rw-r--. 1 jenkins jenkins 140 Mar 16 04:22 .dockerignore 04:24:36 drwxrwxr-x. 4 jenkins jenkins 48 Mar 16 04:22 example 04:24:36 drwxrwxr-x. 8 jenkins jenkins 162 Mar 16 04:22 .git 04:24:36 drwxrwxr-x. 2 jenkins jenkins 103 Mar 16 04:22 .github 04:24:36 -rw-rw-r--. 1 jenkins jenkins 138 Mar 16 04:22 .gitignore 04:24:36 -rw-r--r--. 1 jenkins jenkins 479 Mar 16 04:24 go.mod 04:24:36 -rw-r--r--. 1 jenkins jenkins 17490 Mar 16 04:24 go.sum 04:24:36 drwxrwxr-x. 12 jenkins jenkins 171 Mar 16 04:22 internal 04:24:36 -rw-rw-r--. 1 jenkins jenkins 901 Mar 16 04:22 Jenkinsfile 04:24:36 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 16 04:22 LICENSE 04:24:36 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 16 04:22 Makefile 04:24:36 drwxrwxr-x. 4 jenkins jenkins 26 Mar 16 04:22 openapi 04:24:36 drwxrwxr-x. 5 jenkins jenkins 50 Mar 16 04:22 pkg 04:24:36 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 16 04:22 README.md 04:24:36 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 16 04:22 RELEASE-NOTES.txt 04:24:36 drwxrwxr-x. 4 jenkins jenkins 54 Mar 16 04:22 snap 04:24:36 -rw-rw-r--. 1 jenkins jenkins 12 Mar 16 04:19 VERSION 04:24:36 -rw-rw-r--. 1 jenkins jenkins 222 Mar 16 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:24:36 + 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=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 --label arch=amd64 --label version=2.0.0-dev.23 . 04:24:37 Sending build context to Docker daemon 2.361MB 04:24:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:24:37 Step 2/24 : FROM ${BASE} AS builder 04:24:37 ---> ec9f0564ab2a 04:24:37 Step 3/24 : ARG MAKE='make build' 04:24:37 ---> Running in 9321cefade0c 04:24:37 Removing intermediate container 9321cefade0c 04:24:37 ---> 89a4655039e8 04:24:37 Step 4/24 : WORKDIR /device-sdk-go 04:24:37 ---> Running in e5a6606b3b9e 04:24:37 Removing intermediate container e5a6606b3b9e 04:24:37 ---> 3361b0343a36 04:24:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:37 ---> Running in 11cf93b98b34 04:24:38 Removing intermediate container 11cf93b98b34 04:24:38 ---> 3f69050991a1 04:24:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:38 ---> Running in c28a3293060e 04:24:39 Removing intermediate container c28a3293060e 04:24:39 ---> 23b30e66c549 04:24:39 Step 7/24 : RUN apk add --update --no-cache make git 04:24:39 ---> Running in 1026cb44c975 04:24:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:24:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:24:40 OK: 166 MiB in 39 packages 04:24:41 Removing intermediate container 1026cb44c975 04:24:41 ---> 2c830d10e485 04:24:41 Step 8/24 : COPY . . 04:24:42 ---> cf9ab31f5d19 04:24:42 Step 9/24 : RUN ${MAKE} 04:24:42 ---> Running in 81f79b7044e2 04:24:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:24:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:24:53 Removing intermediate container 81f79b7044e2 04:24:53 ---> ab1127e68a23 04:24:53 Step 10/24 : FROM scratch 04:24:53 ---> 04:24:53 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:53 ---> Running in 103cbd91b4b8 04:24:53 Removing intermediate container 103cbd91b4b8 04:24:53 ---> a5b08c8f56d4 04:24:53 Step 12/24 : ENV APP_PORT=49990 04:24:53 ---> Running in 86915bc6f60a 04:24:53 Removing intermediate container 86915bc6f60a 04:24:53 ---> 751d9ca11ec3 04:24:53 Step 13/24 : EXPOSE $APP_PORT 04:24:53 ---> Running in c30e6de377b2 04:24:53 Removing intermediate container c30e6de377b2 04:24:53 ---> 2f8ce75509c9 04:24:53 Step 14/24 : WORKDIR / 04:24:53 ---> Running in 20382ec77427 04:24:53 Removing intermediate container 20382ec77427 04:24:53 ---> a7f0cde7287a 04:24:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:24:54 ---> 06255a216e70 04:24:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:24:54 ---> def8d70fa7ea 04:24:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:24:55 ---> 33b7f7006885 04:24:55 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:24:55 ---> 94f6e26bad6c 04:24:55 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:24:55 ---> 6ea7d4313670 04:24:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:24:55 ---> Running in 97425597728d 04:24:55 Removing intermediate container 97425597728d 04:24:55 ---> 7b9f1e3b0738 04:24:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:24:55 ---> Running in 7d42f0d53399 04:24:55 Removing intermediate container 7d42f0d53399 04:24:55 ---> 7ec49682efc3 04:24:55 Step 22/24 : LABEL arch=amd64 04:24:55 ---> Running in 75f6eeb44639 04:24:56 Removing intermediate container 75f6eeb44639 04:24:56 ---> e40e719ce59f 04:24:56 Step 23/24 : LABEL git_sha=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 04:24:56 ---> Running in d4c72acf2eaf 04:24:56 Removing intermediate container d4c72acf2eaf 04:24:56 ---> a607f7463711 04:24:56 Step 24/24 : LABEL version=2.0.0-dev.23 04:24:56 ---> Running in e137b3b679e4 04:24:56 Removing intermediate container e137b3b679e4 04:24:56 ---> 4b07a9f8b6fa 04:24:56 [Warning] One or more build-args [ARCH] were not consumed 04:24:56 Successfully built 4b07a9f8b6fa 04:24:56 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 04:24:57 ---> job-cost.sh 04:24:57 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yMtY 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 10.5% of statements 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.122s coverage: 12.5% of statements 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.148s coverage: 84.8% of statements 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.276s coverage: 57.3% of statements 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.167s coverage: 81.2% of statements 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.194s coverage: 24.8% of statements 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.817s coverage: 6.4% of statements 04:24:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 5.1% of statements 04:24:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:24:58 GO111MODULE=on go vet ./... 04:25:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:25:30 gofmt -l . 04:25:30 [ "`gofmt -l .`" = "" ] 04:25:30 ./bin/test-attribution-txt.sh 04:25:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:25:30 $ docker stop --time=1 b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 04:25:33 $ docker rm -f b619a862b5b0ae291f7f27ed979ba19dff8ac7339d562b65ab571b7b5821e177 [Pipeline] // withDockerContainer [Pipeline] sh 04:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:34 Warning: overwriting stash ‘coverage-report’ 04:25:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:36 + ls -al . 04:25:36 total 224 04:25:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 04:25 . 04:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:21 .. 04:25:36 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 04:22 .dockerignore 04:25:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 04:22 .git 04:25:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:22 .github 04:25:36 -rw-rw-r-- 1 jenkins jenkins 138 Mar 16 04:22 .gitignore 04:25:36 -rw-rw-r-- 1 jenkins jenkins 949 Mar 16 04:22 Dockerfile.build 04:25:36 -rw-rw-r-- 1 jenkins jenkins 901 Mar 16 04:22 Jenkinsfile 04:25:36 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 04:22 LICENSE 04:25:36 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 16 04:22 Makefile 04:25:36 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 16 04:22 README.md 04:25:36 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 16 04:22 RELEASE-NOTES.txt 04:25:36 -rw-rw-r-- 1 jenkins jenkins 12 Mar 16 04:19 VERSION 04:25:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 04:22 bin 04:25:36 -rw-r--r-- 1 jenkins jenkins 103667 Mar 16 04:24 coverage.out 04:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 example 04:25:36 -rw-r--r-- 1 jenkins jenkins 479 Mar 16 04:25 go.mod 04:25:36 -rw-r--r-- 1 jenkins jenkins 17490 Mar 16 04:25 go.sum 04:25:36 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 04:22 internal 04:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 openapi 04:25:36 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 04:22 pkg 04:25:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 04:22 snap 04:25:36 -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:25:36 + 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=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 --label arch=arm64 --label version=2.0.0-dev.23 . 04:25:36 Sending build context to Docker daemon 2.36MB 04:25:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:25:36 Step 2/24 : FROM ${BASE} AS builder 04:25:36 ---> 272e5d8f7164 04:25:36 Step 3/24 : ARG MAKE='make build' 04:25:37 ---> Running in ee64ba0e9d86 04:25:37 Removing intermediate container ee64ba0e9d86 04:25:37 ---> fb005b341255 04:25:37 Step 4/24 : WORKDIR /device-sdk-go 04:25:37 ---> Running in e5d6efb6cf0d 04:25:38 Removing intermediate container e5d6efb6cf0d 04:25:38 ---> c9889ae5d91c 04:25:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:25:38 ---> Running in 124a4d909890 04:25:38 Removing intermediate container 124a4d909890 04:25:38 ---> 278267ddf90b 04:25:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:25:38 ---> Running in 6a4b4a3d7df7 04:25:39 lf-activate-venv(): INFO: Adding /tmp/venv-yMtY/bin to PATH 04:25:39 INFO: No Stack... 04:25:39 INFO: Retrieving Pricing Info for: v1-standard-2 04:25:40 INFO: Archiving Costs [Pipeline] sh 04:25:40 Removing intermediate container 6a4b4a3d7df7 04:25:40 ---> da5394f5b140 04:25:40 Step 7/24 : RUN apk add --update --no-cache make git 04:25:40 + cat /w/workspace/device-sdk-go/128/archives/cost.csv 04:25:40 + cut -d, -f6 [Pipeline] lock 04:25:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] 04:25:40 Resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] did not exist. Created. 04:25:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] { 04:25:41 ---> Running in 6a9199d9cf9e [Pipeline] unstash [Pipeline] sh 04:25:41 + echo total: 0.029999999329447746 [Pipeline] stash 04:25:41 Stashed 1 file(s) [Pipeline] } 04:25:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 04:25:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage [Pipeline] } 04:25:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:25:43 OK: 142 MiB in 39 packages 04:25:44 Removing intermediate container 6a9199d9cf9e 04:25:44 ---> dc5fbe3c4a9a 04:25:44 Step 8/24 : COPY . . 04:25:45 ---> 35a26e32b5ad 04:25:45 Step 9/24 : RUN ${MAKE} 04:25:45 ---> Running in 4aa7a86c1dfb 04:25:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.23" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:26:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:26:14 Removing intermediate container 4aa7a86c1dfb 04:26:14 ---> 045b0fc1b1a7 04:26:14 Step 10/24 : FROM scratch 04:26:14 ---> 04:26:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:14 ---> Running in e8e8a9c5a233 04:26:14 Removing intermediate container e8e8a9c5a233 04:26:14 ---> 1bb6ac491cf2 04:26:14 Step 12/24 : ENV APP_PORT=49990 04:26:14 ---> Running in 3bd750ea5192 04:26:15 Removing intermediate container 3bd750ea5192 04:26:15 ---> 8da6d31279cf 04:26:15 Step 13/24 : EXPOSE $APP_PORT 04:26:15 ---> Running in b4bd3958940e 04:26:15 Removing intermediate container b4bd3958940e 04:26:15 ---> 9d1bc538c9d0 04:26:15 Step 14/24 : WORKDIR / 04:26:15 ---> Running in db3dddb9d848 04:26:16 Removing intermediate container db3dddb9d848 04:26:16 ---> 6c791685cf3e 04:26:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:26:17 ---> bdfdd87a8ec6 04:26:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:26:17 ---> 93486f13ef24 04:26:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:26:18 ---> 136da843d580 04:26:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:26:19 ---> 528a27b4a262 04:26:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:26:20 ---> 9c8e71be20a0 04:26:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:26:20 ---> Running in f6ba59b88f92 04:26:20 Removing intermediate container f6ba59b88f92 04:26:20 ---> a3d0cb4d5e10 04:26:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:26:20 ---> Running in 156ebcadaeab 04:26:21 Removing intermediate container 156ebcadaeab 04:26:21 ---> 3f2fd91f7ede 04:26:21 Step 22/24 : LABEL arch=arm64 04:26:21 ---> Running in 73e51b385847 04:26:21 Removing intermediate container 73e51b385847 04:26:21 ---> 50a8dcfdd6e9 04:26:21 Step 23/24 : LABEL git_sha=79c51434d0b6ff974f0a74c9d16ec224deffdcc1 04:26:21 ---> Running in 0877ac2b4c03 04:26:22 Removing intermediate container 0877ac2b4c03 04:26:22 ---> b00f7b02159f 04:26:22 Step 24/24 : LABEL version=2.0.0-dev.23 04:26:22 ---> Running in 855778c1d11f 04:26:23 Removing intermediate container 855778c1d11f 04:26:23 ---> 0fc89bf56193 04:26:23 [Warning] One or more build-args [ARCH] were not consumed 04:26:23 Successfully built 0fc89bf56193 04:26:23 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 04:26:23 ---> job-cost.sh 04:26:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ANxM 04:27:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:28:24 lf-activate-venv(): INFO: Adding /tmp/venv-ANxM/bin to PATH 04:28:24 INFO: No Stack... 04:28:25 INFO: Retrieving Pricing Info for: lf-standard-4 04:28:25 INFO: Archiving Costs [Pipeline] sh 04:28:25 + + cutcat -d, /w/workspace/device-sdk-go/128/archives/cost.csv -f6 04:28:25 [Pipeline] lock 04:28:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] 04:28:26 Resource [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] did not exist. Created. 04:28:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:26 /w/workspace/device-sdk-go/128@tmp/durable-57d4d490/script.sh: 1: /w/workspace/device-sdk-go/128@tmp/durable-57d4d490/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:26 + echo total: 0.20999999344348907 [Pipeline] stash 04:28:26 Warning: overwriting stash ‘stack-cost’ 04:28:27 Stashed 1 file(s) [Pipeline] } 04:28:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-128-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 04:28:28 provisioning config files... 04:28:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5983627597458549295tmp [Pipeline] { [Pipeline] sh 04:28:29 + set +x 04:28:29 + curl -s https://codecov.io/bash 04:28:29 + bash -s -- 04:28:29 04:28:29 _____ _ 04:28:29 / ____| | | 04:28:29 | | ___ __| | ___ ___ _____ __ 04:28:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:29 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:29 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:29 Bash-20210309-2b87ace 04:28:29 04:28:29 04:28:29 ==> git version 2.24.3 found 04:28:29 ==> 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 04:28:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:28:29 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:28:29 curl: option -sm: expected a proper numerical parameter 04:28:29 curl: try 'curl --help' or 'curl --manual' for more information 04:28:29 ==> Jenkins CI detected. 04:28:29 project root: . 04:28:29 --> token set from env 04:28:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:29 ==> Running gcov in . (disable via -X gcov) 04:28:29 ==> Python coveragepy not found 04:28:29 ==> Searching for coverage reports in: 04:28:29 + . 04:28:29 -> Found 1 reports 04:28:29 ==> Detecting git/mercurial file structure 04:28:29 ==> Reading reports 04:28:29 + ./coverage.out bytes=103667 04:28:29 ==> Appending adjustments 04:28:29 https://docs.codecov.io/docs/fixing-reports 04:28:29 + Found adjustments 04:28:29 ==> Gzipping contents 04:28:29 16K /tmp/codecov.vE7msg.gz 04:28:29 ==> Uploading reports 04:28:29 url: https://codecov.io 04:28:29 query: branch=master&commit=79c51434d0b6ff974f0a74c9d16ec224deffdcc1&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:28:29 -> Pinging Codecov 04:28:29 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=79c51434d0b6ff974f0a74c9d16ec224deffdcc1&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:28:30 -> Uploading to 04:28:30 https://storage.googleapis.com/codecov/v4/raw/2021-03-16/7E55EF52A471D76F132DFD9A03CDDE97/79c51434d0b6ff974f0a74c9d16ec224deffdcc1/d6568ad3-6912-482b-ab6c-ba4f824f51b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210316T042829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=616bb415b7639df2a357fcf67571e0add1b68f9616ec0fca3956d07f42856085 04:28:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:30 Dload Upload Total Spent Left Speed 04:28:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13845 0 0 100 13845 0 27387 --:--:-- --:--:-- --:--:-- 27415 04:28:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] } 04:28:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:28:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:28:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:28:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:32 04:28:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:28:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:28:32 188c0c94c7c5: Pulling fs layer 04:28:32 0ef7d3d256c8: Pulling fs layer 04:28:32 de9db76c5a1d: Pulling fs layer 04:28:32 0eba1c9be4d2: Pulling fs layer 04:28:32 0d57e429df01: Pulling fs layer 04:28:32 4e4be7b47b0d: Pulling fs layer 04:28:32 e1f770b5df2f: Pulling fs layer 04:28:32 85a0685a4137: Pulling fs layer 04:28:32 0eba1c9be4d2: Waiting 04:28:32 85a0685a4137: Waiting 04:28:32 0d57e429df01: Waiting 04:28:32 4e4be7b47b0d: Waiting 04:28:32 e1f770b5df2f: Waiting 04:28:32 de9db76c5a1d: Verifying Checksum 04:28:32 de9db76c5a1d: Download complete 04:28:32 0ef7d3d256c8: Verifying Checksum 04:28:32 0ef7d3d256c8: Download complete 04:28:32 0d57e429df01: Verifying Checksum 04:28:32 0d57e429df01: Download complete 04:28:32 4e4be7b47b0d: Download complete 04:28:32 188c0c94c7c5: Verifying Checksum 04:28:33 188c0c94c7c5: Pull complete 04:28:33 0ef7d3d256c8: Pull complete 04:28:33 e1f770b5df2f: Verifying Checksum 04:28:33 e1f770b5df2f: Download complete 04:28:33 de9db76c5a1d: Pull complete 04:28:35 0eba1c9be4d2: Verifying Checksum 04:28:35 0eba1c9be4d2: Download complete 04:28:35 85a0685a4137: Verifying Checksum 04:28:35 85a0685a4137: Download complete 04:28:40 0eba1c9be4d2: Pull complete 04:28:40 0d57e429df01: Pull complete 04:28:40 4e4be7b47b0d: Pull complete 04:28:44 e1f770b5df2f: Pull complete 04:28:51 85a0685a4137: Pull complete 04:28:51 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:28:51 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:28:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:28:53 $ docker top 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 -eo pid,comm [Pipeline] { [Pipeline] echo 04:28:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:28:53 + set -o pipefail 04:28:53 + snyk monitor '--org=edgex-jenkins' 04:29:03 04:29:03 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 04:29:03 04:29:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/761879a6-3395-4dfc-a8dc-0cc53c32ed63 04:29:03 04:29:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:29:03 04:29:03 [Pipeline] } 04:29:03 $ docker stop --time=1 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 04:29:06 $ docker rm -f 7b2d2f53c876450b5c0ba1a5dae8dd369c605a9fd070fc8e3a31cbc1fb5f8c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:29:07 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:07 provisioning config files... 04:29:07 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2394121352434897645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:08 --> edgex-publish-swagger.sh 04:29:08 === Publish openapi/v1 API === 04:29:08 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 04:29:08 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 04:29:08 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:08 Dload Upload Total Spent Left Speed 04:29:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23853 --:--:-- --:--:-- --:--:-- 23860 100 19947 0 0 100 19947 0 23846 --:--:-- --:--:-- --:--:-- 23860 04:29:09 04:29:09 04:29:09 === Publish openapi/v2 API === 04:29:09 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:29:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 04:29:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:09 Dload Upload Total Spent Left Speed 04:29:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 74888 --:--:-- --:--:-- --:--:-- 74938 04:29:09 04:29:09 [Pipeline] } 04:29:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:10 + git log --format=format:%s -1 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 [Pipeline] isUnix [Pipeline] sh 04:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:29:11 . [Pipeline] withDockerContainer 04:29:11 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:29:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:29:11 $ docker top d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:12 [ssh-agent] Looking for ssh-agent implementation... 04:29:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:12 $ docker exec d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 ssh-agent 04:29:12 SSH_AUTH_SOCK=/tmp/ssh-f1vJ0V8uiFcO/agent.12 04:29:12 SSH_AGENT_PID=18 04:29:12 Running ssh-add (command line suppressed) 04:29:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3329801548463128257.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3329801548463128257.key) 04:29:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:13 + git semver tag 04:29:13 # -> Open(): unable to determine branch for HEAD 04:29:13 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:29:13 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:29:13 # $SEMVER_REMOTE_NAME = origin 04:29:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:29:13 # $SEMVER_USER_NAME = edgex-jenkins 04:29:13 # $SEMVER_BRANCH = master 04:29:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:29:13 # 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 HEAD 04:29:13 # -> Force: false 04:29:13 # 821c612b2dc49246f9e39c2f8e66a8dcce0631ce refs/tags/v2.0.0-dev.23 [Pipeline] } 04:29:13 $ docker exec --env ******** --env ******** d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 ssh-agent -k 04:29:13 unset SSH_AUTH_SOCK; 04:29:13 unset SSH_AGENT_PID; 04:29:13 echo Agent pid 18 killed; 04:29:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:13 + git semver [Pipeline] } 04:29:13 $ docker stop --time=1 d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 04:29:15 $ docker rm -f d86747756750d70f23e3b6df16a0e2a843c61065d62f7fcd7ccdb74bd8e90173 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:29:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:16 04:29:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:29:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:16 0.23.1-centos7: Pulling from edgex-lftools 04:29:16 ab5ef0e58194: Pulling fs layer 04:29:16 9712f1f96733: Pulling fs layer 04:29:16 63f879dbbcfc: Pulling fs layer 04:29:16 0d9ebad4ef96: Pulling fs layer 04:29:16 e9a5061849ea: Pulling fs layer 04:29:16 d747dcd14b5f: Pulling fs layer 04:29:16 2de7ff778b66: Pulling fs layer 04:29:16 e9a5061849ea: Waiting 04:29:16 d747dcd14b5f: Waiting 04:29:16 2de7ff778b66: Waiting 04:29:16 0d9ebad4ef96: Waiting 04:29:16 9712f1f96733: Verifying Checksum 04:29:16 9712f1f96733: Download complete 04:29:18 63f879dbbcfc: Verifying Checksum 04:29:18 63f879dbbcfc: Download complete 04:29:18 e9a5061849ea: Download complete 04:29:18 d747dcd14b5f: Verifying Checksum 04:29:18 d747dcd14b5f: Download complete 04:29:18 2de7ff778b66: Verifying Checksum 04:29:18 2de7ff778b66: Download complete 04:29:18 0d9ebad4ef96: Verifying Checksum 04:29:18 0d9ebad4ef96: Download complete 04:29:19 ab5ef0e58194: Verifying Checksum 04:29:19 ab5ef0e58194: Download complete 04:29:23 ab5ef0e58194: Pull complete 04:29:23 9712f1f96733: Pull complete 04:29:26 63f879dbbcfc: Pull complete 04:29:32 0d9ebad4ef96: Pull complete 04:29:33 e9a5061849ea: Pull complete 04:29:33 d747dcd14b5f: Pull complete 04:29:36 2de7ff778b66: Pull complete 04:29:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:29:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:29:36 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:29:40 $ docker top fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:29:40 provisioning config files... 04:29:40 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8237176196361835241tmp 04:29:40 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3174113191173182124tmp 04:29:40 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1711487196220804861tmp [Pipeline] { [Pipeline] echo 04:29:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:29:41 ---> sigul-configuration.sh 04:29:41 gpg: directory `/root/.gnupg' created 04:29:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:29:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:29:41 gpg: keyring `/root/.gnupg/secring.gpg' created 04:29:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:29:41 gpg: CAST5 encrypted data 04:29:41 gpg: encrypted with 1 passphrase 04:29:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:29:41 + mkdir /home/jenkins 04:29:41 + mkdir /home/jenkins/sigul [Pipeline] sh 04:29:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:29:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:29:42 ---> sigul-install.sh 04:29:49 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:29:49 + git tag --list 04:29:49 0.7.1 04:29:49 delhi-tag 04:29:49 v1.0.0 04:29:49 v1.1.0 04:29:49 v1.1.1 04:29:49 v1.1.2 04:29:49 v1.2.0 04:29:49 v1.2.1 04:29:49 v1.2.2 04:29:49 v1.2.3 04:29:49 v1.3.0 04:29:49 v1.4.0 04:29:49 v2.0.0-dev.1 04:29:49 v2.0.0-dev.10 04:29:49 v2.0.0-dev.11 04:29:49 v2.0.0-dev.12 04:29:49 v2.0.0-dev.13 04:29:49 v2.0.0-dev.14 04:29:49 v2.0.0-dev.15 04:29:49 v2.0.0-dev.16 04:29:49 v2.0.0-dev.17 04:29:49 v2.0.0-dev.18 04:29:49 v2.0.0-dev.19 04:29:49 v2.0.0-dev.2 04:29:49 v2.0.0-dev.20 04:29:49 v2.0.0-dev.21 04:29:49 v2.0.0-dev.22 04:29:49 v2.0.0-dev.23 04:29:49 v2.0.0-dev.3 04:29:49 v2.0.0-dev.4 04:29:49 v2.0.0-dev.5 04:29:49 v2.0.0-dev.6 04:29:49 v2.0.0-dev.7 04:29:49 v2.0.0-dev.8 04:29:49 v2.0.0-dev.9 [Pipeline] sh 04:29:49 + lftools sign git-tag v2.0.0-dev.23 04:29:51 Signing Git tag with Sigul... 04:29:51 Signing v2.0.0-dev.23 [Pipeline] echo 04:29:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:29:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:29:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:29:52 $ docker stop --time=1 fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d 04:29:54 $ docker rm -f fe678bf2a5adf9e9266d38a56dbd3cc8da22b95510d60952399661cea7f8ba2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:29:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:29:55 . [Pipeline] withDockerContainer 04:29:55 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:29:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:29:56 $ docker top 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:56 [ssh-agent] Looking for ssh-agent implementation... 04:29:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:57 $ docker exec 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f ssh-agent 04:29:57 SSH_AUTH_SOCK=/tmp/ssh-pT80bscombJs/agent.11 04:29:57 SSH_AGENT_PID=16 04:29:57 Running ssh-add (command line suppressed) 04:29:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1860105692899565874.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1860105692899565874.key) 04:29:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:57 + git semver bump pre 04:29:57 # -> Open(): unable to determine branch for HEAD 04:29:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:29:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:29:57 # $SEMVER_REMOTE_NAME = origin 04:29:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:29:57 # $SEMVER_USER_NAME = edgex-jenkins 04:29:57 # $SEMVER_BRANCH = master 04:29:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:29:57 2.0.0-dev.24 [Pipeline] } 04:29:57 $ docker exec --env ******** --env ******** 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f ssh-agent -k 04:29:58 unset SSH_AUTH_SOCK; 04:29:58 unset SSH_AGENT_PID; 04:29:58 echo Agent pid 16 killed; 04:29:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:58 + git semver [Pipeline] } 04:29:58 $ docker stop --time=1 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f 04:29:59 $ docker rm -f 9aef4a3bfda56ae6f7678c31054bbb7f55b2a661e7742629971fb8586e2c103f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:30:00 . [Pipeline] withDockerContainer 04:30:00 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:30:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:30:01 $ docker top a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:01 [ssh-agent] Looking for ssh-agent implementation... 04:30:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:02 $ docker exec a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc ssh-agent 04:30:02 SSH_AUTH_SOCK=/tmp/ssh-Q2Yfv7gBUcI3/agent.13 04:30:02 SSH_AGENT_PID=18 04:30:02 Running ssh-add (command line suppressed) 04:30:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9085752269065064504.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9085752269065064504.key) 04:30:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:02 + git semver push 04:30:02 # -> Open(): unable to determine branch for HEAD 04:30:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:30:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:30:02 # $SEMVER_REMOTE_NAME = origin 04:30:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:30:02 # $SEMVER_USER_NAME = edgex-jenkins 04:30:02 # $SEMVER_BRANCH = master 04:30:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:30:09 $ docker exec --env ******** --env ******** a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc ssh-agent -k 04:30:09 unset SSH_AUTH_SOCK; 04:30:09 unset SSH_AGENT_PID; 04:30:09 echo Agent pid 18 killed; 04:30:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:10 + git semver [Pipeline] } 04:30:10 $ docker stop --time=1 a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc 04:30:11 $ docker rm -f a18626593c3733b6e2e206621b35c8af5c91afdf5a7e2d5c41984d5e4eba89bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 04:30:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:13 ---> package-listing.sh 04:30:13 ++ facter osfamily 04:30:13 ++ tr '[:upper:]' '[:lower:]' 04:30:13 + OS_FAMILY=redhat 04:30:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 04:30:13 + START_PACKAGES=/tmp/packages_start.txt 04:30:13 + END_PACKAGES=/tmp/packages_end.txt 04:30:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:13 + PACKAGES=/tmp/packages_start.txt 04:30:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:30:13 + PACKAGES=/tmp/packages_end.txt 04:30:13 + case "${OS_FAMILY}" in 04:30:13 + rpm -qa 04:30:13 + sort 04:30:19 + '[' -f /tmp/packages_start.txt ']' 04:30:19 + '[' -f /tmp/packages_end.txt ']' 04:30:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:30:19 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 04:30:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 04:30:19 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:30:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:30:19 04:30:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:30:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:30:20 alpine: Pulling from edgex-lftools-log-publisher 04:30:20 df20fa9351a1: Pulling fs layer 04:30:20 36b3adc4ff6f: Pulling fs layer 04:30:20 8ad3a11d3b57: Pulling fs layer 04:30:20 46f8f816bc3b: Pulling fs layer 04:30:20 93b61091891f: Pulling fs layer 04:30:20 93b9cdb0e59b: Pulling fs layer 04:30:20 5e14af77c1be: Pulling fs layer 04:30:20 01666e4c0597: Pulling fs layer 04:30:20 aa168da1d23b: Pulling fs layer 04:30:20 93b9cdb0e59b: Waiting 04:30:20 5e14af77c1be: Waiting 04:30:20 01666e4c0597: Waiting 04:30:20 aa168da1d23b: Waiting 04:30:20 46f8f816bc3b: Waiting 04:30:20 93b61091891f: Waiting 04:30:20 36b3adc4ff6f: Verifying Checksum 04:30:20 36b3adc4ff6f: Download complete 04:30:20 46f8f816bc3b: Verifying Checksum 04:30:20 46f8f816bc3b: Download complete 04:30:20 df20fa9351a1: Verifying Checksum 04:30:20 df20fa9351a1: Download complete 04:30:20 93b9cdb0e59b: Verifying Checksum 04:30:20 93b9cdb0e59b: Download complete 04:30:20 93b61091891f: Verifying Checksum 04:30:20 93b61091891f: Download complete 04:30:20 5e14af77c1be: Verifying Checksum 04:30:20 5e14af77c1be: Download complete 04:30:20 01666e4c0597: Verifying Checksum 04:30:20 01666e4c0597: Download complete 04:30:20 8ad3a11d3b57: Verifying Checksum 04:30:20 8ad3a11d3b57: Download complete 04:30:20 df20fa9351a1: Pull complete 04:30:21 36b3adc4ff6f: Pull complete 04:30:22 8ad3a11d3b57: Pull complete 04:30:22 46f8f816bc3b: Pull complete 04:30:22 aa168da1d23b: Verifying Checksum 04:30:22 aa168da1d23b: Download complete 04:30:23 93b61091891f: Pull complete 04:30:23 93b9cdb0e59b: Pull complete 04:30:23 5e14af77c1be: Pull complete 04:30:23 01666e4c0597: Pull complete 04:30:30 aa168da1d23b: Pull complete 04:30:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:30:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:30:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:30:30 prd-centos7-docker-4c-2g-29936 does not seem to be running inside a container 04:30:30 $ 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_master/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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:30:33 $ docker top bc17e48e9df2154adbfe29888766b0ebe64d399878b77c32061f366c1e75017d -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:34 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:34 + mkdir -p /var/log/sa [Pipeline] sh 04:30:34 + ls /var/log/sa-host 04:30:34 + sadf -c /var/log/sa-host/sa16 04:30:34 file_magic: OK 04:30:34 HZ: Using current value: 100 04:30:34 file_header: OK 04:30:34 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 04:30:34 Statistics: 04:30:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:30:34 File successfully converted to sysstat format version 12.2.1 04:30:34 + sadf -c /var/log/sa-host/sa23 04:30:34 file_magic: OK 04:30:34 HZ: Using current value: 100 04:30:34 file_header: OK 04:30:34 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 04:30:34 Statistics: 04:30:34 Hnuu...uuuununununu... 04:30:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:35 provisioning config files... 04:30:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1864114546577154060tmp [Pipeline] { [Pipeline] echo 04:30:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:36 ---> create-netrc.sh [Pipeline] } 04:30:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:30:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:30:36 ---> python-tools-install.sh [Pipeline] echo 04:30:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:36 ---> sudo-logs.sh 04:30:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:37 ---> job-cost.sh 04:30:37 lf-activate-venv: SKIPPING 04:30:37 DEBUG: total: 0.20999999344348907 04:30:37 INFO: Retrieving Stack Cost... 04:30:41 INFO: Retrieving Pricing Info for: v1-standard-2 04:30:41 INFO: Archiving Costs [Pipeline] echo 04:30:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:41 ---> logs-deploy.sh 04:30:41 lf-activate-venv: SKIPPING 04:30:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/128 04:30:41 INFO: archiving workspace using pattern(s): 04:30:43 Archives upload complete. 04:30:43 INFO: archiving logs to Nexus