make check failing in CentOS 6

Peter Ajamian peter at pajamian.dhs.org
Tue Feb 28 04:14:51 UTC 2017


Dovecot builds just fine, but fails the tests in src/lib-index.

Note that reverting this commit fixes the issue:
https://github.com/dovecot/core/commit/dfa4b048ec9a174a42d6668e94501db2fb70793a

$ make check
for bin in test-mail-index-map test-mail-index-modseq
test-mail-index-sync-ext test-mail-index-transaction-finish
test-mail-index-transaction-update test-mail-transaction-log-append
test-mail-transaction-log-view; do \
	  if !  ./$bin; then exit 1; fi; \
	done
mail index map lookup seq range ...................................... : ok
0 / 1 tests failed
mail_transaction_log_file_get_modseq_next_offset() ................... : ok
0 / 1 tests failed
mail index sync ext atomic inc ....................................... : ok
0 / 1 tests failed
mail index transaction finish flag updates n_so_far=0 ................ : ok
mail index transaction finish flag updates n_so_far=1 ................ : ok
mail index transaction finish flag updates n_so_far=2 ................ : ok
mail index transaction finish check conflicts n_so_far=0 ............. : ok
mail index transaction finish check conflicts n_so_far=1 ............. : ok
mail index transaction finish check conflicts n_so_far=2 ............. : ok
mail index transaction finish modseq updates n_so_far=0 .............. : ok
mail index transaction finish modseq updates n_so_far=1 .............. : ok
mail index transaction finish modseq updates n_so_far=2 .............. : ok
mail index transaction finish expunges n_so_far=0 .................... : ok
mail index transaction finish expunges n_so_far=1 .................... : ok
mail index transaction finish expunges n_so_far=2 .................... : ok
0 / 12 tests failed
mail index append .................................................... : ok
mail index append with uids .......................................... : ok
mail index flag update fast paths .................................... : ok
mail index flag update simple merges ................................. : ok
mail index flag update complex merges ................................ : ok
mail index flag update random ........................................ : ok
mail index flag update appends ....................................... : ok
mail index cancel flag updates ....................................... : ok
mail index transaction get flag update pos ........................... : ok
mail index modseq update ............................................. : ok
mail index expunge ................................................... : ok
test-mail-index-transaction-update.c:649: Assert(#1) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#1) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#3) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#3) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#4) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:649: Assert(#5) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#5) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#6) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#6) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#7) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#7) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#8) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#8) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#9) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#9) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#10) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:652: Assert(#10) failed:
memcmp(new_hdr.day_first_uid, tests[i].new_day_first_uid,
sizeof(uint32_t) * 8) == 0
test-mail-index-transaction-update.c:649: Assert(#11) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
test-mail-index-transaction-update.c:649: Assert(#12) failed:
new_hdr.day_stamp == tests[i].new_day_stamp + timezone
mail index update day first uid ...................................... :
FAILED
test: random seed #1 was 1488809888
1 / 12 tests failed
make: *** [check-test] Error 1




More information about the dovecot mailing list