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

Fix syscall failure about metadata file open

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.2.2, 4.3.2, 3.6.17, 4.0.15
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage Engines 2019-11-18
    • Backport Requested:
      v4.2, v4.0, v3.6

      Description

      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: 

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: