Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5012

newwiretest is not run automatically by build or test

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.6.0
    • 3
    • 13873

    Description

      newwiretest is not run automatically by build or test.

      Attachments

        Activity

          [LU-5012] newwiretest is not run automatically by build or test

          I'm still not sure I understand the question. It doesn't make sense to me that a newly-generated wiretest could fail, since it will always be checking "FOO == FOO". The purpose of wiretest is to make sure that the value of "FOO" does not change over time.

          Note that there is a sanity.sh test that runs wiretest that is run on any system test, along with one in ptlrpc that is run on every mount. Since all of these checks should optimize away at compile time it doesn't add any overhead. These checks do not catch many problems today, but in the past they caught many problems.

          adilger Andreas Dilger added a comment - I'm still not sure I understand the question. It doesn't make sense to me that a newly-generated wiretest could fail, since it will always be checking "FOO == FOO". The purpose of wiretest is to make sure that the value of "FOO" does not change over time. Note that there is a sanity.sh test that runs wiretest that is run on any system test, along with one in ptlrpc that is run on every mount. Since all of these checks should optimize away at compile time it doesn't add any overhead. These checks do not catch many problems today, but in the past they caught many problems.
          jhammond John Hammond added a comment -

          Let me clarity what I meant in the description. Assuming that newwiretest was modified (or cloned) so that it didn't always (or didn't) clobber source files, then shouldn't that non modifying version always pass?

          jhammond John Hammond added a comment - Let me clarity what I meant in the description. Assuming that newwiretest was modified (or cloned) so that it didn't always (or didn't) clobber source files, then shouldn't that non modifying version always pass?
          jhammond John Hammond added a comment -

          So we're on the honor system to use it? And to use it properly?

          jhammond John Hammond added a comment - So we're on the honor system to use it? And to use it properly?

          This is not a bug. The whole point of wiretest is that this test should not change unless some user is deliberately modifying the wire protocol. Otherwise, if this file is regenerated automatically the wire protocol may change without sufficient notification.

          adilger Andreas Dilger added a comment - This is not a bug. The whole point of wiretest is that this test should not change unless some user is deliberately modifying the wire protocol. Otherwise, if this file is regenerated automatically the wire protocol may change without sufficient notification.

          People

            wc-triage WC Triage
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: