Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2e0b14878cfb4a574be8745ab7c226ce26d53775 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22166 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 Checking out Revision 2e0b14878cfb4a574be8745ab7c226ce26d53775 (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 Commit message: "Merge pull request #747 from hahattan/issue-736" > git rev-list --no-walk 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:38:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:38:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:38:33 ========================================================= 02:38:33 EdgeX Global Pipelines Version Info 02:38:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:38:35 ------------------- 02:38:35 stable info: 02:38:35 ------------------- 02:38:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:38:35 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:38:35 Message: update stable to v1.0.179 02:38:36 ------------------- 02:38:36 experimental info: 02:38:36 ------------------- 02:38:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:38:36 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:38:36 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:38:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:38:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:38:38 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e0b14878cfb4a574be8745ab7c226ce26d53775 [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e0b148 [Pipeline] echo 02:38:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:38:39 provisioning config files... 02:38:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1340800110082719482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:38:40 ---> docker-login.sh 02:38:40 nexus3.edgexfoundry.org:10001 02:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:40 Configure a credential helper to remove this warning. See 02:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:40 02:38:40 Login Succeeded 02:38:40 nexus3.edgexfoundry.org:10002 02:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:40 Configure a credential helper to remove this warning. See 02:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:40 02:38:40 Login Succeeded 02:38:40 nexus3.edgexfoundry.org:10003 02:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:40 Configure a credential helper to remove this warning. See 02:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:40 02:38:40 Login Succeeded 02:38:40 nexus3.edgexfoundry.org:10004 02:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:41 Configure a credential helper to remove this warning. See 02:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:41 02:38:41 Login Succeeded 02:38:41 docker.io 02:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:38:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:38:41 Configure a credential helper to remove this warning. See 02:38:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:38:41 02:38:41 Login Succeeded 02:38:41 ---> docker-login.sh ends [Pipeline] } 02:38:41 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 02:38:42 + git log --format=format:%s -1 2e0b14878cfb4a574be8745ab7c226ce26d53775 [Pipeline] echo 02:38:42 GIT_COMMIT: 2e0b14878cfb4a574be8745ab7c226ce26d53775, Commit Message: Merge pull request #747 from hahattan/issue-736 [Pipeline] echo 02:38:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:38:43 02:38:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:38:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:38:43 latest: Pulling from edgex-devops/git-semver 02:38:43 31603596830f: Pulling fs layer 02:38:43 2a8b12db71e7: Pulling fs layer 02:38:43 6ca5941a6612: Pulling fs layer 02:38:43 ecc8261a40a4: Pulling fs layer 02:38:43 ecc8261a40a4: Waiting 02:38:43 2a8b12db71e7: Verifying Checksum 02:38:43 2a8b12db71e7: Download complete 02:38:44 31603596830f: Verifying Checksum 02:38:44 31603596830f: Download complete 02:38:44 6ca5941a6612: Verifying Checksum 02:38:44 6ca5941a6612: Download complete 02:38:44 ecc8261a40a4: Verifying Checksum 02:38:44 ecc8261a40a4: Download complete 02:38:44 31603596830f: Pull complete 02:38:44 2a8b12db71e7: Pull complete 02:38:45 6ca5941a6612: Pull complete 02:38:45 ecc8261a40a4: Pull complete 02:38:45 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:38:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:38:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:38:45 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:38:47 $ docker top dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:48 [ssh-agent] Looking for ssh-agent implementation... 02:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:48 $ docker exec dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 ssh-agent 02:38:48 SSH_AUTH_SOCK=/tmp/ssh-TgthJUIryrq7/agent.12 02:38:48 SSH_AGENT_PID=18 02:38:48 Running ssh-add (command line suppressed) 02:38:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1965423156798986245.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1965423156798986245.key) 02:38:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:49 + git tag --points-at HEAD [Pipeline] } 02:38:49 $ docker exec --env ******** --env ******** dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 ssh-agent -k 02:38:49 unset SSH_AUTH_SOCK; 02:38:49 unset SSH_AGENT_PID; 02:38:49 echo Agent pid 18 killed; 02:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:38:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:38:49 [ssh-agent] Looking for ssh-agent implementation... 02:38:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:38:49 $ docker exec dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 ssh-agent 02:38:50 SSH_AUTH_SOCK=/tmp/ssh-EkyY0aK5xfZj/agent.47 02:38:50 SSH_AGENT_PID=52 02:38:50 Running ssh-add (command line suppressed) 02:38:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6146229047394939801.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6146229047394939801.key) 02:38:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:38:50 + git semver init 02:38:50 # -> Open(): unable to determine branch for HEAD 02:38:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:38:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:38:50 # $SEMVER_REMOTE_NAME = origin 02:38:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:38:50 # $SEMVER_USER_NAME = edgex-jenkins 02:38:50 # $SEMVER_BRANCH = master 02:38:50 # $SEMVER_TEMP = /tmp/semver-753150800 02:38:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:38:51 # '/tmp/semver-753150800' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 02:38:51 # -> Force: false 02:38:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 02:38:51 $ docker exec --env ******** --env ******** dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 ssh-agent -k 02:38:51 unset SSH_AUTH_SOCK; 02:38:51 unset SSH_AGENT_PID; 02:38:51 echo Agent pid 52 killed; 02:38:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:38:51 + git semver [Pipeline] } 02:38:51 $ docker stop --time=1 dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 02:38:53 $ docker rm -f dade50fc059b8b5f2df0ffa49f5cf04a331bd838a850a2be5d58765346a917a0 [Pipeline] // withDockerContainer [Pipeline] sh 02:38:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:38:54 Stashed 1 file(s) [Pipeline] echo 02:38:54 [edgeXSemver]: initialized semver on version 2.0.0-dev.6 [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 02:39:09 Still waiting to schedule task 02:39:09 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-22167’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:39:09 Still waiting to schedule task 02:39:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:40:38 Running on prd-centos7-docker-4c-2g-22170 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 02:40:38 Running in /w/workspace/device-sdk-go/111 [Pipeline] { [Pipeline] checkout 02:40:41 using credential edgex-jenkins-ssh 02:40:41 Cloning the remote Git repository 02:40:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:40:41 > git init /w/workspace/device-sdk-go/111 # timeout=10 02:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:40:41 > git --version # timeout=10 02:40:41 > git --version # 'git version 2.24.3' 02:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:40:42 Checking out Revision 2e0b14878cfb4a574be8745ab7c226ce26d53775 (master) 02:40:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:40:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:40:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:40:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:40:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:40:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:40:42 > git config core.sparsecheckout # timeout=10 02:40:42 > git checkout -f 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:40:46 Commit message: "Merge pull request #747 from hahattan/issue-736" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:40:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:40:48 + sudo service docker restart 02:40:48 + true 02:40:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:40:49 provisioning config files... 02:40:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/111@tmp/config1966896591967947277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:49 ---> docker-login.sh 02:40:49 nexus3.edgexfoundry.org:10001 02:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:50 Configure a credential helper to remove this warning. See 02:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:50 02:40:50 Login Succeeded 02:40:50 nexus3.edgexfoundry.org:10002 02:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:50 Configure a credential helper to remove this warning. See 02:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:50 02:40:50 Login Succeeded 02:40:50 nexus3.edgexfoundry.org:10003 02:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:50 Configure a credential helper to remove this warning. See 02:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:50 02:40:50 Login Succeeded 02:40:50 nexus3.edgexfoundry.org:10004 02:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:50 Configure a credential helper to remove this warning. See 02:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:50 02:40:50 Login Succeeded 02:40:50 docker.io 02:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:51 Configure a credential helper to remove this warning. See 02:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:51 02:40:51 Login Succeeded 02:40:51 ---> docker-login.sh ends [Pipeline] } 02:40:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:40:51 ========================================================= 02:40:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:40:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:40:51 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 02:40:51 Sending build context to Docker daemon 2.546MB 02:40:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:40:51 Step 2/8 : FROM ${BASE} 02:40:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:40:52 188c0c94c7c5: Pulling fs layer 02:40:52 0ef7d3d256c8: Pulling fs layer 02:40:52 de9db76c5a1d: Pulling fs layer 02:40:52 bca2f99d35d6: Pulling fs layer 02:40:52 93359f2a8cfa: Pulling fs layer 02:40:52 7c6f9722023f: Pulling fs layer 02:40:52 a35cf1a2eb13: Pulling fs layer 02:40:52 bca2f99d35d6: Waiting 02:40:52 93359f2a8cfa: Waiting 02:40:52 7c6f9722023f: Waiting 02:40:52 a35cf1a2eb13: Waiting 02:40:52 de9db76c5a1d: Verifying Checksum 02:40:52 de9db76c5a1d: Download complete 02:40:52 0ef7d3d256c8: Download complete 02:40:52 93359f2a8cfa: Verifying Checksum 02:40:52 93359f2a8cfa: Download complete 02:40:52 7c6f9722023f: Verifying Checksum 02:40:52 7c6f9722023f: Download complete 02:40:52 188c0c94c7c5: Verifying Checksum 02:40:52 188c0c94c7c5: Download complete 02:40:52 188c0c94c7c5: Pull complete 02:40:52 0ef7d3d256c8: Pull complete 02:40:52 de9db76c5a1d: Pull complete 02:40:54 a35cf1a2eb13: Verifying Checksum 02:40:55 bca2f99d35d6: Verifying Checksum 02:40:55 bca2f99d35d6: Download complete 02:40:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22169 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 02:40:58 Running in /w/workspace/device-sdk-go/111 [Pipeline] { [Pipeline] checkout 02:41:01 bca2f99d35d6: Pull complete 02:41:01 93359f2a8cfa: Pull complete 02:41:01 7c6f9722023f: Pull complete 02:41:03 using credential edgex-jenkins-ssh 02:41:04 Cloning the remote Git repository 02:41:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:41:04 > git init /w/workspace/device-sdk-go/111 # timeout=10 02:41:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:41:04 > git --version # timeout=10 02:41:04 > git --version # 'git version 2.17.1' 02:41:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:06 Checking out Revision 2e0b14878cfb4a574be8745ab7c226ce26d53775 (master) 02:41:06 a35cf1a2eb13: Pull complete 02:41:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:41:06 ---> a62c8e92a672 02:41:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:41:06 ---> Running in 8cc725c87488 02:41:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:41:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:41:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:41:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:41:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:41:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 02:41:06 > git config core.sparsecheckout # timeout=10 02:41:06 > git checkout -f 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 02:41:06 Removing intermediate container 8cc725c87488 02:41:06 ---> 67074ca5ae23 02:41:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:41:06 ---> Running in 06bf7d095a17 02:41:07 Removing intermediate container 06bf7d095a17 02:41:07 ---> b83b10c9b3e9 02:41:07 Step 5/8 : RUN apk add --update --no-cache make git 02:41:07 ---> Running in 3256d14700ce 02:41:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:41:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:41:10 Commit message: "Merge pull request #747 from hahattan/issue-736" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:11 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:41:12 OK: 166 MiB in 39 packages 02:41:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:41:12 Removing intermediate container 3256d14700ce 02:41:12 ---> 759c8416e3af 02:41:12 Step 6/8 : WORKDIR /device-sdk-go 02:41:12 ---> Running in 6ac7b51896d1 02:41:12 Removing intermediate container 6ac7b51896d1 02:41:12 ---> e4723876feea 02:41:12 Step 7/8 : COPY . . 02:41:12 + true 02:41:12 + sudo service docker restart 02:41:14 ---> 32028e4ca506 02:41:14 Step 8/8 : RUN go mod download 02:41:14 ---> Running in 6d18911d502b [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:15 provisioning config files... 02:41:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/111@tmp/config4670718786426808095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:15 ---> docker-login.sh 02:41:15 nexus3.edgexfoundry.org:10001 02:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:17 Configure a credential helper to remove this warning. See 02:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:17 02:41:17 Login Succeeded 02:41:17 nexus3.edgexfoundry.org:10002 02:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:17 Configure a credential helper to remove this warning. See 02:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:17 02:41:17 Login Succeeded 02:41:17 nexus3.edgexfoundry.org:10003 02:41:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:18 Configure a credential helper to remove this warning. See 02:41:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:18 02:41:18 Login Succeeded 02:41:18 nexus3.edgexfoundry.org:10004 02:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:18 Configure a credential helper to remove this warning. See 02:41:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:18 02:41:18 Login Succeeded 02:41:18 docker.io 02:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:20 Configure a credential helper to remove this warning. See 02:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:20 02:41:20 Login Succeeded 02:41:20 ---> docker-login.sh ends [Pipeline] } 02:41:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:41:21 ========================================================= 02:41:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:41:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:41:21 + 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 . 02:41:21 Sending build context to Docker daemon 2.545MB 02:41:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:41:21 Step 2/8 : FROM ${BASE} 02:41:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:41:21 5f621e34cdf4: Pulling fs layer 02:41:21 a4357932f1b6: Pulling fs layer 02:41:21 18c013af1878: Pulling fs layer 02:41:21 00ac8860ef70: Pulling fs layer 02:41:21 63d7cb157983: Pulling fs layer 02:41:21 b116817d02f9: Pulling fs layer 02:41:21 745a02a5169b: Pulling fs layer 02:41:21 00ac8860ef70: Waiting 02:41:21 63d7cb157983: Waiting 02:41:21 b116817d02f9: Waiting 02:41:21 745a02a5169b: Waiting 02:41:21 18c013af1878: Download complete 02:41:21 a4357932f1b6: Verifying Checksum 02:41:21 a4357932f1b6: Download complete 02:41:21 63d7cb157983: Download complete 02:41:21 b116817d02f9: Verifying Checksum 02:41:21 b116817d02f9: Download complete 02:41:22 5f621e34cdf4: Download complete 02:41:22 5f621e34cdf4: Pull complete 02:41:23 a4357932f1b6: Pull complete 02:41:23 18c013af1878: Pull complete 02:41:24 745a02a5169b: Verifying Checksum 02:41:24 745a02a5169b: Download complete 02:41:25 00ac8860ef70: Verifying Checksum 02:41:25 00ac8860ef70: Download complete 02:41:32 Removing intermediate container 6d18911d502b 02:41:32 ---> f6c7369b4c14 02:41:32 Successfully built f6c7369b4c14 02:41:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:41:32 + docker inspect -f . ci-base-image-x86_64 02:41:32 . [Pipeline] withDockerContainer 02:41:32 prd-centos7-docker-4c-2g-22170 does not seem to be running inside a container 02:41:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/111 -v /w/workspace/device-sdk-go/111:/w/workspace/device-sdk-go/111:rw,z -v /w/workspace/device-sdk-go/111@tmp:/w/workspace/device-sdk-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:41:33 $ docker top 183d6aca76163e0719478784baa82ceb143f6a79a9a1c3828b146f030a943951 -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:34 + go version 02:41:34 go version go1.15.5 linux/amd64 [Pipeline] } 02:41:34 $ docker stop --time=1 183d6aca76163e0719478784baa82ceb143f6a79a9a1c3828b146f030a943951 02:41:35 $ docker rm -f 183d6aca76163e0719478784baa82ceb143f6a79a9a1c3828b146f030a943951 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 02:41:35 00ac8860ef70: Pull complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:41:36 63d7cb157983: Pull complete 02:41:36 + docker inspect -f . ci-base-image-x86_64 02:41:36 . [Pipeline] withDockerContainer 02:41:36 b116817d02f9: Pull complete 02:41:36 prd-centos7-docker-4c-2g-22170 does not seem to be running inside a container 02:41:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/111 -v /w/workspace/device-sdk-go/111:/w/workspace/device-sdk-go/111:rw,z -v /w/workspace/device-sdk-go/111@tmp:/w/workspace/device-sdk-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:41:37 $ docker top 2a2719065cdff54f8b06d9d41cee54339bc283d5261ea125c7008aab6b4f073d -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:38 + make test 02:41:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:41:40 745a02a5169b: Pull complete 02:41:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:41:40 ---> b7e6874047d6 02:41:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:41:43 ---> Running in 9f21c7946b1a 02:41:43 Removing intermediate container 9f21c7946b1a 02:41:43 ---> a2fecc7877a3 02:41:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:41:43 ---> Running in 3d3a60f4c312 02:41:46 Removing intermediate container 3d3a60f4c312 02:41:46 ---> 2a61f9112fb2 02:41:46 Step 5/8 : RUN apk add --update --no-cache make git 02:41:46 ---> Running in f60646c4dcce 02:41:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:41:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:41:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:41:49 OK: 142 MiB in 39 packages 02:41:50 Removing intermediate container f60646c4dcce 02:41:50 ---> 7a0d6adc2ed0 02:41:50 Step 6/8 : WORKDIR /device-sdk-go 02:41:50 ---> Running in 2d06d85075f9 02:41:51 Removing intermediate container 2d06d85075f9 02:41:51 ---> 52df917f0b92 02:41:51 Step 7/8 : COPY . . 02:41:52 ---> e5287258881a 02:41:52 Step 8/8 : RUN go mod download 02:41:52 ---> Running in 0ec7efc3e2dc 02:42:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:42:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:42:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:42:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 19.4% of statements 02:42:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.504s coverage: 97.1% of statements 02:42:14 Removing intermediate container 0ec7efc3e2dc 02:42:14 ---> 2c2647a7a902 02:42:14 Successfully built 2c2647a7a902 02:42:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:42:15 + docker inspect -f . ci-base-image-arm64 02:42:15 . [Pipeline] withDockerContainer 02:42:15 prd-ubuntu18.04-docker-arm64-4c-16g-22169 does not seem to be running inside a container 02:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/111 -v /w/workspace/device-sdk-go/111:/w/workspace/device-sdk-go/111:rw,z -v /w/workspace/device-sdk-go/111@tmp:/w/workspace/device-sdk-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:42:17 $ docker top 2a605d9dfd18b0898861f9d7a8b84c0608cf7944a73a4ff0a3d79560fdf6a608 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:18 + go version 02:42:18 go version go1.15.5 linux/arm64 [Pipeline] } 02:42:18 $ docker stop --time=1 2a605d9dfd18b0898861f9d7a8b84c0608cf7944a73a4ff0a3d79560fdf6a608 02:42:20 $ docker rm -f 2a605d9dfd18b0898861f9d7a8b84c0608cf7944a73a4ff0a3d79560fdf6a608 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:42:21 + docker inspect -f . ci-base-image-arm64 02:42:21 . [Pipeline] withDockerContainer 02:42:21 prd-ubuntu18.04-docker-arm64-4c-16g-22169 does not seem to be running inside a container 02:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/111 -v /w/workspace/device-sdk-go/111:/w/workspace/device-sdk-go/111:rw,z -v /w/workspace/device-sdk-go/111@tmp:/w/workspace/device-sdk-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:42:23 $ docker top 8a397a1730718143f01d1948f13f099363a93afe3fe765ab838260d8872db79d -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:24 + make test 02:42:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.075s coverage: 9.4% of statements 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 21.7% of statements 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.227s coverage: 43.2% of statements 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.295s coverage: 68.9% of statements 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.071s coverage: 53.8% of statements 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 26.8% of statements 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.470s coverage: 83.5% of statements 02:42:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.208s coverage: 4.2% of statements 02:42:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:42:36 GO111MODULE=on go vet ./... 02:42:45 gofmt -l . 02:42:45 [ "`gofmt -l .`" = "" ] 02:42:45 ./bin/test-attribution-txt.sh 02:42:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:42:45 $ docker stop --time=1 2a2719065cdff54f8b06d9d41cee54339bc283d5261ea125c7008aab6b4f073d 02:42:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:42:47 $ docker rm -f 2a2719065cdff54f8b06d9d41cee54339bc283d5261ea125c7008aab6b4f073d [Pipeline] // withDockerContainer [Pipeline] sh 02:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:42:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:51 + ls -al . 02:42:51 total 216 02:42:51 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 02:42 . 02:42:51 drwxrwxr-x. 4 jenkins jenkins 32 Jan 22 02:40 .. 02:42:51 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 02:40 bin 02:42:51 -rw-r--r--. 1 jenkins jenkins 136842 Jan 22 02:42 coverage.out 02:42:51 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 02:40 Dockerfile.build 02:42:51 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 02:40 .dockerignore 02:42:51 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 02:40 example 02:42:51 drwxrwxr-x. 8 jenkins jenkins 162 Jan 22 02:40 .git 02:42:51 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 02:40 .github 02:42:51 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 02:40 .gitignore 02:42:51 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 02:42 go.mod 02:42:51 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 02:42 go.sum 02:42:51 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 02:40 internal 02:42:51 -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 02:40 Jenkinsfile 02:42:51 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 02:40 LICENSE 02:42:51 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 02:40 Makefile 02:42:51 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 02:40 openapi 02:42:51 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 02:40 pkg 02:42:51 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 02:40 README.md 02:42:51 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 02:40 RELEASE-NOTES.txt 02:42:51 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 02:40 snap 02:42:51 -rw-rw-r--. 1 jenkins jenkins 11 Jan 22 02:38 VERSION 02:42:51 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 02:40 version.go [Pipeline] isUnix [Pipeline] sh 02:42:52 + 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=2e0b14878cfb4a574be8745ab7c226ce26d53775 --label arch=amd64 --label version=2.0.0-dev.6 . 02:42:52 Sending build context to Docker daemon 2.683MB 02:42:52 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:42:52 Step 2/24 : FROM ${BASE} AS builder 02:42:52 ---> f6c7369b4c14 02:42:52 Step 3/24 : ARG MAKE='make build' 02:42:53 ---> Running in 1fea200a11a0 02:42:53 Removing intermediate container 1fea200a11a0 02:42:53 ---> f72a852a2f2d 02:42:53 Step 4/24 : WORKDIR /device-sdk-go 02:42:53 ---> Running in 64a61b9160f4 02:42:53 Removing intermediate container 64a61b9160f4 02:42:53 ---> 04052c35a23f 02:42:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:42:53 ---> Running in 36a5743e7a21 02:42:53 Removing intermediate container 36a5743e7a21 02:42:53 ---> ee2a836ba16c 02:42:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:42:53 ---> Running in b39eef9277af 02:42:55 Removing intermediate container b39eef9277af 02:42:55 ---> f5207226caf6 02:42:55 Step 7/24 : RUN apk add --update --no-cache make git 02:42:55 ---> Running in 6efe65856a8b 02:42:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:42:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:42:58 OK: 166 MiB in 39 packages 02:42:59 Removing intermediate container 6efe65856a8b 02:42:59 ---> a29845fcc6c0 02:42:59 Step 8/24 : COPY . . 02:42:59 ---> 8fe1196b9572 02:42:59 Step 9/24 : RUN ${MAKE} 02:42:59 ---> Running in 95bfd9f2889d 02:43:00 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:43:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:43:12 Removing intermediate container 95bfd9f2889d 02:43:12 ---> e5c0c56452a4 02:43:12 Step 10/24 : FROM scratch 02:43:12 ---> 02:43:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:43:12 ---> Running in 948272ea46e2 02:43:12 Removing intermediate container 948272ea46e2 02:43:12 ---> efd31fbfdc60 02:43:12 Step 12/24 : ENV APP_PORT=49990 02:43:12 ---> Running in 23f3c5ac10e7 02:43:12 Removing intermediate container 23f3c5ac10e7 02:43:12 ---> b9b9fec846fe 02:43:12 Step 13/24 : EXPOSE $APP_PORT 02:43:12 ---> Running in 600d52fff553 02:43:13 Removing intermediate container 600d52fff553 02:43:13 ---> c9f9f4ff077a 02:43:13 Step 14/24 : WORKDIR / 02:43:13 ---> Running in 991f05a654e1 02:43:13 Removing intermediate container 991f05a654e1 02:43:13 ---> 7ab57e0594f3 02:43:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:43:13 ---> 0140e6abf11e 02:43:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:43:13 ---> 49c2f58e90b3 02:43:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:43:14 ---> 2348da85d921 02:43:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:43:14 ---> d3772e94b5ce 02:43:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:43:14 ---> 64c1a00ccdd4 02:43:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:43:14 ---> Running in 153bba077953 02:43:14 Removing intermediate container 153bba077953 02:43:14 ---> 276f494f3516 02:43:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:43:14 ---> Running in be8ff4738dc0 02:43:15 Removing intermediate container be8ff4738dc0 02:43:15 ---> 2ec4fa89dbad 02:43:15 Step 22/24 : LABEL arch=amd64 02:43:15 ---> Running in 232bf55ccdbe 02:43:15 Removing intermediate container 232bf55ccdbe 02:43:15 ---> 80edd8fafc60 02:43:15 Step 23/24 : LABEL git_sha=2e0b14878cfb4a574be8745ab7c226ce26d53775 02:43:15 ---> Running in 3706a3799f10 02:43:15 Removing intermediate container 3706a3799f10 02:43:15 ---> 3877e521edee 02:43:15 Step 24/24 : LABEL version=2.0.0-dev.6 02:43:15 ---> Running in 0d2c22145a99 02:43:16 Removing intermediate container 0d2c22145a99 02:43:16 ---> 05c2ea116c65 02:43:16 [Warning] One or more build-args [ARCH] were not consumed 02:43:16 Successfully built 05c2ea116c65 02:43:16 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] } 02:43:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:43:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:43:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:43:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 19.4% of statements 02:43:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.161s coverage: 97.1% of statements 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.126s coverage: 9.4% of statements 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 21.7% of statements 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.600s coverage: 43.2% of statements 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.719s coverage: 68.9% of statements 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.217s coverage: 53.8% of statements 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.178s coverage: 26.8% of statements 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.988s coverage: 83.5% of statements 02:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 4.2% of statements 02:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:44:00 GO111MODULE=on go vet ./... 02:44:33 gofmt -l . 02:44:33 [ "`gofmt -l .`" = "" ] 02:44:33 ./bin/test-attribution-txt.sh 02:44:34 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:44:34 $ docker stop --time=1 8a397a1730718143f01d1948f13f099363a93afe3fe765ab838260d8872db79d 02:44:36 $ docker rm -f 8a397a1730718143f01d1948f13f099363a93afe3fe765ab838260d8872db79d [Pipeline] // withDockerContainer [Pipeline] sh 02:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:44:37 Warning: overwriting stash ‘coverage-report’ 02:44:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:44:41 + ls -al . 02:44:41 total 252 02:44:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 02:44 . 02:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:41 .. 02:44:41 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 02:41 .dockerignore 02:44:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 02:41 .git 02:44:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:41 .github 02:44:41 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 02:41 .gitignore 02:44:41 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 02:41 Dockerfile.build 02:44:41 -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 02:41 Jenkinsfile 02:44:41 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 02:41 LICENSE 02:44:41 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 02:41 Makefile 02:44:41 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 02:41 README.md 02:44:41 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 02:41 RELEASE-NOTES.txt 02:44:41 -rw-rw-r-- 1 jenkins jenkins 11 Jan 22 02:38 VERSION 02:44:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 02:41 bin 02:44:41 -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 02:43 coverage.out 02:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:41 example 02:44:41 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 02:44 go.mod 02:44:41 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 02:44 go.sum 02:44:41 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 02:41 internal 02:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:41 openapi 02:44:41 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 02:41 pkg 02:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 02:41 snap 02:44:41 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 02:41 version.go [Pipeline] isUnix [Pipeline] sh 02:44:41 + 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=2e0b14878cfb4a574be8745ab7c226ce26d53775 --label arch=arm64 --label version=2.0.0-dev.6 . 02:44:42 Sending build context to Docker daemon 2.682MB 02:44:42 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:44:42 Step 2/24 : FROM ${BASE} AS builder 02:44:42 ---> 2c2647a7a902 02:44:42 Step 3/24 : ARG MAKE='make build' 02:44:42 ---> Running in 6b99abaa08dc 02:44:42 Removing intermediate container 6b99abaa08dc 02:44:42 ---> 01dcbb61caad 02:44:42 Step 4/24 : WORKDIR /device-sdk-go 02:44:43 ---> Running in c21ad038acf2 02:44:43 Removing intermediate container c21ad038acf2 02:44:43 ---> 4cf03627f700 02:44:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:43 ---> Running in d7fae58b4371 02:44:43 Removing intermediate container d7fae58b4371 02:44:43 ---> 85207b3cc775 02:44:43 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:44 ---> Running in 82a0ca18f0a1 02:44:46 Removing intermediate container 82a0ca18f0a1 02:44:46 ---> 524886d8a308 02:44:46 Step 7/24 : RUN apk add --update --no-cache make git 02:44:46 ---> Running in 42c0c304eb75 02:44:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:53 OK: 142 MiB in 39 packages 02:44:54 Removing intermediate container 42c0c304eb75 02:44:54 ---> 6cc9957bc24e 02:44:54 Step 8/24 : COPY . . 02:44:55 ---> 369fc0e5f1f0 02:44:55 Step 9/24 : RUN ${MAKE} 02:44:55 ---> Running in f2a695315ba6 02:44:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:45:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:45:23 Removing intermediate container f2a695315ba6 02:45:23 ---> 4004a2e5f940 02:45:23 Step 10/24 : FROM scratch 02:45:23 ---> 02:45:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:23 ---> Running in a086478770e5 02:45:23 Removing intermediate container a086478770e5 02:45:23 ---> fcba28f17b38 02:45:23 Step 12/24 : ENV APP_PORT=49990 02:45:23 ---> Running in f37b574cbe48 02:45:23 Removing intermediate container f37b574cbe48 02:45:23 ---> 863f64894e86 02:45:23 Step 13/24 : EXPOSE $APP_PORT 02:45:23 ---> Running in c3c3c1da8240 02:45:24 Removing intermediate container c3c3c1da8240 02:45:24 ---> 159986ff3e2e 02:45:24 Step 14/24 : WORKDIR / 02:45:24 ---> Running in 58356d7807b4 02:45:24 Removing intermediate container 58356d7807b4 02:45:24 ---> 5de85f678891 02:45:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:45:26 ---> f24d15de22db 02:45:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:45:26 ---> 03a2bb3455d8 02:45:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:45:27 ---> efabe91de697 02:45:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:45:28 ---> 10b8540706be 02:45:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:45:29 ---> 53e96b8e240a 02:45:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:45:29 ---> Running in e10fcbdbf071 02:45:29 Removing intermediate container e10fcbdbf071 02:45:29 ---> 5fff187b4513 02:45:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:45:29 ---> Running in 4abed850c7f8 02:45:30 Removing intermediate container 4abed850c7f8 02:45:30 ---> afa3f0d8c117 02:45:30 Step 22/24 : LABEL arch=arm64 02:45:30 ---> Running in f52ce9363d5e 02:45:30 Removing intermediate container f52ce9363d5e 02:45:30 ---> 62df7e71415e 02:45:30 Step 23/24 : LABEL git_sha=2e0b14878cfb4a574be8745ab7c226ce26d53775 02:45:30 ---> Running in c2efcd7245d7 02:45:31 Removing intermediate container c2efcd7245d7 02:45:31 ---> a9416929ab2c 02:45:31 Step 24/24 : LABEL version=2.0.0-dev.6 02:45:31 ---> Running in 5a8a3690b53e 02:45:31 Removing intermediate container 5a8a3690b53e 02:45:31 ---> e5d471fc24eb 02:45:31 [Warning] One or more build-args [ARCH] were not consumed 02:45:31 Successfully built e5d471fc24eb 02:45:31 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 02:45:33 provisioning config files... 02:45:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1154900171186644155tmp [Pipeline] { [Pipeline] sh 02:45:34 + set +x 02:45:34 + curl -s https://codecov.io/bash 02:45:34 + bash -s -- 02:45:34 02:45:34 _____ _ 02:45:34 / ____| | | 02:45:34 | | ___ __| | ___ ___ _____ __ 02:45:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:45:34 | |___| (_) | (_| | __/ (_| (_) \ V / 02:45:34 \_____\___/ \__,_|\___|\___\___/ \_/ 02:45:34 Bash-20210115-cec3c92 02:45:34 02:45:34 02:45:34 ==> git version 2.24.3 found 02:45:34 ==> 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 02:45:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:45:34 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:45:34 ==> Jenkins CI detected. 02:45:34 project root: . 02:45:34 --> token set from env 02:45:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:45:34 ==> Running gcov in . (disable via -X gcov) 02:45:34 ==> Python coveragepy not found 02:45:34 ==> Searching for coverage reports in: 02:45:34 + . 02:45:34 -> Found 1 reports 02:45:34 ==> Detecting git/mercurial file structure 02:45:34 ==> Reading reports 02:45:34 + ./coverage.out bytes=136842 02:45:34 ==> Appending adjustments 02:45:34 https://docs.codecov.io/docs/fixing-reports 02:45:34 + Found adjustments 02:45:34 ==> Gzipping contents 02:45:34 24K /tmp/codecov.r8W1S8.gz 02:45:34 ==> Uploading reports 02:45:34 url: https://codecov.io 02:45:34 query: branch=master&commit=2e0b14878cfb4a574be8745ab7c226ce26d53775&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:45:34 -> Pinging Codecov 02:45:34 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=2e0b14878cfb4a574be8745ab7c226ce26d53775&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:45:35 -> Uploading to 02:45:35 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/2e0b14878cfb4a574be8745ab7c226ce26d53775/7fcc825c-a50d-4b62-8341-7ba559052d07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T024535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe05c73e07b25836ff91003015c68c90dde9c61495c274899d43333c47cf9be 02:45:35 % Total % Received % Xferd Average Speed Time Time Time Current 02:45:35 Dload Upload Total Spent Left Speed 02:45:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21527 0 0 100 21527 0 41813 --:--:-- --:--:-- --:--:-- 41800 02:45:35 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2e0b14878cfb4a574be8745ab7c226ce26d53775 [Pipeline] } 02:45:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:45:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:45:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:37 02:45:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:45:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:45:37 188c0c94c7c5: Pulling fs layer 02:45:37 0ef7d3d256c8: Pulling fs layer 02:45:37 de9db76c5a1d: Pulling fs layer 02:45:37 0eba1c9be4d2: Pulling fs layer 02:45:37 0d57e429df01: Pulling fs layer 02:45:37 4e4be7b47b0d: Pulling fs layer 02:45:37 e1f770b5df2f: Pulling fs layer 02:45:37 85a0685a4137: Pulling fs layer 02:45:37 4e4be7b47b0d: Waiting 02:45:37 e1f770b5df2f: Waiting 02:45:37 85a0685a4137: Waiting 02:45:37 0eba1c9be4d2: Waiting 02:45:37 0d57e429df01: Waiting 02:45:37 de9db76c5a1d: Verifying Checksum 02:45:37 de9db76c5a1d: Download complete 02:45:37 0ef7d3d256c8: Verifying Checksum 02:45:37 0ef7d3d256c8: Download complete 02:45:37 0d57e429df01: Verifying Checksum 02:45:37 0d57e429df01: Download complete 02:45:37 4e4be7b47b0d: Verifying Checksum 02:45:37 4e4be7b47b0d: Download complete 02:45:37 188c0c94c7c5: Verifying Checksum 02:45:37 188c0c94c7c5: Download complete 02:45:38 188c0c94c7c5: Pull complete 02:45:38 e1f770b5df2f: Verifying Checksum 02:45:38 e1f770b5df2f: Download complete 02:45:38 0ef7d3d256c8: Pull complete 02:45:38 de9db76c5a1d: Pull complete 02:45:40 0eba1c9be4d2: Verifying Checksum 02:45:40 0eba1c9be4d2: Download complete 02:45:41 85a0685a4137: Verifying Checksum 02:45:41 85a0685a4137: Download complete 02:45:47 0eba1c9be4d2: Pull complete 02:45:47 0d57e429df01: Pull complete 02:45:47 4e4be7b47b0d: Pull complete 02:45:49 e1f770b5df2f: Pull complete 02:45:57 85a0685a4137: Pull complete 02:45:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:45:58 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:45:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:45:59 $ docker top 4774d10843e7a28bc78ac49a750ef49e2e2eddd29e4ae7bd03aa854289874e9b -eo pid,comm [Pipeline] { [Pipeline] echo 02:45:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:45:59 + set -o pipefail 02:45:59 + snyk monitor '--org=edgex-jenkins' 02:46:06 02:46:06 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 02:46:06 02:46:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/17a7d927-9de5-445e-bbfb-6153952dae69 02:46:06 02:46:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:46:06 02:46:06 [Pipeline] } 02:46:06 $ docker stop --time=1 4774d10843e7a28bc78ac49a750ef49e2e2eddd29e4ae7bd03aa854289874e9b 02:46:09 $ docker rm -f 4774d10843e7a28bc78ac49a750ef49e2e2eddd29e4ae7bd03aa854289874e9b [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 02:46:10 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:10 provisioning config files... 02:46:10 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3402486485027868040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:10 --> edgex-publish-swagger.sh 02:46:10 === Publish openapi/v1 API === 02:46:10 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 02:46:10 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 02:46:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:46:10 Dload Upload Total Spent Left Speed 02:46:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 25742 --:--:-- --:--:-- --:--:-- 25771 02:46:11 02:46:11 02:46:11 === Publish openapi/v2 API === 02:46:11 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 02:46:11 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 02:46:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:46:11 Dload Upload Total Spent Left Speed 02:46:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44473 0 0 100 44473 0 58039 --:--:-- --:--:-- --:--:-- 57983 02:46:12 02:46:12 [Pipeline] } 02:46:12 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 02:46:13 + git log --format=format:%s -1 2e0b14878cfb4a574be8745ab7c226ce26d53775 [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:46:13 . [Pipeline] withDockerContainer 02:46:13 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:46:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:46:14 $ docker top 77357573cbe4ca114bf1b880dd95f3290d7d574c48154d3c5f1fbbfd49109861 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:14 [ssh-agent] Looking for ssh-agent implementation... 02:46:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:15 $ docker exec 77357573cbe4ca114bf1b880dd95f3290d7d574c48154d3c5f1fbbfd49109861 ssh-agent 02:46:15 SSH_AUTH_SOCK=/tmp/ssh-TGrMu7YYL1wx/agent.12 02:46:15 SSH_AGENT_PID=17 02:46:15 Running ssh-add (command line suppressed) 02:46:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4317914283589059886.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4317914283589059886.key) 02:46:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:15 + git semver tag 02:46:15 # -> Open(): unable to determine branch for HEAD 02:46:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:46:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:46:15 # $SEMVER_REMOTE_NAME = origin 02:46:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:46:15 # $SEMVER_USER_NAME = edgex-jenkins 02:46:15 # $SEMVER_BRANCH = master 02:46:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 02:46:15 # 2e0b14878cfb4a574be8745ab7c226ce26d53775 HEAD 02:46:16 # -> Force: false 02:46:16 # 9d6646bee11e983b34e67368e1cb5eeb64562fd6 refs/tags/v2.0.0-dev.6 [Pipeline] } 02:46:16 $ docker exec --env ******** --env ******** 77357573cbe4ca114bf1b880dd95f3290d7d574c48154d3c5f1fbbfd49109861 ssh-agent -k 02:46:16 unset SSH_AUTH_SOCK; 02:46:16 unset SSH_AGENT_PID; 02:46:16 echo Agent pid 17 killed; 02:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:16 + git semver [Pipeline] } 02:46:16 $ docker stop --time=1 77357573cbe4ca114bf1b880dd95f3290d7d574c48154d3c5f1fbbfd49109861 02:46:18 $ docker rm -f 77357573cbe4ca114bf1b880dd95f3290d7d574c48154d3c5f1fbbfd49109861 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:46:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:18 02:46:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:46:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:19 0.23.1-centos7: Pulling from edgex-lftools 02:46:19 ab5ef0e58194: Pulling fs layer 02:46:19 9712f1f96733: Pulling fs layer 02:46:19 63f879dbbcfc: Pulling fs layer 02:46:19 0d9ebad4ef96: Pulling fs layer 02:46:19 e9a5061849ea: Pulling fs layer 02:46:19 d747dcd14b5f: Pulling fs layer 02:46:19 2de7ff778b66: Pulling fs layer 02:46:19 d747dcd14b5f: Waiting 02:46:19 2de7ff778b66: Waiting 02:46:19 e9a5061849ea: Waiting 02:46:19 0d9ebad4ef96: Waiting 02:46:19 9712f1f96733: Verifying Checksum 02:46:19 9712f1f96733: Download complete 02:46:21 63f879dbbcfc: Verifying Checksum 02:46:21 63f879dbbcfc: Download complete 02:46:21 e9a5061849ea: Verifying Checksum 02:46:21 e9a5061849ea: Download complete 02:46:21 d747dcd14b5f: Verifying Checksum 02:46:21 d747dcd14b5f: Download complete 02:46:21 2de7ff778b66: Verifying Checksum 02:46:21 2de7ff778b66: Download complete 02:46:22 0d9ebad4ef96: Verifying Checksum 02:46:22 0d9ebad4ef96: Download complete 02:46:22 ab5ef0e58194: Download complete 02:46:27 ab5ef0e58194: Pull complete 02:46:27 9712f1f96733: Pull complete 02:46:29 63f879dbbcfc: Pull complete 02:46:36 0d9ebad4ef96: Pull complete 02:46:40 e9a5061849ea: Pull complete 02:46:40 d747dcd14b5f: Pull complete 02:46:41 2de7ff778b66: Pull complete 02:46:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:46:41 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:46:46 $ docker top ce7d3399e9f39e9e18917f2933164f9b120b9db2271c95985a29dc2c75b4506e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:46:46 provisioning config files... 02:46:47 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7539390190794000705tmp 02:46:47 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8000369755689877288tmp 02:46:47 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2407632640558785137tmp [Pipeline] { [Pipeline] echo 02:46:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:46:47 ---> sigul-configuration.sh 02:46:47 gpg: directory `/root/.gnupg' created 02:46:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:46:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:46:47 gpg: keyring `/root/.gnupg/secring.gpg' created 02:46:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:46:47 gpg: CAST5 encrypted data 02:46:47 gpg: encrypted with 1 passphrase 02:46:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:46:47 + mkdir /home/jenkins 02:46:47 + mkdir /home/jenkins/sigul [Pipeline] sh 02:46:48 + 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 02:46:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:46:48 ---> sigul-install.sh 02:46:53 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:46:54 + git tag --list 02:46:54 0.7.1 02:46:54 delhi-tag 02:46:54 v1.0.0 02:46:54 v1.1.0 02:46:54 v1.1.1 02:46:54 v1.1.2 02:46:54 v1.2.0 02:46:54 v1.2.1 02:46:54 v1.2.2 02:46:54 v1.2.3 02:46:54 v1.3.0 02:46:54 v1.4.0 02:46:54 v2.0.0-dev.1 02:46:54 v2.0.0-dev.2 02:46:54 v2.0.0-dev.3 02:46:54 v2.0.0-dev.4 02:46:54 v2.0.0-dev.5 02:46:54 v2.0.0-dev.6 [Pipeline] sh 02:46:54 + lftools sign git-tag v2.0.0-dev.6 02:46:55 Signing Git tag with Sigul... 02:46:55 Signing v2.0.0-dev.6 [Pipeline] echo 02:46:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:46:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:46:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:46:57 $ docker stop --time=1 ce7d3399e9f39e9e18917f2933164f9b120b9db2271c95985a29dc2c75b4506e 02:46:59 $ docker rm -f ce7d3399e9f39e9e18917f2933164f9b120b9db2271c95985a29dc2c75b4506e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:46:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:46:59 . [Pipeline] withDockerContainer 02:47:00 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:47:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:47:00 $ docker top 7b340281bcdddfd3567b3b6b190439716004eeb31f863bf0cd4125ea587c7d49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:47:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:47:01 [ssh-agent] Looking for ssh-agent implementation... 02:47:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:47:01 $ docker exec 7b340281bcdddfd3567b3b6b190439716004eeb31f863bf0cd4125ea587c7d49 ssh-agent 02:47:01 SSH_AUTH_SOCK=/tmp/ssh-aqnF1vHTGC9F/agent.11 02:47:01 SSH_AGENT_PID=16 02:47:01 Running ssh-add (command line suppressed) 02:47:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1815620013020922369.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1815620013020922369.key) 02:47:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:47:02 + git semver bump pre 02:47:02 # -> Open(): unable to determine branch for HEAD 02:47:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:47:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:47:02 # $SEMVER_REMOTE_NAME = origin 02:47:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:47:02 # $SEMVER_USER_NAME = edgex-jenkins 02:47:02 # $SEMVER_BRANCH = master 02:47:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 02:47:02 2.0.0-dev.7 [Pipeline] } 02:47:02 $ docker exec --env ******** --env ******** 7b340281bcdddfd3567b3b6b190439716004eeb31f863bf0cd4125ea587c7d49 ssh-agent -k 02:47:02 unset SSH_AUTH_SOCK; 02:47:02 unset SSH_AGENT_PID; 02:47:02 echo Agent pid 16 killed; 02:47:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:47:02 + git semver [Pipeline] } 02:47:03 $ docker stop --time=1 7b340281bcdddfd3567b3b6b190439716004eeb31f863bf0cd4125ea587c7d49 02:47:04 $ docker rm -f 7b340281bcdddfd3567b3b6b190439716004eeb31f863bf0cd4125ea587c7d49 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:47:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:47:04 . [Pipeline] withDockerContainer 02:47:05 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:47:05 $ docker top b2111c19ea1a335896221a58f30ddd0ff995bf4ad227dd78a4e30fee60dc59fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:47:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:47:06 [ssh-agent] Looking for ssh-agent implementation... 02:47:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:47:06 $ docker exec b2111c19ea1a335896221a58f30ddd0ff995bf4ad227dd78a4e30fee60dc59fa ssh-agent 02:47:06 SSH_AUTH_SOCK=/tmp/ssh-sygPyLu57ek7/agent.12 02:47:06 SSH_AGENT_PID=18 02:47:06 Running ssh-add (command line suppressed) 02:47:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4361231512303101335.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4361231512303101335.key) 02:47:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:47:07 + git semver push 02:47:07 # -> Open(): unable to determine branch for HEAD 02:47:07 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 02:47:07 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 02:47:07 # $SEMVER_REMOTE_NAME = origin 02:47:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:47:07 # $SEMVER_USER_NAME = edgex-jenkins 02:47:07 # $SEMVER_BRANCH = master 02:47:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 02:47:13 $ docker exec --env ******** --env ******** b2111c19ea1a335896221a58f30ddd0ff995bf4ad227dd78a4e30fee60dc59fa ssh-agent -k 02:47:13 unset SSH_AUTH_SOCK; 02:47:13 unset SSH_AGENT_PID; 02:47:13 echo Agent pid 18 killed; 02:47:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:47:14 + git semver [Pipeline] } 02:47:14 $ docker stop --time=1 b2111c19ea1a335896221a58f30ddd0ff995bf4ad227dd78a4e30fee60dc59fa 02:47:15 $ docker rm -f b2111c19ea1a335896221a58f30ddd0ff995bf4ad227dd78a4e30fee60dc59fa [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 02:47:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:17 ---> package-listing.sh 02:47:17 ++ facter osfamily 02:47:17 ++ tr '[:upper:]' '[:lower:]' 02:47:17 + OS_FAMILY=redhat 02:47:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 02:47:17 + START_PACKAGES=/tmp/packages_start.txt 02:47:17 + END_PACKAGES=/tmp/packages_end.txt 02:47:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:17 + PACKAGES=/tmp/packages_start.txt 02:47:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 02:47:17 + PACKAGES=/tmp/packages_end.txt 02:47:17 + case "${OS_FAMILY}" in 02:47:17 + rpm -qa 02:47:17 + sort 02:47:23 + '[' -f /tmp/packages_start.txt ']' 02:47:23 + '[' -f /tmp/packages_end.txt ']' 02:47:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:47:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 02:47:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 02:47:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 02:47:23 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 02:47:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:23 02:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:47:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:24 alpine: Pulling from edgex-lftools-log-publisher 02:47:24 df20fa9351a1: Pulling fs layer 02:47:24 36b3adc4ff6f: Pulling fs layer 02:47:24 8ad3a11d3b57: Pulling fs layer 02:47:24 46f8f816bc3b: Pulling fs layer 02:47:24 93b61091891f: Pulling fs layer 02:47:24 93b9cdb0e59b: Pulling fs layer 02:47:24 5e14af77c1be: Pulling fs layer 02:47:24 01666e4c0597: Pulling fs layer 02:47:24 aa168da1d23b: Pulling fs layer 02:47:24 46f8f816bc3b: Waiting 02:47:24 5e14af77c1be: Waiting 02:47:24 01666e4c0597: Waiting 02:47:24 93b61091891f: Waiting 02:47:24 aa168da1d23b: Waiting 02:47:24 93b9cdb0e59b: Waiting 02:47:24 36b3adc4ff6f: Download complete 02:47:24 46f8f816bc3b: Download complete 02:47:24 df20fa9351a1: Verifying Checksum 02:47:24 df20fa9351a1: Download complete 02:47:24 93b9cdb0e59b: Verifying Checksum 02:47:24 93b9cdb0e59b: Download complete 02:47:24 5e14af77c1be: Verifying Checksum 02:47:24 5e14af77c1be: Download complete 02:47:24 93b61091891f: Verifying Checksum 02:47:24 93b61091891f: Download complete 02:47:24 01666e4c0597: Verifying Checksum 02:47:24 01666e4c0597: Download complete 02:47:24 8ad3a11d3b57: Verifying Checksum 02:47:24 8ad3a11d3b57: Download complete 02:47:24 df20fa9351a1: Pull complete 02:47:24 36b3adc4ff6f: Pull complete 02:47:26 8ad3a11d3b57: Pull complete 02:47:26 46f8f816bc3b: Pull complete 02:47:26 aa168da1d23b: Download complete 02:47:27 93b61091891f: Pull complete 02:47:27 93b9cdb0e59b: Pull complete 02:47:27 5e14af77c1be: Pull complete 02:47:27 01666e4c0597: Pull complete 02:47:35 aa168da1d23b: Pull complete 02:47:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:47:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:47:36 prd-centos7-docker-4c-2g-22166 does not seem to be running inside a container 02:47:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:47:39 $ docker top da49df7fa90432fba4c7140b2b30daf35a79d25b7a4483187b9dd76d196a9b72 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:47:39 + mkdir -p /var/log/sa [Pipeline] sh 02:47:40 + ls /var/log/sa-host 02:47:40 + sadf -c /var/log/sa-host/sa22 02:47:40 file_magic: OK 02:47:40 HZ: Using current value: 100 02:47:40 file_header: OK 02:47:40 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 02:47:40 Statistics: 02:47:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:47:40 File successfully converted to sysstat format version 12.2.1 02:47:40 + sadf -c /var/log/sa-host/sa23 02:47:40 file_magic: OK 02:47:40 HZ: Using current value: 100 02:47:40 file_header: OK 02:47:40 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 02:47:40 Statistics: 02:47:40 Hnuu...uuuununununu... 02:47:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:40 provisioning config files... 02:47:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1077605423001087094tmp [Pipeline] { [Pipeline] echo 02:47:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:47:41 ---> create-netrc.sh [Pipeline] } 02:47:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:47:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:47:41 ---> python-tools-install.sh [Pipeline] echo 02:47:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:47:42 ---> sudo-logs.sh 02:47:42 Archiving 'sudo' log.. [Pipeline] echo 02:47:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:47:42 ---> job-cost.sh 02:47:42 lf-activate-venv: SKIPPING 02:47:42 INFO: No Stack... 02:47:44 INFO: Retrieving Pricing Info for: v1-standard-2 02:47:44 INFO: Archiving Costs [Pipeline] echo 02:47:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:47:45 ---> logs-deploy.sh 02:47:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/111 02:47:45 INFO: archiving workspace using pattern(s): 02:47:47 Archives upload complete. 02:47:47 INFO: archiving logs to Nexus 02:47:47 ---> uname -a: 02:47:47 Linux prd-centos7-docker-4c-2g-22166.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:47:47 02:47:47 02:47:47 ---> lscpu: 02:47:47 Architecture: x86_64 02:47:47 CPU op-mode(s): 32-bit, 64-bit 02:47:47 Byte Order: Little Endian 02:47:47 Address sizes: 40 bits physical, 48 bits virtual 02:47:47 CPU(s): 4 02:47:47 On-line CPU(s) list: 0-3 02:47:47 Thread(s) per core: 1 02:47:47 Core(s) per socket: 1 02:47:47 Socket(s): 4 02:47:47 NUMA node(s): 1 02:47:47 Vendor ID: GenuineIntel 02:47:47 CPU family: 6 02:47:47 Model: 44 02:47:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:47:47 Stepping: 1 02:47:47 CPU MHz: 2933.438 02:47:47 BogoMIPS: 5866.87 02:47:47 Virtualization: VT-x 02:47:47 Hypervisor vendor: KVM 02:47:47 Virtualization type: full 02:47:47 L1d cache: 128 KiB 02:47:47 L1i cache: 128 KiB 02:47:47 L2 cache: 16 MiB 02:47:47 L3 cache: 64 MiB 02:47:47 NUMA node0 CPU(s): 0-3 02:47:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:47:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:47:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:47:47 Vulnerability Meltdown: Mitigation; PTI 02:47:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:47:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:47:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:47:47 Vulnerability Srbds: Not affected 02:47:47 Vulnerability Tsx async abort: Not affected 02:47:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 02:47:47 02:47:47 02:47:47 ---> nproc: 02:47:47 4 02:47:47 02:47:47 02:47:47 ---> df -h: 02:47:47 Filesystem Size Used Available Use% Mounted on 02:47:47 overlay 50.0G 8.5G 41.4G 17% / 02:47:47 tmpfs 64.0M 0 64.0M 0% /dev 02:47:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:47:47 shm 64.0M 0 64.0M 0% /dev/shm 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 02:47:47 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 02:47:47 02:47:47 02:47:47 ---> free -m: 02:47:47 total used free shared buff/cache available 02:47:47 Mem: 1837 830 152 0 853 943 02:47:47 Swap: 1023 3 1020 02:47:47 02:47:47 02:47:47 ---> ip addr: 02:47:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:47:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:47:47 inet 127.0.0.1/8 scope host lo 02:47:47 valid_lft forever preferred_lft forever 02:47:47 inet6 ::1/128 scope host 02:47:47 valid_lft forever preferred_lft forever 02:47:47 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:47:47 link/ether fa:16:3e:58:00:79 brd ff:ff:ff:ff:ff:ff 02:47:47 inet 10.30.123.166/23 brd 10.30.123.255 scope global dynamic eth0 02:47:47 valid_lft 85813sec preferred_lft 85813sec 02:47:47 inet6 fe80::f816:3eff:fe58:79/64 scope link 02:47:47 valid_lft forever preferred_lft forever 02:47:47 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:47:47 link/ether 02:42:96:b0:fa:53 brd ff:ff:ff:ff:ff:ff 02:47:47 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:47:47 valid_lft forever preferred_lft forever 02:47:47 inet6 fe80::42:96ff:feb0:fa53/64 scope link 02:47:47 valid_lft forever preferred_lft forever 02:47:47 02:47:47 02:47:47 ---> sar -b -r -n DEV: 02:47:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 02:47:47 02:47:47 02:37:49 LINUX RESTART (4 CPU) 02:47:47 02:47:47 02:39:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:47:47 02:40:01 2.36 0.02 2.35 0.00 0.53 52.94 0.00 02:47:47 02:41:01 0.17 0.00 0.17 0.00 0.00 2.05 0.00 02:47:47 02:42:01 0.30 0.00 0.30 0.00 0.00 3.76 0.00 02:47:47 02:43:01 7.74 0.00 7.74 0.00 0.00 101.17 0.00 02:47:47 02:44:01 1.00 0.00 1.00 0.00 0.00 19.65 0.00 02:47:47 02:45:01 0.33 0.00 0.33 0.00 0.00 3.63 0.00 02:47:47 02:46:01 222.43 130.68 91.75 0.00 6694.58 33350.37 0.00 02:47:47 02:47:01 269.09 109.72 159.37 0.00 5600.53 35261.53 0.00 02:47:47 Average: 62.96 30.07 32.89 0.00 1537.68 8603.28 0.00 02:47:47 02:47:47 02:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:47:47 02:40:01 162424 0 570716 30.33 2620 1145784 1093388 37.32 424332 1095856 12 02:47:47 02:41:01 163436 0 569696 30.28 2620 1145792 1087280 37.11 422652 1097120 8 02:47:47 02:42:01 161148 0 571980 30.40 2620 1145796 1087308 37.11 432356 1089508 8 02:47:47 02:43:01 115076 0 618040 32.85 2620 1145808 1088492 37.15 478036 1089628 12 02:47:47 02:44:01 116612 0 616492 32.77 2620 1145820 1088368 37.14 475236 1091400 8 02:47:47 02:45:01 117976 0 615124 32.69 2620 1145824 1077012 36.76 473892 1091292 8 02:47:47 02:46:01 99096 0 767872 40.81 2620 1011956 1350536 46.09 545516 981316 320 02:47:47 02:47:01 216160 0 806892 42.88 1568 856924 1400356 47.79 598304 725248 44 02:47:47 Average: 143991 0 642102 34.13 2488 1092963 1159092 39.56 481290 1032671 52 02:47:47 02:47:47 02:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:47:47 02:40:01 eth0 3.85 1.58 2.45 0.29 0.00 0.00 0.00 0.00 02:47:47 02:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:41:01 eth0 2.28 0.80 0.72 0.41 0.00 0.00 0.00 0.00 02:47:47 02:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:42:01 eth0 2.43 0.58 0.66 0.40 0.00 0.00 0.00 0.00 02:47:47 02:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:43:01 eth0 122.30 81.27 91.15 89.46 0.00 0.00 0.00 0.00 02:47:47 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:44:01 eth0 11.04 6.31 11.04 3.67 0.00 0.00 0.00 0.00 02:47:47 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:45:01 eth0 2.06 0.08 0.18 0.01 0.00 0.00 0.00 0.00 02:47:47 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:46:01 veth5356d35 11.35 9.52 1.29 10.10 0.00 0.00 0.00 0.00 02:47:47 02:46:01 eth0 480.40 419.18 4095.56 77.82 0.00 0.00 0.00 0.00 02:47:47 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:46:01 docker0 11.35 9.42 1.13 10.09 0.00 0.00 0.00 0.00 02:47:47 02:47:01 veth4a3fc13 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:47:01 eth0 490.65 432.22 3593.97 111.47 0.00 0.00 0.00 0.00 02:47:47 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 02:47:01 docker0 47.39 54.81 3.23 345.91 0.00 0.00 0.00 0.00 02:47:47 Average: veth4a3fc13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 Average: eth0 139.44 117.81 974.92 35.45 0.00 0.00 0.00 0.00 02:47:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:47:47 Average: docker0 7.34 8.03 0.55 44.51 0.00 0.00 0.00 0.00 02:47:47 02:47:47 02:47:47 ---> sar -P ALL: 02:47:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/22/21 _x86_64_ (4 CPU) 02:47:47 02:47:47 02:37:49 LINUX RESTART (4 CPU) 02:47:47 02:47:47 02:39:01 CPU %user %nice %system %iowait %steal %idle 02:47:47 02:40:01 all 0.20 0.00 0.07 0.00 0.01 99.72 02:47:47 02:40:01 0 0.07 0.00 0.07 0.00 0.00 99.87 02:47:47 02:40:01 1 0.10 0.00 0.12 0.00 0.02 99.77 02:47:47 02:40:01 2 0.12 0.00 0.07 0.00 0.02 99.80 02:47:47 02:40:01 3 0.52 0.00 0.03 0.00 0.00 99.45 02:47:47 02:41:01 all 0.15 0.00 0.07 0.00 0.00 99.77 02:47:47 02:41:01 0 0.03 0.00 0.07 0.00 0.00 99.90 02:47:47 02:41:01 1 0.05 0.00 0.07 0.00 0.00 99.88 02:47:47 02:41:01 2 0.05 0.00 0.07 0.00 0.00 99.88 02:47:47 02:41:01 3 0.48 0.00 0.10 0.00 0.00 99.42 02:47:47 02:42:01 all 0.17 0.00 0.10 0.00 0.00 99.73 02:47:47 02:42:01 0 0.07 0.00 0.12 0.00 0.00 99.82 02:47:47 02:42:01 1 0.07 0.00 0.13 0.00 0.00 99.80 02:47:47 02:42:01 2 0.50 0.00 0.08 0.00 0.00 99.42 02:47:47 02:42:01 3 0.05 0.00 0.07 0.00 0.00 99.88 02:47:47 02:43:01 all 1.28 0.00 0.64 0.03 0.02 98.03 02:47:47 02:43:01 0 1.42 0.00 0.70 0.02 0.00 97.86 02:47:47 02:43:01 1 1.20 0.00 0.67 0.03 0.02 98.08 02:47:47 02:43:01 2 1.25 0.00 0.59 0.03 0.02 98.11 02:47:47 02:43:01 3 1.25 0.00 0.60 0.05 0.03 98.06 02:47:47 02:44:01 all 0.24 0.00 0.07 0.00 0.01 99.67 02:47:47 02:44:01 0 0.18 0.00 0.03 0.00 0.02 99.77 02:47:47 02:44:01 1 0.12 0.00 0.07 0.02 0.02 99.78 02:47:47 02:44:01 2 0.53 0.00 0.10 0.00 0.00 99.37 02:47:47 02:44:01 3 0.13 0.00 0.08 0.00 0.02 99.77 02:47:47 02:45:01 all 0.11 0.00 0.06 0.00 0.01 99.82 02:47:47 02:45:01 0 0.00 0.00 0.03 0.00 0.00 99.97 02:47:47 02:45:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:47:47 02:45:01 2 0.38 0.00 0.12 0.00 0.03 99.47 02:47:47 02:45:01 3 0.03 0.00 0.07 0.00 0.02 99.88 02:47:47 02:46:01 all 8.86 0.00 6.20 1.12 0.50 83.31 02:47:47 02:46:01 0 8.32 0.00 6.61 0.80 0.53 83.73 02:47:47 02:46:01 1 8.83 0.00 6.49 0.61 0.55 83.52 02:47:47 02:46:01 2 8.95 0.00 5.97 2.23 0.48 82.36 02:47:47 02:46:01 3 9.34 0.00 5.74 0.84 0.46 83.62 02:47:47 02:47:01 all 11.96 0.00 9.25 3.75 0.32 74.72 02:47:47 02:47:01 0 11.66 0.00 10.55 6.67 0.38 70.75 02:47:47 02:47:01 1 14.86 0.00 8.63 3.79 0.34 72.37 02:47:47 02:47:01 2 10.90 0.00 9.33 2.47 0.24 77.06 02:47:47 02:47:01 3 10.45 0.00 8.47 2.07 0.33 78.69 02:47:47 Average: all 2.82 0.00 2.02 0.60 0.11 94.46 02:47:47 Average: 0 2.66 0.00 2.22 0.91 0.11 94.09 02:47:47 Average: 1 3.09 0.00 1.99 0.54 0.12 94.26 02:47:47 Average: 2 2.79 0.00 2.00 0.58 0.10 94.53 02:47:47 Average: 3 2.73 0.00 1.86 0.36 0.10 94.95 02:47:47 02:47:47 02:47:47