From 3113f90b55c5f082958f17e9e2d07fa9c8ec1776 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 12:52:06 -0400 Subject: [PATCH 01/16] testing --- .buildkite/coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 190c9c7f5f9..e670aa5388a 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,10 +1,10 @@ steps: - command: | echo "--- :hammer: Building" && \ - /usr/bin/cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ - /usr/bin/ninja + cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ + ninja echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ - /usr/bin/ninja EOSIO_ut_coverage && \ + ninja EOSIO_ut_coverage && \ echo "--- :arrow_up: Publishing Code Coverage Report" && \ buildkite-agent artifact upload "EOSIO_ut_coverage/**/*" s3://eos-coverage/$BUILDKITE_JOB_ID && \ cp /config/.coveralls.yml . && \ From 4929c9abe59b7de1c235158a231e30f68de4ad1e Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 12:56:55 -0400 Subject: [PATCH 02/16] testing --- .buildkite/coverage.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index e670aa5388a..9ce175ec6ea 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,5 +1,6 @@ steps: - command: | + ls -alht echo "--- :hammer: Building" && \ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja @@ -23,13 +24,8 @@ steps: docker#v2.1.0: debug: true image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" - workdir: /data/job mounts: - /etc/buildkite-agent/config:/config environment: - - BOOST_ROOT=/root/opt/boost - - OPENSSL_ROOT_DIR=/usr/include/openssl - - WASM_ROOT=/root/opt/wasm - - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/wasm/bin - CI=true timeout: 60 From 8e2c92edc2fb9eb127d114f5d54a586661d991b0 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 13:00:22 -0400 Subject: [PATCH 03/16] testing --- .buildkite/coverage.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 9ce175ec6ea..465953aff86 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -24,8 +24,7 @@ steps: docker#v2.1.0: debug: true image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" + workdir: /data/job mounts: - /etc/buildkite-agent/config:/config - environment: - - CI=true timeout: 60 From cee73db3212945f714f60eec3aad6379306a4545 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 13:21:22 -0400 Subject: [PATCH 04/16] testing --- .buildkite/coverage.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 465953aff86..66f179fdad9 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,9 +1,10 @@ steps: - - command: | - ls -alht + - label: ":spiral_note_pad: Generate Report" + command: | + ls -alht && \ echo "--- :hammer: Building" && \ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ - ninja + ninja && \ echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ ninja EOSIO_ut_coverage && \ echo "--- :arrow_up: Publishing Code Coverage Report" && \ @@ -12,7 +13,6 @@ steps: /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info && \ echo "+++ View Report" && \ printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" - label: ":spiral_note_pad: Generate Report" agents: queue: "automation-large-builder-fleet" plugins: @@ -25,6 +25,4 @@ steps: debug: true image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" workdir: /data/job - mounts: - - /etc/buildkite-agent/config:/config timeout: 60 From 660bb1826ba02f11691e5fd1ee15aa1513a460d1 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 13:46:48 -0400 Subject: [PATCH 05/16] testing --- .buildkite/coverage.yml | 16 +++++++--------- CMakeLists.txt | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 66f179fdad9..7f653860954 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,18 +1,16 @@ steps: - label: ":spiral_note_pad: Generate Report" - command: | - ls -alht && \ - echo "--- :hammer: Building" && \ + command: + - "echo \"--- :hammer: Ensuring packages are installed\" && apt-get install -y lcov" + - "echo \"--- :hammer: Building\" && \ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ - echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ - ninja EOSIO_ut_coverage && \ - echo "--- :arrow_up: Publishing Code Coverage Report" && \ + - "echo \"--- :spiral_note_pad: Generating Code Coverage Report\" && ninja EOSIO_ut_coverage" + - "echo \"--- :arrow_up: Publishing Code Coverage Report\" && \ buildkite-agent artifact upload "EOSIO_ut_coverage/**/*" s3://eos-coverage/$BUILDKITE_JOB_ID && \ cp /config/.coveralls.yml . && \ - /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info && \ - echo "+++ View Report" && \ - printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" + /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info" + - "echo \"+++ View Report\" && printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" agents: queue: "automation-large-builder-fleet" plugins: diff --git a/CMakeLists.txt b/CMakeLists.txt index 997ae2c1e65..791419e135a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,7 +192,7 @@ set(ENABLE_COVERAGE_TESTING FALSE CACHE BOOL "Build EOSIO for code coverage anal if(ENABLE_COVERAGE_TESTING) SET(CMAKE_CXX_FLAGS "--coverage ${CMAKE_CXX_FLAGS}") - find_program( LCOV_PATH lcov ) + find_program( lcov ) find_program( LLVMCOV_PATH llvm-cov ) find_program( GENHTML_PATH NAMES genhtml) endif() From 84bdccc1008a60de08b75c46d662690b6928aaa4 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 13:48:10 -0400 Subject: [PATCH 06/16] testing --- .buildkite/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 7f653860954..3343d30d075 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -3,7 +3,7 @@ steps: command: - "echo \"--- :hammer: Ensuring packages are installed\" && apt-get install -y lcov" - "echo \"--- :hammer: Building\" && \ - cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ + cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT=\"${BOOST_ROOT}\" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR=\"${OPENSSL_ROOT_DIR}\" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ - "echo \"--- :spiral_note_pad: Generating Code Coverage Report\" && ninja EOSIO_ut_coverage" - "echo \"--- :arrow_up: Publishing Code Coverage Report\" && \ From 08f942076606aa9b25877c94d3d7f1fae5245463 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 13:56:54 -0400 Subject: [PATCH 07/16] testing --- .buildkite/coverage.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 3343d30d075..2cc376d50fb 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,16 +1,18 @@ steps: - label: ":spiral_note_pad: Generate Report" - command: - - "echo \"--- :hammer: Ensuring packages are installed\" && apt-get install -y lcov" - - "echo \"--- :hammer: Building\" && \ - cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT=\"${BOOST_ROOT}\" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR=\"${OPENSSL_ROOT_DIR}\" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ + command: | + echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && \ + echo "--- :hammer: Building" && \ + cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ - - "echo \"--- :spiral_note_pad: Generating Code Coverage Report\" && ninja EOSIO_ut_coverage" - - "echo \"--- :arrow_up: Publishing Code Coverage Report\" && \ + echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ + ninja EOSIO_ut_coverage && \ + echo "--- :arrow_up: Publishing Code Coverage Report" && \ buildkite-agent artifact upload "EOSIO_ut_coverage/**/*" s3://eos-coverage/$BUILDKITE_JOB_ID && \ cp /config/.coveralls.yml . && \ - /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info" - - "echo \"+++ View Report\" && printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" + /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info && \ + echo "+++ View Report" && \ + printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" agents: queue: "automation-large-builder-fleet" plugins: From cffff6338836fb921cb2284a9e24052218bb3ff5 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 14:21:15 -0400 Subject: [PATCH 08/16] testing --- .buildkite/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 2cc376d50fb..ea183d42cb9 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -3,7 +3,7 @@ steps: command: | echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && \ echo "--- :hammer: Building" && \ - cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DWASM_ROOT="${WASM_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ + cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ ninja EOSIO_ut_coverage && \ From 67e550f13c1736f471576232b8a9b7996317f3b8 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 14:26:32 -0400 Subject: [PATCH 09/16] testing --- .buildkite/coverage.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index ea183d42cb9..2e1f79c7e66 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -3,7 +3,7 @@ steps: command: | echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && \ echo "--- :hammer: Building" && \ - cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ + cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ echo "--- :spiral_note_pad: Generating Code Coverage Report" && \ ninja EOSIO_ut_coverage && \ @@ -25,4 +25,11 @@ steps: debug: true image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" workdir: /data/job + mounts: + - /etc/buildkite-agent/config:/config + environment: + - BOOST_ROOT=/root/opt/boost + - OPENSSL_ROOT_DIR=/usr/include/openssl + - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/wasm/bin + - CI=true timeout: 60 From 695e14093dfd524a2dae9c0b6a0b649dcc3a532b Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 15:41:46 -0400 Subject: [PATCH 10/16] testing --- .buildkite/coverage.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 2e1f79c7e66..aedc665a903 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -21,15 +21,12 @@ steps: account_ids: "436617320021" no-include-email: true region: "us-west-2" - docker#v2.1.0: + docker#v3.0.1: debug: true image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" workdir: /data/job - mounts: - - /etc/buildkite-agent/config:/config environment: - BOOST_ROOT=/root/opt/boost - OPENSSL_ROOT_DIR=/usr/include/openssl - - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/wasm/bin - - CI=true + - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/mongodb/bin timeout: 60 From 9ea9df1660b7cbea8d52d6b4e6207738fa587101 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 15:49:22 -0400 Subject: [PATCH 11/16] testing --- .buildkite/coverage.yml | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index aedc665a903..26a6e3645e0 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -26,6 +26,7 @@ steps: image: "436617320021.dkr.ecr.us-west-2.amazonaws.com/ci:ubuntu18_2-1" workdir: /data/job environment: + - LCOV_PATH=/usr/bin/lcov - BOOST_ROOT=/root/opt/boost - OPENSSL_ROOT_DIR=/usr/include/openssl - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/mongodb/bin diff --git a/CMakeLists.txt b/CMakeLists.txt index 791419e135a..0d54f35526c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,7 +192,7 @@ set(ENABLE_COVERAGE_TESTING FALSE CACHE BOOL "Build EOSIO for code coverage anal if(ENABLE_COVERAGE_TESTING) SET(CMAKE_CXX_FLAGS "--coverage ${CMAKE_CXX_FLAGS}") - find_program( lcov ) + find_program( LCOV_PATH lcov ) find_program( LLVMCOV_PATH llvm-cov ) find_program( GENHTML_PATH NAMES genhtml) endif() From d5d3e4cb87b07bff409c90e2a08ebf336e5f2820 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 15:50:31 -0400 Subject: [PATCH 12/16] testing --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 68116bab863..ae9b36bcd68 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -117,7 +117,7 @@ if(ENABLE_COVERAGE_TESTING) if(NOT LLVMCOV_PATH) message(FATAL_ERROR "llvm-cov not found! Aborting...") - endif() # NOT LCOV_PATH + endif() if(NOT GENHTML_PATH) message(FATAL_ERROR "genhtml not found! Aborting...") From 47aeae77b8cfdbcc0102f66520219d9d18ec1267 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 15:59:14 -0400 Subject: [PATCH 13/16] testing --- .buildkite/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 26a6e3645e0..ad93bbaf28a 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -29,5 +29,5 @@ steps: - LCOV_PATH=/usr/bin/lcov - BOOST_ROOT=/root/opt/boost - OPENSSL_ROOT_DIR=/usr/include/openssl - - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/mongodb/bin + - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/opt/mongodb/bin:~/opt/llvm/bin/ timeout: 60 From 0818079123bda54cdfff3bf8d880716c24e02c51 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 17:26:05 -0400 Subject: [PATCH 14/16] testing --- .buildkite/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index ad93bbaf28a..951d43bb751 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,7 +1,7 @@ steps: - label: ":spiral_note_pad: Generate Report" command: | - echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && \ + echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && gem install coveralls-lcov && \ echo "--- :hammer: Building" && \ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \ From a5d570376c3f2fae73f9bc733531f6e1818e0f3c Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 17:40:03 -0400 Subject: [PATCH 15/16] testing --- .buildkite/coverage.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 951d43bb751..711b561d5d6 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -9,8 +9,6 @@ steps: ninja EOSIO_ut_coverage && \ echo "--- :arrow_up: Publishing Code Coverage Report" && \ buildkite-agent artifact upload "EOSIO_ut_coverage/**/*" s3://eos-coverage/$BUILDKITE_JOB_ID && \ - cp /config/.coveralls.yml . && \ - /usr/local/bin/coveralls-lcov EOSIO_ut_coverage_filtered.info && \ echo "+++ View Report" && \ printf "\033]1339;url=https://eos-coverage.s3-us-west-2.amazonaws.com/$BUILDKITE_JOB_ID/EOSIO_ut_coverage/index.html;content=View Full Coverage Report\a\n" agents: From 6bbaa5d861d4645b0a10169f41dd79899a76d605 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 12 Mar 2019 17:47:34 -0400 Subject: [PATCH 16/16] testing --- .buildkite/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/coverage.yml b/.buildkite/coverage.yml index 711b561d5d6..ded8b3651e5 100644 --- a/.buildkite/coverage.yml +++ b/.buildkite/coverage.yml @@ -1,7 +1,7 @@ steps: - label: ":spiral_note_pad: Generate Report" command: | - echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && gem install coveralls-lcov && \ + echo "--- :hammer: Ensuring lcov is installed" && apt-get install -y lcov && \ echo "--- :hammer: Building" && \ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++-4.0 -DCMAKE_C_COMPILER=clang-4.0 -DBOOST_ROOT="${BOOST_ROOT}" -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DBUILD_MONGO_DB_PLUGIN=true -DENABLE_COVERAGE_TESTING=true -DBUILD_DOXYGEN=false && \ ninja && \