Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4321

Disable the random direct I/O test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.3, 4.1.4, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Engines 2018-09-24

      A test failure about random direct I/O fired on wiredtiger job on 'aws-build-test2'. 


      CONFIG: ./test_random_directio -t 5 -m none -T 5
      Parent: Create 5 threads; sleep 5 seconds
      Beginning cycle 1/5
      Suspend child
      Check DB
      Copy database home directory using direct I/O to run recovery,
      along with a saved 'pre-recovery' copy.
      Shell command: H='WT_TEST.random-directio'; C=$H.CHECK; S=$H.SAVE; rm -rf $C $S; mkdir $C; for f in `ls $H/`; do  dd if=$H/$f of=$C/$f bs=4096 iflag=direct >/dev/null 2>&1 || exit 1; done; cp -pr $C $S
      Open database, run recovery and verify content
      test_random_directio: FAILED: check_db/840: session->open_cursor(session, uri_main, NULL, NULL, &cursor): No such file or directory
      process aborting
      ../../../test/csuite/random_directio/smoke.sh: line 18:  7085 Aborted                 (core dumped) $RUN_TEST -T $threads
      FAIL random_directio/smoke.sh (exit status: 1) 

      Function backtrace:

      (gdb) bt
      #0  0x00007f2dcacff428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
      #1  0x00007f2dcad0102a in __GI_abort () at abort.c:89
      #2  0x00000000004055dc in testutil_die (e=2, fmt=0x4063f3 "%s/%d: %s") at ../../../test/utility/misc.c:66
      #3  0x0000000000403ac8 in check_db (nth=5, datasize=50, directio=true, flags=0) at ../../../test/csuite/random_directio/main.c:839
      #4  0x00000000004051c8 in main (argc=0, argv=0x7ffdc5bbb758) at ../../../test/csuite/random_directio/main.c:1269 

            donald.anderson@mongodb.com Donald Anderson
            luke.chen@mongodb.com Luke Chen
            0 Vote for this issue
            5 Start watching this issue