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

Fix syscall failure about metadata file open

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • WT10.0.0, 4.2.2, 4.3.2, 3.6.17, 4.0.15
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines 2019-11-18
    • v4.2, v4.0, v3.6

      A recent run of syscall.py test failed, capturing a mismatched strace output on margay-aws.

      http://build.wiredtiger.com:8080/job/wiredtiger-syscall-linux/122/

      + python ../test/syscall/syscall.py
      test/syscall/wt2336_base/base.run:141: expecting fd = openat(AT_FDCWD, "./WiredTiger.turtle", 2|524288);
      build_posix/test/syscall/WT_TEST.wt2336_base.0/stderr.txt:96: does not match
        92: pwrite64(4, "\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0003\0\0\0\2\0\0\0\6\0\0\0\0\20\0\0"..., 4096, 8192) = 4096
        93: pwrite64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0002\0\0\0\n\0\0\0\1\0\0\1\0\20\0\0"..., 4096, 12288) = 4096
        94: pwrite64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0.\0\0\0\6\0\0\0\1\0\0\1\0\20\0\0"..., 4096, 16384) = 4096
        95: fdatasync(4)                            = 0
        96: openat(AT_FDCWD, "./WiredTiger.turtle.set", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 6
      
      For a HOW TO on debugging, see the top of syscall.py
      running /mnt/data0/jenkins/workspace/wiredtiger-syscall-linux/build_posix/test/syscall/test_wt2336_base
      comparing:
        test/syscall/wt2336_base/base.run
        build_posix/test/syscall/WT_TEST.wt2336_base.0/stderr.txt
      ************************ FAILED ************************
        see results in /mnt/data0/jenkins/workspace/wiredtiger-syscall-linux/build_posix/test/syscall/WT_TEST.wt2336_base.0 

      Here is the list of tickets that were merged since the previous successful syscall.py run: 

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: