Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6125dba09cfc805438589ab7aad954d8cad7589e 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26659 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 6125dba09cfc805438589ab7aad954d8cad7589e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 Commit message: "Merge pull request #768 from hahattan/v2" > git rev-list --no-walk 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:14:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:14:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:14:04 ========================================================= 10:14:04 EdgeX Global Pipelines Version Info 10:14:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:14:05 ------------------- 10:14:05 stable info: 10:14:05 ------------------- 10:14:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:14:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:14:05 Message: update stable to v1.0.179 10:14:06 ------------------- 10:14:06 experimental info: 10:14:06 ------------------- 10:14:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:14:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:14:06 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:14:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:14:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:14:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:14:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:14:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6125dba [Pipeline] echo 10:14:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:14:09 provisioning config files... 10:14:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1153300729373842822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:10 ---> docker-login.sh 10:14:10 nexus3.edgexfoundry.org:10001 10:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:10 Configure a credential helper to remove this warning. See 10:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:10 10:14:10 Login Succeeded 10:14:10 nexus3.edgexfoundry.org:10002 10:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:10 Configure a credential helper to remove this warning. See 10:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:10 10:14:10 Login Succeeded 10:14:10 nexus3.edgexfoundry.org:10003 10:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:11 Configure a credential helper to remove this warning. See 10:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:11 10:14:11 Login Succeeded 10:14:11 nexus3.edgexfoundry.org:10004 10:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:11 Configure a credential helper to remove this warning. See 10:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:11 10:14:11 Login Succeeded 10:14:11 docker.io 10:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:11 Configure a credential helper to remove this warning. See 10:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:11 10:14:11 Login Succeeded 10:14:11 ---> docker-login.sh ends [Pipeline] } 10:14:11 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 10:14:12 + git log --format=format:%s -1 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] echo 10:14:12 GIT_COMMIT: 6125dba09cfc805438589ab7aad954d8cad7589e, Commit Message: Merge pull request #768 from hahattan/v2 [Pipeline] echo 10:14:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:14:13 10:14:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:14:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:14:14 latest: Pulling from edgex-devops/git-semver 10:14:14 31603596830f: Pulling fs layer 10:14:14 2a8b12db71e7: Pulling fs layer 10:14:14 6ca5941a6612: Pulling fs layer 10:14:14 ecc8261a40a4: Pulling fs layer 10:14:14 ecc8261a40a4: Waiting 10:14:14 2a8b12db71e7: Verifying Checksum 10:14:14 2a8b12db71e7: Download complete 10:14:14 31603596830f: Verifying Checksum 10:14:14 31603596830f: Download complete 10:14:14 ecc8261a40a4: Verifying Checksum 10:14:14 ecc8261a40a4: Download complete 10:14:14 6ca5941a6612: Verifying Checksum 10:14:14 6ca5941a6612: Download complete 10:14:14 31603596830f: Pull complete 10:14:14 2a8b12db71e7: Pull complete 10:14:15 6ca5941a6612: Pull complete 10:14:15 ecc8261a40a4: Pull complete 10:14:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:14:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:14:15 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:14:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:14:17 $ docker top c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:14:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:18 [ssh-agent] Looking for ssh-agent implementation... 10:14:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:18 $ docker exec c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent 10:14:18 SSH_AUTH_SOCK=/tmp/ssh-1DK1hyNRofVV/agent.11 10:14:18 SSH_AGENT_PID=17 10:14:18 Running ssh-add (command line suppressed) 10:14:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_881278695607015142.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_881278695607015142.key) 10:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:19 + git tag --points-at HEAD [Pipeline] } 10:14:19 $ docker exec --env ******** --env ******** c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent -k 10:14:19 unset SSH_AUTH_SOCK; 10:14:19 unset SSH_AGENT_PID; 10:14:19 echo Agent pid 17 killed; 10:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:14:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:14:19 [ssh-agent] Looking for ssh-agent implementation... 10:14:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:14:19 $ docker exec c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent 10:14:19 SSH_AUTH_SOCK=/tmp/ssh-2JwKpOrk6WgO/agent.47 10:14:19 SSH_AGENT_PID=52 10:14:19 Running ssh-add (command line suppressed) 10:14:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7094217115479968648.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7094217115479968648.key) 10:14:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:14:20 + git semver init 10:14:20 # -> Open(): unable to determine branch for HEAD 10:14:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:14:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:14:20 # $SEMVER_REMOTE_NAME = origin 10:14:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:14:20 # $SEMVER_USER_NAME = edgex-jenkins 10:14:20 # $SEMVER_BRANCH = master 10:14:20 # $SEMVER_TEMP = /tmp/semver-602987618 10:14:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:14:20 # '/tmp/semver-602987618' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 10:14:20 # -> Force: false 10:14:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:14:20 $ docker exec --env ******** --env ******** c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 ssh-agent -k 10:14:21 unset SSH_AUTH_SOCK; 10:14:21 unset SSH_AGENT_PID; 10:14:21 echo Agent pid 52 killed; 10:14:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:14:21 + git semver [Pipeline] } 10:14:21 $ docker stop --time=1 c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 10:14:22 $ docker rm -f c1344f6dd15ebc6f4f6f68bfa45a58c2bab8b23deff2fd6c3e5db02a051bc016 [Pipeline] // withDockerContainer [Pipeline] sh 10:14:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:14:23 Stashed 1 file(s) [Pipeline] echo 10:14:23 [edgeXSemver]: initialized semver on version 2.0.0-dev.11 [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 10:14:39 Still waiting to schedule task 10:14:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26659’ 10:14:39 Still waiting to schedule task 10:14:39 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 10:16:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26661 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:16:24 Running in /w/workspace/device-sdk-go/116 [Pipeline] { [Pipeline] checkout 10:16:29 using credential edgex-jenkins-ssh 10:16:29 Cloning the remote Git repository 10:16:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:16:30 > git init /w/workspace/device-sdk-go/116 # timeout=10 10:16:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:16:30 > git --version # timeout=10 10:16:30 > git --version # 'git version 2.17.1' 10:16:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:16:32 Checking out Revision 6125dba09cfc805438589ab7aad954d8cad7589e (master) 10:16:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:16:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:16:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:16:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:16:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:16:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:16:32 > git config core.sparsecheckout # timeout=10 10:16:32 > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 10:16:36 Commit message: "Merge pull request #768 from hahattan/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:16:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:16:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:16:38 + true 10:16:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:16:41 provisioning config files... 10:16:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/116@tmp/config7812977671267192954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:16:41 ---> docker-login.sh 10:16:41 nexus3.edgexfoundry.org:10001 10:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:42 Configure a credential helper to remove this warning. See 10:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:42 10:16:42 Login Succeeded 10:16:42 nexus3.edgexfoundry.org:10002 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10003 10:16:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:44 Configure a credential helper to remove this warning. See 10:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:44 10:16:44 Login Succeeded 10:16:44 nexus3.edgexfoundry.org:10004 10:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:45 Configure a credential helper to remove this warning. See 10:16:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:45 10:16:45 Login Succeeded 10:16:45 docker.io 10:16:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:16:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:16:46 Configure a credential helper to remove this warning. See 10:16:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:16:46 10:16:46 Login Succeeded 10:16:46 ---> docker-login.sh ends [Pipeline] } 10:16:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:16:46 ========================================================= 10:16:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:16:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:16:47 + 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 . 10:16:47 Sending build context to Docker daemon 2.385MB 10:16:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:16:47 Step 2/8 : FROM ${BASE} 10:16:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:16:47 5f621e34cdf4: Pulling fs layer 10:16:47 a4357932f1b6: Pulling fs layer 10:16:47 18c013af1878: Pulling fs layer 10:16:47 00ac8860ef70: Pulling fs layer 10:16:47 63d7cb157983: Pulling fs layer 10:16:47 b116817d02f9: Pulling fs layer 10:16:47 745a02a5169b: Pulling fs layer 10:16:47 63d7cb157983: Waiting 10:16:47 b116817d02f9: Waiting 10:16:47 00ac8860ef70: Waiting 10:16:47 745a02a5169b: Waiting 10:16:47 18c013af1878: Verifying Checksum 10:16:47 a4357932f1b6: Verifying Checksum 10:16:47 a4357932f1b6: Download complete 10:16:47 18c013af1878: Download complete 10:16:47 63d7cb157983: Verifying Checksum 10:16:47 63d7cb157983: Download complete 10:16:47 b116817d02f9: Verifying Checksum 10:16:47 b116817d02f9: Download complete 10:16:47 5f621e34cdf4: Verifying Checksum 10:16:47 5f621e34cdf4: Download complete 10:16:48 5f621e34cdf4: Pull complete 10:16:49 a4357932f1b6: Pull complete 10:16:49 18c013af1878: Pull complete 10:16:50 745a02a5169b: Verifying Checksum 10:16:50 745a02a5169b: Download complete 10:16:51 00ac8860ef70: Verifying Checksum 10:16:51 00ac8860ef70: Download complete 10:17:01 00ac8860ef70: Pull complete 10:17:02 63d7cb157983: Pull complete 10:17:02 b116817d02f9: Pull complete 10:17:07 745a02a5169b: Pull complete 10:17:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:17:07 ---> b7e6874047d6 10:17:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:17:09 ---> Running in 7c22ae28c2d9 10:17:09 Removing intermediate container 7c22ae28c2d9 10:17:09 ---> 6b3c9af349f1 10:17:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:10 ---> Running in 6a1f1c60dae4 10:17:12 Removing intermediate container 6a1f1c60dae4 10:17:12 ---> 7aa5b1e70cba 10:17:12 Step 5/8 : RUN apk add --update --no-cache make git 10:17:12 ---> Running in 425d68d98539 10:17:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:17:13 Running on prd-centos7-docker-4c-2g-26664 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 10:17:13 Running in /w/workspace/device-sdk-go/116 [Pipeline] { [Pipeline] checkout 10:17:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:17:15 OK: 142 MiB in 39 packages 10:17:16 using credential edgex-jenkins-ssh 10:17:16 Cloning the remote Git repository 10:17:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:17:15 > git init /w/workspace/device-sdk-go/116 # timeout=10 10:17:16 Removing intermediate container 425d68d98539 10:17:16 ---> fbc5961b6fef 10:17:16 Step 6/8 : WORKDIR /device-sdk-go 10:17:16 ---> Running in 506b26350779 10:17:16 Removing intermediate container 506b26350779 10:17:16 ---> 1c391b93cc28 10:17:16 Step 7/8 : COPY . . 10:17:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:17:15 > git --version # timeout=10 10:17:15 > git --version # 'git version 2.24.3' 10:17:15 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:17:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:17:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:17:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:17:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:17:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 10:17:17 Checking out Revision 6125dba09cfc805438589ab7aad954d8cad7589e (master) 10:17:17 ---> 2ae60ceb4b11 10:17:17 Step 8/8 : RUN go mod download 10:17:18 ---> Running in 0c7ee4870339 10:17:16 > git config core.sparsecheckout # timeout=10 10:17:16 > git checkout -f 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 10:17:20 Commit message: "Merge pull request #768 from hahattan/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:22 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:17:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:17:22 + sudo service docker restart 10:17:22 + true 10:17:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:17:23 provisioning config files... 10:17:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/116@tmp/config3561009190969822585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:24 ---> docker-login.sh 10:17:24 nexus3.edgexfoundry.org:10001 10:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:24 Configure a credential helper to remove this warning. See 10:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:24 10:17:24 Login Succeeded 10:17:24 nexus3.edgexfoundry.org:10002 10:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:24 Configure a credential helper to remove this warning. See 10:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:24 10:17:24 Login Succeeded 10:17:24 nexus3.edgexfoundry.org:10003 10:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:24 Configure a credential helper to remove this warning. See 10:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:24 10:17:24 Login Succeeded 10:17:24 nexus3.edgexfoundry.org:10004 10:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:24 Configure a credential helper to remove this warning. See 10:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:24 10:17:24 Login Succeeded 10:17:24 docker.io 10:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:25 Configure a credential helper to remove this warning. See 10:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:25 10:17:25 Login Succeeded 10:17:25 ---> docker-login.sh ends [Pipeline] } 10:17:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:17:25 ========================================================= 10:17:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:17:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:17:26 + 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 . 10:17:26 Sending build context to Docker daemon 2.386MB 10:17:26 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:17:26 Step 2/8 : FROM ${BASE} 10:17:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:17:26 188c0c94c7c5: Pulling fs layer 10:17:26 0ef7d3d256c8: Pulling fs layer 10:17:26 de9db76c5a1d: Pulling fs layer 10:17:26 bca2f99d35d6: Pulling fs layer 10:17:26 93359f2a8cfa: Pulling fs layer 10:17:26 7c6f9722023f: Pulling fs layer 10:17:26 a35cf1a2eb13: Pulling fs layer 10:17:26 93359f2a8cfa: Waiting 10:17:26 7c6f9722023f: Waiting 10:17:26 a35cf1a2eb13: Waiting 10:17:26 bca2f99d35d6: Waiting 10:17:26 de9db76c5a1d: Verifying Checksum 10:17:26 de9db76c5a1d: Download complete 10:17:26 0ef7d3d256c8: Download complete 10:17:26 93359f2a8cfa: Verifying Checksum 10:17:26 93359f2a8cfa: Download complete 10:17:26 188c0c94c7c5: Verifying Checksum 10:17:26 188c0c94c7c5: Download complete 10:17:26 7c6f9722023f: Verifying Checksum 10:17:26 7c6f9722023f: Download complete 10:17:26 188c0c94c7c5: Pull complete 10:17:26 0ef7d3d256c8: Pull complete 10:17:26 de9db76c5a1d: Pull complete 10:17:28 a35cf1a2eb13: Verifying Checksum 10:17:28 a35cf1a2eb13: Download complete 10:17:29 bca2f99d35d6: Verifying Checksum 10:17:29 bca2f99d35d6: Download complete 10:17:33 bca2f99d35d6: Pull complete 10:17:33 93359f2a8cfa: Pull complete 10:17:33 7c6f9722023f: Pull complete 10:17:43 a35cf1a2eb13: Pull complete 10:17:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:17:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:17:43 ---> a62c8e92a672 10:17:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:17:43 ---> Running in d545cb2bfbf2 10:17:43 Removing intermediate container d545cb2bfbf2 10:17:43 ---> 6abb548e0d94 10:17:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:43 ---> Running in 6887a3b6f8ae 10:17:44 Removing intermediate container 6887a3b6f8ae 10:17:44 ---> c2e7c60621b1 10:17:44 Step 5/8 : RUN apk add --update --no-cache make git 10:17:44 ---> Running in 1323c6cd851a 10:17:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:17:44 Removing intermediate container 0c7ee4870339 10:17:44 ---> 1cadb66d7be5 10:17:44 Successfully built 1cadb66d7be5 10:17:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:17:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:17:45 + docker inspect -f . ci-base-image-arm64 10:17:45 . [Pipeline] withDockerContainer 10:17:45 OK: 166 MiB in 39 packages 10:17:45 prd-ubuntu18.04-docker-arm64-4c-16g-26661 does not seem to be running inside a container 10:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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-arm64 cat 10:17:46 Removing intermediate container 1323c6cd851a 10:17:46 ---> d16bb9187b3b 10:17:46 Step 6/8 : WORKDIR /device-sdk-go 10:17:46 ---> Running in 7b7ab704fcfe 10:17:46 Removing intermediate container 7b7ab704fcfe 10:17:46 ---> 6eeebaba7e12 10:17:46 Step 7/8 : COPY . . 10:17:47 ---> 9ce37d995be2 10:17:47 Step 8/8 : RUN go mod download 10:17:47 ---> Running in e2fefb8add7a 10:17:47 $ docker top c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:48 + go version 10:17:48 go version go1.15.5 linux/arm64 [Pipeline] } 10:17:48 $ docker stop --time=1 c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f 10:17:50 $ docker rm -f c42aa6b17a5933ccac20942320b64ecb1a8518f53e16d465c6f5b67602507c1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:17:51 + docker inspect -f . ci-base-image-arm64 10:17:51 . [Pipeline] withDockerContainer 10:17:51 prd-ubuntu18.04-docker-arm64-4c-16g-26661 does not seem to be running inside a container 10:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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-arm64 cat 10:17:52 $ docker top da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:54 + make test 10:17:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:18:09 Removing intermediate container e2fefb8add7a 10:18:09 ---> b0c113bdee4a 10:18:09 Successfully built b0c113bdee4a 10:18:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:18:09 + docker inspect -f . ci-base-image-x86_64 10:18:09 . [Pipeline] withDockerContainer 10:18:09 prd-centos7-docker-4c-2g-26664 does not seem to be running inside a container 10:18:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 10:18:10 $ docker top b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:11 + go version 10:18:11 go version go1.15.5 linux/amd64 [Pipeline] } 10:18:11 $ docker stop --time=1 b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 10:18:12 $ docker rm -f b5bebdc9aee295a64ccd26870369eda9bb896064d9dfef0aaae3886ad04b3499 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:18:13 + docker inspect -f . ci-base-image-x86_64 10:18:13 . [Pipeline] withDockerContainer 10:18:13 prd-centos7-docker-4c-2g-26664 does not seem to be running inside a container 10:18:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/116 -v /w/workspace/device-sdk-go/116:/w/workspace/device-sdk-go/116:rw,z -v /w/workspace/device-sdk-go/116@tmp:/w/workspace/device-sdk-go/116@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 10:18:14 $ docker top a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:14 + make test 10:18:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:18:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:18:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:18:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:18:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:18:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:18:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements 10:19:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:19:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:19:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:19:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.147s coverage: 25.5% of statements 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 10.1% of statements 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.046s coverage: 12.5% of statements 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 49.2% of statements 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.072s coverage: 24.8% of statements 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.319s coverage: 83.5% of statements 10:19:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.3% of statements 10:19:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:19:08 GO111MODULE=on go vet ./... 10:19:17 gofmt -l . 10:19:17 [ "`gofmt -l .`" = "" ] 10:19:17 ./bin/test-attribution-txt.sh 10:19:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:19:18 $ docker stop --time=1 a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f 10:19:20 $ docker rm -f a9580e4758e0c85acc29d7f1df75494894cb28853ae0ef7f16113e75bc1d545f [Pipeline] // withDockerContainer [Pipeline] sh 10:19:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:19:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:19:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:19:24 + ls -al . 10:19:24 total 172 10:19:24 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 17 10:19 . 10:19:24 drwxrwxr-x. 4 jenkins jenkins 32 Feb 17 10:17 .. 10:19:24 drwxrwxr-x. 2 jenkins jenkins 64 Feb 17 10:17 bin 10:19:24 -rw-r--r--. 1 jenkins jenkins 89677 Feb 17 10:19 coverage.out 10:19:24 -rw-rw-r--. 1 jenkins jenkins 949 Feb 17 10:17 Dockerfile.build 10:19:24 -rw-rw-r--. 1 jenkins jenkins 140 Feb 17 10:17 .dockerignore 10:19:24 drwxrwxr-x. 4 jenkins jenkins 48 Feb 17 10:17 example 10:19:24 drwxrwxr-x. 8 jenkins jenkins 162 Feb 17 10:17 .git 10:19:24 drwxrwxr-x. 2 jenkins jenkins 103 Feb 17 10:17 .github 10:19:24 -rw-rw-r--. 1 jenkins jenkins 138 Feb 17 10:17 .gitignore 10:19:24 -rw-r--r--. 1 jenkins jenkins 515 Feb 17 10:19 go.mod 10:19:24 -rw-r--r--. 1 jenkins jenkins 19062 Feb 17 10:19 go.sum 10:19:24 drwxrwxr-x. 13 jenkins jenkins 183 Feb 17 10:17 internal 10:19:24 -rw-rw-r--. 1 jenkins jenkins 901 Feb 17 10:17 Jenkinsfile 10:19:24 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 17 10:17 LICENSE 10:19:24 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 17 10:17 Makefile 10:19:24 drwxrwxr-x. 4 jenkins jenkins 26 Feb 17 10:17 openapi 10:19:24 drwxrwxr-x. 5 jenkins jenkins 50 Feb 17 10:17 pkg 10:19:24 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 17 10:17 README.md 10:19:24 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 17 10:17 RELEASE-NOTES.txt 10:19:24 drwxrwxr-x. 4 jenkins jenkins 54 Feb 17 10:17 snap 10:19:24 -rw-rw-r--. 1 jenkins jenkins 12 Feb 17 10:14 VERSION 10:19:24 -rw-rw-r--. 1 jenkins jenkins 222 Feb 17 10:17 version.go [Pipeline] isUnix [Pipeline] sh 10:19:24 + 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=6125dba09cfc805438589ab7aad954d8cad7589e --label arch=amd64 --label version=2.0.0-dev.11 . 10:19:24 Sending build context to Docker daemon 2.477MB 10:19:24 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:19:24 Step 2/24 : FROM ${BASE} AS builder 10:19:24 ---> b0c113bdee4a 10:19:24 Step 3/24 : ARG MAKE='make build' 10:19:24 ---> Running in ea2c00293f5e 10:19:25 Removing intermediate container ea2c00293f5e 10:19:25 ---> fb4f3356507d 10:19:25 Step 4/24 : WORKDIR /device-sdk-go 10:19:25 ---> Running in 16a8519948d9 10:19:25 Removing intermediate container 16a8519948d9 10:19:25 ---> 58e97f3485b8 10:19:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:19:25 ---> Running in 2e0c5b940312 10:19:25 Removing intermediate container 2e0c5b940312 10:19:25 ---> 28cb0de43b7b 10:19:25 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:19:25 ---> Running in 66bb30c6b54e 10:19:26 Removing intermediate container 66bb30c6b54e 10:19:26 ---> 15433a8abd05 10:19:26 Step 7/24 : RUN apk add --update --no-cache make git 10:19:26 ---> Running in dae22421ba97 10:19:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:19:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:19:27 OK: 166 MiB in 39 packages 10:19:28 Removing intermediate container dae22421ba97 10:19:28 ---> cb9d55dad6da 10:19:28 Step 8/24 : COPY . . 10:19:29 ---> 8995508fd196 10:19:29 Step 9/24 : RUN ${MAKE} 10:19:29 ---> Running in 900637768e6a 10:19:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.176s coverage: 10.1% of statements 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.128s coverage: 12.5% of statements 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.134s coverage: 84.8% of statements 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 49.2% of statements 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.185s coverage: 24.8% of statements 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.798s coverage: 83.5% of statements 10:19:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements 10:19:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:19:30 GO111MODULE=on go vet ./... 10:19:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:19:39 Removing intermediate container 900637768e6a 10:19:39 ---> e6563f1828ec 10:19:39 Step 10/24 : FROM scratch 10:19:39 ---> 10:19:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:19:39 ---> Running in c62e397edeba 10:19:39 Removing intermediate container c62e397edeba 10:19:39 ---> dd15530a342f 10:19:39 Step 12/24 : ENV APP_PORT=49990 10:19:39 ---> Running in cbc6166277fa 10:19:39 Removing intermediate container cbc6166277fa 10:19:39 ---> 9f7b5731cb5f 10:19:39 Step 13/24 : EXPOSE $APP_PORT 10:19:39 ---> Running in a9b8369f0f22 10:19:40 Removing intermediate container a9b8369f0f22 10:19:40 ---> a4b3628b7d57 10:19:40 Step 14/24 : WORKDIR / 10:19:40 ---> Running in 5c7ab6c97dd0 10:19:40 Removing intermediate container 5c7ab6c97dd0 10:19:40 ---> 426c90f3e4db 10:19:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:19:41 ---> 051e54bc9d3b 10:19:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:19:41 ---> 8de47f57897b 10:19:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:19:41 ---> 25f7f7e160aa 10:19:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:19:42 ---> 9120bb81d68e 10:19:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:19:42 ---> 90535a629a4c 10:19:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:19:42 ---> Running in 97b29f70812b 10:19:42 Removing intermediate container 97b29f70812b 10:19:42 ---> 6ecac343dd5d 10:19:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:19:42 ---> Running in 79981b5eb28f 10:19:42 Removing intermediate container 79981b5eb28f 10:19:42 ---> 4585ec9d995c 10:19:42 Step 22/24 : LABEL arch=amd64 10:19:42 ---> Running in ea9251211e6f 10:19:43 Removing intermediate container ea9251211e6f 10:19:43 ---> a5508d1949b5 10:19:43 Step 23/24 : LABEL git_sha=6125dba09cfc805438589ab7aad954d8cad7589e 10:19:43 ---> Running in ecfa71bc6696 10:19:43 Removing intermediate container ecfa71bc6696 10:19:43 ---> ae588683e65e 10:19:43 Step 24/24 : LABEL version=2.0.0-dev.11 10:19:43 ---> Running in f6ac5498a6f9 10:19:43 Removing intermediate container f6ac5498a6f9 10:19:43 ---> 454882766c04 10:19:43 [Warning] One or more build-args [ARCH] were not consumed 10:19:43 Successfully built 454882766c04 10:19:43 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] } 10:20:09 gofmt -l . 10:20:09 [ "`gofmt -l .`" = "" ] 10:20:09 ./bin/test-attribution-txt.sh 10:20:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:20:09 $ docker stop --time=1 da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 10:20:11 $ docker rm -f da14d0a4884738eb463c9eb0654eb6b267f20d09bb250eef8a4b0f1a8758c301 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:20:12 Warning: overwriting stash ‘coverage-report’ 10:20:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:20:15 + ls -al . 10:20:15 total 208 10:20:15 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 10:20 . 10:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 .. 10:20:15 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 10:16 .dockerignore 10:20:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 10:16 .git 10:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:16 .github 10:20:15 -rw-rw-r-- 1 jenkins jenkins 138 Feb 17 10:16 .gitignore 10:20:15 -rw-rw-r-- 1 jenkins jenkins 949 Feb 17 10:16 Dockerfile.build 10:20:15 -rw-rw-r-- 1 jenkins jenkins 901 Feb 17 10:16 Jenkinsfile 10:20:15 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 10:16 LICENSE 10:20:15 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 17 10:16 Makefile 10:20:15 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 17 10:16 README.md 10:20:15 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 17 10:16 RELEASE-NOTES.txt 10:20:15 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 10:14 VERSION 10:20:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 10:16 bin 10:20:15 -rw-r--r-- 1 jenkins jenkins 89677 Feb 17 10:19 coverage.out 10:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 example 10:20:15 -rw-r--r-- 1 jenkins jenkins 515 Feb 17 10:20 go.mod 10:20:15 -rw-r--r-- 1 jenkins jenkins 19062 Feb 17 10:20 go.sum 10:20:15 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 10:16 internal 10:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 openapi 10:20:15 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 10:16 pkg 10:20:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 10:16 snap 10:20:15 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 10:16 version.go [Pipeline] isUnix [Pipeline] sh 10:20:15 + 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=6125dba09cfc805438589ab7aad954d8cad7589e --label arch=arm64 --label version=2.0.0-dev.11 . 10:20:15 Sending build context to Docker daemon 2.476MB 10:20:16 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:20:16 Step 2/24 : FROM ${BASE} AS builder 10:20:16 ---> 1cadb66d7be5 10:20:16 Step 3/24 : ARG MAKE='make build' 10:20:16 ---> Running in 6039d4a90e00 10:20:16 Removing intermediate container 6039d4a90e00 10:20:16 ---> 8415b7360c32 10:20:16 Step 4/24 : WORKDIR /device-sdk-go 10:20:16 ---> Running in 517821dd8f43 10:20:17 Removing intermediate container 517821dd8f43 10:20:17 ---> 6daf5881a574 10:20:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:20:17 ---> Running in 0f070dbad20f 10:20:17 Removing intermediate container 0f070dbad20f 10:20:17 ---> cbbf4b6a5885 10:20:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:20:17 ---> Running in f393c2745628 10:20:19 Removing intermediate container f393c2745628 10:20:19 ---> fd9181b7d7ee 10:20:19 Step 7/24 : RUN apk add --update --no-cache make git 10:20:20 ---> Running in 933d740b8825 10:20:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:20:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:20:22 OK: 142 MiB in 39 packages 10:20:24 Removing intermediate container 933d740b8825 10:20:24 ---> 69052e285666 10:20:24 Step 8/24 : COPY . . 10:20:25 ---> d6eda7bc8199 10:20:25 Step 9/24 : RUN ${MAKE} 10:20:25 ---> Running in 50fb8bf13f83 10:20:26 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:20:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:20:57 Removing intermediate container 50fb8bf13f83 10:20:57 ---> cc990d90d323 10:20:57 Step 10/24 : FROM scratch 10:20:57 ---> 10:20:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:20:57 ---> Running in 767d2cf4a3e3 10:20:57 Removing intermediate container 767d2cf4a3e3 10:20:57 ---> fe53156a78aa 10:20:57 Step 12/24 : ENV APP_PORT=49990 10:20:57 ---> Running in be88848dc53a 10:20:57 Removing intermediate container be88848dc53a 10:20:57 ---> 634ac7f54f79 10:20:57 Step 13/24 : EXPOSE $APP_PORT 10:20:57 ---> Running in 9a0800f302bf 10:20:58 Removing intermediate container 9a0800f302bf 10:20:58 ---> 7af403514e18 10:20:58 Step 14/24 : WORKDIR / 10:20:58 ---> Running in 60b34f0fe0bc 10:20:58 Removing intermediate container 60b34f0fe0bc 10:20:58 ---> a01ef551d1f4 10:20:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:21:00 ---> 57d224f0a7e7 10:21:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:21:00 ---> 2c9060c8ac41 10:21:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:21:01 ---> b3fff6af7873 10:21:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:21:02 ---> 3cc3594a4366 10:21:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:21:03 ---> 93b709f35fbf 10:21:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:21:03 ---> Running in b9005f3acb01 10:21:03 Removing intermediate container b9005f3acb01 10:21:03 ---> 67cb816631ba 10:21:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:21:03 ---> Running in 5697be197b1c 10:21:04 Removing intermediate container 5697be197b1c 10:21:04 ---> 2b185e374cbb 10:21:04 Step 22/24 : LABEL arch=arm64 10:21:04 ---> Running in e9fd1609b542 10:21:05 Removing intermediate container e9fd1609b542 10:21:05 ---> d1fcdbd008b5 10:21:05 Step 23/24 : LABEL git_sha=6125dba09cfc805438589ab7aad954d8cad7589e 10:21:05 ---> Running in 9fb49beb7be5 10:21:05 Removing intermediate container 9fb49beb7be5 10:21:05 ---> 9fd950fade1c 10:21:05 Step 24/24 : LABEL version=2.0.0-dev.11 10:21:05 ---> Running in 41f248545c46 10:21:06 Removing intermediate container 41f248545c46 10:21:06 ---> dfb61dae5600 10:21:06 [Warning] One or more build-args [ARCH] were not consumed 10:21:06 Successfully built dfb61dae5600 10:21:06 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 10:21:08 provisioning config files... 10:21:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6323803311518323830tmp [Pipeline] { [Pipeline] sh 10:21:08 + set +x 10:21:08 + curl -s https://codecov.io/bash 10:21:08 + bash -s -- 10:21:08 10:21:08 _____ _ 10:21:08 / ____| | | 10:21:08 | | ___ __| | ___ ___ _____ __ 10:21:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:21:08 | |___| (_) | (_| | __/ (_| (_) \ V / 10:21:08 \_____\___/ \__,_|\___|\___\___/ \_/ 10:21:08 Bash-20210129-7c25fce 10:21:08 10:21:08 10:21:08 ==> git version 2.24.3 found 10:21:08 ==> 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 10:21:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:21:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:21:08 ==> Jenkins CI detected. 10:21:08 project root: . 10:21:08 --> token set from env 10:21:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:21:08 ==> Running gcov in . (disable via -X gcov) 10:21:08 ==> Python coveragepy not found 10:21:08 ==> Searching for coverage reports in: 10:21:08 + . 10:21:08 -> Found 1 reports 10:21:08 ==> Detecting git/mercurial file structure 10:21:08 ==> Reading reports 10:21:08 + ./coverage.out bytes=89677 10:21:08 ==> Appending adjustments 10:21:08 https://docs.codecov.io/docs/fixing-reports 10:21:08 + Found adjustments 10:21:09 ==> Gzipping contents 10:21:09 16K /tmp/codecov.nGWjUz.gz 10:21:09 ==> Uploading reports 10:21:09 url: https://codecov.io 10:21:09 query: branch=master&commit=6125dba09cfc805438589ab7aad954d8cad7589e&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:21:09 -> Pinging Codecov 10:21:09 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=6125dba09cfc805438589ab7aad954d8cad7589e&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:21:09 -> Uploading to 10:21:09 https://storage.googleapis.com/codecov/v4/raw/2021-02-17/7E55EF52A471D76F132DFD9A03CDDE97/6125dba09cfc805438589ab7aad954d8cad7589e/695390a9-7277-4976-982e-67faf2d4c4c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210217T102109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42a0ecd8c54998bfd38bb6f9d5510692a4e135147468767a9ffd6dd0291c703e 10:21:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:09 Dload Upload Total Spent Left Speed 10:21:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15141 0 0 100 15141 0 32526 --:--:-- --:--:-- --:--:-- 32561 10:21:10 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] } 10:21:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:21:10 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:21:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:21:11 10:21:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 10:21:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:21:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:21:11 188c0c94c7c5: Pulling fs layer 10:21:11 0ef7d3d256c8: Pulling fs layer 10:21:11 de9db76c5a1d: Pulling fs layer 10:21:11 0eba1c9be4d2: Pulling fs layer 10:21:11 0d57e429df01: Pulling fs layer 10:21:11 4e4be7b47b0d: Pulling fs layer 10:21:11 e1f770b5df2f: Pulling fs layer 10:21:11 85a0685a4137: Pulling fs layer 10:21:11 0eba1c9be4d2: Waiting 10:21:11 0d57e429df01: Waiting 10:21:11 4e4be7b47b0d: Waiting 10:21:11 e1f770b5df2f: Waiting 10:21:11 85a0685a4137: Waiting 10:21:11 de9db76c5a1d: Verifying Checksum 10:21:11 de9db76c5a1d: Download complete 10:21:11 0ef7d3d256c8: Download complete 10:21:11 0d57e429df01: Download complete 10:21:11 4e4be7b47b0d: Verifying Checksum 10:21:11 4e4be7b47b0d: Download complete 10:21:11 188c0c94c7c5: Verifying Checksum 10:21:11 188c0c94c7c5: Download complete 10:21:12 188c0c94c7c5: Pull complete 10:21:12 0ef7d3d256c8: Pull complete 10:21:12 de9db76c5a1d: Pull complete 10:21:13 e1f770b5df2f: Verifying Checksum 10:21:13 e1f770b5df2f: Download complete 10:21:15 0eba1c9be4d2: Verifying Checksum 10:21:15 0eba1c9be4d2: Download complete 10:21:15 85a0685a4137: Verifying Checksum 10:21:15 85a0685a4137: Download complete 10:21:20 0eba1c9be4d2: Pull complete 10:21:20 0d57e429df01: Pull complete 10:21:20 4e4be7b47b0d: Pull complete 10:21:22 e1f770b5df2f: Pull complete 10:21:31 85a0685a4137: Pull complete 10:21:31 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 10:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:21:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 10:21:31 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:21:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:21:32 $ docker top 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c -eo pid,comm [Pipeline] { [Pipeline] echo 10:21:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 10:21:32 + set -o pipefail 10:21:32 + snyk monitor '--org=edgex-jenkins' 10:21:51 10:21:51 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 10:21:51 10:21:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f5011cd7-49b0-4a4c-8e1c-dcd277521567 10:21:51 10:21:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:21:51 10:21:51 10:21:51 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 10:21:51 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:21:51 $ docker stop --time=1 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c 10:21:53 $ docker rm -f 94088c2001b5091c7648281810e5b8a0e12a21bd68566d51a3e7decf42d64d5c [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 10:21:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:55 provisioning config files... 10:21:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4503162517953387191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:55 --> edgex-publish-swagger.sh 10:21:55 === Publish openapi/v1 API === 10:21:55 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 10:21:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 10:21:55 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:55 Dload Upload Total Spent Left Speed 10:21:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23451 --:--:-- --:--:-- --:--:-- 23439 100 19947 0 0 100 19947 0 23445 --:--:-- --:--:-- --:--:-- 23439 10:21:56 10:21:56 10:21:56 === Publish openapi/v2 API === 10:21:56 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 10:21:56 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 10:21:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:56 Dload Upload Total Spent Left Speed 10:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 62218 --:--:-- --:--:-- --:--:-- 62209 100 52256 0 0 100 52256 0 62203 --:--:-- --:--:-- --:--:-- 62209 10:21:57 10:21:57 [Pipeline] } 10:21:57 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 10:21:58 + git log --format=format:%s -1 6125dba09cfc805438589ab7aad954d8cad7589e [Pipeline] isUnix [Pipeline] sh 10:21:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:21:58 . [Pipeline] withDockerContainer 10:21:58 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:21:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:21:59 $ docker top cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:59 [ssh-agent] Looking for ssh-agent implementation... 10:21:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:59 $ docker exec cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 ssh-agent 10:22:00 SSH_AUTH_SOCK=/tmp/ssh-oZlPg7UdsMjv/agent.11 10:22:00 SSH_AGENT_PID=16 10:22:00 Running ssh-add (command line suppressed) 10:22:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6508104357440272357.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6508104357440272357.key) 10:22:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:22:00 + git semver tag 10:22:00 # -> Open(): unable to determine branch for HEAD 10:22:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:22:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:22:00 # $SEMVER_REMOTE_NAME = origin 10:22:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:22:00 # $SEMVER_USER_NAME = edgex-jenkins 10:22:00 # $SEMVER_BRANCH = master 10:22:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:22:00 # 6125dba09cfc805438589ab7aad954d8cad7589e HEAD 10:22:00 # -> Force: false 10:22:00 # efe2a2f4e4d4fcbec7cd11da1c69670d867d3e1e refs/tags/v2.0.0-dev.11 [Pipeline] } 10:22:00 $ docker exec --env ******** --env ******** cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 ssh-agent -k 10:22:00 unset SSH_AUTH_SOCK; 10:22:00 unset SSH_AGENT_PID; 10:22:00 echo Agent pid 16 killed; 10:22:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:22:01 + git semver [Pipeline] } 10:22:01 $ docker stop --time=1 cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 10:22:02 $ docker rm -f cbc359c761c8fb05219ec19afa2bd682b0defb624dd0bbcfcc147e30bbec1d42 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 10:22:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:22:03 10:22:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 10:22:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:22:03 0.23.1-centos7: Pulling from edgex-lftools 10:22:03 ab5ef0e58194: Pulling fs layer 10:22:03 9712f1f96733: Pulling fs layer 10:22:03 63f879dbbcfc: Pulling fs layer 10:22:03 0d9ebad4ef96: Pulling fs layer 10:22:03 e9a5061849ea: Pulling fs layer 10:22:03 d747dcd14b5f: Pulling fs layer 10:22:03 2de7ff778b66: Pulling fs layer 10:22:03 e9a5061849ea: Waiting 10:22:03 d747dcd14b5f: Waiting 10:22:03 2de7ff778b66: Waiting 10:22:03 0d9ebad4ef96: Waiting 10:22:03 9712f1f96733: Verifying Checksum 10:22:03 9712f1f96733: Download complete 10:22:05 63f879dbbcfc: Verifying Checksum 10:22:05 63f879dbbcfc: Download complete 10:22:05 e9a5061849ea: Verifying Checksum 10:22:05 e9a5061849ea: Download complete 10:22:05 d747dcd14b5f: Verifying Checksum 10:22:05 d747dcd14b5f: Download complete 10:22:06 ab5ef0e58194: Verifying Checksum 10:22:06 ab5ef0e58194: Download complete 10:22:06 2de7ff778b66: Verifying Checksum 10:22:06 2de7ff778b66: Download complete 10:22:06 0d9ebad4ef96: Verifying Checksum 10:22:06 0d9ebad4ef96: Download complete 10:22:10 ab5ef0e58194: Pull complete 10:22:10 9712f1f96733: Pull complete 10:22:12 63f879dbbcfc: Pull complete 10:22:19 0d9ebad4ef96: Pull complete 10:22:19 e9a5061849ea: Pull complete 10:22:20 d747dcd14b5f: Pull complete 10:22:22 2de7ff778b66: Pull complete 10:22:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:22:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:22:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 10:22:22 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:22:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:22:26 $ docker top 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:22:26 provisioning config files... 10:22:26 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5942658440671826563tmp 10:22:26 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8172029757617955776tmp 10:22:26 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9102345123734253995tmp [Pipeline] { [Pipeline] echo 10:22:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:22:27 ---> sigul-configuration.sh 10:22:27 gpg: directory `/root/.gnupg' created 10:22:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:22:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:22:27 gpg: keyring `/root/.gnupg/secring.gpg' created 10:22:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:22:27 gpg: CAST5 encrypted data 10:22:27 gpg: encrypted with 1 passphrase 10:22:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:22:27 + mkdir /home/jenkins 10:22:27 + mkdir /home/jenkins/sigul [Pipeline] sh 10:22:28 + 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 10:22:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:22:28 ---> sigul-install.sh 10:22:34 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 10:22:35 + git tag --list 10:22:35 0.7.1 10:22:35 delhi-tag 10:22:35 v1.0.0 10:22:35 v1.1.0 10:22:35 v1.1.1 10:22:35 v1.1.2 10:22:35 v1.2.0 10:22:35 v1.2.1 10:22:35 v1.2.2 10:22:35 v1.2.3 10:22:35 v1.3.0 10:22:35 v1.4.0 10:22:35 v2.0.0-dev.1 10:22:35 v2.0.0-dev.10 10:22:35 v2.0.0-dev.11 10:22:35 v2.0.0-dev.2 10:22:35 v2.0.0-dev.3 10:22:35 v2.0.0-dev.4 10:22:35 v2.0.0-dev.5 10:22:35 v2.0.0-dev.6 10:22:35 v2.0.0-dev.7 10:22:35 v2.0.0-dev.8 10:22:35 v2.0.0-dev.9 [Pipeline] sh 10:22:35 + lftools sign git-tag v2.0.0-dev.11 10:22:36 Signing Git tag with Sigul... 10:22:36 Signing v2.0.0-dev.11 [Pipeline] echo 10:22:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:22:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:22:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:22:38 $ docker stop --time=1 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 10:22:40 $ docker rm -f 0ee44b00cc2fe6cc476cec9b9ce66db23b4384f08e632ffee8df62390d874214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 10:22:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:22:41 . [Pipeline] withDockerContainer 10:22:41 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:22:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:22:42 $ docker top e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:22:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:22:42 [ssh-agent] Looking for ssh-agent implementation... 10:22:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:22:42 $ docker exec e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 ssh-agent 10:22:42 SSH_AUTH_SOCK=/tmp/ssh-vdIZvf9AKN1z/agent.11 10:22:42 SSH_AGENT_PID=17 10:22:42 Running ssh-add (command line suppressed) 10:22:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339490238698404672.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8339490238698404672.key) 10:22:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:22:43 + git semver bump pre 10:22:43 # -> Open(): unable to determine branch for HEAD 10:22:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:22:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:22:43 # $SEMVER_REMOTE_NAME = origin 10:22:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:22:43 # $SEMVER_USER_NAME = edgex-jenkins 10:22:43 # $SEMVER_BRANCH = master 10:22:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 10:22:43 2.0.0-dev.12 [Pipeline] } 10:22:43 $ docker exec --env ******** --env ******** e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 ssh-agent -k 10:22:43 unset SSH_AUTH_SOCK; 10:22:43 unset SSH_AGENT_PID; 10:22:43 echo Agent pid 17 killed; 10:22:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:22:44 + git semver [Pipeline] } 10:22:44 $ docker stop --time=1 e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 10:22:45 $ docker rm -f e9fd5e061b96562b7fb19d84d076bc64f3434e7499ce5f32f59850fd3b0c9533 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 10:22:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:22:46 . [Pipeline] withDockerContainer 10:22:46 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:22:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:22:46 $ docker top 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:22:47 [ssh-agent] Looking for ssh-agent implementation... 10:22:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:22:47 $ docker exec 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 ssh-agent 10:22:47 SSH_AUTH_SOCK=/tmp/ssh-u2oFxIaMC5EU/agent.11 10:22:47 SSH_AGENT_PID=16 10:22:47 Running ssh-add (command line suppressed) 10:22:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2289960854843438717.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2289960854843438717.key) 10:22:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:22:48 + git semver push 10:22:48 # -> Open(): unable to determine branch for HEAD 10:22:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 10:22:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 10:22:48 # $SEMVER_REMOTE_NAME = origin 10:22:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:22:48 # $SEMVER_USER_NAME = edgex-jenkins 10:22:48 # $SEMVER_BRANCH = master 10:22:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 10:22:54 $ docker exec --env ******** --env ******** 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 ssh-agent -k 10:22:54 unset SSH_AUTH_SOCK; 10:22:54 unset SSH_AGENT_PID; 10:22:54 echo Agent pid 16 killed; 10:22:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:22:55 + git semver [Pipeline] } 10:22:55 $ docker stop --time=1 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 10:22:56 $ docker rm -f 03c3bcd9760e030ea2574c372f35fdfcda23e1d4a4d453a5568338b1bd2a4240 [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 10:22:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:22:58 ---> package-listing.sh 10:22:58 ++ facter osfamily 10:22:58 ++ tr '[:upper:]' '[:lower:]' 10:22:58 + OS_FAMILY=redhat 10:22:58 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 10:22:58 + START_PACKAGES=/tmp/packages_start.txt 10:22:58 + END_PACKAGES=/tmp/packages_end.txt 10:22:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:22:58 + PACKAGES=/tmp/packages_start.txt 10:22:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:22:58 + PACKAGES=/tmp/packages_end.txt 10:22:58 + case "${OS_FAMILY}" in 10:22:58 + rpm -qa 10:22:58 + sort 10:23:04 + '[' -f /tmp/packages_start.txt ']' 10:23:04 + '[' -f /tmp/packages_end.txt ']' 10:23:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:23:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 10:23:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 10:23:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 10:23:04 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 10:23:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:23:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:23:04 10:23:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:23:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:23:05 alpine: Pulling from edgex-lftools-log-publisher 10:23:05 df20fa9351a1: Pulling fs layer 10:23:05 36b3adc4ff6f: Pulling fs layer 10:23:05 8ad3a11d3b57: Pulling fs layer 10:23:05 46f8f816bc3b: Pulling fs layer 10:23:05 93b61091891f: Pulling fs layer 10:23:05 93b9cdb0e59b: Pulling fs layer 10:23:05 5e14af77c1be: Pulling fs layer 10:23:05 01666e4c0597: Pulling fs layer 10:23:05 aa168da1d23b: Pulling fs layer 10:23:05 93b61091891f: Waiting 10:23:05 93b9cdb0e59b: Waiting 10:23:05 5e14af77c1be: Waiting 10:23:05 01666e4c0597: Waiting 10:23:05 aa168da1d23b: Waiting 10:23:05 46f8f816bc3b: Waiting 10:23:05 36b3adc4ff6f: Download complete 10:23:05 46f8f816bc3b: Verifying Checksum 10:23:05 46f8f816bc3b: Download complete 10:23:05 df20fa9351a1: Verifying Checksum 10:23:05 df20fa9351a1: Download complete 10:23:05 93b9cdb0e59b: Verifying Checksum 10:23:05 93b9cdb0e59b: Download complete 10:23:05 93b61091891f: Verifying Checksum 10:23:05 93b61091891f: Download complete 10:23:05 5e14af77c1be: Verifying Checksum 10:23:05 5e14af77c1be: Download complete 10:23:05 01666e4c0597: Download complete 10:23:05 8ad3a11d3b57: Verifying Checksum 10:23:05 8ad3a11d3b57: Download complete 10:23:05 df20fa9351a1: Pull complete 10:23:05 36b3adc4ff6f: Pull complete 10:23:06 8ad3a11d3b57: Pull complete 10:23:06 46f8f816bc3b: Pull complete 10:23:07 93b61091891f: Pull complete 10:23:07 93b9cdb0e59b: Pull complete 10:23:07 aa168da1d23b: Verifying Checksum 10:23:07 aa168da1d23b: Download complete 10:23:08 5e14af77c1be: Pull complete 10:23:08 01666e4c0597: Pull complete 10:23:14 aa168da1d23b: Pull complete 10:23:14 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:23:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:23:15 prd-centos7-docker-4c-2g-26659 does not seem to be running inside a container 10:23:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:23:17 $ docker top 5e1e6246c93079cb7a02bc71a9901dbe717626a18bf6d2f71e747618bfa20cdb -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:18 + touch /tmp/pre-build-complete [Pipeline] sh 10:23:18 + mkdir -p /var/log/sa [Pipeline] sh 10:23:18 + ls /var/log/sa-host 10:23:18 + sadf -c /var/log/sa-host/sa17 10:23:18 file_magic: OK 10:23:18 HZ: Using current value: 100 10:23:18 file_header: OK 10:23:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:23:18 Statistics: 10:23:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:23:18 File successfully converted to sysstat format version 12.2.1 10:23:18 + sadf -c /var/log/sa-host/sa23 10:23:18 file_magic: OK 10:23:18 HZ: Using current value: 100 10:23:18 file_header: OK 10:23:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:23:18 Statistics: 10:23:18 Hnuu...uuuununununu... 10:23:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:19 provisioning config files... 10:23:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config854623002066933023tmp [Pipeline] { [Pipeline] echo 10:23:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:23:19 ---> create-netrc.sh [Pipeline] } 10:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:23:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:23:20 ---> python-tools-install.sh [Pipeline] echo 10:23:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:23:20 ---> sudo-logs.sh 10:23:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:23:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:23:21 ---> job-cost.sh 10:23:21 lf-activate-venv: SKIPPING 10:23:21 INFO: No Stack... 10:23:22 INFO: Retrieving Pricing Info for: v1-standard-2 10:23:23 INFO: Archiving Costs [Pipeline] echo 10:23:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:23:23 ---> logs-deploy.sh 10:23:23 lf-activate-venv: SKIPPING 10:23:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/116 10:23:23 INFO: archiving workspace using pattern(s): 10:23:25 Archives upload complete. 10:23:25 INFO: archiving logs to Nexus