awslabs / amazon-timestream-odbc-driver

Apache License 2.0
5 stars 4 forks source link

Fix floating intergration test issue, document update and github automation improvement #4

Closed RoyZhang2022 closed 1 year ago

RoyZhang2022 commented 1 year ago

Summary

  1. Fix for intergration tests when check BOOST_CHECK_EQUAL(abs(doubleField - 35.2) < 0.1, true); may fail occasionally.

    • select * from data_queries_test_db.TestComplexTypes order by timecould return different order for fieldmeasure_value::doublefor sametimevalue of different run. To guarantee the order, themeasure_value::double` needs to be added to the order by clause.
  2. Documentation update to include instructions for driver uninstallation for linux with rpm package manager.

  3. Add automate check for the repository to scan for sensitive data and credentials.

    • Add trufflehog plugin in windows workflow to scan for sensitive data added

Related Issue

NA

Additional Reviewers

@alexey-temnikov

github-actions[bot] commented 1 year ago

Ubuntu 20.04 Build Unit Test Results

  1 files  ±0    1 suites  ±0   1s :stopwatch: -1s 73 tests ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  72 runs  ±0  72 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Ubuntu 20.04 Debug Build Unit Test Results

  1 files  ±0    1 suites  ±0   1s :stopwatch: ±0s 73 tests ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  72 runs  ±0  72 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

MacOS Big Sur 11 Debug Build Unit Test Results

  1 files  ±0    1 suites  ±0   4s :stopwatch: ±0s 73 tests ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  72 runs  ±0  71 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Windows 2022 (x32) Build Unit Test Results

  1 files  ±0    1 suites  ±0   2s :stopwatch: -3s 74 tests ±0  73 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  73 runs  ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Ubuntu 20.04 Debug Build Integration Test Results

391 tests  ±0   391 :heavy_check_mark: ±0   15m 14s :stopwatch: + 6m 21s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Windows 2022 (x64) Build Unit Test Results

  1 files  ±0    1 suites  ±0   1s :stopwatch: -2s 74 tests ±0  73 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  73 runs  ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Ubuntu 20.04 Build Integration Test Results

391 tests  ±0   391 :heavy_check_mark: ±0   11m 44s :stopwatch: +44s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

MacOS Big Sur 11 Build Unit Test Results

  1 files  ±0    1 suites  ±0   2s :stopwatch: ±0s 73 tests ±0  72 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  72 runs  ±0  71 :heavy_check_mark: ±0  1 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

MacOS Big Sur 11 Debug Build Integration Test Results

    1 files  ±0      1 suites  ±0   14m 51s :stopwatch: -11s 389 tests ±0  389 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Windows 2022 (x32) Build Integration Test Results

391 tests  ±0   391 :heavy_check_mark: ±0   6m 47s :stopwatch: - 2m 35s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Windows 2022 (x64) Build Integration Test Results

391 tests  ±0   391 :heavy_check_mark: ±0   6m 46s :stopwatch: - 2m 29s     1 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

MacOS Big Sur 11 Build Integration Test Results

    1 files  ±0      1 suites  ±0   9m 17s :stopwatch: - 5m 38s 389 tests ±0  389 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit 85e05b93. ± Comparison against base commit b2ec0ff7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

Ubuntu 20.04 Debug Build Test Results Check

Code Coverage

Package Line Rate Branch Rate Complexity Health
src.aws-sdk-cpp.install.include.aws.core 26% 0% 0
src.aws-sdk-cpp.install.include.aws.core.auth 100% 67% 0
src.aws-sdk-cpp.install.include.aws.core.client 75% 50% 0
src.aws-sdk-cpp.install.include.aws.core.config 67% 0% 0
src.aws-sdk-cpp.install.include.aws.core.endpoint 0% 0% 0
src.aws-sdk-cpp.install.include.aws.core.http 100% 0% 0
src.aws-sdk-cpp.install.include.aws.core.utils 100% 50% 0
src.aws-sdk-cpp.install.include.aws.core.utils.json 100% 0% 0
src.aws-sdk-cpp.install.include.aws.core.utils.memory 67% 38% 0
src.aws-sdk-cpp.install.include.aws.core.utils.memory.stl 100% 50% 0
src.aws-sdk-cpp.install.include.aws.crt 82% 50% 0
src.aws-sdk-cpp.install.include.aws.crt.endpoints 0% 0% 0
src.aws-sdk-cpp.install.include.aws.sts 7% 0% 0
src.aws-sdk-cpp.install.include.aws.sts.model 100% 0% 0
src.aws-sdk-cpp.install.include.aws.timestream-query 89% 43% 0
src.aws-sdk-cpp.install.include.aws.timestream-query.model 96% 0% 0
src.odbc.include.ignite.common.include.common 54% 25% 0
src.odbc.include.ignite.odbc 100% 0% 0
src.odbc.include.ignite.odbc.config 67% 0% 0
src.odbc.include.ignite.odbc.diagnostic 100% 0% 0
src.odbc.include.timestream.odbc 86% 51% 0
src.odbc.include.timestream.odbc.app 62% 0% 0
src.odbc.include.timestream.odbc.authentication 100% 50% 0
src.odbc.include.timestream.odbc.config 0% 0% 0
src.odbc.include.timestream.odbc.diagnostic 78% 50% 0
src.odbc.include.timestream.odbc.meta 69% 31% 0
src.odbc.include.timestream.odbc.query 85% 50% 0
src.odbc.os.ignite.common.os.linux.src.common 24% 42% 0
src.odbc.src 72% 35% 0
src.odbc.src.app 76% 37% 0
src.odbc.src.authentication 94% 48% 0
src.odbc.src.config 86% 46% 0
src.odbc.src.diagnostic 36% 15% 0
src.odbc.src.ignite.common.src 16% 0% 0
src.odbc.src.ignite.common.src.common 32% 21% 0
src.odbc.src.meta 81% 40% 0
src.odbc.src.query 75% 40% 0
Summary 70% (7113 / 10143) 37% (15153 / 40777) 0
github-actions[bot] commented 1 year ago

Windows 2022 (x64) Debug Build Code Coverage Test Results Check

Code Coverage

Package Line Rate Branch Rate Complexity Health
D:\a\amazon-timestream-odbc-driver\amazon-timestream-odbc-driver\build\odbc\bin\Debug\timestream-odbc-unit-tests.exe 73% 0% 0
D:\a\amazon-timestream-odbc-driver\amazon-timestream-odbc-driver\build\odbc\bin\Debug\timestream.odbc.dll 73% 0% 0
Summary 73% (12592 / 17280) 0% (0 / 0) 0
github-actions[bot] commented 1 year ago

MacOS Big Sur 11 Debug Build Code Coverage Unit and Integration Test Result

Code Coverage

Package Line Rate Branch Rate Complexity Health
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core 100% 50% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.auth 100% 83% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.client 75% 50% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.config 67% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.endpoint 0% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.http 100% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.utils 100% 50% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.utils.json 100% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.utils.memory 60% 38% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.utils.memory.stl 100% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.core.utils.threading 0% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.crt 100% 100% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.crt.endpoints 0% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.sts 14% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.sts.model 100% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.timestream-query 100% 0% 0
amazon-timestream-odbc-driver.src.aws-sdk-cpp.install.include.aws.timestream-query.model 96% 50% 0
amazon-timestream-odbc-driver.src.odbc.include.ignite.common.include.common 54% 24% 0
amazon-timestream-odbc-driver.src.odbc.include.ignite.odbc 100% 0% 0
amazon-timestream-odbc-driver.src.odbc.include.ignite.odbc.config 100% 0% 0
amazon-timestream-odbc-driver.src.odbc.include.ignite.odbc.diagnostic 100% 0% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc 85% 50% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.app 62% 0% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.authentication 100% 50% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.config 100% 50% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.diagnostic 80% 50% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.meta 82% 30% 0
amazon-timestream-odbc-driver.src.odbc.include.timestream.odbc.query 85% 0% 0
amazon-timestream-odbc-driver.src.odbc.os.ignite.common.os.linux.src.common 26% 35% 0
amazon-timestream-odbc-driver.src.odbc.src 76% 34% 0
amazon-timestream-odbc-driver.src.odbc.src.app 77% 35% 0
amazon-timestream-odbc-driver.src.odbc.src.authentication 97% 49% 0
amazon-timestream-odbc-driver.src.odbc.src.config 83% 45% 0
amazon-timestream-odbc-driver.src.odbc.src.diagnostic 50% 18% 0
amazon-timestream-odbc-driver.src.odbc.src.ignite.common.src 16% 0% 0
amazon-timestream-odbc-driver.src.odbc.src.ignite.common.src.common 32% 19% 0
amazon-timestream-odbc-driver.src.odbc.src.meta 83% 38% 0
amazon-timestream-odbc-driver.src.odbc.src.query 77% 41% 0
Summary 73% (7856 / 10805) 37% (18328 / 50026) 0