[MCOL-1763] mcsapi MCOL-1408 test failing in 1.2.0 Created: 2018-10-03  Updated: 2023-10-26  Resolved: 2019-06-12

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.2.0
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Andrew Hutchings (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MCOL-3276 API mcol1408 test fails in develop fo... Closed
Relates
relates to MCOL-1408 Columnstore table unable to accept wr... Closed

 Description   

The test for MCOL-1408 is failing in develop engine in Fedora. The fixes all seem to be there so something else may be going on.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2018-10-16 ]

Looks like the token column HWM is not being committed. Also affects 1.1.

Comment by Andrew Hutchings (Inactive) [ 2018-10-16 ]

Can't reproduce on any other platform on similar hardware. Only Fedora. Given its newer GCC version my guess some undefined behaviour is behaving differently.

Comment by Andrew Hutchings (Inactive) [ 2018-10-16 ]

Appears to be some kind of race in BRM. Failure on SSD:

[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from mcol1408
[ RUN      ] mcol1408.mcol1408
[       OK ] mcol1408.mcol1408 (149244 ms)
[ RUN      ] mcol1408.BRM
/home/linuxjedi/Programming/Git/mariadb-columnstore-api-fixes/test/mcol1408.cpp:179: Failure
Failed
Error caught:  HWMs for same width columns not equal.  Check err.log for detailed information.
 
[  FAILED  ] mcol1408.BRM (582 ms)
[----------] 2 tests from mcol1408 (149826 ms total)
 
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (150558 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] mcol1408.BRM

Failure on HDD:

[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from mcol1408
[ RUN      ] mcol1408.mcol1408
/home/linuxjedi/Programming/Git/mariadb-columnstore-api-fixes/test/mcol1408.cpp:126: Failure
Failed
Could not get result data: Internal error: An unexpected condition within the query caused an internal processing error within InfiniDB. Please check the log files for more details. Additional Information: error in PrimitiveServer load
[  FAILED  ] mcol1408.mcol1408 (162002 ms)
[ RUN      ] mcol1408.BRM
/home/linuxjedi/Programming/Git/mariadb-columnstore-api-fixes/test/mcol1408.cpp:179: Failure
Failed
Error caught:  HWMs for same width columns not equal.  Check err.log for detailed information.
 
[  FAILED  ] mcol1408.BRM (718 ms)
[----------] 2 tests from mcol1408 (162720 ms total)
 
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (168974 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] mcol1408.mcol1408
[  FAILED  ] mcol1408.BRM

Comment by Andrew Hutchings (Inactive) [ 2018-10-16 ]

Some of the errors in the HDD failure:

Oct 16 13:24:21 lxj1.local PrimProc[25768]: 21.377403 |0|0|0| C 28 CAL0000: Invalid Range from HWM for lbid 251648, range size should be <= blocksReadAhead: HWM 0, dbroot 1, highfbo 1023, lowfbo 512, blocksReadAhead 512, range size -511
Oct 16 13:24:21 lxj1.local PrimProc[25768]: 21.377439 |0|0|0| C 28 CAL0000: Invalid Range from HWM for lbid 254720, range size should be <= blocksReadAhead: HWM 0, dbroot 1, highfbo 4095, lowfbo 3584, blocksReadAhead 512, range size -3583
Oct 16 13:24:21 lxj1.local PrimProc[25768]: 21.377701 |0|0|0| C 28 CAL0000: Invalid Range from HWM for lbid 251652, range size should be <= blocksReadAhead: HWM 0, dbroot 1, highfbo 1023, lowfbo 512, blocksReadAhead 512, range size -511
Oct 16 13:24:21 lxj1.local PrimProc[25768]: 21.377741 |0|0|0| C 28 CAL0000: Invalid Range from HWM for lbid 254724, range size should be <= blocksReadAhead: HWM 0, dbroot 1, highfbo 4095, lowfbo 3584, blocksReadAhead 512, range size -3583
Oct 16 13:24:21 lxj1.local PrimProc[25768]: 21.377750 |0|0|0| C 28 CAL0000: Invalid Range from HWM for lbid 252160, range size should be <= blocksReadAhead: HWM 0, dbroot 1, highfbo 1535, lowfbo 1024, blocksReadAhead 512, range size -1023

Comment by Andrew Hutchings (Inactive) [ 2018-10-19 ]

Changed versions as I haven't seen this impact anything other platform.

Comment by Andrew Hutchings (Inactive) [ 2019-06-12 ]

Duplicate of MCOL-3276

Generated at Thu Feb 08 02:31:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.