monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] tests


From: Tom Tromey
Subject: [Monotone-devel] tests
Date: 13 Sep 2003 11:43:05 -0600

I get a couple of test failures; log appended.

I looked at t_fork a little.  Maybe it is failing because only the
first commit specifies a branch name?

I didn't look at the t_merge failure at all.

Tom


## ------------------------------------------- ##
## monotone 0.4 test suite: integration tests. ##
## ------------------------------------------- ##

testsuite: command line was:
  $ ././testsuite 

## ---------------- ##
## Tested programs. ##
## ---------------- ##

testsuite.at:12: /home/tromey/gnu/monotone/self/monotone/monotone --version
monotone 0.4

## --------------------------- ##
## Silently running the tests. ##
## --------------------------- ##
testsuite: starting at: Sat Sep 13 11:25:43 MDT 2003
1. t_null.at:3: ok      (0m0.760s 0m0.140s)
2. t_scan.at:3: ok      (0m0.180s 0m0.120s)
3. t_import.at:3: ok    (0m0.210s 0m0.030s)
4. t_genkey.at:3: ok    (0m0.410s 0m0.250s)
5. t_unidiff.at:3: ok   (0m4.560s 0m0.250s)
6. t_persist_phrase.at:3: ok    (0m0.230s 0m0.090s)
7. t_versions.at:3: ok  (0m1.100s 0m1.110s)
8. t_fork.at:3: FAILED near `t_fork.at:26'      (0m1.100s 0m1.110s)
9. t_update.at:3: ok    (0m0.350s 0m0.220s)
10. t_merge.at:3: FAILED near `t_merge.at:49'   (0m0.350s 0m0.220s)
11. t_nntp.at:6: ok (skipped near `t_nntp.at:33')       (0m0.350s 0m0.220s)
12. t_http.at:6: ok (skipped near `t_http.at:33')       (0m0.350s 0m0.220s)
13. t_unidiff2.at:3: ok (0m0.440s 0m0.180s)
14. t_cwork.at:3: ok    (0m0.200s 0m0.140s)
15. t_revert.at:3: ok   (0m0.400s 0m0.520s)
16. t_drop.at:3: ok     (0m0.240s 0m0.160s)
testsuite: ending at: Sat Sep 13 11:26:01 MDT 2003
testsuite: test suite duration: 0h 0m 18s


## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
monotone 0.4 test suite: integration tests test groups:

 NUM: FILENAME:LINE      TEST-GROUP-NAME
      KEYWORDS

   8: t_fork.at:3        creating a fork
  10: t_merge.at:3       creating a fork and merging

Skipped tests:
monotone 0.4 test suite: integration tests test groups:

 NUM: FILENAME:LINE      TEST-GROUP-NAME
      KEYWORDS

  11: t_nntp.at:6        communicating with a news server
  12: t_http.at:6        communicating with a depot through http


## --------------------------------------- ##
## Verbosely re-running the failing tests. ##
## --------------------------------------- ##

## ------------------------------------------- ##
## monotone 0.4 test suite: integration tests. ##
## ------------------------------------------- ##
8. t_fork.at:3: testing creating a fork...
t_fork.at:5: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden read <test_keys
stdout:
read 2 packets
t_fork.at:5: rm test_keys
t_fork.at:11: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden add testfile
stdout:
adding testfile to working copy add set
t_fork.at:12: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden --branch=testbranch commit blah-blah
stdout:
committed 990498f1a33336ab1ca61283478f6e3cddedf041
t_fork.at:18: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden add testfile
stdout:
skipping testfile, already present in manifest
t_fork.at:19: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden commit blah-blah
stdout:
committed edb27a4323c693af6a43ef6553d1ade867153cb9
t_fork.at:22: test $LEFT_M_SHA != $ROOT_M_SHA
t_fork.at:23: test $LEFT_F_SHA != $ROOT_F_SHA
t_fork.at:25: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden --branch=testbranch heads
stdout:
branch 'testbranch' is empty
t_fork.at:26: grep empty stdout
stdout:
branch 'testbranch' is empty
t_fork.at:26: exit code was 0, expected 1
8. t_fork.at:3: FAILED near `t_fork.at:26'

10. t_merge.at:3: testing creating a fork and merging...
t_merge.at:5: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden read <test_keys
stdout:
read 2 packets
t_merge.at:5: rm test_keys
t_merge.at:16: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden add testfile
stdout:
adding testfile to working copy add set
t_merge.at:17: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden --branch=testbranch commit blah-blah
stdout:
committed 46d809a8794373bd0d4ea6cedd95c42f9bb5e664
t_merge.at:27: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden commit blah-blah
stdout:
committed aaf6909e3507edd362dafca6cca18b763fe5d445
t_merge.at:30: test $LEFT_M_SHA != $ROOT_M_SHA
t_merge.at:31: test $LEFT_F_SHA != $ROOT_F_SHA
t_merge.at:33: rm MT/manifest
t_merge.at:33: rm testfile
t_merge.at:33: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden checkout $ROOT_M_SHA .
stdout:
t_merge.at:33: test $PROBE_M_SHA == $ROOT_M_SHA
t_merge.at:33: test $PROBE_F_SHA == $ROOT_F_SHA
t_merge.at:40: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden commit blah-blah
stdout:
committed 34a017eb2361ac35fac10be46473961f72a174f3
t_merge.at:43: test $RIGHT_M_SHA != $ROOT_M_SHA
t_merge.at:44: test $RIGHT_F_SHA != $ROOT_F_SHA
t_merge.at:45: test $RIGHT_M_SHA != $LEFT_M_SHA
t_merge.at:46: test $RIGHT_F_SHA != $LEFT_F_SHA
t_merge.at:49: monotone --rcfile=test_hooks.lua --nostd --norc --db=test.db 
address@hidden --branch=testbranch merge
--- /dev/null   2003-01-30 03:24:37.000000000 -0700
+++ /home/tromey/gnu/monotone/self/monotone/testsuite.dir/at-stderr     
2003-09-13 11:26:04.000000000 -0600
@@ -0,0 +1 @@
+**********  errors detected; see standard output for details  ***********
stdout:
branch 
*** Error: signal: memory access violation

**** error return code 225
opening rcfile 'test_hooks.lua' ... ok
executing merge command
getting branch certs for testbranch
db.fetch("SELECT id, name, value, keypair, signature FROM 'manifest_certs' 
WHERE name = 'branch' AND value = 'dGVzdGJyYW5jaA==
'")
db.fetch("SELECT version FROM schema_version")
got 1 branch members
db.fetch("SELECT id, name, value, keypair, signature FROM 'manifest_certs' 
WHERE name = 'ancestor' AND value = 
'NDZkODA5YTg3OTQzNzNiZDBkNGVhNmNlZGQ5NWM0MmY5YmI1ZTY2NA==
'")
found non-head 46d809a8794373bd0d4ea6cedd95c42f9bb5e664
t_merge.at:49: exit code was 225, expected 0
10. t_merge.at:3: FAILED near `t_merge.at:49'





reply via email to

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