Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-788

Provide release inspector script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      For each release, we need to type a sequence of commands to validate release candidate tag. This process could be achieved by a single script.

      Here is the behavior of the script in my mind:
      1. Collecting build environment info (Operation System, JDK, Maven)
      2. Run 'mvn install -DskipTests'
      3. Checking code (findbugs, rat).
      4. Running unit test
      5. Start standalone Bookie and Hedwig service
      6. Run simple Bookie test: bookkeeper-server/bin/bookkeeper simpletest
      -ensemble 3 -writeQuorum 3
      7. Run simple Hedwig test: hedwig-server/bin/hedwig console; pubsub
      topic subscriber 10 message
      8. Tar all above logs when error/exit

      In addition, this script could also be provided to user which could collect related information to diagnose compile/UT failure issue.

      Attachments

        1. BOOKKEEPER-788.patch
          4 kB
          Jiannan Wang

        Activity

          People

            hustlmsp Sijie Guo
            jiannan Jiannan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: