Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12699

TestKMS#testKMSProvider intermittently fails during 'test rollover draining'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      I've seen several failures of testKMSProvider, all failed in the following snippet:

              // test rollover draining
              KeyProviderCryptoExtension kpce = KeyProviderCryptoExtension.
                  createKeyProviderCryptoExtension(kp);
              .....
      
              EncryptedKeyVersion ekv1 = kpce.generateEncryptedKey("k6");
              kpce.rollNewVersion("k6");
              EncryptedKeyVersion ekv2 = kpce.generateEncryptedKey("k6");
              Assert.assertNotEquals(ekv1.getEncryptionKeyVersionName(),
                  ekv2.getEncryptionKeyVersionName());
      

      with error message

      Values should be different. Actual: k6@0

      Attachments

        1. generated.10.html
          56 kB
          Xiao Chen
        2. HADOOP-12699.01.patch
          6 kB
          Xiao Chen
        3. HADOOP-12699.02.patch
          6 kB
          Xiao Chen
        4. HADOOP-12699.03.patch
          3 kB
          Xiao Chen
        5. HADOOP-12699.04.patch
          4 kB
          Xiao Chen
        6. HADOOP-12699.06.patch
          7 kB
          Xiao Chen
        7. HADOOP-12699.07.patch
          11 kB
          Xiao Chen
        8. HADOOP-12699.08.patch
          3 kB
          Xiao Chen
        9. HADOOP-12699.09.patch
          8 kB
          Xiao Chen
        10. HADOOP-12699.10.1.patch
          8 kB
          Xiao Chen
        11. HADOOP-12699.10.patch
          8 kB
          Xiao Chen
        12. HADOOP-12699.repro.2
          9 kB
          Xiao Chen
        13. HADOOP-12699.repro.patch
          7 kB
          Xiao Chen

        Activity

          People

            xiaochen Xiao Chen
            xiaochen Xiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: