Пример #1
0
 def test_rebuild(self):
     """
     Jira ID: DAOS-2770
     Test Description: Purpose of this test is to run just the daos_test
                       rebuild tests.
     Use case: Balance testing load betweeen hardware and VM clusters.
     :avocado: tags=all,pr,hw,unittest,medium,daos_test_rebuild
     """
     DaosCoreBase.run_subtest(self)
Пример #2
0
    def test_subtest(self):
        """
        Test ID: DAOS-1568

        Test Description: Run daos_test with a subtest argument

        Use Cases: core tests for daos_test

        :avocado: tags=all,pr,hw,ib2,medium,daos_test
        """
        DaosCoreBase.run_subtest(self)
Пример #3
0
    def test_subtest(self):
        """Run daos_test tests/subtests.

        Test ID: DAOS-1568
        Test Description: Run daos_test tests/subtests.

        Use Cases: core tests for daos_test

        :avocado: tags=all,pr,daily_regression,hw,ib2,medium,daos_test,DAOS_5610
        """
        DaosCoreBase.run_subtest(self)
Пример #4
0
    def test_subtest(self):
        """
        Test ID: DAOS-5409

        Test Description: Run DAOS file system tests 'daos_test -F' in parallel

        Use Cases: Daos File system tests

        :avocado: tags=all,pr,hw,large,daos_test_dfs
        """
        DaosCoreBase.run_subtest(self)
Пример #5
0
    def test_subtest(self):
        """
        Test ID: DAOS-5409

        Test Description: Run DAOS file system tests 'dfs_test'

        Use Cases: Daos File system tests

        :avocado: tags=all,pr,daily_regression,hw,large,dfs_test
        """
        self.daos_test = os.path.join(self.bin, 'dfs_test')
        DaosCoreBase.run_subtest(self)
    def test_nvme(self):
        """Jira ID: DAOS-3846.

        Test Description:
            Purpose of this test is to run just the daos_test NVMe recovery
            tests.

        :avocado: tags=all,hw,medium,nvme,ib2,full_regression
        :avocado: tags=unittest,daos_test_nvme_recovery

        """
        DaosCoreBase.run_subtest(self)
Пример #7
0
    def test_rebuild_weekly(self):
        """JIRA ID: DAOS-5717.

        Test Description:
            Purpose of this test is to run the daos_test rebuild tests that take
            long time in weekly to reduce CI queue.

        Use case:
            Balance testing load between hardware and VM clusters.

        :avocado: tags=all,hw,medium,ib2,unittest,daos_test_rebuild
        :avocado: tags=DAOS-5610,full_regression
        """
        DaosCoreBase.run_subtest(self)
Пример #8
0
 def test_csum_error_logging(self):
     """
     Test ID: DAOS-3927
     Test Description: Write Avocado Test to verify single data after
                       pool/container disconnect/reconnect.
     :avocado: tags=all,pr,hw,medium,ib2,csum_error_log
     """
     dev_id = self.get_nvme_device_id()
     self.log.info("%s", dev_id)
     csum = self.get_checksum_error_value(dev_id)
     self.log.info("Checksum Errors : %d", csum)
     DaosCoreBase.run_subtest(self)
     csum_latest = self.get_checksum_error_value(dev_id)
     self.log.info("Checksum Errors : %d", csum_latest)
     self.assertTrue(csum_latest > csum,
                     "Checksum Error Log not incremented")
     self.log.info("Checksum Error Logging Test Passed")
Пример #9
0
 def test_csum_error_logging(self):
     """
     Test ID: DAOS-3927
     Test Description: Write Avocado Test to verify single data after
                       pool/container disconnect/reconnect.
     :avocado: tags=all,daily_regression,hw,medium,ib2,csum_error_log,faults
     """
     dev_id = self.get_nvme_device_id()
     self.log.info("%s", dev_id)
     csum = self.get_checksum_error_value(dev_id)
     self.dmg.copy_certificates(get_log_file("daosCA/certs"),
                                self.hostlist_clients)
     self.log.info("Checksum Errors : %d", csum)
     DaosCoreBase.run_subtest(self)
     csum_latest = self.get_checksum_error_value(dev_id)
     self.log.info("Checksum Errors : %d", csum_latest)
     self.assertTrue(csum_latest > csum,
                     "Checksum Error Log not incremented")
     self.log.info("Checksum Error Logging Test Passed")