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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.3.3, 4.2.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 3
    • Storage Engines 2019-12-16

      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.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: