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

format.sh must handle format's use of the wt utility

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.3.3, 4.2.3
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage Engines 2019-12-16

      Description

      Trying to migrate the wiredtiger-test-format-stress jenkins job to evergreen using format wrapper script(format.sh) but it fails to find the "wt" binary because it is tightly coupled with the relative path.

      Steps:

      1. Execute format.sh from "wiredtiger/build_posix" directory  ../test/format/format.sh -n 10 -t 5 -j 16 -v
      2. The find_file() method of format.sh script finds and sets the format_binary to  "../test/format/../../build_posix/test/format/t"
      3. Test format binary "t" internally tries to execute "wt" binary (../../wt) and fails as it cannot find.

      The simplest solution is probably to change directories in the format.sh script. Changing directories means we'll need to either require the -h option (and the -h argument has to be an absolute path name), or we'll have to acquire the full path of the target directory before changing directories. It also means we probably can remove the work in format.sh to find the wt binary.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: