Bug #119249 Router unit test setup failures
Submitted: 28 Oct 4:21 Modified: 28 Oct 9:33
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Open Impact on me:
None 
Category:Tests Severity:S7 (Test Cases)
Version:8.4.7 OS:MacOS
Assigned to: CPU Architecture:ARM

[28 Oct 4:21] Laurynas Biveinis
Description:
$ runtime_output_directory/routertest_integration_routing_direct
...
[----------] 884 tests from Spec/ConnectionTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-z2kOQx/utipalkfbcyo
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:475: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91028 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91028 exited with Exit(1)

[----------] 884 tests from Spec/ConnectionTest (35 ms total)

[----------] 8 tests from Spec/ConnectionTestSlow
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-25FldH/hbatvmdhoufk
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:475: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91031 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91031 exited with Exit(1)

[----------] 8 tests from Spec/ConnectionTestSlow (0 ms total)

[----------] 780 tests from Spec/ConnectionConnectTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-5w2LaT/sjnxdypmwzuy
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:475: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91040 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91040 exited with Exit(1)

[----------] 780 tests from Spec/ConnectionConnectTest (22 ms total)

[----------] 3 tests from Spec/Benchmark
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-bARCge/nanbuffvbcji
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:475: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_direct.cc:642: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91042 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91042 exited with Exit(1)

[----------] 3 tests from Spec/Benchmark (0 ms total)

[----------] Global test environment tear-down
[==========] 1675 tests from 4 test suites ran. (122633 ms total)
...
[  FAILED  ] 0 tests, listed below:

 0 FAILED TESTS
[  FAILED  ] Spec/ConnectionTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/ConnectionTestSlow: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/ConnectionConnectTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/Benchmark: SetUpTestSuite or TearDownTestSuite

 4 FAILED TEST SUITES

How to repeat:
See above. Server built with CMake options -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DFORCE_UNSUPPORTED_COMPILER=ON -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Release -DMYSQL_MAINTAINER_MODE=ON -DWITH_SYSTEM_LIBS=ON -DWITH_NDBCLUSTER_STORAGE_ENGINE=OFF -DFORCE_COLORED_OUTPUT=ON -DCMAKE_CXX_FLAGS=-Wno-uninitialized-const-pointer -Wno-conditional-uninitialized -Wno-unnecessary-virtual-specifier -g -DCMAKE_CXX_FLAGS_DEBUG=-Wno-uninitialized-const-pointer -Wno-conditional-uninitialized -Wno-unnecessary-virtual-specifier -g -DCMAKE_CXX_FLAGS_RELEASE=-O2 -DNDEBUG -Wno-uninitialized-const-pointer -Wno-conditional-uninitialized -Wno-unnecessary-virtual-specifier -g
[28 Oct 4:27] Laurynas Biveinis
Same on routertest_integration_routing_sharing:
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91215 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91215 exited with Exit(1)

[----------] 1313 tests from Spec/ShareConnectionTest (40 ms total)

[----------] 104 tests from Spec/ShareConnectionReconnectTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-YYtA9X/rmcrvlhdtbgl
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:502: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router
...
[  SKIPPED ] Spec/ShareConnectionReconnectTest.change_user/ssl_modes_REQUIRED__REQUIRED (0 ms)
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91246 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91246 exited with Exit(1)

[----------] 104 tests from Spec/ShareConnectionReconnectTest (16 ms total)

[----------] 312 tests from Spec/ChangeUserTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-1y0NPB/wvqpukflqgkb
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:502: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91249 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91249 exited with Exit(1)

[----------] 312 tests from Spec/ChangeUserTest (25 ms total)

[----------] 286 tests from Spec/StatementSharableTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-GVPhUR/zuourfzptomz
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:502: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:788: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_sharing.cc:7864: Skipped

[  SKIPPED ] Spec/StatementSharableTest.check/sql_calc_found_rows_via_REQUIRED__REQUIRED (0 ms)
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91251 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91251 exited with Exit(1)

[----------] 286 tests from Spec/StatementSharableTest (8 ms total)

[----------] Global test environment tear-down
...
[  FAILED  ] 0 tests, listed below:

 0 FAILED TESTS
[  FAILED  ] Spec/ShareConnectionTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/ShareConnectionReconnectTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/ChangeUserTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] Spec/StatementSharableTest: SetUpTestSuite or TearDownTestSuite
[28 Oct 4:37] Laurynas Biveinis
See also bug 119250
[28 Oct 4:40] Laurynas Biveinis
$ runtime_output_directory/routertest_integration_routing_reuse
...
[----------] 1053 tests from Spec/ReuseConnectionTest
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:286: Failure
Value of: result.wait_for_sync_point_result()
  Actual: false
Expected: true
waited 30000ms for READY on socket: /tmp/router-WWfUuO/onpypcnangxe
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_reuse.cc:721: // spawn router

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_reuse.cc:656: Skipped
router failed to start
Google Test trace:
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/integration/test_routing_reuse.cc:721: // spawn router
...
/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91459 exited with Exit(1)

/Users/laurynas/vilniusdb/mysql-8.4.7/router/tests/helpers/process_manager.cc:738: Failure
Expected equality of these values:
  expected_exit_status
    Which is: Exit(0)
  result
    Which is: Exit(1)
Process 91459 exited with Exit(1)

[----------] 1053 tests from Spec/ReuseConnectionTest (46 ms total)

[----------] Global test environment tear-down
[==========] 1053 tests from 1 test suite ran. (32796 ms total)
...
[  FAILED  ] 0 tests, listed below:

 0 FAILED TESTS
[  FAILED  ] Spec/ReuseConnectionTest: SetUpTestSuite or TearDownTestSuite

 1 FAILED TEST SUITE
[28 Oct 9:33] Laurynas Biveinis
See also bug 118211 and bug 119258