make MAKE="make" word dbbench txt2mifluz search testnet document url make[1]: Entering directory `/home/ghutchis/htdig-cvs/build-3.2/test' make[1]: `word' is up to date. make[1]: `dbbench' is up to date. make[1]: `txt2mifluz' is up to date. make[1]: `search' is up to date. make[1]: `testnet' is up to date. make[1]: `document' is up to date. make[1]: `url' is up to date. make[1]: Leaving directory `/home/ghutchis/htdig-cvs/build-3.2/test' make MAKE="make" check-TESTS make[1]: Entering directory `/home/ghutchis/htdig-cvs/build-3.2/test' Test WordKey class ----------------------------------------- nfields: 4 num_length: 4 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 5 |---bytesize: 1 bytes_offset: 0 bits: 5 bits_offset: 0 a b"Flags" type: 1 lowbits: 5 lastbits: 5 a b|---bytesize: 2 bytes_offset: 0 bits: 8 bits_offset: 5 a b c d"Location" type: 1 lowbits: 5 lastbits: 0 a b c d|---bytesize: 3 bytes_offset: 1 bits:19 bits_offset:13 11111222222223333333333333333333 (bits) ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 012345670WORD: aword 30 222 450270 OTHER_WORD: aword 30 222 450270 1234567012345670123456701234567012345670123456701234567 ----------------------------------------- nfields: 4 num_length: 2 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 3 |---bytesize: 1 bytes_offset: 0 bits: 3 bits_offset: 0 a "Location" type: 1 lowbits: 3 lastbits: 5 a |---bytesize: 1 bytes_offset: 0 bits: 2 bits_offset: 3 a b"Flags" type: 1 lowbits: 5 lastbits: 0 a b|---bytesize: 2 bytes_offset: 0 bits:11 bits_offset: 5 1112233333333333 (bits) ^0 ^1 ^2 ^3 ^4 ^5 WORD: aword 6 2 1758 OTHER_WORD: aword 6 2 1758 ^6 ^7 0123456701234567012345670123456701234567012345670123456701234567 ----------------------------------------- nfields: 4 num_length: 2 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 3 |---bytesize: 1 bytes_offset: 0 bits: 3 bits_offset: 0 a "Flags" type: 1 lowbits: 3 lastbits: 3 a |---bytesize: 2 bytes_offset: 0 bits: 8 bits_offset: 3 a b c "Location" type: 1 lowbits: 3 lastbits: 0 a b c |---bytesize: 1 bytes_offset: 1 bits: 5 bits_offset:11 1112222222233333 (bits) ^0 ^1 WORD: aword 6 222 30 OTHER_WORD: aword 6 222 30 ^2 ^3 ^4 ^5 ^6 ^7 0123456701234567012345670123456701234567012345670123456701234567 ----------------------------------------- nfields: 4 num_length: 3 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 3 |---bytesize: 1 bytes_offset: 0 bits: 3 bits_offset: 0 a "Flags" type: 1 lowbits: 3 lastbits: 1 a |---bytesize: 3 bytes_offset: 0 bits:14 bits_offset: 3 a b c d e"Location" type: 1 lowbits: 1 lastbits: 0 a b c d e|---bytesize: 1 bytes_offset: 2 bits: 7 bits_offsetWORD: aword 6 7902 94 OTHER_WORD: aword 6 7902 94 :17 111222222222222223333333 (bits) ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 0123456701234567012345670123456701234567012345670123456701234567 ----------------------------------------- nfields: 6 num_length: 6 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 3 |---bytesize: 1 bytes_offset: 0 bits: 3 bits_offset: 0 a "Flags" type: 1 lowbits: 3 lastbits: 4 a |---bytesize: 2 bytes_offset: 0 bits: 9 bits_offset: 3 a b c "Location" type: 1 lowbits: 4 lastbits: 3 a b c |---bytesize: 2 bytes_offset: 1 bits: 7 bits_offset:12 a b c d e "Foo1" type: 1 lowbits: 3 lastbits: 0 a b c d e |---bytesize: 2 bytes_offset: 2 bits:13 bits_offset:19 a b c d e f g h "Foo2" type: 1 lowbits: 0 lastbits: 0 a b c d e f g h |---bytesize: 2 bytes_offset: 4 bits:16 bits_offset:32 111222222222333333344444444444445555555555555555 (bits) ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 012345670123456701234567012345670123456701234567012345670123456WORD: aword 6 222 94 7902 57054 OTHER_WORD: aword 6 222 94 7902 57054 7 PASS: t_wordkey Test WordList class ----------------------------------------- nfields: 4 num_length: 7 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 0 |---bytesize: 4 bytes_offset: 0 bits:32 bits_offset: 0 a b c d e f g h "Flags" type: 1 lowbits: 0 lastbits: 0 a b c d e f g h |---bytesize: 1 bytes_offset: 4 bits: 8 bits_offset:32 a b c d e f g h i j "Location" type: 1 lowbits: 0 lastbits: 0 a b c d e f g h i j |---bytesize: 2 bytes_offset: 5 bits:16 bits_offset:40 Inserting The 1 67 0 key = 0x54(T) 0x68(h) 0x65(e) 0x01() 0x00() 0x00() 0x00() 0x43(C) 0x00() 0x00() record = quick 2 67 3 key = 0x71(q) 0x75(u) 0x69(i) 0x63(c) 0x6b(k) 0x02() 0x00() 0x00() 0x00() 0x43(C) 0x03() 0x00() record = brown 3 67 8 key = 0x62(b) 0x72(r) 0x6f(o) 0x77(w) 0x6e(n) 0x03() 0x00() 0x00() 0x00() 0x43(C) 0x08() 0x00() record = fox 4 67 13 key = 0x66(f) 0x6f(o) 0x78(x) 0x04() 0x00() 0x00() 0x00() 0x43(C) 0x0d( ) 0x00() record = jumps 5 67 16 key = 0x6a(j) 0x75(u) 0x6d(m) 0x70(p) 0x73(s) 0x05() 0x00() 0x00() 0x00() 0x43(C) 0x10() 0x00() record = over 6 67 21 key = 0x6f(o) 0x76(v) 0x65(e) 0x72(r) 0x06() 0x00() 0x00() 0x00() 0x43(C) 0x15() 0x00() record = the 7 67 25 key = 0x74(t) 0x68(h) 0x65(e) 0x07() 0x00() 0x00() 0x00() 0x43(C) 0x19() 0x00() record = lazy 8 67 28 key = 0x6c(l) 0x61(a) 0x7a(z) 0x79(y) 0x08() 0x00() 0x00() 0x00() 0x43(C) 0x1c() 0x00() record = dog 9 67 32 key = 0x64(d) 0x6f(o) 0x67(g) 0x09( ) 0x00() 0x00() 0x00() 0x43(C) 0x20( ) 0x00() record = Searching searching for quick ... key = 0x71(q) 0x75(u) 0x69(i) 0x63(c) 0x6b(k) 0x02() 0x00() 0x00() 0x00() 0x43(C) 0x03() 0x00() record = quick 2 67 3 WordCursor::WalkInit: action = 1, SearchKey = quick 2 67 3 WordCursor::WalkInit: go to quick 2 67 3 WordCursor::WalkNextStep: looking for quick 2 67 3 , candidate is quick 2 67 3 WordCursor::WalkNextStep: looking for quick 2 67 3 , found quick 2 67 3 WordDB: test: page 1 doesn't exist WordDBCursor::Get(17) failed Invalid argument WordCursor::WalkFinish dolist: words[wordRef] returned null pointer 11111111111111111111111111111111222222223333333333333333 (bits) ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 0123456701234567012345670123456701234567012345670123456701234567 Test WordList class ----------------------------------------- nfields: 4 num_length: 7 Word type: 2 "DocID" type: 1 lowbits: 0 lastbits: 0 |---bytesize: 4 bytes_offset: 0 bits:32 bits_offset: 0 a b c d e f g h "Flags" type: 1 lowbits: 0 lastbits: 0 a b c d e f g h |---bytesize: 1 bytes_offset: 4 bits: 8 bits_offset:32 a b c d e f g h i j "Location" type: 1 lowbits: 0 lastbits: 0 a b c d e f g h i j |---bytesize: 2 bytes_offset: 5 bits:16 bits_offset:40 Inserting The 1 67 0 key = 0x54(T) 0x68(h) 0x65(e) 0x01() 0x00() 0x00() 0x00() 0x43(C) 0x00() 0x00() record = quick 2 67 3 key = 0x71(q) 0x75(u) 0x69(i) 0x63(c) 0x6b(k) 0x02() 0x00() 0x00() 0x00() 0x43(C) 0x03() 0x00() record = brown 3 67 8 key = 0x62(b) 0x72(r) 0x6f(o) 0x77(w) 0x6e(n) 0x03() 0x00() 0x00() 0x00() 0x43(C) 0x08() 0x00() record = fox 4 67 13 key = 0x66(f) 0x6f(o) 0x78(x) 0x04() 0x00() 0x00() 0x00() 0x43(C) 0x0d( ) 0x00() record = jumps 5 67 16 key = 0x6a(j) 0x75(u) 0x6d(m) 0x70(p) 0x73(s) 0x05() 0x00() 0x00() 0x00() 0x43(C) 0x10() 0x00() record = over 6 67 21 key = 0x6f(o) 0x76(v) 0x65(e) 0x72(r) 0x06() 0x00() 0x00() 0x00() 0x43(C) 0x15() 0x00() record = the 7 67 25 key = 0x74(t) 0x68(h) 0x65(e) 0x07() 0x00() 0x00() 0x00() 0x43(C) 0x19() 0x00() record = lazy 8 67 28 key = 0x6c(l) 0x61(a) 0x7a(z) 0x79(y) 0x08() 0x00() 0x00() 0x00() 0x43(C) 0x1c() 0x00() record = dog 9 67 32 key = 0x64(d) 0x6f(o) 0x67(g) 0x09( ) 0x00() 0x00() 0x00() 0x43(C) 0x20( ) 0x00() record = Searching WordDB: test: unexpected file type or format searching for quick ... key = 0x71(q) 0x75(u) 0x69(i) 0x63(c) 0x6b(k) 0x02() 0x00() 0x00() 0x00() 0x43(C) 0x03() 0x00() record = quick 2 67 3 WordDB: DB->cursor: method meaningless before open dolist: words[wordRef] returned null pointer 11111111111111111111111111111111222222223333333333333333 (bits) ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 0123456701234567012345670123456701234567012345670123456701234567 FAIL: t_wordlist Test WordList::SkipUselessSequentialWalking method Test WordList::SkipUselessSequentialWalking normal doing SkipUselessSequentialWalking test WList config:minimum_word_length: 1 number of entries: 2 GetSearchKey: string: et 0 10 got: et 0 10 checking SkipUselessSequentialWalking on: et 0 10 walking all: WordCursor::WalkInit: action = 1, SearchKey = WordCursor::WalkInit: at start of keys because search key is empty WordCursor::WalkNextStep: looking for , candidate is az 5 1 0 WordCursor::WalkNextStep: looking for , found az 5 1 0 WordDBCursor::Get(17) failed Input/output error WordCursor::WalkFinish walking search: searching for: et 0 10 WordCursor::WalkInit: action = 1, SearchKey = et 0 10 WordCursor::WalkInit: go to et WordCursor::WalkNextStep: looking for et 0 10 , candidate is et 1 0 50 WordCursor::SkipUselessSequentialWalking: increment the key to jump forward WordCursor::WalkNextStep: looking for et 0 10 , false match jump to et 2 0 10 WordCursor::WalkNext: got false match, retry WordCursor::WalkNextStep: looking for et 0 10 , candidate is et 20 0 10 WordCursor::WalkNextStep: looking for et 0 10 , found et 20 0 10 WordDBCursor::Get(17) failed Input/output error WordCursor::WalkFinish Check actual 0'th walked: et 1 0 50 /home/ghutchis/htdig-cvs/build-3.2/test/../../htdig-3.2/test/../../htdig-3.2/test/t_wordskip: line 19: 17369 Segmentation fault (core dumped) ./word -s $VERBOSE FAIL: t_wordskip PASS: t_wordbitstream inserted 35 WordReferences running ./search -c 1 -f 'lazy' -vvvv WordSearch::Search: non optimized expression lazy WordSearch::Search: optimized expression lazy WordCursor::WalkInit: action = 2, SearchKey = lazy WordCursor::WalkInit: go to lazy WordCursor::WalkNextStep: looking for lazy , candidate is lazy 0 1 11 2 WordCursor::WalkNextStep: looking for lazy , found lazy 0 1 11 2 WordTreeLiteral::WalkNext: reached 0 1 11 WordSearch::Search: match 0 1 11 WordCursor::WalkFinish running ./search -c 1 -C 'lazy 0 1 11 2 ' -f 'lazy' -vvvv WordSearch::Search: non optimized expression lazy WordSearch::Search: optimized expression lazy WordCursor::WalkInit: action = 2, SearchKey = lazy WordCursor::WalkInit: go to lazy WordCursor::Seek: seek to lazy 0 1 11 2 WordCursor::WalkNextStep: looking for lazy , candidate is lazy 0 1 11 2 WordCursor::WalkNextStep: looking for lazy , found lazy 0 1 11 2 WordTreeLiteral::WalkNext: reached 0 1 11 WordDB: test: page 1 doesn't exist WordDBCursor::Get(17) failed Invalid argument WordTreeLiteral::WalkNext: reached 0 1 11 WordCursor::WalkFinish running ./search -c 1 -C 'lazy 0 1 11 2 ' -f 'lazy' -vvvv: expected match: 0 1 21 but got match: none FAIL: t_search htdb_dump: open: test: Invalid argument FAIL: t_htdb inserted 35 WordReferences WordDB: test: unexpected file type or format expected world 0 0 5 2 world 0 0 5 4 world 0 0 11 1 world 0 0 20 5 world 0 0 21 2 world 0 0 51 2 world 0 0 71 2 world 0 0 81 2 but got FAIL: t_rdonly htdb_stat: test: unexpected file type or format htdb_stat: open: test: Invalid argument Wrong number of keys FAIL: t_trunc WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.words.db: unexpected file type or format DB2 problem...: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts: unexpected file type or format DocumentDB::Open: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts Invalid argument WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.words.db: unexpected file type or format WordDB: DB->cursor: method meaningless before open DB2 problem...: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts: unexpected file type or format dodoc: cannot open running htdig: expected http://localhost:7400/set1/ http://localhost:7400/set1/script.html http://localhost:7400/set1/site1.html http://localhost:7400/set1/site2.html http://localhost:7400/set1/site3.html http://localhost:7400/set1/site4.html http://localhost:7400/set1/title.html but got FAIL: t_htdig WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.words.db: unexpected file type or format DB2 problem...: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts: unexpected file type or format DocumentDB::Open: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts Invalid argument WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.words.db: unexpected file type or format WordDB: DB->cursor: method meaningless before open DB2 problem...: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.excerpts: unexpected file type or format dodoc: cannot open running htdig: expected http://localhost:7400/set1/ http://localhost:7400/set1/script.html http://localhost:7400/set1/site1.html http://localhost:7400/set1/site2.html http://localhost:7400/set1/site3.html http://localhost:7400/set1/site4.html http://localhost:7400/set1/title.html but got FAIL: t_htsearch WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig/db.words.db: unexpected file type or format WordDB: /home/ghutchis/htdig-cvs/build-3.2/test/var/htdig2/db.words.db: unexpected file type or format PASS: t_htmerge PASS: t_htnet ==================== 8 of 12 tests failed ==================== make[1]: *** [check-TESTS] Error 1 make[1]: Leaving directory `/home/ghutchis/htdig-cvs/build-3.2/test' make: *** [check-am] Error 2