Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 848c16ec05d796c9e5a16abafab7aa79fc4967e4 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27138 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 848c16ec05d796c9e5a16abafab7aa79fc4967e4 (master) > 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 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 Commit message: "Merge pull request #793 from hahattan/issue-791" > git rev-list --no-walk 90f0e220c38dfa765b59e93e9c62ca721e898d74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:32 ========================================================= 07:14:32 EdgeX Global Pipelines Version Info 07:14:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:34 ------------------- 07:14:34 stable info: 07:14:34 ------------------- 07:14:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:34 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:14:34 Message: update stable to v1.0.179 07:14:35 ------------------- 07:14:35 experimental info: 07:14:35 ------------------- 07:14:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:35 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:14:35 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:14:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:14:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:14:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 848c16ec05d796c9e5a16abafab7aa79fc4967e4 [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 848c16e [Pipeline] echo 07:14:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:14:38 provisioning config files... 07:14:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2194215523618437781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:39 ---> docker-login.sh 07:14:39 nexus3.edgexfoundry.org:10001 07:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:39 Configure a credential helper to remove this warning. See 07:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:39 07:14:39 Login Succeeded 07:14:39 nexus3.edgexfoundry.org:10002 07:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:40 Configure a credential helper to remove this warning. See 07:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:40 07:14:40 Login Succeeded 07:14:40 nexus3.edgexfoundry.org:10003 07:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:40 Configure a credential helper to remove this warning. See 07:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:40 07:14:40 Login Succeeded 07:14:40 nexus3.edgexfoundry.org:10004 07:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:40 Configure a credential helper to remove this warning. See 07:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:40 07:14:40 Login Succeeded 07:14:40 docker.io 07:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:40 Configure a credential helper to remove this warning. See 07:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:40 07:14:40 Login Succeeded 07:14:40 ---> docker-login.sh ends [Pipeline] } 07:14:40 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 07:14:41 + git log --format=format:%s -1 848c16ec05d796c9e5a16abafab7aa79fc4967e4 [Pipeline] echo 07:14:41 GIT_COMMIT: 848c16ec05d796c9e5a16abafab7aa79fc4967e4, Commit Message: Merge pull request #793 from hahattan/issue-791 [Pipeline] echo 07:14:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:14:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:42 07:14:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:14:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:42 latest: Pulling from edgex-devops/git-semver 07:14:42 31603596830f: Pulling fs layer 07:14:42 2a8b12db71e7: Pulling fs layer 07:14:42 6ca5941a6612: Pulling fs layer 07:14:42 ecc8261a40a4: Pulling fs layer 07:14:42 ecc8261a40a4: Waiting 07:14:42 2a8b12db71e7: Verifying Checksum 07:14:42 2a8b12db71e7: Download complete 07:14:42 31603596830f: Verifying Checksum 07:14:42 31603596830f: Download complete 07:14:42 ecc8261a40a4: Verifying Checksum 07:14:42 ecc8261a40a4: Download complete 07:14:42 6ca5941a6612: Verifying Checksum 07:14:42 6ca5941a6612: Download complete 07:14:43 31603596830f: Pull complete 07:14:43 2a8b12db71e7: Pull complete 07:14:44 6ca5941a6612: Pull complete 07:14:44 ecc8261a40a4: Pull complete 07:14:44 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:14:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:14:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:14:44 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:14: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:14:46 $ docker top d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:46 [ssh-agent] Looking for ssh-agent implementation... 07:14:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:47 $ docker exec d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 ssh-agent 07:14:47 SSH_AUTH_SOCK=/tmp/ssh-bUBxVKvXIbvK/agent.11 07:14:47 SSH_AGENT_PID=16 07:14:47 Running ssh-add (command line suppressed) 07:14:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1792206136437718415.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1792206136437718415.key) 07:14:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:48 + git tag --points-at HEAD [Pipeline] } 07:14:48 $ docker exec --env ******** --env ******** d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 ssh-agent -k 07:14:48 unset SSH_AUTH_SOCK; 07:14:48 unset SSH_AGENT_PID; 07:14:48 echo Agent pid 16 killed; 07:14:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:14:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:48 [ssh-agent] Looking for ssh-agent implementation... 07:14:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:48 $ docker exec d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 ssh-agent 07:14:48 SSH_AUTH_SOCK=/tmp/ssh-YT4v18qKaXys/agent.46 07:14:48 SSH_AGENT_PID=51 07:14:48 Running ssh-add (command line suppressed) 07:14:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5313300061573342418.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5313300061573342418.key) 07:14:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:49 + git semver init 07:14:49 # -> Open(): unable to determine branch for HEAD 07:14:49 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:14:49 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:14:49 # $SEMVER_REMOTE_NAME = origin 07:14:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:14:49 # $SEMVER_USER_NAME = edgex-jenkins 07:14:49 # $SEMVER_BRANCH = master 07:14:49 # $SEMVER_TEMP = /tmp/semver-963131772 07:14:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:14:50 # '/tmp/semver-963131772' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 07:14:50 # -> Force: false 07:14:50 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:14:50 $ docker exec --env ******** --env ******** d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 ssh-agent -k 07:14:50 unset SSH_AUTH_SOCK; 07:14:50 unset SSH_AGENT_PID; 07:14:50 echo Agent pid 51 killed; 07:14:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:50 + git semver [Pipeline] } 07:14:50 $ docker stop --time=1 d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 07:14:52 $ docker rm -f d28390ab4faa4087f21d6495f017ecd5a9f19744ebfcf8a0c3fd5a5a78947890 [Pipeline] // withDockerContainer [Pipeline] sh 07:14:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:14:53 Stashed 1 file(s) [Pipeline] echo 07:14:53 [edgeXSemver]: initialized semver on version 2.0.0-dev.14 [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 07:15:08 Still waiting to schedule task 07:15:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:15:08 Still waiting to schedule task 07:15:08 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:17:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27139 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:17:57 Running in /w/workspace/device-sdk-go/119 [Pipeline] { [Pipeline] checkout 07:18:03 using credential edgex-jenkins-ssh 07:18:03 Cloning the remote Git repository 07:18:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:18:03 > git init /w/workspace/device-sdk-go/119 # timeout=10 07:18:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:18:03 > git --version # timeout=10 07:18:03 > git --version # 'git version 2.17.1' 07:18:03 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:05 Checking out Revision 848c16ec05d796c9e5a16abafab7aa79fc4967e4 (master) 07:18:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:18:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:18:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:18:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:18:04 using GIT_SSH to set credentials SSH Credentials for GitHub 07:18:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:18:05 > git config core.sparsecheckout # timeout=10 07:18:05 > git checkout -f 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 07:18:09 Commit message: "Merge pull request #793 from hahattan/issue-791" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:18:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:18:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:18:12 + true 07:18:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:18:14 provisioning config files... 07:18:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/119@tmp/config2476310702259266161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:15 ---> docker-login.sh 07:18:15 nexus3.edgexfoundry.org:10001 07:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:16 Configure a credential helper to remove this warning. See 07:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:16 07:18:16 Login Succeeded 07:18:16 nexus3.edgexfoundry.org:10002 07:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:17 Configure a credential helper to remove this warning. See 07:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:17 07:18:17 Login Succeeded 07:18:17 nexus3.edgexfoundry.org:10003 07:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:17 Configure a credential helper to remove this warning. See 07:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:17 07:18:17 Login Succeeded 07:18:17 nexus3.edgexfoundry.org:10004 07:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:18 Configure a credential helper to remove this warning. See 07:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:18 07:18:18 Login Succeeded 07:18:18 docker.io 07:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:19 Configure a credential helper to remove this warning. See 07:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:19 07:18:19 Login Succeeded 07:18:19 ---> docker-login.sh ends [Pipeline] } 07:18:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:19 ========================================================= 07:18:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:18:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:18:19 + 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 . 07:18:20 Sending build context to Docker daemon 2.396MB 07:18:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:18:20 Step 2/8 : FROM ${BASE} 07:18:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:18:20 5f621e34cdf4: Pulling fs layer 07:18:20 a4357932f1b6: Pulling fs layer 07:18:20 18c013af1878: Pulling fs layer 07:18:20 00ac8860ef70: Pulling fs layer 07:18:20 63d7cb157983: Pulling fs layer 07:18:20 b116817d02f9: Pulling fs layer 07:18:20 745a02a5169b: Pulling fs layer 07:18:20 00ac8860ef70: Waiting 07:18:20 63d7cb157983: Waiting 07:18:20 b116817d02f9: Waiting 07:18:20 18c013af1878: Verifying Checksum 07:18:20 18c013af1878: Download complete 07:18:20 a4357932f1b6: Verifying Checksum 07:18:20 a4357932f1b6: Download complete 07:18:20 63d7cb157983: Verifying Checksum 07:18:20 63d7cb157983: Download complete 07:18:20 5f621e34cdf4: Download complete 07:18:21 b116817d02f9: Download complete 07:18:21 5f621e34cdf4: Pull complete 07:18:21 a4357932f1b6: Pull complete 07:18:22 18c013af1878: Pull complete 07:18:23 745a02a5169b: Download complete 07:18:24 00ac8860ef70: Verifying Checksum 07:18:24 00ac8860ef70: Download complete 07:18:34 00ac8860ef70: Pull complete 07:18:35 63d7cb157983: Pull complete 07:18:35 b116817d02f9: Pull complete 07:18:39 745a02a5169b: Pull complete 07:18:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:18:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:18:39 ---> b7e6874047d6 07:18:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:18:42 ---> Running in a8720fe0d729 07:18:42 Removing intermediate container a8720fe0d729 07:18:42 ---> 3b6dbc82a8ce 07:18:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:42 ---> Running in 6a9cd00023de 07:18:44 Removing intermediate container 6a9cd00023de 07:18:44 ---> 6245a2d529ea 07:18:44 Step 5/8 : RUN apk add --update --no-cache make git 07:18:44 ---> Running in 29f2af507c7e 07:18:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:18:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:18:47 OK: 142 MiB in 39 packages 07:18:48 Removing intermediate container 29f2af507c7e 07:18:48 ---> ffc0cf88e24d 07:18:48 Step 6/8 : WORKDIR /device-sdk-go 07:18:48 ---> Running in 7e833a0c2037 07:18:48 Removing intermediate container 7e833a0c2037 07:18:48 ---> aa81f23e0511 07:18:48 Step 7/8 : COPY . . 07:18:49 ---> 3e39565ddcbf 07:18:49 Step 8/8 : RUN go mod download 07:18:50 ---> Running in 41c17a43770d 07:19:14 Running on prd-centos7-docker-4c-2g-27140 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 07:19:14 Running in /w/workspace/device-sdk-go/119 [Pipeline] { [Pipeline] checkout 07:19:16 Removing intermediate container 41c17a43770d 07:19:16 ---> 15fcf6542ebb 07:19:16 Successfully built 15fcf6542ebb 07:19:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:19:17 + docker inspect -f . ci-base-image-arm64 07:19:17 . [Pipeline] withDockerContainer 07:19:17 prd-ubuntu18.04-docker-arm64-4c-16g-27139 does not seem to be running inside a container 07:19:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@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 07:19:19 $ docker top 65eb9e22677917079825d74d0e6b8b3ffb804290a9309b9f812cd7e4ce584750 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:20 + go version 07:19:20 go version go1.15.5 linux/arm64 [Pipeline] } 07:19:20 $ docker stop --time=1 65eb9e22677917079825d74d0e6b8b3ffb804290a9309b9f812cd7e4ce584750 07:19:22 $ docker rm -f 65eb9e22677917079825d74d0e6b8b3ffb804290a9309b9f812cd7e4ce584750 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:19:23 + docker inspect -f . ci-base-image-arm64 07:19:23 . [Pipeline] withDockerContainer 07:19:23 prd-ubuntu18.04-docker-arm64-4c-16g-27139 does not seem to be running inside a container 07:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@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 07:19:25 $ docker top 9c1aae5ff7decab265722733d97d6c6d170151e14b6faaea2c2f710633adddef -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:26 + make test 07:19:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:19:26 using credential edgex-jenkins-ssh 07:19:27 Cloning the remote Git repository 07:19:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:19:27 > git init /w/workspace/device-sdk-go/119 # timeout=10 07:19:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:27 > git --version # timeout=10 07:19:27 > git --version # 'git version 2.24.3' 07:19:27 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:29 Checking out Revision 848c16ec05d796c9e5a16abafab7aa79fc4967e4 (master) 07:19:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:19:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 07:19:29 > git config core.sparsecheckout # timeout=10 07:19:29 > git checkout -f 848c16ec05d796c9e5a16abafab7aa79fc4967e4 # timeout=10 07:19:35 Commit message: "Merge pull request #793 from hahattan/issue-791" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:19:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:19:38 + true 07:19:38 + sudo service docker restart 07:19:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:19:40 provisioning config files... 07:19:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/119@tmp/config1518723119269428159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:42 ---> docker-login.sh 07:19:42 nexus3.edgexfoundry.org:10001 07:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:43 Configure a credential helper to remove this warning. See 07:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:43 07:19:43 Login Succeeded 07:19:43 nexus3.edgexfoundry.org:10002 07:19:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:44 Configure a credential helper to remove this warning. See 07:19:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:44 07:19:44 Login Succeeded 07:19:44 nexus3.edgexfoundry.org:10003 07:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:45 Configure a credential helper to remove this warning. See 07:19:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:45 07:19:45 Login Succeeded 07:19:45 nexus3.edgexfoundry.org:10004 07:19:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:47 Configure a credential helper to remove this warning. See 07:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:47 07:19:47 Login Succeeded 07:19:47 docker.io 07:19:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:49 Configure a credential helper to remove this warning. See 07:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:49 07:19:49 Login Succeeded 07:19:49 ---> docker-login.sh ends [Pipeline] } 07:19:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:50 ========================================================= 07:19:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:19:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:19:51 + 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 . 07:19:51 Sending build context to Docker daemon 2.39MB 07:19:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:19:51 Step 2/8 : FROM ${BASE} 07:19:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:52 188c0c94c7c5: Pulling fs layer 07:19:52 0ef7d3d256c8: Pulling fs layer 07:19:52 de9db76c5a1d: Pulling fs layer 07:19:52 bca2f99d35d6: Pulling fs layer 07:19:52 93359f2a8cfa: Pulling fs layer 07:19:52 7c6f9722023f: Pulling fs layer 07:19:52 a35cf1a2eb13: Pulling fs layer 07:19:52 93359f2a8cfa: Waiting 07:19:52 7c6f9722023f: Waiting 07:19:52 a35cf1a2eb13: Waiting 07:19:52 bca2f99d35d6: Waiting 07:19:52 de9db76c5a1d: Verifying Checksum 07:19:52 de9db76c5a1d: Download complete 07:19:52 0ef7d3d256c8: Verifying Checksum 07:19:52 0ef7d3d256c8: Download complete 07:19:52 93359f2a8cfa: Verifying Checksum 07:19:52 93359f2a8cfa: Download complete 07:19:53 7c6f9722023f: Verifying Checksum 07:19:53 7c6f9722023f: Download complete 07:19:53 188c0c94c7c5: Verifying Checksum 07:19:53 188c0c94c7c5: Download complete 07:19:54 188c0c94c7c5: Pull complete 07:19:55 0ef7d3d256c8: Pull complete 07:19:56 de9db76c5a1d: Pull complete 07:20:02 a35cf1a2eb13: Verifying Checksum 07:20:02 a35cf1a2eb13: Download complete 07:20:04 bca2f99d35d6: Verifying Checksum 07:20:04 bca2f99d35d6: Download complete 07:20:23 bca2f99d35d6: Pull complete 07:20:23 93359f2a8cfa: Pull complete 07:20:24 7c6f9722023f: Pull complete 07:20:31 a35cf1a2eb13: Pull complete 07:20:31 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:20:31 ---> a62c8e92a672 07:20:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:20:32 ---> Running in a561c4949941 07:20:32 Removing intermediate container a561c4949941 07:20:32 ---> 3caaaf95747e 07:20:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:32 ---> Running in b3e8682c5a4d 07:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:20:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 25.5% of statements 07:20:35 Removing intermediate container b3e8682c5a4d 07:20:35 ---> ad101dd15bb6 07:20:35 Step 5/8 : RUN apk add --update --no-cache make git 07:20:35 ---> Running in 993948c28e92 07:20:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:20:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:20:38 OK: 166 MiB in 39 packages 07:20:39 Removing intermediate container 993948c28e92 07:20:39 ---> 9d32f4fafcc7 07:20:39 Step 6/8 : WORKDIR /device-sdk-go 07:20:39 ---> Running in af2517dc1934 07:20:40 Removing intermediate container af2517dc1934 07:20:40 ---> fa8143b6d04f 07:20:40 Step 7/8 : COPY . . 07:20:44 ---> bbce0eca48c7 07:20:44 Step 8/8 : RUN go mod download 07:20:44 ---> Running in ec8eeebd52d2 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.129s coverage: 10.1% of statements 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.142s coverage: 12.5% of statements 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.140s coverage: 84.8% of statements 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.170s coverage: 49.2% of statements 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.172s coverage: 81.3% of statements 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 24.8% of statements 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.693s coverage: 83.5% of statements 07:21:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.121s coverage: 5.3% of statements 07:21:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:21:02 GO111MODULE=on go vet ./... 07:21:31 Removing intermediate container ec8eeebd52d2 07:21:31 ---> 8592e5f7d59c 07:21:31 Successfully built 8592e5f7d59c 07:21:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:21:32 + docker inspect -f . ci-base-image-x86_64 07:21:32 . [Pipeline] withDockerContainer 07:21:33 prd-centos7-docker-4c-2g-27140 does not seem to be running inside a container 07:21:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:36 $ docker top 2b73a9d39c0f30a05b136a52d18f05f1248b41ed5fa01ad58fe3aa0b5a7bc5df -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:37 + go version 07:21:37 go version go1.15.5 linux/amd64 [Pipeline] } 07:21:37 $ docker stop --time=1 2b73a9d39c0f30a05b136a52d18f05f1248b41ed5fa01ad58fe3aa0b5a7bc5df 07:21:39 $ docker rm -f 2b73a9d39c0f30a05b136a52d18f05f1248b41ed5fa01ad58fe3aa0b5a7bc5df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:21:41 + docker inspect -f . ci-base-image-x86_64 07:21:41 gofmt -l . 07:21:41 [ "`gofmt -l .`" = "" ] 07:21:41 ./bin/test-attribution-txt.sh 07:21:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:21:41 $ docker stop --time=1 9c1aae5ff7decab265722733d97d6c6d170151e14b6faaea2c2f710633adddef 07:21:41 . 07:21:43 $ docker rm -f 9c1aae5ff7decab265722733d97d6c6d170151e14b6faaea2c2f710633adddef [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer 07:21:44 prd-centos7-docker-4c-2g-27140 does not seem to be running inside a container 07:21:44 + sudo chown -R jenkins:jenkins . 07:21:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:45 $ docker top 3a0a5cc65c0986006a3020fd54a5b12d4de06b3a3ae82d8907dfaf97a925f06f -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 07:21:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 07:21:47 + make test 07:21:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:51 + ls -al . 07:21:51 total 220 07:21:51 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 07:21 . 07:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 .. 07:21:51 -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 07:18 .dockerignore 07:21:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 07:18 .git 07:21:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:18 .github 07:21:51 -rw-rw-r-- 1 jenkins jenkins 138 Feb 22 07:18 .gitignore 07:21:51 -rw-rw-r-- 1 jenkins jenkins 949 Feb 22 07:18 Dockerfile.build 07:21:51 -rw-rw-r-- 1 jenkins jenkins 901 Feb 22 07:18 Jenkinsfile 07:21:51 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 07:18 LICENSE 07:21:51 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 22 07:18 Makefile 07:21:51 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 22 07:18 README.md 07:21:51 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 22 07:18 RELEASE-NOTES.txt 07:21:51 -rw-rw-r-- 1 jenkins jenkins 12 Feb 22 07:14 VERSION 07:21:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:18 bin 07:21:51 -rw-r--r-- 1 jenkins jenkins 101757 Feb 22 07:21 coverage.out 07:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 example 07:21:51 -rw-r--r-- 1 jenkins jenkins 515 Feb 22 07:21 go.mod 07:21:51 -rw-r--r-- 1 jenkins jenkins 19062 Feb 22 07:21 go.sum 07:21:51 drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 07:18 internal 07:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 openapi 07:21:51 drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 07:18 pkg 07:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:18 snap 07:21:51 -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 07:18 version.go [Pipeline] isUnix [Pipeline] sh 07:21:51 + 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=848c16ec05d796c9e5a16abafab7aa79fc4967e4 --label arch=arm64 --label version=2.0.0-dev.14 . 07:21:52 Sending build context to Docker daemon 2.498MB 07:21:52 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:21:52 Step 2/24 : FROM ${BASE} AS builder 07:21:52 ---> 15fcf6542ebb 07:21:52 Step 3/24 : ARG MAKE='make build' 07:21:52 ---> Running in cfc5bcc8e1b6 07:21:53 Removing intermediate container cfc5bcc8e1b6 07:21:53 ---> 9212278df68e 07:21:53 Step 4/24 : WORKDIR /device-sdk-go 07:21:53 ---> Running in 00b367ed4e04 07:21:53 Removing intermediate container 00b367ed4e04 07:21:53 ---> de1b51bfc66f 07:21:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:21:53 ---> Running in b48a917445e8 07:21:54 Removing intermediate container b48a917445e8 07:21:54 ---> 1b8b88c6689b 07:21:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:54 ---> Running in 43748d14b1f0 07:21:56 Removing intermediate container 43748d14b1f0 07:21:56 ---> cb998895d98e 07:21:56 Step 7/24 : RUN apk add --update --no-cache make git 07:21:56 ---> Running in c420dc898608 07:21:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:21:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:22:00 OK: 142 MiB in 39 packages 07:22:01 Removing intermediate container c420dc898608 07:22:01 ---> 7cc1c5c3414e 07:22:01 Step 8/24 : COPY . . 07:22:02 ---> 4a0ab8ffc74e 07:22:02 Step 9/24 : RUN ${MAKE} 07:22:02 ---> Running in a31a385ae59f 07:22:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:22:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:22:30 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:22:31 Removing intermediate container a31a385ae59f 07:22:31 ---> cd1be14cbb24 07:22:31 Step 10/24 : FROM scratch 07:22:31 ---> 07:22:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:22:31 ---> Running in 11577a0dd52f 07:22:32 Removing intermediate container 11577a0dd52f 07:22:32 ---> bbb91caf5338 07:22:32 Step 12/24 : ENV APP_PORT=49990 07:22:32 ---> Running in 3e9be7e248ed 07:22:32 Removing intermediate container 3e9be7e248ed 07:22:32 ---> 2b0b14d841bb 07:22:32 Step 13/24 : EXPOSE $APP_PORT 07:22:32 ---> Running in 8767515c9bd1 07:22:33 Removing intermediate container 8767515c9bd1 07:22:33 ---> c10857b9bcd0 07:22:33 Step 14/24 : WORKDIR / 07:22:33 ---> Running in 6cece1dca721 07:22:33 Removing intermediate container 6cece1dca721 07:22:33 ---> 99206176b42c 07:22:33 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:22:34 ---> 8ed2db7ba444 07:22:34 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:22:35 ---> 7435abccf38f 07:22:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:22:36 ---> c0b687d3b551 07:22:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:22:36 ---> 625953fcb9aa 07:22:36 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:22:37 ---> aa9d52ae27ab 07:22:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:22:37 ---> Running in 92c19c92be24 07:22:38 Removing intermediate container 92c19c92be24 07:22:38 ---> 21aacf03139d 07:22:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:22:38 ---> Running in 2ad5ef5094c1 07:22:38 Removing intermediate container 2ad5ef5094c1 07:22:38 ---> 544271fd45f3 07:22:38 Step 22/24 : LABEL arch=arm64 07:22:38 ---> Running in 661b989ebf00 07:22:39 Removing intermediate container 661b989ebf00 07:22:39 ---> 5eb9206f21f1 07:22:39 Step 23/24 : LABEL git_sha=848c16ec05d796c9e5a16abafab7aa79fc4967e4 07:22:39 ---> Running in a94edd430d1d 07:22:39 Removing intermediate container a94edd430d1d 07:22:39 ---> 9f183a73fbf2 07:22:39 Step 24/24 : LABEL version=2.0.0-dev.14 07:22:40 ---> Running in d39a071d81c7 07:22:40 Removing intermediate container d39a071d81c7 07:22:40 ---> b99523843ea3 07:22:40 [Warning] One or more build-args [ARCH] were not consumed 07:22:40 Successfully built b99523843ea3 07:22:40 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } 07:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:22:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:22:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.148s coverage: 25.5% of statements 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.209s coverage: 10.1% of statements 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.077s coverage: 12.5% of statements 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.086s coverage: 84.8% of statements 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.297s coverage: 49.2% of statements 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.258s coverage: 81.3% of statements 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.526s coverage: 24.8% of statements 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 7.169s coverage: 83.5% of statements 07:23:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.123s coverage: 5.3% of statements 07:23:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:23:12 GO111MODULE=on go vet ./... 07:23:36 gofmt -l . 07:23:36 [ "`gofmt -l .`" = "" ] 07:23:36 ./bin/test-attribution-txt.sh 07:23:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:23:40 $ docker stop --time=1 3a0a5cc65c0986006a3020fd54a5b12d4de06b3a3ae82d8907dfaf97a925f06f 07:23:43 $ docker rm -f 3a0a5cc65c0986006a3020fd54a5b12d4de06b3a3ae82d8907dfaf97a925f06f [Pipeline] // withDockerContainer [Pipeline] sh 07:23:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:23:44 Warning: overwriting stash ‘coverage-report’ 07:23:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:23:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:23:47 + ls -al . 07:23:47 total 184 07:23:47 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 22 07:23 . 07:23:47 drwxrwxr-x. 4 jenkins jenkins 32 Feb 22 07:19 .. 07:23:47 drwxrwxr-x. 2 jenkins jenkins 64 Feb 22 07:19 bin 07:23:47 -rw-r--r--. 1 jenkins jenkins 101757 Feb 22 07:23 coverage.out 07:23:47 -rw-rw-r--. 1 jenkins jenkins 949 Feb 22 07:19 Dockerfile.build 07:23:47 -rw-rw-r--. 1 jenkins jenkins 140 Feb 22 07:19 .dockerignore 07:23:47 drwxrwxr-x. 4 jenkins jenkins 48 Feb 22 07:19 example 07:23:47 drwxrwxr-x. 8 jenkins jenkins 162 Feb 22 07:19 .git 07:23:47 drwxrwxr-x. 2 jenkins jenkins 103 Feb 22 07:19 .github 07:23:47 -rw-rw-r--. 1 jenkins jenkins 138 Feb 22 07:19 .gitignore 07:23:47 -rw-r--r--. 1 jenkins jenkins 515 Feb 22 07:23 go.mod 07:23:47 -rw-r--r--. 1 jenkins jenkins 19062 Feb 22 07:23 go.sum 07:23:47 drwxrwxr-x. 13 jenkins jenkins 183 Feb 22 07:19 internal 07:23:47 -rw-rw-r--. 1 jenkins jenkins 901 Feb 22 07:19 Jenkinsfile 07:23:47 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 22 07:19 LICENSE 07:23:47 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 22 07:19 Makefile 07:23:47 drwxrwxr-x. 4 jenkins jenkins 26 Feb 22 07:19 openapi 07:23:47 drwxrwxr-x. 5 jenkins jenkins 50 Feb 22 07:19 pkg 07:23:47 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 22 07:19 README.md 07:23:47 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 22 07:19 RELEASE-NOTES.txt 07:23:47 drwxrwxr-x. 4 jenkins jenkins 54 Feb 22 07:19 snap 07:23:47 -rw-rw-r--. 1 jenkins jenkins 12 Feb 22 07:14 VERSION 07:23:47 -rw-rw-r--. 1 jenkins jenkins 222 Feb 22 07:19 version.go [Pipeline] isUnix [Pipeline] sh 07:23:48 + 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=848c16ec05d796c9e5a16abafab7aa79fc4967e4 --label arch=amd64 --label version=2.0.0-dev.14 . 07:23:49 Sending build context to Docker daemon 2.492MB 07:23:49 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:23:49 Step 2/24 : FROM ${BASE} AS builder 07:23:49 ---> 8592e5f7d59c 07:23:49 Step 3/24 : ARG MAKE='make build' 07:23:49 ---> Running in f675919c2a7d 07:23:49 Removing intermediate container f675919c2a7d 07:23:49 ---> 60a7798a84bd 07:23:49 Step 4/24 : WORKDIR /device-sdk-go 07:23:49 ---> Running in 5e57fe064ed5 07:23:50 Removing intermediate container 5e57fe064ed5 07:23:50 ---> 34d5979ba292 07:23:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:23:50 ---> Running in e6b58f2f4cb4 07:23:51 Removing intermediate container e6b58f2f4cb4 07:23:51 ---> 9a4b8ab828cb 07:23:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:23:51 ---> Running in 1ba67a457622 07:23:54 Removing intermediate container 1ba67a457622 07:23:54 ---> 85fcf5756acc 07:23:54 Step 7/24 : RUN apk add --update --no-cache make git 07:23:54 ---> Running in 7b7b52bc7825 07:23:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:23:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:23:59 OK: 166 MiB in 39 packages 07:24:02 Removing intermediate container 7b7b52bc7825 07:24:02 ---> 350cdc1fd3f5 07:24:02 Step 8/24 : COPY . . 07:24:04 ---> 3881ccfc1694 07:24:04 Step 9/24 : RUN ${MAKE} 07:24:05 ---> Running in 23b833f6536f 07:24:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:24:49 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:24:49 Removing intermediate container 23b833f6536f 07:24:49 ---> bfc8e362cf17 07:24:49 Step 10/24 : FROM scratch 07:24:49 ---> 07:24:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:24:49 ---> Running in 42ebca1cede9 07:24:49 Removing intermediate container 42ebca1cede9 07:24:49 ---> 4d4229ebaa6d 07:24:49 Step 12/24 : ENV APP_PORT=49990 07:24:49 ---> Running in b210bad1fad7 07:24:49 Removing intermediate container b210bad1fad7 07:24:49 ---> f478edc0e179 07:24:49 Step 13/24 : EXPOSE $APP_PORT 07:24:49 ---> Running in c127655af80f 07:24:49 Removing intermediate container c127655af80f 07:24:49 ---> 8aea6268100d 07:24:49 Step 14/24 : WORKDIR / 07:24:49 ---> Running in 6b3eab99f6a3 07:24:49 Removing intermediate container 6b3eab99f6a3 07:24:49 ---> c82c67cefe9f 07:24:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:24:50 ---> 7027db933958 07:24:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:24:50 ---> 3c69188da134 07:24:50 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:24:51 ---> aedcad8f6a87 07:24:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:24:52 ---> a7047db0e47c 07:24:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:24:53 ---> dc1768169498 07:24:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:24:53 ---> Running in 4768d3a8a684 07:24:53 Removing intermediate container 4768d3a8a684 07:24:53 ---> ece7a579a277 07:24:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:24:54 ---> Running in bb31a66ca036 07:24:54 Removing intermediate container bb31a66ca036 07:24:54 ---> 21b2a0e49a1e 07:24:54 Step 22/24 : LABEL arch=amd64 07:24:54 ---> Running in 0b84638dae21 07:24:55 Removing intermediate container 0b84638dae21 07:24:55 ---> 449a34fe7b25 07:24:55 Step 23/24 : LABEL git_sha=848c16ec05d796c9e5a16abafab7aa79fc4967e4 07:24:55 ---> Running in af5ed8a1f376 07:24:55 Removing intermediate container af5ed8a1f376 07:24:55 ---> 6b00ebedbad7 07:24:55 Step 24/24 : LABEL version=2.0.0-dev.14 07:24:55 ---> Running in 4134f8aee92a 07:24:55 Removing intermediate container 4134f8aee92a 07:24:55 ---> fdb78a111d46 07:24:55 [Warning] One or more build-args [ARCH] were not consumed 07:24:55 Successfully built fdb78a111d46 07:24:56 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 07:24:58 provisioning config files... 07:24:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4355576350016867705tmp [Pipeline] { [Pipeline] sh 07:24:58 + set +x 07:24:58 + curl -s https://codecov.io/bash 07:24:58 + bash -s -- 07:24:59 07:24:59 _____ _ 07:24:59 / ____| | | 07:24:59 | | ___ __| | ___ ___ _____ __ 07:24:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:24:59 | |___| (_) | (_| | __/ (_| (_) \ V / 07:24:59 \_____\___/ \__,_|\___|\___\___/ \_/ 07:24:59 Bash-20210129-7c25fce 07:24:59 07:24:59 07:24:59 ==> git version 2.24.3 found 07:24:59 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 07:24:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:24:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:24:59 ==> Jenkins CI detected. 07:24:59 project root: . 07:24:59 --> token set from env 07:24:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:24:59 ==> Running gcov in . (disable via -X gcov) 07:24:59 ==> Python coveragepy not found 07:24:59 ==> Searching for coverage reports in: 07:24:59 + . 07:24:59 -> Found 1 reports 07:24:59 ==> Detecting git/mercurial file structure 07:24:59 ==> Reading reports 07:24:59 + ./coverage.out bytes=101757 07:24:59 ==> Appending adjustments 07:24:59 https://docs.codecov.io/docs/fixing-reports 07:24:59 + Found adjustments 07:24:59 ==> Gzipping contents 07:24:59 20K /tmp/codecov.9MXjkJ.gz 07:24:59 ==> Uploading reports 07:24:59 url: https://codecov.io 07:24:59 query: branch=master&commit=848c16ec05d796c9e5a16abafab7aa79fc4967e4&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:24:59 -> Pinging Codecov 07:24:59 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=848c16ec05d796c9e5a16abafab7aa79fc4967e4&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:00 -> Uploading to 07:25:00 https://storage.googleapis.com/codecov/v4/raw/2021-02-22/7E55EF52A471D76F132DFD9A03CDDE97/848c16ec05d796c9e5a16abafab7aa79fc4967e4/08e6060e-11ad-468a-8daf-e5d7824660cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210222T072459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=116af7acbb3b07f22d1a3eb85ac64e58fb2112a83ca58668a3483a9b2e1981f6 07:25:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:00 Dload Upload Total Spent Left Speed 07:25:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16489 0 0 100 16489 0 36573 --:--:-- --:--:-- --:--:-- 36642 07:25:00 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/848c16ec05d796c9e5a16abafab7aa79fc4967e4 [Pipeline] } 07:25:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:25:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:25:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:25:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:01 07:25:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:25:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:25:02 188c0c94c7c5: Pulling fs layer 07:25:02 0ef7d3d256c8: Pulling fs layer 07:25:02 de9db76c5a1d: Pulling fs layer 07:25:02 0eba1c9be4d2: Pulling fs layer 07:25:02 0d57e429df01: Pulling fs layer 07:25:02 4e4be7b47b0d: Pulling fs layer 07:25:02 e1f770b5df2f: Pulling fs layer 07:25:02 85a0685a4137: Pulling fs layer 07:25:02 0d57e429df01: Waiting 07:25:02 4e4be7b47b0d: Waiting 07:25:02 e1f770b5df2f: Waiting 07:25:02 85a0685a4137: Waiting 07:25:02 0eba1c9be4d2: Waiting 07:25:02 de9db76c5a1d: Verifying Checksum 07:25:02 de9db76c5a1d: Download complete 07:25:02 0ef7d3d256c8: Verifying Checksum 07:25:02 0ef7d3d256c8: Download complete 07:25:02 0d57e429df01: Verifying Checksum 07:25:02 0d57e429df01: Download complete 07:25:02 4e4be7b47b0d: Verifying Checksum 07:25:02 4e4be7b47b0d: Download complete 07:25:02 188c0c94c7c5: Verifying Checksum 07:25:02 188c0c94c7c5: Download complete 07:25:02 188c0c94c7c5: Pull complete 07:25:02 0ef7d3d256c8: Pull complete 07:25:02 de9db76c5a1d: Pull complete 07:25:04 e1f770b5df2f: Verifying Checksum 07:25:04 e1f770b5df2f: Download complete 07:25:06 0eba1c9be4d2: Verifying Checksum 07:25:06 0eba1c9be4d2: Download complete 07:25:06 85a0685a4137: Verifying Checksum 07:25:06 85a0685a4137: Download complete 07:25:11 0eba1c9be4d2: Pull complete 07:25:11 0d57e429df01: Pull complete 07:25:12 4e4be7b47b0d: Pull complete 07:25:14 e1f770b5df2f: Pull complete 07:25:20 85a0685a4137: Pull complete 07:25:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:25:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:25:21 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:25:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:25:22 $ docker top b7c35d2a5bb55093ac402f6d2ff8cc06e56f09fe51a197ac752ce1e4b8904409 -eo pid,comm [Pipeline] { [Pipeline] echo 07:25:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:25:22 + set -o pipefail 07:25:22 + snyk monitor '--org=edgex-jenkins' 07:25:30 07:25:30 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 07:25:30 07:25:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/b7be01c7-6e7d-4625-872f-e980893d96af 07:25:30 07:25:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:25:30 07:25:30 07:25:30 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 07:25:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:25:30 $ docker stop --time=1 b7c35d2a5bb55093ac402f6d2ff8cc06e56f09fe51a197ac752ce1e4b8904409 07:25:33 $ docker rm -f b7c35d2a5bb55093ac402f6d2ff8cc06e56f09fe51a197ac752ce1e4b8904409 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 07:25:35 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:35 provisioning config files... 07:25:35 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2057067199431501572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:35 --> edgex-publish-swagger.sh 07:25:35 === Publish openapi/v1 API === 07:25:35 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 07:25:35 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 07:25:35 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:35 Dload Upload Total Spent Left Speed 07:25:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23317 --:--:-- --:--:-- --:--:-- 23329 07:25:36 07:25:36 07:25:36 === Publish openapi/v2 API === 07:25:36 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 07:25:36 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 07:25:36 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:36 Dload Upload Total Spent Left Speed 07:25:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 52256 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 63768 --:--:-- --:--:-- --:--:-- 63726 07:25:37 07:25:37 [Pipeline] } 07:25:37 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 07:25:38 + git log --format=format:%s -1 848c16ec05d796c9e5a16abafab7aa79fc4967e4 [Pipeline] isUnix [Pipeline] sh 07:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:25:38 . [Pipeline] withDockerContainer 07:25:38 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:25:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:25:39 $ docker top 179aee7f0e32b30b174f93526db012c39731fad77b5e3914a39446dfe3b9ef46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:25:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:25:39 [ssh-agent] Looking for ssh-agent implementation... 07:25:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:25:39 $ docker exec 179aee7f0e32b30b174f93526db012c39731fad77b5e3914a39446dfe3b9ef46 ssh-agent 07:25:40 SSH_AUTH_SOCK=/tmp/ssh-VZdAPO5FFKT4/agent.12 07:25:40 SSH_AGENT_PID=17 07:25:40 Running ssh-add (command line suppressed) 07:25:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5126235548042811027.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5126235548042811027.key) 07:25:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:25:40 + git semver tag 07:25:40 # -> Open(): unable to determine branch for HEAD 07:25:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:25:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:25:40 # $SEMVER_REMOTE_NAME = origin 07:25:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:25:40 # $SEMVER_USER_NAME = edgex-jenkins 07:25:40 # $SEMVER_BRANCH = master 07:25:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:25:40 # 848c16ec05d796c9e5a16abafab7aa79fc4967e4 HEAD 07:25:40 # -> Force: false 07:25:40 # fa097c737047a4f14aba7c67656589a0e692838d refs/tags/v2.0.0-dev.14 [Pipeline] } 07:25:40 $ docker exec --env ******** --env ******** 179aee7f0e32b30b174f93526db012c39731fad77b5e3914a39446dfe3b9ef46 ssh-agent -k 07:25:40 unset SSH_AUTH_SOCK; 07:25:40 unset SSH_AGENT_PID; 07:25:40 echo Agent pid 17 killed; 07:25:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:25:41 + git semver [Pipeline] } 07:25:41 $ docker stop --time=1 179aee7f0e32b30b174f93526db012c39731fad77b5e3914a39446dfe3b9ef46 07:25:42 $ docker rm -f 179aee7f0e32b30b174f93526db012c39731fad77b5e3914a39446dfe3b9ef46 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:25:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:25:43 07:25:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:25:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:25:44 0.23.1-centos7: Pulling from edgex-lftools 07:25:44 ab5ef0e58194: Pulling fs layer 07:25:44 9712f1f96733: Pulling fs layer 07:25:44 63f879dbbcfc: Pulling fs layer 07:25:44 0d9ebad4ef96: Pulling fs layer 07:25:44 e9a5061849ea: Pulling fs layer 07:25:44 d747dcd14b5f: Pulling fs layer 07:25:44 2de7ff778b66: Pulling fs layer 07:25:44 0d9ebad4ef96: Waiting 07:25:44 d747dcd14b5f: Waiting 07:25:44 2de7ff778b66: Waiting 07:25:44 e9a5061849ea: Waiting 07:25:44 9712f1f96733: Verifying Checksum 07:25:44 9712f1f96733: Download complete 07:25:45 63f879dbbcfc: Verifying Checksum 07:25:45 63f879dbbcfc: Download complete 07:25:46 e9a5061849ea: Verifying Checksum 07:25:46 e9a5061849ea: Download complete 07:25:46 d747dcd14b5f: Verifying Checksum 07:25:46 d747dcd14b5f: Download complete 07:25:46 2de7ff778b66: Verifying Checksum 07:25:46 2de7ff778b66: Download complete 07:25:46 0d9ebad4ef96: Verifying Checksum 07:25:46 0d9ebad4ef96: Download complete 07:25:46 ab5ef0e58194: Verifying Checksum 07:25:46 ab5ef0e58194: Download complete 07:25:50 ab5ef0e58194: Pull complete 07:25:50 9712f1f96733: Pull complete 07:25:52 63f879dbbcfc: Pull complete 07:25:59 0d9ebad4ef96: Pull complete 07:26:00 e9a5061849ea: Pull complete 07:26:00 d747dcd14b5f: Pull complete 07:26:03 2de7ff778b66: Pull complete 07:26:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:26:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:26:03 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:26:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:26:07 $ docker top c676045f6fb1db4c522bc89a38eaa7387c7d5c4ba0c587322c524fe1e27c9dfd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:26:07 provisioning config files... 07:26:07 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8349111788151353986tmp 07:26:07 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8137227912622624141tmp 07:26:07 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6597954938478422631tmp [Pipeline] { [Pipeline] echo 07:26:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:26:07 ---> sigul-configuration.sh 07:26:07 gpg: directory `/root/.gnupg' created 07:26:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:26:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:26:07 gpg: keyring `/root/.gnupg/secring.gpg' created 07:26:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:26:07 gpg: CAST5 encrypted data 07:26:08 gpg: encrypted with 1 passphrase 07:26:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:26:08 + mkdir /home/jenkins 07:26:08 + mkdir /home/jenkins/sigul [Pipeline] sh 07:26:08 + 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 07:26:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:26:09 ---> sigul-install.sh 07:26:19 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 07:26:19 + git tag --list 07:26:19 0.7.1 07:26:19 delhi-tag 07:26:19 v1.0.0 07:26:19 v1.1.0 07:26:19 v1.1.1 07:26:19 v1.1.2 07:26:19 v1.2.0 07:26:19 v1.2.1 07:26:19 v1.2.2 07:26:19 v1.2.3 07:26:19 v1.3.0 07:26:19 v1.4.0 07:26:19 v2.0.0-dev.1 07:26:19 v2.0.0-dev.10 07:26:19 v2.0.0-dev.11 07:26:19 v2.0.0-dev.12 07:26:19 v2.0.0-dev.13 07:26:19 v2.0.0-dev.14 07:26:19 v2.0.0-dev.2 07:26:19 v2.0.0-dev.3 07:26:19 v2.0.0-dev.4 07:26:19 v2.0.0-dev.5 07:26:19 v2.0.0-dev.6 07:26:19 v2.0.0-dev.7 07:26:19 v2.0.0-dev.8 07:26:19 v2.0.0-dev.9 [Pipeline] sh 07:26:19 + lftools sign git-tag v2.0.0-dev.14 07:26:21 Signing Git tag with Sigul... 07:26:21 Signing v2.0.0-dev.14 [Pipeline] echo 07:26:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:26:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:26:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:26:22 $ docker stop --time=1 c676045f6fb1db4c522bc89a38eaa7387c7d5c4ba0c587322c524fe1e27c9dfd 07:26:24 $ docker rm -f c676045f6fb1db4c522bc89a38eaa7387c7d5c4ba0c587322c524fe1e27c9dfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 07:26:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:25 . [Pipeline] withDockerContainer 07:26:25 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:26:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:26:26 $ docker top 4800831c3e8273ffbf31d1e087095304d5189365fb750b43f0bb8bc5f5175596 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:26 [ssh-agent] Looking for ssh-agent implementation... 07:26:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:26 $ docker exec 4800831c3e8273ffbf31d1e087095304d5189365fb750b43f0bb8bc5f5175596 ssh-agent 07:26:26 SSH_AUTH_SOCK=/tmp/ssh-DpnJI5NvXc74/agent.11 07:26:26 SSH_AGENT_PID=16 07:26:26 Running ssh-add (command line suppressed) 07:26:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5473618601079136702.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5473618601079136702.key) 07:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:27 + git semver bump pre 07:26:27 # -> Open(): unable to determine branch for HEAD 07:26:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:26:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:26:27 # $SEMVER_REMOTE_NAME = origin 07:26:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:26:27 # $SEMVER_USER_NAME = edgex-jenkins 07:26:27 # $SEMVER_BRANCH = master 07:26:27 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 07:26:27 2.0.0-dev.15 [Pipeline] } 07:26:27 $ docker exec --env ******** --env ******** 4800831c3e8273ffbf31d1e087095304d5189365fb750b43f0bb8bc5f5175596 ssh-agent -k 07:26:27 unset SSH_AUTH_SOCK; 07:26:27 unset SSH_AGENT_PID; 07:26:27 echo Agent pid 16 killed; 07:26:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:28 + git semver [Pipeline] } 07:26:28 $ docker stop --time=1 4800831c3e8273ffbf31d1e087095304d5189365fb750b43f0bb8bc5f5175596 07:26:29 $ docker rm -f 4800831c3e8273ffbf31d1e087095304d5189365fb750b43f0bb8bc5f5175596 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 07:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:26:30 . [Pipeline] withDockerContainer 07:26:30 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:26:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:26:30 $ docker top 49a31e52ca7b1cf31d25d1adff4f288f2209ba8312573445a4eff8cda410d421 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:31 [ssh-agent] Looking for ssh-agent implementation... 07:26:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:31 $ docker exec 49a31e52ca7b1cf31d25d1adff4f288f2209ba8312573445a4eff8cda410d421 ssh-agent 07:26:31 SSH_AUTH_SOCK=/tmp/ssh-QQw9SwCj2cEG/agent.12 07:26:31 SSH_AGENT_PID=17 07:26:31 Running ssh-add (command line suppressed) 07:26:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4162635378557232393.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4162635378557232393.key) 07:26:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:32 + git semver push 07:26:32 # -> Open(): unable to determine branch for HEAD 07:26:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 07:26:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 07:26:32 # $SEMVER_REMOTE_NAME = origin 07:26:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:26:32 # $SEMVER_USER_NAME = edgex-jenkins 07:26:32 # $SEMVER_BRANCH = master 07:26:32 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 07:26:37 $ docker exec --env ******** --env ******** 49a31e52ca7b1cf31d25d1adff4f288f2209ba8312573445a4eff8cda410d421 ssh-agent -k 07:26:37 unset SSH_AUTH_SOCK; 07:26:37 unset SSH_AGENT_PID; 07:26:37 echo Agent pid 17 killed; 07:26:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:37 + git semver [Pipeline] } 07:26:37 $ docker stop --time=1 49a31e52ca7b1cf31d25d1adff4f288f2209ba8312573445a4eff8cda410d421 07:26:39 $ docker rm -f 49a31e52ca7b1cf31d25d1adff4f288f2209ba8312573445a4eff8cda410d421 [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 07:26:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:41 ---> package-listing.sh 07:26:41 ++ facter osfamily 07:26:41 ++ tr '[:upper:]' '[:lower:]' 07:26:41 + OS_FAMILY=redhat 07:26:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 07:26:41 + START_PACKAGES=/tmp/packages_start.txt 07:26:41 + END_PACKAGES=/tmp/packages_end.txt 07:26:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:26:41 + PACKAGES=/tmp/packages_start.txt 07:26:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:26:41 + PACKAGES=/tmp/packages_end.txt 07:26:41 + case "${OS_FAMILY}" in 07:26:41 + rpm -qa 07:26:41 + sort 07:26:46 + '[' -f /tmp/packages_start.txt ']' 07:26:46 + '[' -f /tmp/packages_end.txt ']' 07:26:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:26:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 07:26:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 07:26:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 07:26:46 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 07:26:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:26:47 07:26:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:26:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:26:47 alpine: Pulling from edgex-lftools-log-publisher 07:26:47 df20fa9351a1: Pulling fs layer 07:26:47 36b3adc4ff6f: Pulling fs layer 07:26:47 8ad3a11d3b57: Pulling fs layer 07:26:47 46f8f816bc3b: Pulling fs layer 07:26:47 93b61091891f: Pulling fs layer 07:26:47 93b9cdb0e59b: Pulling fs layer 07:26:47 5e14af77c1be: Pulling fs layer 07:26:47 01666e4c0597: Pulling fs layer 07:26:47 aa168da1d23b: Pulling fs layer 07:26:47 46f8f816bc3b: Waiting 07:26:47 5e14af77c1be: Waiting 07:26:47 93b61091891f: Waiting 07:26:47 01666e4c0597: Waiting 07:26:47 aa168da1d23b: Waiting 07:26:47 93b9cdb0e59b: Waiting 07:26:47 36b3adc4ff6f: Download complete 07:26:47 46f8f816bc3b: Verifying Checksum 07:26:47 46f8f816bc3b: Download complete 07:26:47 df20fa9351a1: Verifying Checksum 07:26:47 df20fa9351a1: Download complete 07:26:47 93b9cdb0e59b: Download complete 07:26:47 5e14af77c1be: Verifying Checksum 07:26:47 5e14af77c1be: Download complete 07:26:47 93b61091891f: Verifying Checksum 07:26:47 93b61091891f: Download complete 07:26:47 01666e4c0597: Verifying Checksum 07:26:47 01666e4c0597: Download complete 07:26:47 8ad3a11d3b57: Verifying Checksum 07:26:47 8ad3a11d3b57: Download complete 07:26:48 df20fa9351a1: Pull complete 07:26:48 36b3adc4ff6f: Pull complete 07:26:49 8ad3a11d3b57: Pull complete 07:26:49 46f8f816bc3b: Pull complete 07:26:49 aa168da1d23b: Verifying Checksum 07:26:49 aa168da1d23b: Download complete 07:26:50 93b61091891f: Pull complete 07:26:50 93b9cdb0e59b: Pull complete 07:26:50 5e14af77c1be: Pull complete 07:26:51 01666e4c0597: Pull complete 07:26:57 aa168da1d23b: Pull complete 07:26:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:26:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:26:58 prd-centos7-docker-4c-2g-27138 does not seem to be running inside a container 07:26:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:27:01 $ docker top 1152a47175539fccb47d364d957d2815e4422132df707c71f7e7e69e85a19491 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:01 + touch /tmp/pre-build-complete [Pipeline] sh 07:27:02 + mkdir -p /var/log/sa [Pipeline] sh 07:27:02 + ls /var/log/sa-host 07:27:02 + sadf -c /var/log/sa-host/sa22 07:27:02 file_magic: OK 07:27:02 HZ: Using current value: 100 07:27:02 file_header: OK 07:27:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:27:02 Statistics: 07:27:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:27:02 File successfully converted to sysstat format version 12.2.1 07:27:02 + sadf -c /var/log/sa-host/sa23 07:27:02 file_magic: OK 07:27:02 HZ: Using current value: 100 07:27:02 file_header: OK 07:27:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 07:27:02 Statistics: 07:27:02 Hnuu...uuuununununu... 07:27:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:02 provisioning config files... 07:27:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2224632317704000221tmp [Pipeline] { [Pipeline] echo 07:27:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:27:02 ---> create-netrc.sh [Pipeline] } 07:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:27:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:27:03 ---> python-tools-install.sh [Pipeline] echo 07:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:27:03 ---> sudo-logs.sh 07:27:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:27:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:27:04 ---> job-cost.sh 07:27:04 lf-activate-venv: SKIPPING 07:27:04 INFO: No Stack... 07:27:04 INFO: Retrieving Pricing Info for: v1-standard-2 07:27:05 INFO: Archiving Costs [Pipeline] echo 07:27:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:27:05 ---> logs-deploy.sh 07:27:05 lf-activate-venv: SKIPPING 07:27:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/119 07:27:05 INFO: archiving workspace using pattern(s): 07:27:07 Archives upload complete. 07:27:07 INFO: archiving logs to Nexus 07:27:08 ---> uname -a: 07:27:08 Linux prd-centos7-docker-4c-2g-27138.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 07:27:08 07:27:08 07:27:08 ---> lscpu: 07:27:08 Architecture: x86_64 07:27:08 CPU op-mode(s): 32-bit, 64-bit 07:27:08 Byte Order: Little Endian 07:27:08 Address sizes: 40 bits physical, 48 bits virtual 07:27:08 CPU(s): 4 07:27:08 On-line CPU(s) list: 0-3 07:27:08 Thread(s) per core: 1 07:27:08 Core(s) per socket: 1 07:27:08 Socket(s): 4 07:27:08 NUMA node(s): 1 07:27:08 Vendor ID: GenuineIntel 07:27:08 CPU family: 6 07:27:08 Model: 44 07:27:08 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 07:27:08 Stepping: 1 07:27:08 CPU MHz: 2933.438 07:27:08 BogoMIPS: 5866.87 07:27:08 Virtualization: VT-x 07:27:08 Hypervisor vendor: KVM 07:27:08 Virtualization type: full 07:27:08 L1d cache: 128 KiB 07:27:08 L1i cache: 128 KiB 07:27:08 L2 cache: 16 MiB 07:27:08 L3 cache: 64 MiB 07:27:08 NUMA node0 CPU(s): 0-3 07:27:08 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 07:27:08 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 07:27:08 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 07:27:08 Vulnerability Meltdown: Mitigation; PTI 07:27:08 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:27:08 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:27:08 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:27:08 Vulnerability Srbds: Not affected 07:27:08 Vulnerability Tsx async abort: Not affected 07:27:08 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 07:27:08 07:27:08 07:27:08 ---> nproc: 07:27:08 4 07:27:08 07:27:08 07:27:08 ---> df -h: 07:27:08 Filesystem Size Used Available Use% Mounted on 07:27:08 overlay 50.0G 8.5G 41.4G 17% / 07:27:08 tmpfs 64.0M 0 64.0M 0% /dev 07:27:08 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 07:27:08 shm 64.0M 0 64.0M 0% /dev/shm 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 07:27:08 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master 07:27:08 07:27:08 07:27:08 ---> free -m: 07:27:08 total used free shared buff/cache available 07:27:08 Mem: 1837 826 154 0 856 945 07:27:08 Swap: 1023 2 1021 07:27:08 07:27:08 07:27:08 ---> ip addr: 07:27:08 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 07:27:08 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:27:08 inet 127.0.0.1/8 scope host lo 07:27:08 valid_lft forever preferred_lft forever 07:27:08 inet6 ::1/128 scope host 07:27:08 valid_lft forever preferred_lft forever 07:27:08 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 07:27:08 link/ether fa:16:3e:77:76:4b brd ff:ff:ff:ff:ff:ff 07:27:08 inet 10.30.123.8/23 brd 10.30.123.255 scope global dynamic eth0 07:27:08 valid_lft 85612sec preferred_lft 85612sec 07:27:08 inet6 fe80::f816:3eff:fe77:764b/64 scope link 07:27:08 valid_lft forever preferred_lft forever 07:27:08 3: docker0: mtu 1500 qdisc noqueue state DOWN 07:27:08 link/ether 02:42:92:68:99:75 brd ff:ff:ff:ff:ff:ff 07:27:08 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:27:08 valid_lft forever preferred_lft forever 07:27:08 inet6 fe80::42:92ff:fe68:9975/64 scope link 07:27:08 valid_lft forever preferred_lft forever 07:27:08 07:27:08 07:27:08 ---> sar -b -r -n DEV: 07:27:08 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 02/22/21 _x86_64_ (4 CPU) 07:27:08 07:27:08 07:13:48 LINUX RESTART (4 CPU) 07:27:08 07:27:08 07:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:27:08 07:16:01 2.18 0.00 2.18 0.00 0.00 48.63 0.00 07:27:08 07:17:01 0.38 0.00 0.38 0.00 0.00 5.85 0.00 07:27:08 07:18:01 0.32 0.00 0.32 0.00 0.00 3.36 0.00 07:27:08 07:19:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 07:27:08 07:20:01 0.28 0.00 0.28 0.00 0.00 4.36 0.00 07:27:08 07:21:01 0.28 0.00 0.28 0.00 0.00 3.00 0.00 07:27:08 07:22:01 0.23 0.00 0.23 0.00 0.00 1.87 0.00 07:27:08 07:23:01 0.27 0.00 0.27 0.00 0.00 3.95 0.00 07:27:08 07:24:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 07:27:08 07:25:01 0.45 0.08 0.37 0.00 7.33 7.74 0.00 07:27:08 07:26:01 419.25 210.74 208.51 0.00 10109.93 60530.82 0.00 07:27:08 07:27:01 208.45 95.57 112.88 0.00 7749.88 27857.57 0.00 07:27:08 Average: 52.79 25.57 27.22 0.00 1490.85 7382.94 0.00 07:27:08 07:27:08 07:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:27:08 07:16:01 166192 0 567960 30.19 2620 1144772 1086848 37.09 364952 1150752 20 07:27:08 07:17:01 167900 0 566244 30.09 2620 1144780 1075540 36.71 360760 1153800 8 07:27:08 07:18:01 165660 0 568424 30.21 2620 1144840 1075648 36.71 379184 1137844 32 07:27:08 07:19:01 166344 0 567796 30.18 2620 1144784 1075540 36.71 377148 1139308 12 07:27:08 07:20:01 160476 0 573656 30.49 2620 1144792 1075696 36.71 385752 1136600 8 07:27:08 07:21:01 161508 0 572620 30.43 2620 1144796 1075540 36.71 384924 1136572 8 07:27:08 07:22:01 161576 0 572548 30.43 2620 1144800 1075540 36.71 384700 1136572 8 07:27:08 07:23:01 161784 0 572336 30.42 2620 1144804 1075540 36.71 384932 1136572 8 07:27:08 07:24:01 161568 0 572544 30.43 2620 1144812 1075540 36.71 384936 1136576 8 07:27:08 07:25:01 158200 0 575568 30.59 2620 1145156 1075756 36.71 388116 1136024 40 07:27:08 07:26:01 70496 0 827528 43.98 2224 981296 1508084 51.47 594208 886332 87660 07:27:08 07:27:01 220716 0 793784 42.19 1492 865552 1194640 40.77 547764 754140 36 07:27:08 Average: 160202 0 610917 32.47 2493 1107932 1122493 38.31 411448 1086758 7321 07:27:08 07:27:08 07:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:27:08 07:16:01 eth0 1.88 0.92 2.08 0.07 0.00 0.00 0.00 0.00 07:27:08 07:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:17:01 eth0 0.67 0.08 0.04 0.01 0.00 0.00 0.00 0.00 07:27:08 07:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:18:01 eth0 1.68 0.35 0.36 0.17 0.00 0.00 0.00 0.00 07:27:08 07:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:19:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 07:27:08 07:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:20:01 eth0 0.68 0.42 0.40 0.27 0.00 0.00 0.00 0.00 07:27:08 07:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:21:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:27:08 07:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:22:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 07:27:08 07:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:23:01 eth0 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:24:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:25:01 eth0 5.43 3.63 5.18 2.00 0.00 0.00 0.00 0.00 07:27:08 07:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:26:01 eth0 850.71 770.34 7481.61 117.24 0.00 0.00 0.00 0.00 07:27:08 07:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:26:01 docker0 43.72 42.99 3.94 199.50 0.00 0.00 0.00 0.00 07:27:08 07:27:01 eth0 332.20 256.72 2450.04 79.69 0.00 0.00 0.00 0.00 07:27:08 07:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 07:27:01 docker0 37.00 51.85 2.35 218.82 0.00 0.00 0.00 0.00 07:27:08 Average: eth0 99.61 86.19 829.51 16.65 0.00 0.00 0.00 0.00 07:27:08 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:27:08 Average: docker0 6.74 7.91 0.53 34.90 0.00 0.00 0.00 0.00 07:27:08 07:27:08