Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3119

ToolTest.TestFsAddRemoveDataDirEndToEnd reports race under TSAN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.12.0
    • CLI, test
    • None

    Description

      Sometimes the TestFsAddRemoveDataDirEndToEnd scenario of the ToolTest reports races for TSAN builds:

      /data0/somelongdirectorytoavoidrpathissues/src/kudu/src/kudu/tools/kudu-tool-test.cc:266: Failure
      Failed
      Bad status: Runtime error: /tmp/dist-test-taskIZqSmU/build/tsan/bin/kudu: process exited with non-ze
      ro status 66
      Google Test trace:
      /data0/somelongdirectorytoavoidrpathissues/src/kudu/src/kudu/tools/kudu-tool-test.cc:265: W0506 17:5
      6:02.744191  4432 flags.cc:404] Enabled unsafe flag: --never_fsync=true
      I0506 17:56:02.780252  4432 fs_manager.cc:263] Metadata directory not provided
      I0506 17:56:02.780442  4432 fs_manager.cc:269] Using write-ahead log directory (fs_wal_dir) as metad
      ata directory
      I0506 17:56:02.789638  4432 fs_manager.cc:399] Time spent opening directory manager: real 0.007s
              user 0.005s     sys 0.002s
      I0506 17:56:02.789986  4432 env_posix.cc:1676] Not raising this process' open files per process limi
      t of 1048576; it is already as high as it can go
      I0506 17:56:02.790426  4432 file_cache.cc:465] Constructed file cache lbm with capacity 419430
      ==================
      WARNING: ThreadSanitizer: data race (pid=4432)
      ...
      

      The log is attached.

      Attachments

        1. kudu-tool-test.20200709.txt.xz
          111 kB
          Alexey Serbin
        2. kudu-tool-test.3.txt.xz
          7 kB
          Alexey Serbin
        3. kudu-tool-test.log.xz
          10 kB
          Alexey Serbin

        Activity

          People

            Unassigned Unassigned
            aserbin Alexey Serbin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: