Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-4392

Save logs from failed qserv unit tests in Jenkins

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Labels:
      None

      Description

      Qserv saves logs from failed unit tests in a non-standard location and they are not currently visible in jenkins. It would be nice to include those logs (if they exist) in jenkins output. The logs are in multiple directories inside build/, the pattern to search for the logs is build/*/*.utest.failed.

        Attachments

          Issue Links

            Activity

            Hide
            jhoblitt Joshua Hoblitt added a comment -

            Andy Salnikov / Fritz Mueller Is this still an active concern now that jenkins is artifacting .log files?

            Show
            jhoblitt Joshua Hoblitt added a comment - Andy Salnikov / Fritz Mueller Is this still an active concern now that jenkins is artifacting .log files?
            Hide
            salnikov Andy Salnikov added a comment - - edited

            I think it is still valid, the errors from tests will not appear in the logs, but rather in build/*/*.utest.failed which a re not included in artifacts. Is if possible to configure jenkis to include those files too?

            Show
            salnikov Andy Salnikov added a comment - - edited I think it is still valid, the errors from tests will not appear in the logs, but rather in build/*/*.utest.failed which a re not included in artifacts. Is if possible to configure jenkis to include those files too?
            Hide
            fritzm Fritz Mueller added a comment - - edited

            Yes, still a concern – it would be really helpful if we could get build/*/*.utest.failed artifacted as well.

            Show
            fritzm Fritz Mueller added a comment - - edited Yes, still a concern – it would be really helpful if we could get build/*/*.utest.failed artifacted as well.
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            I've believe the configuration needed as merged as part of DM-12526. Could one of Andy Salnikov, Fritz Mueller try a test building under jenkins and verify that the required files are being recorded as a build artifact?

            Show
            jhoblitt Joshua Hoblitt added a comment - I've believe the configuration needed as merged as part of DM-12526 . Could one of Andy Salnikov , Fritz Mueller try a test building under jenkins and verify that the required files are being recorded as a build artifact?
            Hide
            salnikov Andy Salnikov added a comment -

            As I already mentioned in DM-12526 I tested that and it works fine. Thanks!

            Show
            salnikov Andy Salnikov added a comment - As I already mentioned in DM-12526 I tested that and it works fine. Thanks!
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            Great!

            Show
            jhoblitt Joshua Hoblitt added a comment - Great!

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                salnikov Andy Salnikov
                Reviewers:
                Andy Salnikov, Fritz Mueller
                Watchers:
                Andy Salnikov, Fritz Mueller, Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel