Running on GNU/kFreeBSD 10.0-1-amd64 #0 Sat, 12 Apr 2014 18:24:27 +0200 x86_64 check_net found at /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/bin/check_net check_net: Can use the loopback interface. mtn found at /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn monotone 1.1 (base revision: d4f2a8c0f8a98f079a1ed3609a9f7ad73060d174) Running on : GNU/kFreeBSD 10.0-1-amd64 #0 Sat, 12 Apr 2014 18:24:27 +0200 x86_64 C++ compiler : GNU C++ version 4.8.2 C++ standard library: GNU libstdc++ version 20140217 Boost version : 1_54 SQLite version : 3.8.4.3 (compiled against 3.8.4.3) Lua version : Lua 5.2 PCRE version : 8.31 2012-07-06 (compiled against 8.31) Botan version : 1.10.5 (compiled against 1.10.5) Changes since base revision: format_version "1" new_manifest [a5e30a178ffb1d332fb9932d3fa72be731206620] old_revision [d4f2a8c0f8a98f079a1ed3609a9f7ad73060d174] Running tests... 1 authorize-remote-automate ok 0:08, 0:00 on CPU 2 bash_completion skipped (line 1) 0:00, 0:00 on CPU 3 buildbot skipped (line 1) 0:00, 0:00 on CPU 4 cluster-push ok 0:22, 0:00 on CPU 5 cvs-ignore ok 0:00, 0:00 on CPU 6 dump-test-logs ok 0:00, 0:00 on CPU 7 mail-notify FAIL (line 70) 0:05, 0:00 on CPU 8 mtn-cleanup expected failure (line 23) 0:01, 0:00 on CPU 9 passphrase-from-file ok 0:01, 0:00 on CPU ************************************************** Test mail-notify mail-notify:1: mime-construct exists on the path mail-notify:2: source-highlight exists on the path mail-notify:6: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/test_keys -> test_keys mail-notify:6: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/test_hooks.lua -> test_hooks.lua mail-notify:6: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/min_hooks.lua -> min_hooks.lua stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:6: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net db init stdout: stderr: exit code: 0 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:6: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net read test_keys stdout: stderr: mtn: read 1 packet exit code: 0 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:6: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net setup --branch=testbranch . stdout: stderr: exit code: 0 mail-notify:6: remove test_keys mail-notify:7: copy test.db -> test2.db mail-notify:7: copy keys -> keys2 mail-notify:7: copy test.db -> test3.db mail-notify:7: copy keys -> keys3 mail-notify:7: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/common/netsync-hooks.lua -> netsync.lua mail-notify:8: append to file netsync.lua mail-notify:25: mkdir hooks.d mail-notify:26: mkdir scripts mail-notify:27: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/../extra/mtn-hooks/monotone-mail-notify.lua -> hooks.d/monotone-mail-notify.lua mail-notify:29: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/../extra/mtn-hooks/monotone-mail-notify -> scripts/monotone-mail-notify mail-notify:31: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/mail-notify/scripts/run-mail-notify -> scripts/run-mail-notify mail-notify:32: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/mail-notify/scripts/mime-construct -> scripts/mime-construct mail-notify:33: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/mail-notify/hooks.d/authorize_mail_notify_commands.lua -> hooks.d/authorize_mail_notify_commands.lua mail-notify:36: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/mail-notify/mime-construct.expected -> mime-construct.expected mail-notify:37: copy /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/extra/mail-notify/scripts/mime-construct-extract -> scripts/mime-construct-extract stdin: Starting background command... runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:40: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net --dump=_MTN/server_dump --bind=localhost:40872 --rcfile=netsync.lua --keydir=keys2 --db=test2.db serve mail-notify:43: mkdir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/spool mail-notify:44: writefile notify mail-notify:56: writefile test1 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:56: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net add test1 stdout: stderr: mtn: adding 'test1' to workspace manifest exit code: 0 mail-notify:57: writefile test2 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:57: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net add test2 stdout: stderr: mtn: adding 'test2' to workspace manifest exit code: 0 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:58: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net commit --message blah-blah --branch testbranch stdout: stderr: mtn: beginning commit on branch 'testbranch' mtn: committed revision dea7b0e6d7db3450398fa32af3938861b4e6dc60 exit code: 0 mail-notify:59: writefile test2 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:60: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net commit --message blah-blah --branch testbranch stdout: stderr: mtn: beginning commit on branch 'testbranch' mtn: committed revision 425f7d00baffb1f43a12b60f106b2293d5dddd7c exit code: 0 stdin: runcmd: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn, local_redir = false, requested = nil mail-notify:63: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net --rcfile=netsync.lua --keydir=keys --db=test.db push localhost:40872 testbranch stdout: stderr: mtn: warning: separate server and pattern arguments are deprecated, please consider using the URI calling syntax instead mtn: connecting to 'mtn://localhost:40872' mtn: include pattern 'testbranch' mtn: exclude pattern '' mtn: first time connecting to server mtn://localhost:40872. mtn: I'll assume it's really them, but you might want to double-check mtn: their key's fingerprint: 46ec58576f9e4f34a9eede521422aa5fd299dc50 mtn: finding items to synchronize: mtn: certificates | keys | revisions mtn: 6 | 1 | 2 mtn: bytes in | bytes out | certs out | revs out mtn: 302 | 1.1 k | 0 | 0 mtn: 327 | 1.1 k | 0 | 0 mtn: 327 | 1.1 k | 0/8 | 1/2 mtn: 327 | 1.1 k | 3/8 | 1/2 mtn: 327 | 1.1 k | 4/8 | 2/2 mtn: 327 | 1.1 k | 6/8 | 2/2 mtn: 327 | 1.2 k | 8/8 | 2/2 mtn: 327 | 1.5 k | 8/8 | 2/2 mtn: 327 | 1.8 k | 8/8 | 2/2 mtn: 327 | 2.0 k | 8/8 | 2/2 mtn: 327 | 2.3 k | 8/8 | 2/2 mtn: 327 | 2.5 k | 8/8 | 2/2 mtn: 327 | 2.6 k | 8/8 | 2/2 mtn: 327 | 2.9 k | 8/8 | 2/2 mtn: 327 | 3.2 k | 8/8 | 2/2 mtn: 327 | 3.4 k | 8/8 | 2/2 mtn: 327 | 3.7 k | 8/8 | 2/2 mtn: 327 | 3.9 k | 8/8 | 2/2 mtn: 351 | 3.9 k | 8/8 | 2/2 mtn: 351 | 4.0 k | 8/8 | 2/2 mtn: successful exchange with 'mtn://localhost:40872' mtn: lua: monotone-mail-notify.lua: Running script: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/scripts/run-mail-notify /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/spool exit code: 0 mail-notify:70: readfile mime-construct.extract mail-notify:70: readfile mime-construct.expected mail-notify:-1: checking background command from mail-notify:40: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn --no-standard-rcfiles --root=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --confdir=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify --rcfile /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test_hooks.lua --db=/var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/test.db --keydir /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/keys --key=tester@test.net --dump=_MTN/server_dump --bind=localhost:40872 --rcfile=netsync.lua --keydir=keys2 --db=test2.db serve stdout: stderr: mtn: beginning service on localhost : 40872 mtn: accepted new client connection from ::1 : 63077 mtn: allowed '46ec58576f9e4f34a9eede521422aa5fd299dc50' read permission for 'testbranch' excluding '' mtn: allowed '46ec58576f9e4f34a9eede521422aa5fd299dc50' write permission for 'testbranch' excluding '' mtn: finding items to synchronize: mtn: lua: monotone-mail-notify.lua: Running script: /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/scripts/run-mail-notify /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/test/work/extra/mail-notify/spool mtn: accepted new client connection from ::1 : 62029 mtn: accepted new client connection from ::1 : 28070 mtn: accepted new client connection from ::1 : 38125 mtn: accepted new client connection from ::1 : 38905 mtn: accepted new client connection from ::1 : 43339 mtn: accepted new client connection from ::1 : 11135 /var/lib/buildbot/slaves/monotone/quick-amd64-debian-kfreebsd-sid/build/mtn: operation canceled: Terminated exit code: -15 Check failed: false stack traceback: [string "testlib.lua"]:114: in function 'err' [string "testlib.lua"]:837: in function 'check' ...kfreebsd-sid/build/test/extra/mail-notify/__driver__.lua:70: in main chunk [C]: in function 'xpcall' [string "testlib.lua"]:1158: in function <[string "testlib.lua"]:1126> [C]: in function 'run_tests_in_children' [string "testlib.lua"]:1087: in function <[string "testlib.lua"]:882> Of 9 tests run: 5 succeeded 1 failed 1 had expected failures 0 succeeded unexpectedly 2 were skipped