monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] tests failed Debian etch powerpc


From: Brian May
Subject: Re: [Monotone-devel] tests failed Debian etch powerpc
Date: Sun, 02 Sep 2007 10:57:40 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

    Brian> If this E-Mail does get through, are there any known problems with
    Brian> tests failing on powerpc? It appears in some system level write calls
    Brian> to the sqlite database, it is trying to write a excessively large
    Brian> number of bytes... Byte ordering problem? More details if I can email
    Brian> them.

That E-Mail got through, lets see if I can send the strace output.

In particular, note the following line:

pwrite64(5, "\0\0\0\31\n\0\0\0\t\30~\0\33\325\34\251\30~\37.\33\3\36"..., 8200, 
18446744072342829072) = -1 EINVAL (Invalid argument)

=== strace ===
...
stat64("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db",
 {st_mode=S_IFREG|0644, st_size=319488, ...}) = 0
open("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db",
 O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=319488, ...}) = 0
pread64(4, "SQLite format 3\0 \0\1\1\0@  \0\0\0\5\0\0\0\0"..., 100, 0) = 100
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 
0x7f9027e8) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
len=510}, 0x7f9027e8) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 
0x7f9027e8) = 0
access("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db-journal",
 F_OK) = -1 ENOENT (No such file or directory)
fstat64(4, {st_mode=S_IFREG|0644, st_size=319488, ...}) = 0
pread64(4, "SQLite format 3\0 \0\1\1\0@  \0\0\0\5\0\0\0\0"..., 8192, 0) = 8192
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 
0x7f9028d8) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, len=1}, 
0x7f902908) = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
len=510}, 0x7f902908) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=1}, 
0x7f902908) = 0
access("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db-journal",
 F_OK) = -1 ENOENT (No such file or directory)
fstat64(4, {st_mode=S_IFREG|0644, st_size=319488, ...}) = 0
pread64(4, "\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0", 16, 24) = 16
fcntl64(4, F_SETLK64, {type=F_WRLCK, whence=SEEK_SET, start=1073741825, len=1}, 
0x7f902988) = 0
open("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db-journal",
 O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
open("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors",
 O_RDONLY|O_LARGEFILE) = 6
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 7
read(7, "address@hidden \310"..., 256) = 256
close(7)                                = 0
pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\0P\206\213>\0\0\0\'\0\0"..., 24, 
44) = 24
pwrite64(5, "\0", 1, 1023)              = 1
pread64(4, "\n\0\0\0\t\36k\0\37\323\37\246\37y\37L\37\37\36\362\36"..., 8192, 
204800) = 8192
pread64(4, "\r\0\0\0\t\27\26\0\37\6\36\t\35\10\34\t\33\r\32\23\31\26"..., 8192, 
180224) = 8192
pread64(4, "\n\0\0\0\t\37\32\0\37\201\37\231\37\32\37\352\37k\37\321"..., 8192, 
212992) = 8192
pread64(4, "\n\0\0\0\t\30~\0\33\325\34\251\30~\37.\33\3\36Y\32.\35"..., 8192, 
196608) = 8192
pread64(4, "\n\0\0\0\t\36k\0\36k\36\230\36\362\37\37\37\246\37y\36"..., 8192, 
188416) = 8192
pwrite64(5, "\0\0\0\33\n\0\0\0\t\37\32\0\37\201\37\231\37\32\37\352"..., 8200, 
6) = 8200
pwrite64(5, "\0\0\0\32\n\0\0\0\t\36k\0\37\323\37\246\37y\37L\37\37\36"..., 
8200, 892940901) = 8200
pwrite64(5, "\0\0\0\31\n\0\0\0\t\30~\0\33\325\34\251\30~\37.\33\3\36"..., 8200, 
18446744072342829072) = -1 EINVAL (Invalid argument)
fstat64(5, {st_mode=S_IFREG|0600, st_size=892949101, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0600, st_size=892949101, ...}) = 0
pread64(5, "b03c", 4, 892949085)        = 4
pread64(5, "\0\0\0\0", 4, 0)            = 4
pread64(5, "\0\0\0\0\0\0\0\0", 8, 0)    = 8
pread64(5, "\0\0\0\0\0\0\0\0", 8, 0)    = 8
close(6)                                = 0
close(5)                                = 0
unlink("/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db-journal")
 = 0
fcntl64(4, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
len=510}, 0x7f9028c8) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, len=2}, 
0x7f9028c8) = 0
fcntl64(4, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 
0x7f902928) = 0
futex(0xfd27500, FUTEX_WAKE, 2147483647) = 0
close(3)                                = 0
close(4)                                = 0
brk(0x10682000)                         = 0x10682000
write(2, "mtn: error: sqlite error: SQL lo"..., 62mtn: error: sqlite error: SQL 
logic error or missing database
) = 62
brk(0x10677000)                         = 0x10677000
brk(0x1066a000)                         = 0x1066a000
exit_group(1)                           = ?
Process 32429 detached


===========


In the following test:

runcmd: /home/bam/tmp/monotone/monotone-0.36/mtn, local_redir = false, 
requested = nil
db_check_and_non-serious_errors:24: /home/bam/tmp/monotone/monotone-0.36/mtn 
--norc 
--root=/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors
 
--confdir=/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors
 --rcfile 
/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test_hooks.lua
 
--db=/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/test.db
 --keydir 
/home/bam/tmp/monotone/monotone-0.36/tester_dir/db_check_and_non-serious_errors/keys
 address@hidden db execute "delete from revision_certs where id = 
'850fc9c214c49ae6ad36ab4e05e8c8d1b5592ef5'"
stdout:

stderr:
mtn: error: sqlite error: SQL logic error or missing database


Check failed (return value): wanted 0 got 1
stack traceback:
        [string "tester builtin functions"]:90: in function 'err'
        [string "tester builtin functions"]:545: in function 'post_cmd'
        [string "tester builtin functions"]:673: in function <[string "tester 
builtin functions"]:666>
        (tail call): ?
        ...tests/db_check_and_non-serious_errors/__driver__.lua:24: in main 
chunk
        [C]: in function 'xpcall'
        [string "tester builtin functions"]:873: in function 'runtest'
        [string "tester builtin functions"]:960: in function <[string "tester 
builtin functions"]:765>
**************************************************

-- 
Brian May <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]