Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5844 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.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Checking out Revision 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (master) 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 --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 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.50" > git rev-list --no-walk d41dfb76324865f87a7aea80ddd0df968928e1d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:27:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:27:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:27:42 ========================================================= 09:27:42 EdgeX Global Pipelines Version Info 09:27:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:27:44 ------------------- 09:27:44 stable info: 09:27:44 ------------------- 09:27:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:27:44 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:27:44 Message: update stable to v1.0.144 09:27:45 ------------------- 09:27:45 experimental info: 09:27:45 ------------------- 09:27:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:27:45 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 09:27:45 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:27:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:27:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 09:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 09:27:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 09:27:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 [Pipeline] echo 09:27:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f8fd9f [Pipeline] echo 09:27:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:49 + git log --format=format:%s -1 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 [Pipeline] echo 09:27:49 GIT_COMMIT: 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866, Commit Message: Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.50 [Pipeline] echo 09:27:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:50 09:27:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:27:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:50 latest: Pulling from edgex-devops/git-semver 09:27:50 31603596830f: Pulling fs layer 09:27:50 2a8b12db71e7: Pulling fs layer 09:27:50 6ca5941a6612: Pulling fs layer 09:27:50 ecc8261a40a4: Pulling fs layer 09:27:50 ecc8261a40a4: Waiting 09:27:50 2a8b12db71e7: Verifying Checksum 09:27:50 2a8b12db71e7: Download complete 09:27:50 31603596830f: Verifying Checksum 09:27:50 31603596830f: Download complete 09:27:50 ecc8261a40a4: Verifying Checksum 09:27:50 ecc8261a40a4: Download complete 09:27:50 6ca5941a6612: Verifying Checksum 09:27:50 6ca5941a6612: Download complete 09:27:50 31603596830f: Pull complete 09:27:50 2a8b12db71e7: Pull complete 09:27:51 6ca5941a6612: Pull complete 09:27:51 ecc8261a40a4: Pull complete 09:27:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:27:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:27:52 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:27:52 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:27:54 $ docker top 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:27:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:54 [ssh-agent] Looking for ssh-agent implementation... 09:27:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:54 $ docker exec 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb ssh-agent 09:27:54 SSH_AUTH_SOCK=/tmp/ssh-w5fnyvkEcb1p/agent.11 09:27:54 SSH_AGENT_PID=16 09:27:54 Running ssh-add (command line suppressed) 09:27:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5180223441963275702.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5180223441963275702.key) 09:27:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:55 + git tag --points-at HEAD [Pipeline] } 09:27:55 $ docker exec --env ******** --env ******** 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb ssh-agent -k 09:27:55 unset SSH_AUTH_SOCK; 09:27:55 unset SSH_AGENT_PID; 09:27:55 echo Agent pid 16 killed; 09:27:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:27:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:27:55 [ssh-agent] Looking for ssh-agent implementation... 09:27:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:27:56 $ docker exec 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb ssh-agent 09:27:56 SSH_AUTH_SOCK=/tmp/ssh-YccsaPkmFhVx/agent.44 09:27:56 SSH_AGENT_PID=49 09:27:56 Running ssh-add (command line suppressed) 09:27:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1534087057000901355.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1534087057000901355.key) 09:27:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:27:56 + git semver init 09:27:56 # -> Open(): unable to determine branch for HEAD 09:27:56 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:27:56 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:27:56 # $SEMVER_REMOTE_NAME = origin 09:27:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:27:56 # $SEMVER_USER_NAME = edgex-jenkins 09:27:56 # $SEMVER_BRANCH = master 09:27:56 # $SEMVER_TEMP = /tmp/semver-215632117 09:27:56 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:27:57 # '/tmp/semver-215632117' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 09:27:57 # -> Force: false 09:27:57 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 09:27:57 $ docker exec --env ******** --env ******** 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb ssh-agent -k 09:27:57 unset SSH_AUTH_SOCK; 09:27:57 unset SSH_AGENT_PID; 09:27:57 echo Agent pid 49 killed; 09:27:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:27:57 + git semver [Pipeline] } 09:27:57 $ docker stop --time=1 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb 09:27:59 $ docker rm -f 981f946110249ad31a1b449ac8fbfd88bb9f8f2636c80565f7e1b662e6a554eb [Pipeline] // withDockerContainer [Pipeline] sh 09:27:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:28:00 Stashed 1 file(s) [Pipeline] echo 09:28:00 [edgeXSemver]: initialized semver on version 1.2.4-dev.29 [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 09:28:15 Still waiting to schedule task 09:28:15 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5841’ is offline; ‘prd-centos7-docker-4c-2g-5845’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ 09:28:15 Still waiting to schedule task 09:28:15 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 09:29:47 Running on prd-centos7-docker-4c-2g-5851 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 09:29:47 Running in /w/workspace/device-sdk-go/80 [Pipeline] { [Pipeline] checkout 09:29:50 using credential edgex-jenkins-ssh 09:29:50 Cloning the remote Git repository 09:29:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:29:50 > git init /w/workspace/device-sdk-go/80 # timeout=10 09:29:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:29:50 > git --version # timeout=10 09:29:50 > git --version # 'git version 2.16.5' 09:29:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:51 Checking out Revision 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (master) 09:29:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:29:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:29:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:29:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:29:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:29:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:29:51 > git config core.sparsecheckout # timeout=10 09:29:51 > git checkout -f 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 09:29:55 Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.50" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 09:29:56 ========================================================= 09:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:29:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:29:56 + 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 . 09:29:57 Sending build context to Docker daemon 2.313MB 09:29:57 Step 1/8 : ARG BASE=golang:1.15-alpine 09:29:57 Step 2/8 : FROM ${BASE} 09:29:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:29:57 df20fa9351a1: Pulling fs layer 09:29:57 ed8968b2872e: Pulling fs layer 09:29:57 a92cc7c5fd73: Pulling fs layer 09:29:57 e871e8e8d7a9: Pulling fs layer 09:29:57 e73272ec9a57: Pulling fs layer 09:29:57 1e910a182e73: Pulling fs layer 09:29:57 4e634b169226: Pulling fs layer 09:29:57 e73272ec9a57: Waiting 09:29:57 1e910a182e73: Waiting 09:29:57 4e634b169226: Waiting 09:29:57 e871e8e8d7a9: Waiting 09:29:57 a92cc7c5fd73: Verifying Checksum 09:29:57 a92cc7c5fd73: Download complete 09:29:57 ed8968b2872e: Verifying Checksum 09:29:57 ed8968b2872e: Download complete 09:29:57 e73272ec9a57: Verifying Checksum 09:29:57 e73272ec9a57: Download complete 09:29:57 1e910a182e73: Verifying Checksum 09:29:57 1e910a182e73: Download complete 09:29:57 df20fa9351a1: Verifying Checksum 09:29:57 df20fa9351a1: Download complete 09:29:57 df20fa9351a1: Pull complete 09:29:57 ed8968b2872e: Pull complete 09:29:57 a92cc7c5fd73: Pull complete 09:29:59 4e634b169226: Download complete 09:30:00 e871e8e8d7a9: Verifying Checksum 09:30:00 e871e8e8d7a9: Download complete 09:30:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5850 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 09:30:04 Running in /w/workspace/device-sdk-go/80 [Pipeline] { [Pipeline] checkout 09:30:05 e871e8e8d7a9: Pull complete 09:30:06 e73272ec9a57: Pull complete 09:30:06 1e910a182e73: Pull complete 09:30:09 using credential edgex-jenkins-ssh 09:30:09 Cloning the remote Git repository 09:30:10 4e634b169226: Pull complete 09:30:10 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 09:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:30:10 ---> f7629b54cfaa 09:30:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:10 ---> Running in 3a1cd6f8bf94 09:30:10 Removing intermediate container 3a1cd6f8bf94 09:30:10 ---> 13760616f669 09:30:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:10 ---> Running in cf63fcdfbb51 09:30:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:30:09 > git init /w/workspace/device-sdk-go/80 # timeout=10 09:30:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:09 > git --version # timeout=10 09:30:09 > git --version # 'git version 2.17.1' 09:30:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:11 Checking out Revision 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 (master) 09:30:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:30:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:30:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 09:30:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 09:30:11 > git config core.sparsecheckout # timeout=10 09:30:11 > git checkout -f 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 # timeout=10 09:30:12 Removing intermediate container cf63fcdfbb51 09:30:12 ---> d8b5ec03b4ab 09:30:12 Step 5/8 : RUN apk add --no-cache make git 09:30:12 ---> Running in 26860af12847 09:30:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:30:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:30:14 OK: 166 MiB in 39 packages 09:30:15 Removing intermediate container 26860af12847 09:30:15 ---> 2feb37906a7d 09:30:15 Step 6/8 : WORKDIR /device-sdk-go 09:30:15 ---> Running in 4df54434c859 09:30:15 Removing intermediate container 4df54434c859 09:30:15 ---> bb7dc7113571 09:30:15 Step 7/8 : COPY . . 09:30:15 Commit message: "Merge pull request #627 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap-0.0.50" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:30:16 ---> 4e654625dd59 09:30:16 Step 8/8 : RUN go mod download 09:30:16 ---> Running in 45bd77f12fbb [Pipeline] unstash [Pipeline] echo 09:30:16 ========================================================= 09:30:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:30:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:30:17 + 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 . 09:30:18 Sending build context to Docker daemon 2.313MB 09:30:18 Step 1/8 : ARG BASE=golang:1.15-alpine 09:30:18 Step 2/8 : FROM ${BASE} 09:30:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:30:19 b538f80385f9: Pulling fs layer 09:30:19 74f711af9a0d: Pulling fs layer 09:30:19 99f96fe45779: Pulling fs layer 09:30:19 8529a6b9a6be: Pulling fs layer 09:30:19 45590311c82a: Pulling fs layer 09:30:19 69ca0ff8b7b3: Pulling fs layer 09:30:19 209524e5b208: Pulling fs layer 09:30:19 8529a6b9a6be: Waiting 09:30:19 45590311c82a: Waiting 09:30:19 69ca0ff8b7b3: Waiting 09:30:19 209524e5b208: Waiting 09:30:19 99f96fe45779: Verifying Checksum 09:30:19 99f96fe45779: Download complete 09:30:19 74f711af9a0d: Verifying Checksum 09:30:19 74f711af9a0d: Download complete 09:30:19 45590311c82a: Verifying Checksum 09:30:19 45590311c82a: Download complete 09:30:19 69ca0ff8b7b3: Download complete 09:30:19 b538f80385f9: Download complete 09:30:19 b538f80385f9: Pull complete 09:30:20 74f711af9a0d: Pull complete 09:30:20 99f96fe45779: Pull complete 09:30:21 209524e5b208: Download complete 09:30:23 8529a6b9a6be: Verifying Checksum 09:30:23 8529a6b9a6be: Download complete 09:30:33 8529a6b9a6be: Pull complete 09:30:34 45590311c82a: Pull complete 09:30:34 69ca0ff8b7b3: Pull complete 09:30:38 209524e5b208: Pull complete 09:30:38 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 09:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:30:38 ---> 5bddaf1c2fca 09:30:38 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:38 Removing intermediate container 45bd77f12fbb 09:30:38 ---> 70ca8d1c0b44 09:30:38 Successfully built 70ca8d1c0b44 09:30:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:30:38 + docker inspect -f . ci-base-image-x86_64 09:30:38 . [Pipeline] withDockerContainer 09:30:39 prd-centos7-docker-4c-2g-5851 does not seem to be running inside a container 09:30:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@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 ******** ci-base-image-x86_64 cat 09:30:39 $ docker top da8a171b3f5d69ec0d7f77fb85615bf6fb47837e0b5ef51aab594a6230c021ae -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:40 + go version 09:30:40 go version go1.15.2 linux/amd64 [Pipeline] } 09:30:40 $ docker stop --time=1 da8a171b3f5d69ec0d7f77fb85615bf6fb47837e0b5ef51aab594a6230c021ae 09:30:40 ---> Running in 18a9531c66fe 09:30:41 Removing intermediate container 18a9531c66fe 09:30:41 ---> 88046161e4eb 09:30:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:41 ---> Running in 834e11261108 09:30:41 $ docker rm -f da8a171b3f5d69ec0d7f77fb85615bf6fb47837e0b5ef51aab594a6230c021ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:30:43 Removing intermediate container 834e11261108 09:30:43 ---> 09b90c021f05 09:30:43 Step 5/8 : RUN apk add --no-cache make git 09:30:43 ---> Running in 50dc4ea920a8 [Pipeline] sh 09:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:30:45 + ls -al . 09:30:45 total 64 09:30:45 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 09:29 . 09:30:45 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 09:29 .. 09:30:45 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 09:29 bin 09:30:45 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 09:29 Dockerfile.build 09:30:45 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 09:29 .dockerignore 09:30:45 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 09:29 example 09:30:45 drwxrwxr-x. 8 jenkins jenkins 162 Oct 16 09:29 .git 09:30:45 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 09:29 .github 09:30:45 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 09:29 .gitignore 09:30:45 -rw-rw-r--. 1 jenkins jenkins 517 Oct 16 09:29 go.mod 09:30:45 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 09:29 internal 09:30:45 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 09:29 Jenkinsfile 09:30:45 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 09:29 LICENSE 09:30:45 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 09:29 Makefile 09:30:45 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 09:29 openapi 09:30:45 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 09:29 pkg 09:30:45 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 09:29 README.md 09:30:45 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 09:29 RELEASE-NOTES.txt 09:30:45 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 09:29 snap 09:30:45 -rw-rw-r--. 1 jenkins jenkins 12 Oct 16 09:27 VERSION 09:30:45 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 09:29 version.go [Pipeline] isUnix [Pipeline] sh 09:30:45 + 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=0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 --label arch=amd64 --label version=1.2.4-dev.29 . 09:30:45 Sending build context to Docker daemon 2.313MB 09:30:45 Step 1/24 : ARG BASE=golang:1.15-alpine 09:30:45 Step 2/24 : FROM ${BASE} AS builder 09:30:45 ---> 70ca8d1c0b44 09:30:45 Step 3/24 : ARG MAKE='make build' 09:30:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:30:46 ---> Running in caf42cb666af 09:30:46 Removing intermediate container caf42cb666af 09:30:46 ---> 857f1fb4bd25 09:30:46 Step 4/24 : WORKDIR /device-sdk-go 09:30:46 ---> Running in 4f5cbdeeb83b 09:30:46 Removing intermediate container 4f5cbdeeb83b 09:30:46 ---> 44c0f0bb15b4 09:30:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:30:46 ---> Running in 4b762176feec 09:30:46 Removing intermediate container 4b762176feec 09:30:46 ---> 0dcd969ba0fa 09:30:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:47 ---> Running in 22806a73671b 09:30:47 OK: 142 MiB in 39 packages 09:30:48 Removing intermediate container 22806a73671b 09:30:48 ---> 6d229cbbe673 09:30:48 Step 7/24 : RUN apk add --update --no-cache make git 09:30:48 ---> Running in b22fa43c57d1 09:30:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:30:48 Removing intermediate container 50dc4ea920a8 09:30:48 ---> 8bafbd4b1434 09:30:48 Step 6/8 : WORKDIR /device-sdk-go 09:30:48 ---> Running in 76687151a750 09:30:48 Removing intermediate container 76687151a750 09:30:48 ---> c71210aa2606 09:30:48 Step 7/8 : COPY . . 09:30:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:30:49 OK: 166 MiB in 39 packages 09:30:50 ---> 4a438cc0ac8d 09:30:50 Step 8/8 : RUN go mod download 09:30:50 ---> Running in c99b507c081c 09:30:50 Removing intermediate container b22fa43c57d1 09:30:50 ---> 03445999d397 09:30:50 Step 8/24 : COPY . . 09:30:51 ---> 613fbdf4c78b 09:30:51 Step 9/24 : RUN ${MAKE} 09:30:51 ---> Running in 15da89d92cf5 09:30:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.29" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:30:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:31:02 Removing intermediate container 15da89d92cf5 09:31:02 ---> c8e72a0e2af7 09:31:02 Step 10/24 : FROM scratch 09:31:02 ---> 09:31:02 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:02 ---> Running in 87761deb1a32 09:31:02 Removing intermediate container 87761deb1a32 09:31:02 ---> a0557082cfea 09:31:02 Step 12/24 : ENV APP_PORT=49990 09:31:02 ---> Running in 9fa2fc8a2a94 09:31:02 Removing intermediate container 9fa2fc8a2a94 09:31:02 ---> f978cf7c25a6 09:31:02 Step 13/24 : EXPOSE $APP_PORT 09:31:02 ---> Running in 8e089b875a34 09:31:02 Removing intermediate container 8e089b875a34 09:31:02 ---> 667a72fee453 09:31:02 Step 14/24 : WORKDIR / 09:31:02 ---> Running in 68c09cd27076 09:31:03 Removing intermediate container 68c09cd27076 09:31:03 ---> 20536b1d9a0a 09:31:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:31:03 ---> 3f1c049eafc4 09:31:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:31:03 ---> dbb4340d4043 09:31:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:31:03 ---> 590505a67fdb 09:31:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:31:04 ---> 2a58197dc40a 09:31:04 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:31:04 ---> f68d23f59462 09:31:04 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:31:04 ---> Running in b81afe8404c6 09:31:04 Removing intermediate container b81afe8404c6 09:31:04 ---> f96a6e5dad41 09:31:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:04 ---> Running in 16a6e013e11a 09:31:04 Removing intermediate container 16a6e013e11a 09:31:04 ---> 9e8eb5eb31d7 09:31:04 Step 22/24 : LABEL arch=amd64 09:31:04 ---> Running in 293b06c36e18 09:31:04 Removing intermediate container 293b06c36e18 09:31:04 ---> d35ba6b7973d 09:31:04 Step 23/24 : LABEL git_sha=0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 09:31:05 ---> Running in 50879262be10 09:31:05 Removing intermediate container 50879262be10 09:31:05 ---> d48a187ab47c 09:31:05 Step 24/24 : LABEL version=1.2.4-dev.29 09:31:05 ---> Running in ae883f7b1720 09:31:05 Removing intermediate container ae883f7b1720 09:31:05 ---> 0b438319f5bd 09:31:05 [Warning] One or more build-args [ARCH] were not consumed 09:31:05 Successfully built 0b438319f5bd 09:31:05 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] } 09:31:12 Removing intermediate container c99b507c081c 09:31:12 ---> f6eb419f7d3f 09:31:12 Successfully built f6eb419f7d3f 09:31:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:31:13 + docker inspect -f . ci-base-image-arm64 09:31:13 . [Pipeline] withDockerContainer 09:31:13 prd-ubuntu18.04-docker-arm64-4c-16g-5850 does not seem to be running inside a container 09:31:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@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 ******** ci-base-image-arm64 cat 09:31:15 $ docker top 2090075e4287f38f0e757fd243ab6cbaff9bbf25a9786aa9c0059f7cda30c4fc -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:16 + go version 09:31:16 go version go1.15.2 linux/arm64 [Pipeline] } 09:31:16 $ docker stop --time=1 2090075e4287f38f0e757fd243ab6cbaff9bbf25a9786aa9c0059f7cda30c4fc 09:31:18 $ docker rm -f 2090075e4287f38f0e757fd243ab6cbaff9bbf25a9786aa9c0059f7cda30c4fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:31:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:31:20 + ls -al . 09:31:20 total 100 09:31:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 09:30 . 09:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:30 .. 09:31:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 09:30 .dockerignore 09:31:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 09:30 .git 09:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:30 .github 09:31:20 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 09:30 .gitignore 09:31:20 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 09:30 Dockerfile.build 09:31:20 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 09:30 Jenkinsfile 09:31:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 09:30 LICENSE 09:31:20 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 09:30 Makefile 09:31:20 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 09:30 README.md 09:31:20 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 09:30 RELEASE-NOTES.txt 09:31:20 -rw-rw-r-- 1 jenkins jenkins 12 Oct 16 09:27 VERSION 09:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 09:30 bin 09:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:30 example 09:31:20 -rw-rw-r-- 1 jenkins jenkins 517 Oct 16 09:30 go.mod 09:31:20 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 09:30 internal 09:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:30 openapi 09:31:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 09:30 pkg 09:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 09:30 snap 09:31:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 09:30 version.go [Pipeline] isUnix [Pipeline] sh 09:31:20 + 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=0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 --label arch=arm64 --label version=1.2.4-dev.29 . 09:31:21 Sending build context to Docker daemon 2.313MB 09:31:21 Step 1/24 : ARG BASE=golang:1.15-alpine 09:31:21 Step 2/24 : FROM ${BASE} AS builder 09:31:21 ---> f6eb419f7d3f 09:31:21 Step 3/24 : ARG MAKE='make build' 09:31:21 ---> Running in a65d7e097a85 09:31:21 Removing intermediate container a65d7e097a85 09:31:21 ---> 154edfd65339 09:31:21 Step 4/24 : WORKDIR /device-sdk-go 09:31:21 ---> Running in eb735ec5d6b4 09:31:22 Removing intermediate container eb735ec5d6b4 09:31:22 ---> 1f37b8846971 09:31:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:31:22 ---> Running in 31dad248ee6c 09:31:23 Removing intermediate container 31dad248ee6c 09:31:23 ---> b3c2d642de0f 09:31:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:23 ---> Running in 5a409d72bcde 09:31:25 Removing intermediate container 5a409d72bcde 09:31:25 ---> 0c694458b378 09:31:25 Step 7/24 : RUN apk add --update --no-cache make git 09:31:25 ---> Running in 2b4e9d01446b 09:31:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:31:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:31:30 OK: 142 MiB in 39 packages 09:31:31 Removing intermediate container 2b4e9d01446b 09:31:31 ---> da13331a1702 09:31:31 Step 8/24 : COPY . . 09:31:32 ---> 5c5921571a34 09:31:32 Step 9/24 : RUN ${MAKE} 09:31:32 ---> Running in 133d7f0d3c18 09:31:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.2.4-dev.29" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:32:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:32:01 Removing intermediate container 133d7f0d3c18 09:32:01 ---> 1656c5b4b1a2 09:32:01 Step 10/24 : FROM scratch 09:32:01 ---> 09:32:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:32:01 ---> Running in 5674fb9dfee0 09:32:01 Removing intermediate container 5674fb9dfee0 09:32:01 ---> f4316ffc739d 09:32:01 Step 12/24 : ENV APP_PORT=49990 09:32:01 ---> Running in 698cf19032eb 09:32:01 Removing intermediate container 698cf19032eb 09:32:01 ---> d27e08c5a19c 09:32:01 Step 13/24 : EXPOSE $APP_PORT 09:32:01 ---> Running in dc2228a66142 09:32:02 Removing intermediate container dc2228a66142 09:32:02 ---> 053734fe2956 09:32:02 Step 14/24 : WORKDIR / 09:32:02 ---> Running in 25c408fd2f2b 09:32:02 Removing intermediate container 25c408fd2f2b 09:32:02 ---> 630d6fdb5904 09:32:02 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:32:03 ---> 18eddb7a2a7c 09:32:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:32:04 ---> 6138da364e71 09:32:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:32:04 ---> afff3043ce1c 09:32:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:32:05 ---> 797263ae86a1 09:32:05 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:32:06 ---> 6696875ebf1f 09:32:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:32:06 ---> Running in e6df8c12de73 09:32:07 Removing intermediate container e6df8c12de73 09:32:07 ---> a73ca1c9a710 09:32:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:32:07 ---> Running in 98915bb91e1e 09:32:07 Removing intermediate container 98915bb91e1e 09:32:07 ---> 516c5d56ef14 09:32:07 Step 22/24 : LABEL arch=arm64 09:32:07 ---> Running in e115f4c07869 09:32:08 Removing intermediate container e115f4c07869 09:32:08 ---> 925e798f868d 09:32:08 Step 23/24 : LABEL git_sha=0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 09:32:08 ---> Running in f2728390dc85 09:32:08 Removing intermediate container f2728390dc85 09:32:08 ---> 7c3c272c5d88 09:32:08 Step 24/24 : LABEL version=1.2.4-dev.29 09:32:08 ---> Running in a9005d8ca06e 09:32:09 Removing intermediate container a9005d8ca06e 09:32:09 ---> a431df455f40 09:32:09 [Warning] One or more build-args [ARCH] were not consumed 09:32:09 Successfully built a431df455f40 09:32:09 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] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) [Pipeline] echo 09:32:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] echo 09:32:11 [edgeXSnyk] command to run: snyk monitor --org=edgex-jenkins [Pipeline] withCredentials 09:32:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:32:11 09:32:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] isUnix [Pipeline] sh 09:32:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:32:12 1.317.0: Pulling from edgex-devops/edgex-snyk-go 09:32:12 cbdbe7a5bc2a: Pulling fs layer 09:32:12 408f87550127: Pulling fs layer 09:32:12 fe522b08c979: Pulling fs layer 09:32:12 221eaa008020: Pulling fs layer 09:32:12 2a4607e5d6b9: Pulling fs layer 09:32:12 8f79b27c4fd2: Pulling fs layer 09:32:12 e5c8dbe1645b: Pulling fs layer 09:32:12 23e8b3b47431: Pulling fs layer 09:32:12 5c568d65a230: Pulling fs layer 09:32:12 2a4607e5d6b9: Waiting 09:32:12 8f79b27c4fd2: Waiting 09:32:12 e5c8dbe1645b: Waiting 09:32:12 23e8b3b47431: Waiting 09:32:12 5c568d65a230: Waiting 09:32:12 221eaa008020: Waiting 09:32:12 fe522b08c979: Verifying Checksum 09:32:12 fe522b08c979: Download complete 09:32:12 408f87550127: Download complete 09:32:12 2a4607e5d6b9: Verifying Checksum 09:32:12 2a4607e5d6b9: Download complete 09:32:12 8f79b27c4fd2: Verifying Checksum 09:32:12 8f79b27c4fd2: Download complete 09:32:12 cbdbe7a5bc2a: Download complete 09:32:12 cbdbe7a5bc2a: Pull complete 09:32:12 408f87550127: Pull complete 09:32:12 fe522b08c979: Pull complete 09:32:13 e5c8dbe1645b: Verifying Checksum 09:32:13 e5c8dbe1645b: Download complete 09:32:14 23e8b3b47431: Verifying Checksum 09:32:14 23e8b3b47431: Download complete 09:32:14 5c568d65a230: Download complete 09:32:15 221eaa008020: Verifying Checksum 09:32:15 221eaa008020: Download complete 09:32:21 221eaa008020: Pull complete 09:32:21 2a4607e5d6b9: Pull complete 09:32:21 8f79b27c4fd2: Pull complete 09:32:23 e5c8dbe1645b: Pull complete 09:32:26 23e8b3b47431: Pull complete 09:32:27 5c568d65a230: Pull complete 09:32:27 Digest: sha256:57952c35bde2fbfcf87b7f40d558e42527212236f73796964c551b7cac8e72c4 09:32:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 09:32:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 [Pipeline] withDockerContainer 09:32:27 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /w/workspace/dgexfoundry_device-sdk-go_master:/ws -w /ws --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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.317.0 cat 09:32:28 $ docker top 750c145530e30b09a1673063158474e7ebea7203b168abca0315c906e703ff3a -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:28 + snyk monitor '--org=edgex-jenkins' 09:32:35 09:32:35 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 09:32:35 09:32:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/b6f07d8b-eb6e-44bc-aa81-6e113e1719ac 09:32:35 09:32:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:32:35 09:32:35 09:32:35 Snyk CLI supports Node.js 8 and higher. 09:32:35 Node.js 8 reached End Of Life on December 31, 2019 and the Snyk CLI will stop supporting it in the near future. 09:32:35 Please consider upgrading your runtime version to Node 10 or higher in order to get Snyk CLI updates. 09:32:35 09:32:35 The latest CLI version that supports Node.js 6 is `snyk@1.300.0`. 09:32:35 The latest CLI version that supports Node.js 4 is `snyk@1.88.2`. 09:32:35 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 09:32:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:32:35 $ docker stop --time=1 750c145530e30b09a1673063158474e7ebea7203b168abca0315c906e703ff3a 09:32:38 $ docker rm -f 750c145530e30b09a1673063158474e7ebea7203b168abca0315c906e703ff3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 09:32:39 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:39 provisioning config files... 09:32:39 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7346179235602486154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:40 --> edgex-publish-swagger.sh 09:32:40 === Publish openapi/v1 API === 09:32:40 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 09:32:40 [publishToSwagger] Publishing API Name [device-sdk] 09:32:40 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:40 Dload Upload Total Spent Left Speed 09:32:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 26521 --:--:-- --:--:-- --:--:-- 26563 09:32:40 09:32:40 09:32:40 === Publish openapi/v2 API === 09:32:40 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 09:32:40 [publishToSwagger] Publishing API Name [device-sdk] 09:32:40 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:40 Dload Upload Total Spent Left Speed 09:32:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 75316 --:--:-- --:--:-- --:--:-- 75342 09:32:41 09:32:41 [Pipeline] } 09:32:41 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 09:32:42 + git log --format=format:%s -1 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 [Pipeline] isUnix [Pipeline] sh 09:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:32:42 . [Pipeline] withDockerContainer 09:32:42 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:32:42 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:32:43 $ docker top bc44175612fbe8c992163212427687e56c350e851debe83ffa29be0617bd37c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:43 [ssh-agent] Looking for ssh-agent implementation... 09:32:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:44 $ docker exec bc44175612fbe8c992163212427687e56c350e851debe83ffa29be0617bd37c4 ssh-agent 09:32:44 SSH_AUTH_SOCK=/tmp/ssh-39ZTwlzz1tfI/agent.12 09:32:44 SSH_AGENT_PID=17 09:32:44 Running ssh-add (command line suppressed) 09:32:44 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6072265732398219027.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6072265732398219027.key) 09:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:44 + git semver tag 09:32:44 # -> Open(): unable to determine branch for HEAD 09:32:44 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:32:44 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:32:44 # $SEMVER_REMOTE_NAME = origin 09:32:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:32:44 # $SEMVER_USER_NAME = edgex-jenkins 09:32:44 # $SEMVER_BRANCH = master 09:32:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:32:44 # 0f8fd9ff9b590fc1e2af7debc1be47c4c78a0866 HEAD 09:32:44 # -> Force: false 09:32:44 # 9aff1af98870593b06ae33c4ec99cf634cf938ee refs/tags/v1.2.4-dev.29 [Pipeline] } 09:32:44 $ docker exec --env ******** --env ******** bc44175612fbe8c992163212427687e56c350e851debe83ffa29be0617bd37c4 ssh-agent -k 09:32:44 unset SSH_AUTH_SOCK; 09:32:44 unset SSH_AGENT_PID; 09:32:44 echo Agent pid 17 killed; 09:32:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:45 + git semver [Pipeline] } 09:32:45 $ docker stop --time=1 bc44175612fbe8c992163212427687e56c350e851debe83ffa29be0617bd37c4 09:32:46 $ docker rm -f bc44175612fbe8c992163212427687e56c350e851debe83ffa29be0617bd37c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:32:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:47 09:32:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:32:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:32:47 0.23.1-centos7: Pulling from edgex-lftools 09:32:47 ab5ef0e58194: Pulling fs layer 09:32:47 9712f1f96733: Pulling fs layer 09:32:47 63f879dbbcfc: Pulling fs layer 09:32:47 0d9ebad4ef96: Pulling fs layer 09:32:47 e9a5061849ea: Pulling fs layer 09:32:47 d747dcd14b5f: Pulling fs layer 09:32:47 2de7ff778b66: Pulling fs layer 09:32:47 e9a5061849ea: Waiting 09:32:47 d747dcd14b5f: Waiting 09:32:47 0d9ebad4ef96: Waiting 09:32:47 2de7ff778b66: Waiting 09:32:47 9712f1f96733: Download complete 09:32:49 63f879dbbcfc: Verifying Checksum 09:32:49 63f879dbbcfc: Download complete 09:32:49 e9a5061849ea: Verifying Checksum 09:32:49 e9a5061849ea: Download complete 09:32:49 d747dcd14b5f: Verifying Checksum 09:32:49 d747dcd14b5f: Download complete 09:32:50 2de7ff778b66: Verifying Checksum 09:32:50 2de7ff778b66: Download complete 09:32:50 ab5ef0e58194: Verifying Checksum 09:32:50 ab5ef0e58194: Download complete 09:32:50 0d9ebad4ef96: Verifying Checksum 09:32:50 0d9ebad4ef96: Download complete 09:32:54 ab5ef0e58194: Pull complete 09:32:54 9712f1f96733: Pull complete 09:32:57 63f879dbbcfc: Pull complete 09:33:03 0d9ebad4ef96: Pull complete 09:33:04 e9a5061849ea: Pull complete 09:33:04 d747dcd14b5f: Pull complete 09:33:08 2de7ff778b66: Pull complete 09:33:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:33:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:33:08 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:33:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:33:12 $ docker top 1e7de70bcc64d69755b7132977888b9b8397f2ad44e1fede2977ca7723fd72fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:33:12 provisioning config files... 09:33:12 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3082214134822853080tmp 09:33:12 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3875113030458481691tmp 09:33:12 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1469475901979890837tmp [Pipeline] { [Pipeline] echo 09:33:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:33:12 ---> sigul-configuration.sh 09:33:12 gpg: directory `/root/.gnupg' created 09:33:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:33:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:33:12 gpg: keyring `/root/.gnupg/secring.gpg' created 09:33:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:33:12 gpg: CAST5 encrypted data 09:33:12 gpg: encrypted with 1 passphrase 09:33:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:33:13 + mkdir /home/jenkins 09:33:13 + mkdir /home/jenkins/sigul [Pipeline] sh 09:33:13 + 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 09:33:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:33:13 ---> sigul-install.sh 09:33:20 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 09:33:20 + git tag --list 09:33:20 0.7.1 09:33:20 delhi-tag 09:33:20 v1.0.0 09:33:20 v1.1.0 09:33:20 v1.1.1 09:33:20 v1.1.2 09:33:20 v1.2.0 09:33:20 v1.2.1 09:33:20 v1.2.2 09:33:20 v1.2.3 09:33:20 v1.2.4-dev.1 09:33:20 v1.2.4-dev.10 09:33:20 v1.2.4-dev.11 09:33:20 v1.2.4-dev.12 09:33:20 v1.2.4-dev.13 09:33:20 v1.2.4-dev.14 09:33:20 v1.2.4-dev.15 09:33:20 v1.2.4-dev.16 09:33:20 v1.2.4-dev.17 09:33:20 v1.2.4-dev.18 09:33:20 v1.2.4-dev.19 09:33:20 v1.2.4-dev.2 09:33:20 v1.2.4-dev.20 09:33:20 v1.2.4-dev.21 09:33:20 v1.2.4-dev.22 09:33:20 v1.2.4-dev.23 09:33:20 v1.2.4-dev.24 09:33:20 v1.2.4-dev.25 09:33:20 v1.2.4-dev.26 09:33:20 v1.2.4-dev.27 09:33:20 v1.2.4-dev.28 09:33:20 v1.2.4-dev.29 09:33:20 v1.2.4-dev.3 09:33:20 v1.2.4-dev.4 09:33:20 v1.2.4-dev.5 09:33:20 v1.2.4-dev.6 09:33:20 v1.2.4-dev.7 09:33:20 v1.2.4-dev.8 09:33:20 v1.2.4-dev.9 [Pipeline] sh 09:33:21 + lftools sign git-tag v1.2.4-dev.29 09:33:22 Signing Git tag with Sigul... 09:33:22 Signing v1.2.4-dev.29 [Pipeline] echo 09:33:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:33:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:33:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:33:23 $ docker stop --time=1 1e7de70bcc64d69755b7132977888b9b8397f2ad44e1fede2977ca7723fd72fd 09:33:26 $ docker rm -f 1e7de70bcc64d69755b7132977888b9b8397f2ad44e1fede2977ca7723fd72fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 09:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:27 . [Pipeline] withDockerContainer 09:33:27 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:33:27 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:33:27 $ docker top 0ea9aa884ed6800b9bad9d9b6afe0cf389a7e6a97d7a7e8ef42a1913e5a52a55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:28 [ssh-agent] Looking for ssh-agent implementation... 09:33:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:28 $ docker exec 0ea9aa884ed6800b9bad9d9b6afe0cf389a7e6a97d7a7e8ef42a1913e5a52a55 ssh-agent 09:33:28 SSH_AUTH_SOCK=/tmp/ssh-Z75JmxOW0wRj/agent.12 09:33:28 SSH_AGENT_PID=17 09:33:28 Running ssh-add (command line suppressed) 09:33:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7944414051502035172.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7944414051502035172.key) 09:33:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:29 + git semver bump pre 09:33:29 # -> Open(): unable to determine branch for HEAD 09:33:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:33:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:33:29 # $SEMVER_REMOTE_NAME = origin 09:33:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:33:29 # $SEMVER_USER_NAME = edgex-jenkins 09:33:29 # $SEMVER_BRANCH = master 09:33:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 09:33:29 1.2.4-dev.30 [Pipeline] } 09:33:29 $ docker exec --env ******** --env ******** 0ea9aa884ed6800b9bad9d9b6afe0cf389a7e6a97d7a7e8ef42a1913e5a52a55 ssh-agent -k 09:33:29 unset SSH_AUTH_SOCK; 09:33:29 unset SSH_AGENT_PID; 09:33:29 echo Agent pid 17 killed; 09:33:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:29 + git semver [Pipeline] } 09:33:29 $ docker stop --time=1 0ea9aa884ed6800b9bad9d9b6afe0cf389a7e6a97d7a7e8ef42a1913e5a52a55 09:33:31 $ docker rm -f 0ea9aa884ed6800b9bad9d9b6afe0cf389a7e6a97d7a7e8ef42a1913e5a52a55 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 09:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:33:31 . [Pipeline] withDockerContainer 09:33:31 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:33:31 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 09:33:32 $ docker top f1b799daff681268988c1197138c5deaf4923d7ab510051a24557bdfdb27474f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:32 [ssh-agent] Looking for ssh-agent implementation... 09:33:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:32 $ docker exec f1b799daff681268988c1197138c5deaf4923d7ab510051a24557bdfdb27474f ssh-agent 09:33:33 SSH_AUTH_SOCK=/tmp/ssh-vjw1ZegOti1Q/agent.12 09:33:33 SSH_AGENT_PID=18 09:33:33 Running ssh-add (command line suppressed) 09:33:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_184950260296071616.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_184950260296071616.key) 09:33:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:33 + git semver push 09:33:33 # -> Open(): unable to determine branch for HEAD 09:33:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 09:33:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 09:33:33 # $SEMVER_REMOTE_NAME = origin 09:33:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:33:33 # $SEMVER_USER_NAME = edgex-jenkins 09:33:33 # $SEMVER_BRANCH = master 09:33:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 09:33:40 $ docker exec --env ******** --env ******** f1b799daff681268988c1197138c5deaf4923d7ab510051a24557bdfdb27474f ssh-agent -k 09:33:40 unset SSH_AUTH_SOCK; 09:33:40 unset SSH_AGENT_PID; 09:33:40 echo Agent pid 18 killed; 09:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:40 + git semver [Pipeline] } 09:33:40 $ docker stop --time=1 f1b799daff681268988c1197138c5deaf4923d7ab510051a24557bdfdb27474f 09:33:42 $ docker rm -f f1b799daff681268988c1197138c5deaf4923d7ab510051a24557bdfdb27474f [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 09:33:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:33:44 ---> package-listing.sh 09:33:44 ++ facter osfamily 09:33:44 ++ tr '[:upper:]' '[:lower:]' 09:33:44 + OS_FAMILY=redhat 09:33:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 09:33:44 + START_PACKAGES=/tmp/packages_start.txt 09:33:44 + END_PACKAGES=/tmp/packages_end.txt 09:33:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:33:44 + PACKAGES=/tmp/packages_start.txt 09:33:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:33:44 + PACKAGES=/tmp/packages_end.txt 09:33:44 + case "${OS_FAMILY}" in 09:33:44 + rpm -qa 09:33:44 + sort 09:33:48 + '[' -f /tmp/packages_start.txt ']' 09:33:48 + '[' -f /tmp/packages_end.txt ']' 09:33:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:33:48 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 09:33:48 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 09:33:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 09:33:48 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 09:33:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:49 09:33:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:33:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:49 alpine: Pulling from edgex-lftools-log-publisher 09:33:49 df20fa9351a1: Pulling fs layer 09:33:49 36b3adc4ff6f: Pulling fs layer 09:33:49 8ad3a11d3b57: Pulling fs layer 09:33:49 46f8f816bc3b: Pulling fs layer 09:33:49 93b61091891f: Pulling fs layer 09:33:49 93b9cdb0e59b: Pulling fs layer 09:33:49 5e14af77c1be: Pulling fs layer 09:33:49 01666e4c0597: Pulling fs layer 09:33:49 aa168da1d23b: Pulling fs layer 09:33:49 93b9cdb0e59b: Waiting 09:33:49 5e14af77c1be: Waiting 09:33:49 01666e4c0597: Waiting 09:33:49 aa168da1d23b: Waiting 09:33:49 46f8f816bc3b: Waiting 09:33:49 93b61091891f: Waiting 09:33:49 36b3adc4ff6f: Download complete 09:33:49 46f8f816bc3b: Verifying Checksum 09:33:49 46f8f816bc3b: Download complete 09:33:49 df20fa9351a1: Verifying Checksum 09:33:49 93b9cdb0e59b: Verifying Checksum 09:33:49 93b9cdb0e59b: Download complete 09:33:49 5e14af77c1be: Verifying Checksum 09:33:49 5e14af77c1be: Download complete 09:33:50 93b61091891f: Verifying Checksum 09:33:50 93b61091891f: Download complete 09:33:50 01666e4c0597: Verifying Checksum 09:33:50 01666e4c0597: Download complete 09:33:50 8ad3a11d3b57: Verifying Checksum 09:33:50 8ad3a11d3b57: Download complete 09:33:50 df20fa9351a1: Pull complete 09:33:50 36b3adc4ff6f: Pull complete 09:33:51 8ad3a11d3b57: Pull complete 09:33:51 46f8f816bc3b: Pull complete 09:33:52 aa168da1d23b: Verifying Checksum 09:33:52 aa168da1d23b: Download complete 09:33:52 93b61091891f: Pull complete 09:33:52 93b9cdb0e59b: Pull complete 09:33:52 5e14af77c1be: Pull complete 09:33:53 01666e4c0597: Pull complete 09:33:59 aa168da1d23b: Pull complete 09:33:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:33:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:33:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:33:59 prd-centos7-docker-4c-2g-5844 does not seem to be running inside a container 09:33:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:34:03 $ docker top fff2da3ac799fdad17421c01b735e82f06f48e25635d85c3d4b2b04af234040a -eo pid,comm [Pipeline] { [Pipeline] sh 09:34:04 + touch /tmp/pre-build-complete [Pipeline] sh 09:34:04 + mkdir -p /var/log/sa [Pipeline] sh 09:34:04 + ls /var/log/sa-host 09:34:04 + sadf -c /var/log/sa-host/sa05 09:34:04 file_magic: OK 09:34:04 HZ: Using current value: 100 09:34:04 file_header: OK 09:34:04 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 09:34:04 Statistics: 09:34:04 Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:04 File successfully converted to sysstat format version 12.2.1 09:34:04 + sadf -c /var/log/sa-host/sa16 09:34:04 file_magic: OK 09:34:04 HZ: Using current value: 100 09:34:04 file_header: OK 09:34:04 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 09:34:04 Statistics: 09:34:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:34:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:05 provisioning config files... 09:34:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8037642468646144315tmp [Pipeline] { [Pipeline] echo 09:34:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:34:05 ---> create-netrc.sh [Pipeline] } 09:34:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:34:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:34:06 ---> python-tools-install.sh [Pipeline] echo 09:34:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:34:06 ---> sudo-logs.sh 09:34:06 Archiving 'sudo' log.. [Pipeline] echo 09:34:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:34:06 ---> job-cost.sh 09:34:06 lf-activate-venv: SKIPPING 09:34:06 INFO: No Stack... 09:34:07 INFO: Retrieving Pricing Info for: v1-standard-2 09:34:08 INFO: Archiving Costs [Pipeline] echo 09:34:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:34:08 ---> logs-deploy.sh 09:34:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/80 09:34:08 INFO: archiving workspace using pattern(s): 09:34:09 Archives upload complete. 09:34:10 INFO: archiving logs to Nexus 09:34:11 ---> uname -a: 09:34:11 Linux prd-centos7-docker-4c-2g-5844.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 09:34:11 09:34:11 09:34:11 ---> lscpu: 09:34:11 Architecture: x86_64 09:34:11 CPU op-mode(s): 32-bit, 64-bit 09:34:11 Byte Order: Little Endian 09:34:11 Address sizes: 40 bits physical, 48 bits virtual 09:34:11 CPU(s): 4 09:34:11 On-line CPU(s) list: 0-3 09:34:11 Thread(s) per core: 1 09:34:11 Core(s) per socket: 1 09:34:11 Socket(s): 4 09:34:11 NUMA node(s): 1 09:34:11 Vendor ID: GenuineIntel 09:34:11 CPU family: 6 09:34:11 Model: 44 09:34:11 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:34:11 Stepping: 1 09:34:11 CPU MHz: 2933.438 09:34:11 BogoMIPS: 5866.87 09:34:11 Virtualization: VT-x 09:34:11 Hypervisor vendor: KVM 09:34:11 Virtualization type: full 09:34:11 L1d cache: 128 KiB 09:34:11 L1i cache: 128 KiB 09:34:11 L2 cache: 16 MiB 09:34:11 L3 cache: 64 MiB 09:34:11 NUMA node0 CPU(s): 0-3 09:34:11 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:34:11 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:34:11 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:34:11 Vulnerability Meltdown: Mitigation; PTI 09:34:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:34:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:34:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:34:11 Vulnerability Tsx async abort: Not affected 09:34:11 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 09:34:11 09:34:11 09:34:11 ---> nproc: 09:34:11 4 09:34:11 09:34:11 09:34:11 ---> df -h: 09:34:11 Filesystem Size Used Available Use% Mounted on 09:34:11 overlay 50.0G 8.4G 41.5G 17% / 09:34:11 tmpfs 64.0M 0 64.0M 0% /dev 09:34:11 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:34:11 shm 64.0M 0 64.0M 0% /dev/shm 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /facter-os 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /etc/resolv.conf 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /etc/hostname 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /etc/hosts 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /var/log/secure 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /var/log/auth.log 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /run/cloud-init/result.json 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /w/workspace/dgexfoundry_device-sdk-go_master 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 09:34:11 /dev/vda1 50.0G 8.4G 41.5G 17% /var/log/sa-host 09:34:11 09:34:11 09:34:11 ---> free -m: 09:34:11 total used free shared buff/cache available 09:34:11 Mem: 1837 787 151 0 898 989 09:34:11 Swap: 1023 2 1021 09:34:11 09:34:11 09:34:11 ---> ip addr: 09:34:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:34:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:34:11 inet 127.0.0.1/8 scope host lo 09:34:11 valid_lft forever preferred_lft forever 09:34:11 inet6 ::1/128 scope host 09:34:11 valid_lft forever preferred_lft forever 09:34:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:34:11 link/ether fa:16:3e:46:90:6a brd ff:ff:ff:ff:ff:ff 09:34:11 inet 10.30.123.208/23 brd 10.30.123.255 scope global dynamic eth0 09:34:11 valid_lft 85979sec preferred_lft 85979sec 09:34:11 inet6 fe80::f816:3eff:fe46:906a/64 scope link 09:34:11 valid_lft forever preferred_lft forever 09:34:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:34:11 link/ether 02:42:36:88:47:ec brd ff:ff:ff:ff:ff:ff 09:34:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:34:11 valid_lft forever preferred_lft forever 09:34:11 inet6 fe80::42:36ff:fe88:47ec/64 scope link 09:34:11 valid_lft forever preferred_lft forever 09:34:11 09:34:11 09:34:11 ---> sar -b -r -n DEV: 09:34:11 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/16/20 _x86_64_ (4 CPU) 09:34:11 09:34:11 09:26:50 LINUX RESTART (4 CPU) 09:34:11 09:34:11 09:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:34:11 09:29:01 2.81 0.00 2.81 0.00 0.00 102.31 0.00 09:34:11 09:30:02 0.38 0.00 0.38 0.00 0.00 5.96 0.00 09:34:11 09:31:01 0.32 0.00 0.32 0.00 0.00 3.69 0.00 09:34:11 09:32:01 0.25 0.00 0.25 0.00 0.00 2.86 0.00 09:34:11 09:33:01 313.38 153.07 160.32 0.00 8225.55 54350.99 0.00 09:34:11 09:34:02 221.97 104.20 117.77 0.00 7781.34 28059.99 0.00 09:34:11 Average: 90.74 43.31 47.43 0.00 2693.00 13896.93 0.00 09:34:11 09:34:11 09:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:34:11 09:29:01 155448 0 585904 31.14 2620 1137584 1102200 37.62 443504 1122620 16 09:34:11 09:30:02 158740 0 582604 30.96 2620 1137592 1091680 37.26 442328 1121164 16 09:34:11 09:31:01 159268 0 582072 30.94 2620 1137596 1090580 37.22 441968 1120864 16 09:34:11 09:32:01 159304 0 582036 30.93 2620 1137596 1072916 36.62 448988 1114456 20 09:34:11 09:33:01 132280 0 786144 41.78 1896 961236 1514844 51.70 600284 874620 80708 09:34:11 09:34:02 198320 0 794068 42.20 1492 887676 1302256 44.44 565740 788772 72 09:34:11 Average: 160560 0 652138 34.66 2311 1066547 1195746 40.81 490469 1023749 13475 09:34:11 09:34:11 09:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:34:11 09:29:01 eth0 3.58 1.25 1.38 0.64 0.00 0.00 0.00 0.00 09:34:11 09:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:30:02 eth0 3.08 0.62 0.75 0.40 0.00 0.00 0.00 0.00 09:34:11 09:30:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:31:01 eth0 1.91 0.86 0.86 0.60 0.00 0.00 0.00 0.00 09:34:11 09:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:32:01 eth0 3.35 0.62 0.74 0.40 0.00 0.00 0.00 0.00 09:34:11 09:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:33:01 eth0 824.17 728.16 7064.06 67.78 0.00 0.00 0.00 0.00 09:34:11 09:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:33:01 docker0 32.47 31.37 2.91 151.68 0.00 0.00 0.00 0.00 09:34:11 09:34:02 eth0 390.40 305.20 2420.31 137.89 0.00 0.00 0.00 0.00 09:34:11 09:34:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 09:34:02 docker0 48.83 75.84 2.85 200.70 0.00 0.00 0.00 0.00 09:34:11 Average: eth0 206.54 174.62 1598.64 34.90 0.00 0.00 0.00 0.00 09:34:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:34:11 Average: docker0 13.67 18.01 0.97 59.25 0.00 0.00 0.00 0.00 09:34:11 09:34:11 09:34:11 ---> sar -P ALL: 09:34:11 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 10/16/20 _x86_64_ (4 CPU) 09:34:11 09:34:11 09:26:50 LINUX RESTART (4 CPU) 09:34:11 09:34:11 09:28:01 CPU %user %nice %system %iowait %steal %idle 09:34:11 09:29:01 all 0.20 0.00 0.07 0.00 0.00 99.73 09:34:11 09:29:01 0 0.05 0.00 0.05 0.00 0.00 99.90 09:34:11 09:29:01 1 0.52 0.00 0.05 0.00 0.02 99.42 09:34:11 09:29:01 2 0.12 0.00 0.07 0.00 0.00 99.82 09:34:11 09:29:01 3 0.10 0.00 0.10 0.00 0.00 99.80 09:34:11 09:30:02 all 0.15 0.00 0.04 0.00 0.00 99.81 09:34:11 09:30:02 0 0.03 0.00 0.03 0.00 0.00 99.93 09:34:11 09:30:02 1 0.48 0.00 0.03 0.00 0.00 99.48 09:34:11 09:30:02 2 0.07 0.00 0.03 0.00 0.00 99.90 09:34:11 09:30:02 3 0.03 0.00 0.05 0.00 0.00 99.92 09:34:11 09:31:01 all 0.17 0.00 0.04 0.00 0.00 99.79 09:34:11 09:31:01 0 0.05 0.00 0.03 0.00 0.00 99.92 09:34:11 09:31:01 1 0.03 0.00 0.03 0.00 0.00 99.93 09:34:11 09:31:01 2 0.54 0.00 0.05 0.00 0.00 99.41 09:34:11 09:31:01 3 0.05 0.00 0.03 0.00 0.00 99.92 09:34:11 09:32:01 all 0.16 0.00 0.03 0.00 0.00 99.81 09:34:11 09:32:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:34:11 09:32:01 1 0.02 0.00 0.02 0.00 0.00 99.97 09:34:11 09:32:01 2 0.53 0.00 0.03 0.00 0.00 99.43 09:34:11 09:32:01 3 0.05 0.00 0.03 0.00 0.02 99.90 09:34:11 09:33:01 all 14.10 0.00 8.78 3.27 0.14 73.71 09:34:11 09:33:01 0 13.40 0.00 8.93 3.06 0.17 74.45 09:34:11 09:33:01 1 15.47 0.00 9.12 4.28 0.12 71.01 09:34:11 09:33:01 2 13.24 0.00 8.60 3.21 0.12 74.83 09:34:11 09:33:01 3 14.29 0.00 8.46 2.54 0.14 74.57 09:34:11 09:34:02 all 9.75 0.00 6.96 3.46 0.05 79.77 09:34:11 09:34:02 0 8.21 0.00 7.62 1.67 0.03 82.47 09:34:11 09:34:02 1 12.75 0.00 7.09 3.86 0.07 76.23 09:34:11 09:34:02 2 8.87 0.00 7.08 4.58 0.05 79.42 09:34:11 09:34:02 3 9.19 0.00 6.05 3.75 0.07 80.95 09:34:11 Average: all 4.06 0.00 2.63 1.12 0.03 92.15 09:34:11 Average: 0 3.59 0.00 2.76 0.78 0.03 92.84 09:34:11 Average: 1 4.86 0.00 2.71 1.35 0.03 91.05 09:34:11 Average: 2 3.88 0.00 2.63 1.29 0.03 92.17 09:34:11 Average: 3 3.92 0.00 2.44 1.04 0.04 92.56 09:34:11 09:34:11 09:34:11