Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b084bdeafa1e122a5c890164a05a3ac30530fc3 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30519 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 Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 Commit message: "Merge pull request #827 from hahattan/issue-825" > git rev-list --no-walk e2b795a37b7f4058c403051823a7e04e4e702841 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:38 ========================================================= 08:24:38 EdgeX Global Pipelines Version Info 08:24:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:39 ------------------- 08:24:39 stable info: 08:24:39 ------------------- 08:24:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:24:39 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 08:24:39 Message: update stable to v1.0.184 08:24:41 ------------------- 08:24:41 experimental info: 08:24:41 ------------------- 08:24:41 Commited By: **** collab-it+edgex@linuxfoundation.org 08:24:41 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 08:24:41 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:24:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:24:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:24:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:24:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:24:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:24:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:24:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b084bd [Pipeline] echo 08:24:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:24:44 provisioning config files... 08:24:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7239158384450277723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:45 ---> docker-login.sh 08:24:45 nexus3.edgexfoundry.org:10001 08:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:45 Configure a credential helper to remove this warning. See 08:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:45 08:24:45 Login Succeeded 08:24:45 nexus3.edgexfoundry.org:10002 08:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:45 Configure a credential helper to remove this warning. See 08:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:45 08:24:45 Login Succeeded 08:24:45 nexus3.edgexfoundry.org:10003 08:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:45 Configure a credential helper to remove this warning. See 08:24:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:45 08:24:45 Login Succeeded 08:24:45 nexus3.edgexfoundry.org:10004 08:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:46 Configure a credential helper to remove this warning. See 08:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:46 08:24:46 Login Succeeded 08:24:46 docker.io 08:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:24:46 Configure a credential helper to remove this warning. See 08:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:24:46 08:24:46 Login Succeeded 08:24:46 ---> docker-login.sh ends [Pipeline] } 08:24:46 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 08:24:47 + git log --format=format:%s -1 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] echo 08:24:47 GIT_COMMIT: 5b084bdeafa1e122a5c890164a05a3ac30530fc3, Commit Message: Merge pull request #827 from hahattan/issue-825 [Pipeline] echo 08:24:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:49 08:24:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:24:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:49 latest: Pulling from edgex-devops/git-semver 08:24:49 31603596830f: Pulling fs layer 08:24:49 2a8b12db71e7: Pulling fs layer 08:24:49 6ca5941a6612: Pulling fs layer 08:24:49 ecc8261a40a4: Pulling fs layer 08:24:49 ecc8261a40a4: Waiting 08:24:49 2a8b12db71e7: Verifying Checksum 08:24:49 2a8b12db71e7: Download complete 08:24:49 31603596830f: Verifying Checksum 08:24:49 31603596830f: Download complete 08:24:49 6ca5941a6612: Verifying Checksum 08:24:49 6ca5941a6612: Download complete 08:24:49 ecc8261a40a4: Verifying Checksum 08:24:49 ecc8261a40a4: Download complete 08:24:50 31603596830f: Pull complete 08:24:50 2a8b12db71e7: Pull complete 08:24:51 6ca5941a6612: Pull complete 08:24:51 ecc8261a40a4: Pull complete 08:24:51 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:24:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:24:51 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:24:51 $ 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 08:24:53 $ docker top a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:54 [ssh-agent] Looking for ssh-agent implementation... 08:24:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:54 $ docker exec a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent 08:24:54 SSH_AUTH_SOCK=/tmp/ssh-RAxCQRqQ9xWe/agent.11 08:24:54 SSH_AGENT_PID=16 08:24:54 Running ssh-add (command line suppressed) 08:24:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2053119396516511404.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2053119396516511404.key) 08:24:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:55 + git tag --points-at HEAD [Pipeline] } 08:24:55 $ docker exec --env ******** --env ******** a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent -k 08:24:55 unset SSH_AUTH_SOCK; 08:24:55 unset SSH_AGENT_PID; 08:24:55 echo Agent pid 16 killed; 08:24:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:24:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:55 [ssh-agent] Looking for ssh-agent implementation... 08:24:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:55 $ docker exec a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent 08:24:55 SSH_AUTH_SOCK=/tmp/ssh-tUtc9hGHsDgt/agent.44 08:24:55 SSH_AGENT_PID=49 08:24:55 Running ssh-add (command line suppressed) 08:24:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2023457982491436430.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2023457982491436430.key) 08:24:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:56 + git semver init 08:24:56 # -> Open(): unable to determine branch for HEAD 08:24:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:24:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:24:56 # $SEMVER_REMOTE_NAME = origin 08:24:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:24:56 # $SEMVER_USER_NAME = edgex-jenkins 08:24:56 # $SEMVER_BRANCH = master 08:24:56 # $SEMVER_TEMP = /tmp/semver-783609135 08:24:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:24:57 # '/tmp/semver-783609135' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 08:24:57 # -> Force: false 08:24:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:24:57 $ docker exec --env ******** --env ******** a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 ssh-agent -k 08:24:57 unset SSH_AUTH_SOCK; 08:24:57 unset SSH_AGENT_PID; 08:24:57 echo Agent pid 49 killed; 08:24:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:58 + git semver [Pipeline] } 08:24:58 $ docker stop --time=1 a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 08:24:59 $ docker rm -f a0f17f2186e83c16638f64f504b27f8bdc21a932b0b899e4f598e3c666643c97 [Pipeline] // withDockerContainer [Pipeline] sh 08:25:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:25:00 Stashed 1 file(s) [Pipeline] echo 08:25:00 [edgeXSemver]: initialized semver on version 2.0.0-dev.26 [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 08:25:16 Still waiting to schedule task 08:25:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:25:16 Still waiting to schedule task 08:25:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:28:08 Running on prd-centos7-docker-4c-2g-30520 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:28:08 Running in /w/workspace/device-sdk-go/131 [Pipeline] { [Pipeline] checkout 08:28:11 using credential edgex-jenkins-ssh 08:28:11 Cloning the remote Git repository 08:28:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:28:11 > git init /w/workspace/device-sdk-go/131 # timeout=10 08:28:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:28:12 > git --version # timeout=10 08:28:12 > git --version # 'git version 2.24.3' 08:28:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:28:13 Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) 08:28:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:28:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:28:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:28:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:28:12 using GIT_SSH to set credentials SSH Credentials for GitHub 08:28:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:28:13 > git config core.sparsecheckout # timeout=10 08:28:13 > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 08:28:16 Commit message: "Merge pull request #827 from hahattan/issue-825" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:28:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:28:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:28:18 + sudo service docker restart 08:28:18 + true 08:28:18 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:28:19 provisioning config files... 08:28:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/131@tmp/config9190115134345498737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:20 ---> docker-login.sh 08:28:20 nexus3.edgexfoundry.org:10001 08:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:20 Configure a credential helper to remove this warning. See 08:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:20 08:28:20 Login Succeeded 08:28:20 nexus3.edgexfoundry.org:10002 08:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:21 Configure a credential helper to remove this warning. See 08:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:21 08:28:21 Login Succeeded 08:28:21 nexus3.edgexfoundry.org:10003 08:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:21 Configure a credential helper to remove this warning. See 08:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:21 08:28:21 Login Succeeded 08:28:21 nexus3.edgexfoundry.org:10004 08:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:21 Configure a credential helper to remove this warning. See 08:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:21 08:28:21 Login Succeeded 08:28:21 docker.io 08:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:22 Configure a credential helper to remove this warning. See 08:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:22 08:28:22 Login Succeeded 08:28:22 ---> docker-login.sh ends [Pipeline] } 08:28:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:28:22 ========================================================= 08:28:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:28:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:28:22 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 08:28:22 Sending build context to Docker daemon 2.285MB 08:28:22 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:28:22 Step 2/8 : FROM ${BASE} 08:28:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:28:23 188c0c94c7c5: Pulling fs layer 08:28:23 0ef7d3d256c8: Pulling fs layer 08:28:23 de9db76c5a1d: Pulling fs layer 08:28:23 bca2f99d35d6: Pulling fs layer 08:28:23 93359f2a8cfa: Pulling fs layer 08:28:23 7c6f9722023f: Pulling fs layer 08:28:23 a35cf1a2eb13: Pulling fs layer 08:28:23 bca2f99d35d6: Waiting 08:28:23 93359f2a8cfa: Waiting 08:28:23 7c6f9722023f: Waiting 08:28:23 a35cf1a2eb13: Waiting 08:28:23 de9db76c5a1d: Verifying Checksum 08:28:23 de9db76c5a1d: Download complete 08:28:23 0ef7d3d256c8: Verifying Checksum 08:28:23 0ef7d3d256c8: Download complete 08:28:23 93359f2a8cfa: Verifying Checksum 08:28:23 93359f2a8cfa: Download complete 08:28:23 7c6f9722023f: Verifying Checksum 08:28:23 7c6f9722023f: Download complete 08:28:23 188c0c94c7c5: Verifying Checksum 08:28:23 188c0c94c7c5: Download complete 08:28:23 188c0c94c7c5: Pull complete 08:28:23 0ef7d3d256c8: Pull complete 08:28:23 de9db76c5a1d: Pull complete 08:28:24 a35cf1a2eb13: Verifying Checksum 08:28:24 a35cf1a2eb13: Download complete 08:28:25 bca2f99d35d6: Download complete 08:28:32 bca2f99d35d6: Pull complete 08:28:32 93359f2a8cfa: Pull complete 08:28:32 7c6f9722023f: Pull complete 08:28:36 a35cf1a2eb13: Pull complete 08:28:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:28:36 ---> a62c8e92a672 08:28:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:28:36 ---> Running in 27d1cc3dc8bf 08:28:36 Removing intermediate container 27d1cc3dc8bf 08:28:36 ---> a9f6b90ce280 08:28:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:28:36 ---> Running in 81a861c9aa75 08:28:37 Removing intermediate container 81a861c9aa75 08:28:37 ---> 896cccc0f86e 08:28:37 Step 5/8 : RUN apk add --update --no-cache make git 08:28:37 ---> Running in 330843cfb818 08:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:28:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:28:39 OK: 166 MiB in 39 packages 08:28:40 Removing intermediate container 330843cfb818 08:28:40 ---> 6ba88c2a97bd 08:28:40 Step 6/8 : WORKDIR /device-sdk-go 08:28:40 ---> Running in 5c2fa97d563f 08:28:40 Removing intermediate container 5c2fa97d563f 08:28:40 ---> 4004e57f9bd3 08:28:40 Step 7/8 : COPY . . 08:28:41 ---> 61c57c2a664f 08:28:41 Step 8/8 : RUN go mod download 08:28:41 ---> Running in 1ab9323810f2 08:28:59 Removing intermediate container 1ab9323810f2 08:28:59 ---> 8c4427fee4aa 08:28:59 Successfully built 8c4427fee4aa 08:28:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:29:00 + docker inspect -f . ci-base-image-x86_64 08:29:00 . [Pipeline] withDockerContainer 08:29:00 prd-centos7-docker-4c-2g-30520 does not seem to be running inside a container 08:29:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@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 08:29:01 $ docker top 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:02 + go version 08:29:02 go version go1.15.5 linux/amd64 [Pipeline] } 08:29:02 $ docker stop --time=1 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 08:29:03 $ docker rm -f 88505e725f0d86bddda4b03c7acfd8f6a7546cee9b9e1393018057fe52662910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:29:04 + docker inspect -f . ci-base-image-x86_64 08:29:04 . [Pipeline] withDockerContainer 08:29:04 prd-centos7-docker-4c-2g-30520 does not seem to be running inside a container 08:29:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@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 08:29:05 $ docker top 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:05 + make test 08:29:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:29:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:29:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30521 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:29:14 Running in /w/workspace/device-sdk-go/131 [Pipeline] { [Pipeline] checkout 08:29:19 using credential edgex-jenkins-ssh 08:29:19 Cloning the remote Git repository 08:29:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:29:19 > git init /w/workspace/device-sdk-go/131 # timeout=10 08:29:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:29:19 > git --version # timeout=10 08:29:19 > git --version # 'git version 2.17.1' 08:29:19 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:29:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:29:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:29:21 Checking out Revision 5b084bdeafa1e122a5c890164a05a3ac30530fc3 (master) 08:29:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:29:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:29:21 using GIT_SSH to set credentials SSH Credentials for GitHub 08:29:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:29:21 > git config core.sparsecheckout # timeout=10 08:29:21 > git checkout -f 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 08:29:26 Commit message: "Merge pull request #827 from hahattan/issue-825" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:29:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:29:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:29:28 + true 08:29:28 + sudo service docker restart 08:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.0% of statements 08:29:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:29:31 provisioning config files... 08:29:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/131@tmp/config8183695871854463119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:31 ---> docker-login.sh 08:29:31 nexus3.edgexfoundry.org:10001 08:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:32 Configure a credential helper to remove this warning. See 08:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:32 08:29:32 Login Succeeded 08:29:32 nexus3.edgexfoundry.org:10002 08:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:33 Configure a credential helper to remove this warning. See 08:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:33 08:29:33 Login Succeeded 08:29:33 nexus3.edgexfoundry.org:10003 08:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:34 Configure a credential helper to remove this warning. See 08:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:34 08:29:34 Login Succeeded 08:29:34 nexus3.edgexfoundry.org:10004 08:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:34 Configure a credential helper to remove this warning. See 08:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:34 08:29:34 Login Succeeded 08:29:34 docker.io 08:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:29:35 Configure a credential helper to remove this warning. See 08:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:29:35 08:29:35 Login Succeeded 08:29:35 ---> docker-login.sh ends [Pipeline] } 08:29:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:29:36 ========================================================= 08:29:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:29:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:29:36 + 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 . 08:29:36 Sending build context to Docker daemon 2.277MB 08:29:36 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:29:36 Step 2/8 : FROM ${BASE} 08:29:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:29:36 5f621e34cdf4: Pulling fs layer 08:29:36 a4357932f1b6: Pulling fs layer 08:29:36 18c013af1878: Pulling fs layer 08:29:36 00ac8860ef70: Pulling fs layer 08:29:36 63d7cb157983: Pulling fs layer 08:29:36 b116817d02f9: Pulling fs layer 08:29:36 745a02a5169b: Pulling fs layer 08:29:36 63d7cb157983: Waiting 08:29:36 b116817d02f9: Waiting 08:29:36 745a02a5169b: Waiting 08:29:36 00ac8860ef70: Waiting 08:29:36 18c013af1878: Download complete 08:29:36 a4357932f1b6: Verifying Checksum 08:29:36 a4357932f1b6: Download complete 08:29:37 63d7cb157983: Download complete 08:29:37 b116817d02f9: Verifying Checksum 08:29:37 b116817d02f9: Download complete 08:29:37 5f621e34cdf4: Verifying Checksum 08:29:37 5f621e34cdf4: Download complete 08:29:38 5f621e34cdf4: Pull complete 08:29:38 a4357932f1b6: Pull complete 08:29:39 18c013af1878: Pull complete 08:29:40 745a02a5169b: Download complete 08:29:41 00ac8860ef70: Verifying Checksum 08:29:41 00ac8860ef70: Download complete 08:29:51 00ac8860ef70: Pull complete 08:29:51 63d7cb157983: Pull complete 08:29:52 b116817d02f9: Pull complete 08:29:55 745a02a5169b: Pull complete 08:29:55 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:29:55 ---> b7e6874047d6 08:29:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:29:59 ---> Running in d56a1dfe4e8a 08:29:59 Removing intermediate container d56a1dfe4e8a 08:29:59 ---> f32612a11808 08:29:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:29:59 ---> Running in c7f33c5501b5 08:30:01 Removing intermediate container c7f33c5501b5 08:30:01 ---> b3aa0426f72f 08:30:01 Step 5/8 : RUN apk add --update --no-cache make git 08:30:01 ---> Running in 89e7809f665b 08:30:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:30:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.048s coverage: 10.5% of statements 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:30:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:30:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 57.3% of statements 08:30:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements 08:30:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements 08:30:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:30:03 GO111MODULE=on go vet ./... 08:30:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:30:05 OK: 142 MiB in 39 packages 08:30:06 Removing intermediate container 89e7809f665b 08:30:06 ---> 7ba192c794b7 08:30:06 Step 6/8 : WORKDIR /device-sdk-go 08:30:06 ---> Running in 7460261cd05c 08:30:07 Removing intermediate container 7460261cd05c 08:30:07 ---> 3deec135e8bd 08:30:07 Step 7/8 : COPY . . 08:30:08 ---> 58460db71fd4 08:30:08 Step 8/8 : RUN go mod download 08:30:08 ---> Running in dd422162aea2 08:30:10 gofmt -l . 08:30:10 [ "`gofmt -l .`" = "" ] 08:30:10 ./bin/test-attribution-txt.sh 08:30:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:30:11 $ docker stop --time=1 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf 08:30:13 $ docker rm -f 566e9daf18d960de3d06dd0bce8edac7782089699a57546555a91cab237c4caf [Pipeline] // withDockerContainer [Pipeline] sh 08:30:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:30:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:30:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:30:17 + ls -al . 08:30:17 total 184 08:30:17 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 19 08:30 . 08:30:17 drwxrwxr-x. 4 jenkins jenkins 32 Mar 19 08:28 .. 08:30:17 drwxrwxr-x. 2 jenkins jenkins 64 Mar 19 08:28 bin 08:30:17 -rw-r--r--. 1 jenkins jenkins 99587 Mar 19 08:29 coverage.out 08:30:17 -rw-rw-r--. 1 jenkins jenkins 949 Mar 19 08:28 Dockerfile.build 08:30:17 -rw-rw-r--. 1 jenkins jenkins 140 Mar 19 08:28 .dockerignore 08:30:17 drwxrwxr-x. 4 jenkins jenkins 48 Mar 19 08:28 example 08:30:17 drwxrwxr-x. 8 jenkins jenkins 162 Mar 19 08:28 .git 08:30:17 drwxrwxr-x. 2 jenkins jenkins 103 Mar 19 08:28 .github 08:30:17 -rw-rw-r--. 1 jenkins jenkins 138 Mar 19 08:28 .gitignore 08:30:17 -rw-r--r--. 1 jenkins jenkins 479 Mar 19 08:30 go.mod 08:30:17 -rw-r--r--. 1 jenkins jenkins 17490 Mar 19 08:30 go.sum 08:30:17 drwxrwxr-x. 13 jenkins jenkins 193 Mar 19 08:28 internal 08:30:17 -rw-rw-r--. 1 jenkins jenkins 901 Mar 19 08:28 Jenkinsfile 08:30:17 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 19 08:28 LICENSE 08:30:17 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 19 08:28 Makefile 08:30:17 drwxrwxr-x. 4 jenkins jenkins 26 Mar 19 08:28 openapi 08:30:17 drwxrwxr-x. 5 jenkins jenkins 50 Mar 19 08:28 pkg 08:30:17 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 19 08:28 README.md 08:30:17 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 19 08:28 RELEASE-NOTES.txt 08:30:17 drwxrwxr-x. 4 jenkins jenkins 54 Mar 19 08:28 snap 08:30:17 -rw-rw-r--. 1 jenkins jenkins 12 Mar 19 08:25 VERSION 08:30:17 -rw-rw-r--. 1 jenkins jenkins 222 Mar 19 08:28 version.go [Pipeline] isUnix [Pipeline] sh 08:30:18 + 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=5b084bdeafa1e122a5c890164a05a3ac30530fc3 --label arch=amd64 --label version=2.0.0-dev.26 . 08:30:18 Sending build context to Docker daemon 2.385MB 08:30:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:30:18 Step 2/24 : FROM ${BASE} AS builder 08:30:18 ---> 8c4427fee4aa 08:30:18 Step 3/24 : ARG MAKE='make build' 08:30:18 ---> Running in 15a4a0d6f3f7 08:30:18 Removing intermediate container 15a4a0d6f3f7 08:30:18 ---> 91abbde85d73 08:30:18 Step 4/24 : WORKDIR /device-sdk-go 08:30:18 ---> Running in bde43ce03c51 08:30:19 Removing intermediate container bde43ce03c51 08:30:19 ---> 7bfca6656d59 08:30:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:30:19 ---> Running in c7ec776d3eea 08:30:19 Removing intermediate container c7ec776d3eea 08:30:19 ---> 729b58b860df 08:30:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:30:19 ---> Running in a62d2e2c2ed9 08:30:20 Removing intermediate container a62d2e2c2ed9 08:30:20 ---> 11fd14c1360d 08:30:20 Step 7/24 : RUN apk add --update --no-cache make git 08:30:20 ---> Running in 6047dd44c8ab 08:30:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:30:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:30:23 OK: 166 MiB in 39 packages 08:30:24 Removing intermediate container 6047dd44c8ab 08:30:24 ---> 1ca549816fce 08:30:24 Step 8/24 : COPY . . 08:30:25 ---> acf03a74a8f3 08:30:25 Step 9/24 : RUN ${MAKE} 08:30:25 ---> Running in 1f2f2e036175 08:30:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:30:35 Removing intermediate container dd422162aea2 08:30:35 ---> faed341662c8 08:30:35 Successfully built faed341662c8 08:30:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix 08:30:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] sh 08:30:36 + docker inspect -f . ci-base-image-arm64 08:30:36 . [Pipeline] withDockerContainer 08:30:36 prd-ubuntu18.04-docker-arm64-4c-16g-30521 does not seem to be running inside a container 08:30:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@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 08:30:36 Removing intermediate container 1f2f2e036175 08:30:36 ---> 39c69defeda9 08:30:36 Step 10/24 : FROM scratch 08:30:36 ---> 08:30:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:30:36 ---> Running in 95e4baa240cf 08:30:36 Removing intermediate container 95e4baa240cf 08:30:36 ---> 56311bada534 08:30:36 Step 12/24 : ENV APP_PORT=49990 08:30:36 ---> Running in bf9d4192060f 08:30:36 Removing intermediate container bf9d4192060f 08:30:36 ---> daff5c86540f 08:30:36 Step 13/24 : EXPOSE $APP_PORT 08:30:37 ---> Running in adacce9597cb 08:30:37 Removing intermediate container adacce9597cb 08:30:37 ---> bed801bc4f20 08:30:37 Step 14/24 : WORKDIR / 08:30:37 ---> Running in fcef2a56acb0 08:30:37 Removing intermediate container fcef2a56acb0 08:30:37 ---> a76252d1af5a 08:30:37 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:30:37 $ docker top 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b -eo pid,comm 08:30:38 ---> bb5671efbf19 08:30:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:30:38 ---> b2704d814789 08:30:38 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [Pipeline] { 08:30:38 ---> 1247c31a27bc 08:30:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] sh 08:30:38 ---> 9dd7bb1f74c1 08:30:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:30:38 ---> dbc7ea494c3f 08:30:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:30:38 ---> Running in 4ac2cc6543e6 08:30:38 + go version 08:30:38 go version go1.15.5 linux/arm64 [Pipeline] } 08:30:38 $ docker stop --time=1 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b 08:30:39 Removing intermediate container 4ac2cc6543e6 08:30:39 ---> f0da0fdc539a 08:30:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:30:39 ---> Running in c9d70e8a9b86 08:30:39 Removing intermediate container c9d70e8a9b86 08:30:39 ---> e8a6eafb2b3d 08:30:39 Step 22/24 : LABEL arch=amd64 08:30:39 ---> Running in ea6fa864f92e 08:30:39 Removing intermediate container ea6fa864f92e 08:30:39 ---> 0f53fa280bd3 08:30:39 Step 23/24 : LABEL git_sha=5b084bdeafa1e122a5c890164a05a3ac30530fc3 08:30:39 ---> Running in 56eaaca7a82d 08:30:39 Removing intermediate container 56eaaca7a82d 08:30:39 ---> 3addea5b0617 08:30:39 Step 24/24 : LABEL version=2.0.0-dev.26 08:30:39 ---> Running in b501398cc83d 08:30:40 Removing intermediate container b501398cc83d 08:30:40 ---> 624905d21ba2 08:30:40 [Warning] One or more build-args [ARCH] were not consumed 08:30:40 Successfully built 624905d21ba2 08:30:40 Successfully tagged docker-device-sdk-simple:latest 08:30:40 $ docker rm -f 02e5c07d981f1ceab6d24d905c8956de1857c7714972cb399623b633e9f4bf7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 08:30:42 + docker inspect -f . ci-base-image-arm64 08:30:42 . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer 08:30:42 prd-ubuntu18.04-docker-arm64-4c-16g-30521 does not seem to be running inside a container 08:30:42 ---> job-cost.sh 08:30:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2htc 08:30:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/131 -v /w/workspace/device-sdk-go/131:/w/workspace/device-sdk-go/131:rw,z -v /w/workspace/device-sdk-go/131@tmp:/w/workspace/device-sdk-go/131@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 08:30:44 $ docker top 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:45 + make test 08:30:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:30:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:31:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:31:24 lf-activate-venv(): INFO: Adding /tmp/venv-2htc/bin to PATH 08:31:24 INFO: No Stack... 08:31:24 INFO: Retrieving Pricing Info for: v1-standard-2 08:31:25 INFO: Archiving Costs [Pipeline] sh 08:31:25 + cat /w/workspace/device-sdk-go/131/archives/cost.csv 08:31:25 + cut -d, -f6 [Pipeline] lock 08:31:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] 08:31:25 Resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] did not exist. Created. 08:31:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:31:26 + echo total: 0.029999999329447746 [Pipeline] stash 08:31:26 Stashed 1 file(s) [Pipeline] } 08:31:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:31:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:31:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:31:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 08:31:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:31:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.126s coverage: 27.0% of statements 08:31:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.171s coverage: 81.2% of statements 08:32:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 10.5% of statements 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:32:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.194s coverage: 32.5% of statements 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:32:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.255s coverage: 57.3% of statements 08:32:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.917s coverage: 6.6% of statements 08:32:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.1% of statements 08:32:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:32:21 GO111MODULE=on go vet ./... 08:33:00 gofmt -l . 08:33:00 [ "`gofmt -l .`" = "" ] 08:33:00 ./bin/test-attribution-txt.sh 08:33:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:33:00 $ docker stop --time=1 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be 08:33:02 $ docker rm -f 51715064f15b2c67ea5c2c5df97123f8468be062265a8f69b2a45663554888be [Pipeline] // withDockerContainer [Pipeline] sh 08:33:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:33:03 Warning: overwriting stash ‘coverage-report’ 08:33:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:33:05 + ls -al . 08:33:05 total 220 08:33:05 drwxrwxr-x 10 jenkins jenkins 4096 Mar 19 08:32 . 08:33:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 .. 08:33:05 -rw-rw-r-- 1 jenkins jenkins 140 Mar 19 08:29 .dockerignore 08:33:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 19 08:29 .git 08:33:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:29 .github 08:33:05 -rw-rw-r-- 1 jenkins jenkins 138 Mar 19 08:29 .gitignore 08:33:05 -rw-rw-r-- 1 jenkins jenkins 949 Mar 19 08:29 Dockerfile.build 08:33:05 -rw-rw-r-- 1 jenkins jenkins 901 Mar 19 08:29 Jenkinsfile 08:33:05 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 19 08:29 LICENSE 08:33:05 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 19 08:29 Makefile 08:33:05 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 19 08:29 README.md 08:33:05 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 19 08:29 RELEASE-NOTES.txt 08:33:05 -rw-rw-r-- 1 jenkins jenkins 12 Mar 19 08:25 VERSION 08:33:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 19 08:29 bin 08:33:05 -rw-r--r-- 1 jenkins jenkins 99588 Mar 19 08:32 coverage.out 08:33:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 example 08:33:05 -rw-r--r-- 1 jenkins jenkins 479 Mar 19 08:32 go.mod 08:33:05 -rw-r--r-- 1 jenkins jenkins 17490 Mar 19 08:32 go.sum 08:33:05 drwxrwxr-x 13 jenkins jenkins 4096 Mar 19 08:29 internal 08:33:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 openapi 08:33:05 drwxrwxr-x 5 jenkins jenkins 4096 Mar 19 08:29 pkg 08:33:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 19 08:29 snap 08:33:05 -rw-rw-r-- 1 jenkins jenkins 222 Mar 19 08:29 version.go [Pipeline] isUnix [Pipeline] sh 08:33:05 + 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=5b084bdeafa1e122a5c890164a05a3ac30530fc3 --label arch=arm64 --label version=2.0.0-dev.26 . 08:33:06 Sending build context to Docker daemon 2.378MB 08:33:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:33:06 Step 2/24 : FROM ${BASE} AS builder 08:33:06 ---> faed341662c8 08:33:06 Step 3/24 : ARG MAKE='make build' 08:33:06 ---> Running in d9f98b17c965 08:33:06 Removing intermediate container d9f98b17c965 08:33:06 ---> 73ab8ffcb07c 08:33:06 Step 4/24 : WORKDIR /device-sdk-go 08:33:07 ---> Running in 192e23b1b2fa 08:33:07 Removing intermediate container 192e23b1b2fa 08:33:07 ---> 7559dac76fac 08:33:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:33:07 ---> Running in f2d9496885fd 08:33:08 Removing intermediate container f2d9496885fd 08:33:08 ---> 560a238b0e0a 08:33:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:33:08 ---> Running in 528883b53369 08:33:10 Removing intermediate container 528883b53369 08:33:10 ---> 0d72488b4c00 08:33:10 Step 7/24 : RUN apk add --update --no-cache make git 08:33:10 ---> Running in 85c569367e54 08:33:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:33:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:33:13 OK: 142 MiB in 39 packages 08:33:15 Removing intermediate container 85c569367e54 08:33:15 ---> fe4f50c01aae 08:33:15 Step 8/24 : COPY . . 08:33:16 ---> 3239ba96d17a 08:33:16 Step 9/24 : RUN ${MAKE} 08:33:16 ---> Running in d0e2d3043583 08:33:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:33:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:33:45 Removing intermediate container d0e2d3043583 08:33:45 ---> 388754d001d6 08:33:45 Step 10/24 : FROM scratch 08:33:45 ---> 08:33:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:33:45 ---> Running in 36710166f5d3 08:33:45 Removing intermediate container 36710166f5d3 08:33:45 ---> 8c75d8cb8204 08:33:45 Step 12/24 : ENV APP_PORT=49990 08:33:45 ---> Running in 2d410304be6a 08:33:46 Removing intermediate container 2d410304be6a 08:33:46 ---> a4efdeccaf1f 08:33:46 Step 13/24 : EXPOSE $APP_PORT 08:33:46 ---> Running in 1777494590ba 08:33:46 Removing intermediate container 1777494590ba 08:33:46 ---> 57a55949cabc 08:33:46 Step 14/24 : WORKDIR / 08:33:46 ---> Running in 6e3da47708d8 08:33:47 Removing intermediate container 6e3da47708d8 08:33:47 ---> 1fbe66c73b52 08:33:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:33:48 ---> 6cd817d757ce 08:33:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:33:49 ---> 32bc24511f88 08:33:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:33:49 ---> 6fa8eb172e5a 08:33:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:33:50 ---> 51c8e2e9802c 08:33:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:33:51 ---> 8b0503d839aa 08:33:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:33:51 ---> Running in 333f12bc08a5 08:33:51 Removing intermediate container 333f12bc08a5 08:33:51 ---> 331c3dbd6cd8 08:33:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:33:51 ---> Running in 891333a22df3 08:33:52 Removing intermediate container 891333a22df3 08:33:52 ---> 45cbd5033b3d 08:33:52 Step 22/24 : LABEL arch=arm64 08:33:52 ---> Running in 41e8a5f7c1ad 08:33:53 Removing intermediate container 41e8a5f7c1ad 08:33:53 ---> d63265de80f3 08:33:53 Step 23/24 : LABEL git_sha=5b084bdeafa1e122a5c890164a05a3ac30530fc3 08:33:53 ---> Running in d38b4e649380 08:33:53 Removing intermediate container d38b4e649380 08:33:53 ---> f7fc0368028c 08:33:53 Step 24/24 : LABEL version=2.0.0-dev.26 08:33:53 ---> Running in 5e89cc31038e 08:33:54 Removing intermediate container 5e89cc31038e 08:33:54 ---> 186840a6978b 08:33:54 [Warning] One or more build-args [ARCH] were not consumed 08:33:54 Successfully built 186840a6978b 08:33:54 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:33:54 ---> job-cost.sh 08:33:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BnAd 08:34:33 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:36:10 lf-activate-venv(): INFO: Adding /tmp/venv-BnAd/bin to PATH 08:36:10 INFO: No Stack... 08:36:10 INFO: Retrieving Pricing Info for: lf-standard-4 08:36:10 INFO: Archiving Costs [Pipeline] sh 08:36:10 + + cat /w/workspace/device-sdk-go/131/archives/cost.csv 08:36:10 cut -d, -f6 [Pipeline] lock 08:36:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] 08:36:11 Resource [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] did not exist. Created. 08:36:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:36:11 /w/workspace/device-sdk-go/131@tmp/durable-997bae94/script.sh: 1: /w/workspace/device-sdk-go/131@tmp/durable-997bae94/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:36:11 + echo total: 0.20999999344348907 [Pipeline] stash 08:36:11 Warning: overwriting stash ‘stack-cost’ 08:36:12 Stashed 1 file(s) [Pipeline] } 08:36:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-131-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 08:36:14 provisioning config files... 08:36:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8175959537534789593tmp [Pipeline] { [Pipeline] sh 08:36:15 + set +x 08:36:15 + curl -s https://codecov.io/bash 08:36:15 + bash -s -- 08:36:15 08:36:15 _____ _ 08:36:15 / ____| | | 08:36:15 | | ___ __| | ___ ___ _____ __ 08:36:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:36:15 | |___| (_) | (_| | __/ (_| (_) \ V / 08:36:15 \_____\___/ \__,_|\___|\___\___/ \_/ 08:36:15 Bash-20210309-2b87ace 08:36:15 08:36:15 08:36:15 ==> git version 2.24.3 found 08:36:15 ==> 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 08:36:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:36:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:36:15 ==> Jenkins CI detected. 08:36:15 project root: . 08:36:15 --> token set from env 08:36:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:36:15 ==> Running gcov in . (disable via -X gcov) 08:36:15 ==> Python coveragepy not found 08:36:15 ==> Searching for coverage reports in: 08:36:15 + . 08:36:15 -> Found 1 reports 08:36:15 ==> Detecting git/mercurial file structure 08:36:15 ==> Reading reports 08:36:15 + ./coverage.out bytes=99588 08:36:15 ==> Appending adjustments 08:36:15 https://docs.codecov.io/docs/fixing-reports 08:36:15 + Found adjustments 08:36:15 ==> Gzipping contents 08:36:15 16K /tmp/codecov.SNtEnd.gz 08:36:15 ==> Uploading reports 08:36:15 url: https://codecov.io 08:36:15 query: branch=master&commit=5b084bdeafa1e122a5c890164a05a3ac30530fc3&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:36:15 -> Pinging Codecov 08:36:15 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=5b084bdeafa1e122a5c890164a05a3ac30530fc3&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:36:16 -> Uploading to 08:36:16 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/7E55EF52A471D76F132DFD9A03CDDE97/5b084bdeafa1e122a5c890164a05a3ac30530fc3/11a19f7a-8572-46c2-bc14-3a91f7a72d9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T083616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=751bf89235fd9b172928a73bec4888e9f253a0dd767e17dc09c4cdb3ff616951 08:36:16 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:16 Dload Upload Total Spent Left Speed 08:36:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13462 0 0 100 13462 0 30372 --:--:-- --:--:-- --:--:-- 30388 08:36:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] } 08:36:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:36:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:36:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:36:18 08:36:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:36:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:36:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:36:18 188c0c94c7c5: Pulling fs layer 08:36:18 0ef7d3d256c8: Pulling fs layer 08:36:18 de9db76c5a1d: Pulling fs layer 08:36:18 0eba1c9be4d2: Pulling fs layer 08:36:18 0d57e429df01: Pulling fs layer 08:36:18 4e4be7b47b0d: Pulling fs layer 08:36:18 e1f770b5df2f: Pulling fs layer 08:36:18 85a0685a4137: Pulling fs layer 08:36:18 0d57e429df01: Waiting 08:36:18 4e4be7b47b0d: Waiting 08:36:18 e1f770b5df2f: Waiting 08:36:18 85a0685a4137: Waiting 08:36:18 0eba1c9be4d2: Waiting 08:36:18 de9db76c5a1d: Download complete 08:36:18 0ef7d3d256c8: Verifying Checksum 08:36:18 0ef7d3d256c8: Download complete 08:36:18 0d57e429df01: Download complete 08:36:18 4e4be7b47b0d: Verifying Checksum 08:36:18 4e4be7b47b0d: Download complete 08:36:18 188c0c94c7c5: Verifying Checksum 08:36:18 188c0c94c7c5: Download complete 08:36:19 188c0c94c7c5: Pull complete 08:36:19 0ef7d3d256c8: Pull complete 08:36:19 de9db76c5a1d: Pull complete 08:36:20 e1f770b5df2f: Verifying Checksum 08:36:20 e1f770b5df2f: Download complete 08:36:22 0eba1c9be4d2: Verifying Checksum 08:36:22 0eba1c9be4d2: Download complete 08:36:23 85a0685a4137: Verifying Checksum 08:36:23 85a0685a4137: Download complete 08:36:27 0eba1c9be4d2: Pull complete 08:36:27 0d57e429df01: Pull complete 08:36:27 4e4be7b47b0d: Pull complete 08:36:30 e1f770b5df2f: Pull complete 08:36:38 85a0685a4137: Pull complete 08:36:38 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:36:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:36:38 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:36:38 $ 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 08:36:39 $ docker top 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 -eo pid,comm [Pipeline] { [Pipeline] echo 08:36:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:36:40 + set -o pipefail 08:36:40 + snyk monitor '--org=edgex-jenkins' 08:36:47 08:36:47 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 08:36:47 08:36:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/3aaa0226-4223-40b4-8efa-1bee7cc8485a 08:36:47 08:36:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:36:47 08:36:47 [Pipeline] } 08:36:47 $ docker stop --time=1 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 08:36:49 $ docker rm -f 9d42ac93d16af9f52a53d2740cf7049f1f7547c1e290347d4e05e8fd9da62c33 [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 08:36:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:51 provisioning config files... 08:36:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2764555654342236767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:51 --> edgex-publish-swagger.sh 08:36:51 === Publish openapi/v1 API === 08:36:51 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 08:36:51 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 08:36:51 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:51 Dload Upload Total Spent Left Speed 08:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 26673 --:--:-- --:--:-- --:--:-- 26667 100 19947 0 0 100 19947 0 26665 --:--:-- --:--:-- --:--:-- 26667 08:36:52 08:36:52 08:36:52 === Publish openapi/v2 API === 08:36:52 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 08:36:52 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 08:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 08:36:52 Dload Upload Total Spent Left Speed 08:36:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 73744 --:--:-- --:--:-- --:--:-- 73863 08:36:53 08:36:53 [Pipeline] } 08:36:53 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 08:36:53 + git log --format=format:%s -1 5b084bdeafa1e122a5c890164a05a3ac30530fc3 [Pipeline] isUnix [Pipeline] sh 08:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:36:54 . [Pipeline] withDockerContainer 08:36:54 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:36:54 $ 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 08:36:55 $ docker top e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:36:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:36:55 [ssh-agent] Looking for ssh-agent implementation... 08:36:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:36:55 $ docker exec e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 ssh-agent 08:36:55 SSH_AUTH_SOCK=/tmp/ssh-pkEyVZXEoWK7/agent.12 08:36:55 SSH_AGENT_PID=18 08:36:55 Running ssh-add (command line suppressed) 08:36:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1522919954655088285.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1522919954655088285.key) 08:36:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:36:56 + git semver tag 08:36:56 # -> Open(): unable to determine branch for HEAD 08:36:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:36:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:36:56 # $SEMVER_REMOTE_NAME = origin 08:36:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:36:56 # $SEMVER_USER_NAME = edgex-jenkins 08:36:56 # $SEMVER_BRANCH = master 08:36:56 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:36:56 # 5b084bdeafa1e122a5c890164a05a3ac30530fc3 HEAD 08:36:56 # -> Force: false 08:36:56 # 16c8135696148d5fd82cc6617f7d9128e835cdfc refs/tags/v2.0.0-dev.26 [Pipeline] } 08:36:56 $ docker exec --env ******** --env ******** e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 ssh-agent -k 08:36:56 unset SSH_AUTH_SOCK; 08:36:56 unset SSH_AGENT_PID; 08:36:56 echo Agent pid 18 killed; 08:36:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:36:57 + git semver [Pipeline] } 08:36:57 $ docker stop --time=1 e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 08:36:58 $ docker rm -f e5ecd4294238cbd7e947f39b22df6b2bad1ee4fd9c8939661582f2759c5ddca7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:36:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:36:59 08:36:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:36:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:36:59 0.23.1-centos7: Pulling from edgex-lftools 08:36:59 ab5ef0e58194: Pulling fs layer 08:36:59 9712f1f96733: Pulling fs layer 08:36:59 63f879dbbcfc: Pulling fs layer 08:36:59 0d9ebad4ef96: Pulling fs layer 08:36:59 e9a5061849ea: Pulling fs layer 08:36:59 d747dcd14b5f: Pulling fs layer 08:36:59 2de7ff778b66: Pulling fs layer 08:36:59 e9a5061849ea: Waiting 08:36:59 d747dcd14b5f: Waiting 08:36:59 2de7ff778b66: Waiting 08:36:59 9712f1f96733: Verifying Checksum 08:36:59 9712f1f96733: Download complete 08:37:01 63f879dbbcfc: Verifying Checksum 08:37:01 63f879dbbcfc: Download complete 08:37:01 e9a5061849ea: Verifying Checksum 08:37:01 e9a5061849ea: Download complete 08:37:01 d747dcd14b5f: Verifying Checksum 08:37:01 d747dcd14b5f: Download complete 08:37:01 2de7ff778b66: Verifying Checksum 08:37:01 2de7ff778b66: Download complete 08:37:02 0d9ebad4ef96: Verifying Checksum 08:37:02 0d9ebad4ef96: Download complete 08:37:02 ab5ef0e58194: Verifying Checksum 08:37:02 ab5ef0e58194: Download complete 08:37:06 ab5ef0e58194: Pull complete 08:37:06 9712f1f96733: Pull complete 08:37:09 63f879dbbcfc: Pull complete 08:37:15 0d9ebad4ef96: Pull complete 08:37:16 e9a5061849ea: Pull complete 08:37:16 d747dcd14b5f: Pull complete 08:37:19 2de7ff778b66: Pull complete 08:37:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:37:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:37:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:37:19 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:37:19 $ 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 08:37:23 $ docker top c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:37:23 provisioning config files... 08:37:23 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config972639221412092696tmp 08:37:23 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6628093248746990137tmp 08:37:23 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6019561138201967244tmp [Pipeline] { [Pipeline] echo 08:37:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:37:24 ---> sigul-configuration.sh 08:37:24 gpg: directory `/root/.gnupg' created 08:37:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:37:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:37:24 gpg: keyring `/root/.gnupg/secring.gpg' created 08:37:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:37:24 gpg: CAST5 encrypted data 08:37:24 gpg: encrypted with 1 passphrase 08:37:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:37:24 + mkdir /home/jenkins 08:37:24 + mkdir /home/jenkins/sigul [Pipeline] sh 08:37:25 + 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 08:37:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:37:25 ---> sigul-install.sh 08:37:33 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:37:34 + git tag --list 08:37:34 0.7.1 08:37:34 delhi-tag 08:37:34 v1.0.0 08:37:34 v1.1.0 08:37:34 v1.1.1 08:37:34 v1.1.2 08:37:34 v1.2.0 08:37:34 v1.2.1 08:37:34 v1.2.2 08:37:34 v1.2.3 08:37:34 v1.3.0 08:37:34 v1.4.0 08:37:34 v2.0.0-dev.1 08:37:34 v2.0.0-dev.10 08:37:34 v2.0.0-dev.11 08:37:34 v2.0.0-dev.12 08:37:34 v2.0.0-dev.13 08:37:34 v2.0.0-dev.14 08:37:34 v2.0.0-dev.15 08:37:34 v2.0.0-dev.16 08:37:34 v2.0.0-dev.17 08:37:34 v2.0.0-dev.18 08:37:34 v2.0.0-dev.19 08:37:34 v2.0.0-dev.2 08:37:34 v2.0.0-dev.20 08:37:34 v2.0.0-dev.21 08:37:34 v2.0.0-dev.22 08:37:34 v2.0.0-dev.23 08:37:34 v2.0.0-dev.24 08:37:34 v2.0.0-dev.25 08:37:34 v2.0.0-dev.26 08:37:34 v2.0.0-dev.3 08:37:34 v2.0.0-dev.4 08:37:34 v2.0.0-dev.5 08:37:34 v2.0.0-dev.6 08:37:34 v2.0.0-dev.7 08:37:34 v2.0.0-dev.8 08:37:34 v2.0.0-dev.9 [Pipeline] sh 08:37:34 + lftools sign git-tag v2.0.0-dev.26 08:37:35 Signing Git tag with Sigul... 08:37:35 Signing v2.0.0-dev.26 [Pipeline] echo 08:37:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:37:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:37:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:37:37 $ docker stop --time=1 c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a 08:37:39 $ docker rm -f c1d4e7f8a4e16acb56f9487494d568ad6ccc863c0106032e3ba0645ea2f42c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:40 . [Pipeline] withDockerContainer 08:37:40 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:37:40 $ 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 08:37:40 $ docker top 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:41 [ssh-agent] Looking for ssh-agent implementation... 08:37:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:41 $ docker exec 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 ssh-agent 08:37:41 SSH_AUTH_SOCK=/tmp/ssh-0CLaqbx8mHRD/agent.11 08:37:41 SSH_AGENT_PID=16 08:37:41 Running ssh-add (command line suppressed) 08:37:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3373416084275776870.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3373416084275776870.key) 08:37:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:42 + git semver bump pre 08:37:42 # -> Open(): unable to determine branch for HEAD 08:37:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:37:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:37:42 # $SEMVER_REMOTE_NAME = origin 08:37:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:37:42 # $SEMVER_USER_NAME = edgex-jenkins 08:37:42 # $SEMVER_BRANCH = master 08:37:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:37:42 2.0.0-dev.27 [Pipeline] } 08:37:42 $ docker exec --env ******** --env ******** 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 ssh-agent -k 08:37:42 unset SSH_AUTH_SOCK; 08:37:42 unset SSH_AGENT_PID; 08:37:42 echo Agent pid 16 killed; 08:37:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:42 + git semver [Pipeline] } 08:37:42 $ docker stop --time=1 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 08:37:44 $ docker rm -f 0fa85e77f2e6e483e186ad85b81002a3f14e0d69ece7563aeaacca148775ed56 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:37:44 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:37:44 . [Pipeline] withDockerContainer 08:37:44 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:37:44 $ 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 08:37:45 $ docker top 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:37:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:37:45 [ssh-agent] Looking for ssh-agent implementation... 08:37:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:37:46 $ docker exec 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 ssh-agent 08:37:46 SSH_AUTH_SOCK=/tmp/ssh-CBLIYn7JXSa7/agent.12 08:37:46 SSH_AGENT_PID=17 08:37:46 Running ssh-add (command line suppressed) 08:37:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_284161836871040047.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_284161836871040047.key) 08:37:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:37:46 + git semver push 08:37:46 # -> Open(): unable to determine branch for HEAD 08:37:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:37:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:37:46 # $SEMVER_REMOTE_NAME = origin 08:37:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:37:46 # $SEMVER_USER_NAME = edgex-jenkins 08:37:46 # $SEMVER_BRANCH = master 08:37:46 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:37:51 $ docker exec --env ******** --env ******** 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 ssh-agent -k 08:37:51 unset SSH_AUTH_SOCK; 08:37:51 unset SSH_AGENT_PID; 08:37:51 echo Agent pid 17 killed; 08:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:37:51 + git semver [Pipeline] } 08:37:51 $ docker stop --time=1 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 08:37:53 $ docker rm -f 8a88305c7b4de145c15647cdbc5a735c5ea45b240fd8f1bac37fcae04fe693c7 [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 08:37:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:37:55 ---> package-listing.sh 08:37:55 ++ facter osfamily 08:37:55 ++ tr '[:upper:]' '[:lower:]' 08:37:55 + OS_FAMILY=redhat 08:37:55 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 08:37:55 + START_PACKAGES=/tmp/packages_start.txt 08:37:55 + END_PACKAGES=/tmp/packages_end.txt 08:37:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:37:55 + PACKAGES=/tmp/packages_start.txt 08:37:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:37:55 + PACKAGES=/tmp/packages_end.txt 08:37:55 + case "${OS_FAMILY}" in 08:37:55 + rpm -qa 08:37:55 + sort 08:38:00 + '[' -f /tmp/packages_start.txt ']' 08:38:00 + '[' -f /tmp/packages_end.txt ']' 08:38:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:38:00 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 08:38:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 08:38:00 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 08:38:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:01 08:38:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:01 alpine: Pulling from edgex-lftools-log-publisher 08:38:01 df20fa9351a1: Pulling fs layer 08:38:01 36b3adc4ff6f: Pulling fs layer 08:38:01 8ad3a11d3b57: Pulling fs layer 08:38:01 46f8f816bc3b: Pulling fs layer 08:38:01 93b61091891f: Pulling fs layer 08:38:01 93b9cdb0e59b: Pulling fs layer 08:38:01 5e14af77c1be: Pulling fs layer 08:38:01 01666e4c0597: Pulling fs layer 08:38:01 aa168da1d23b: Pulling fs layer 08:38:01 01666e4c0597: Waiting 08:38:01 aa168da1d23b: Waiting 08:38:01 93b9cdb0e59b: Waiting 08:38:01 46f8f816bc3b: Waiting 08:38:01 93b61091891f: Waiting 08:38:01 5e14af77c1be: Waiting 08:38:01 36b3adc4ff6f: Verifying Checksum 08:38:01 36b3adc4ff6f: Download complete 08:38:01 46f8f816bc3b: Verifying Checksum 08:38:01 46f8f816bc3b: Download complete 08:38:01 df20fa9351a1: Verifying Checksum 08:38:01 93b9cdb0e59b: Verifying Checksum 08:38:01 93b9cdb0e59b: Download complete 08:38:01 5e14af77c1be: Verifying Checksum 08:38:01 5e14af77c1be: Download complete 08:38:01 01666e4c0597: Download complete 08:38:01 93b61091891f: Verifying Checksum 08:38:01 93b61091891f: Download complete 08:38:02 8ad3a11d3b57: Verifying Checksum 08:38:02 df20fa9351a1: Pull complete 08:38:02 36b3adc4ff6f: Pull complete 08:38:04 aa168da1d23b: Verifying Checksum 08:38:04 aa168da1d23b: Download complete 08:38:04 8ad3a11d3b57: Pull complete 08:38:04 46f8f816bc3b: Pull complete 08:38:04 93b61091891f: Pull complete 08:38:05 93b9cdb0e59b: Pull complete 08:38:05 5e14af77c1be: Pull complete 08:38:05 01666e4c0597: Pull complete 08:38:13 aa168da1d23b: Pull complete 08:38:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:38:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:38:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:38:13 prd-centos7-docker-4c-2g-30519 does not seem to be running inside a container 08:38:13 $ 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 08:38:17 $ docker top fb4313a40bc25cbc103abce7d96897413dca133ea93fc1d1c5816d5c1b66c6d0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:17 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:18 + mkdir -p /var/log/sa [Pipeline] sh 08:38:18 + ls /var/log/sa-host 08:38:18 + sadf -c /var/log/sa-host/sa19 08:38:18 file_magic: OK 08:38:18 HZ: Using current value: 100 08:38:18 file_header: OK 08:38:18 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 08:38:18 Statistics: 08:38:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:38:18 File successfully converted to sysstat format version 12.2.1 08:38:18 + sadf -c /var/log/sa-host/sa23 08:38:18 file_magic: OK 08:38:18 HZ: Using current value: 100 08:38:18 file_header: OK 08:38:18 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 08:38:18 Statistics: 08:38:18 Hnuu...uuuununununu... 08:38:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:18 provisioning config files... 08:38:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3477595680632817862tmp [Pipeline] { [Pipeline] echo 08:38:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:19 ---> create-netrc.sh [Pipeline] } 08:38:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:38:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:38:19 ---> python-tools-install.sh [Pipeline] echo 08:38:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> sudo-logs.sh 08:38:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:38:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> job-cost.sh 08:38:20 lf-activate-venv: SKIPPING 08:38:20 DEBUG: total: 0.20999999344348907 08:38:20 INFO: Retrieving Stack Cost... 08:38:21 INFO: Retrieving Pricing Info for: v1-standard-2 08:38:22 INFO: Archiving Costs [Pipeline] echo 08:38:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> logs-deploy.sh 08:38:22 lf-activate-venv: SKIPPING 08:38:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/131 08:38:22 INFO: archiving workspace using pattern(s): 08:38:24 Archives upload complete. 08:38:24 INFO: archiving logs to Nexus