On Tuesday, September 03, 2013 02:53:35 PM Kees Cook wrote: > The Debian builders ran into some test failures with 2.1.0: > > i386 and arm: > > batch name: 08-sim-subtree_checks > test mode: c > test type: bpf-sim > Test 08-sim-subtree_checks%%001-00001 result: ERROR > 08-sim-subtree_checks rc=17 > through > Test 08-sim-subtree_checks%%026-00001 result: ERROR > 08-sim-subtree_checks rc=17 > test mode: c > test type: bpf-sim-fuzz > Test 08-sim-subtree_checks%%027-00001 result: ERROR > 08-sim-subtree_checks rc=17 > > 25-sim-multilevel_chains_adv > Test 25-sim-multilevel_chains_adv%%002-00001 result: FAILURE bpf_sim > resulted in KILL > Test 25-sim-multilevel_chains_adv%%004-00001 result: FAILURE bpf_sim > resulted in KILL > Test 25-sim-multilevel_chains_adv%%006-00001 result: FAILURE bpf_sim > resulted in KILL > > https://buildd.debian.org/status/fetch.php?pkg=libseccomp&arch=i386&ver=2.1. > 0-1&stamp=1376696605 > > https://buildd.debian.org/status/fetch.php?pkg=libseccomp&arch=armhf&ver=2.1 > .0-1&stamp=1376788602 > > Any thoughts, or things I can gather to improve diagnostics?
Bah, I swore I tested with -m32 on my x86_64 system before I released the 2.1.0 tarball, but I just did a quick test on my system and it failed. Differently than what you are seeing, but still a failure. If you've got some time to troubleshoot I recommend the '-l' and '-v' options to the regression test tool. You can also isolate individual tests with the '-b' and '-s' options, where 'b' specified the test batch and 's' specifies the test inside the batch, e.g. "regression -b 01-sim-allow -s 002" runs the 01-sim-allow%%002-* tests. If you really want to dig, you can always run each test outside the test hardness with the '-b' option to generate the BPF which you can then pipe through tools/scmp_bpf_disasm, e.g. # ./01-sim-allow -b | ../tools/scmp_bpf_disasm line OP JT JF K ================================= 0000: 0x20 0x00 0x00 0x00000004 ld $data[4] 0001: 0x15 0x00 0x01 0x40000003 jeq 1073741827 true:0002 false:0003 0002: 0x06 0x00 0x00 0x7fff0000 ret ALLOW 0003: 0x06 0x00 0x00 0x00000000 ret KILL -- paul moore security and virtualization @ redhat ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ libseccomp-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss
