Bug 1569343

Summary: output.log shows wrong cases information
Product: [Retired] Red Hat OpenStack Certification Program Reporter: Zhimou Peng <zhimou.peng>
Component: certification-catalogAssignee: Pooja Tiwari <ptiwari>
Status: CLOSED ERRATA QA Contact: Anandprakash Tandale <atandale>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: abehl, atandale
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-17 08:01:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
rhcert_cli log none

Description Zhimou Peng 2018-04-19 05:53:06 UTC
Created attachment 1423927 [details]
rhcert_cli log

Description of problem:

when I run manila certification test, I found the output.log is incorrect:

[root@osp10unityctl0 openstack]# cat manila_shares/output.log
...
Following tests have been executed:
+--------------------------------------------------+----------+----------+----------+----------+
|Test                                              |Total     |Passed    |Failed    |Skipped   |
+--------------------------------------------------+----------+----------+----------+----------+
|test_microversions                                |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_share_networks                               |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_extensions                                   |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_shares_actions_negative                      |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_share_instances                              |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_rules_negative                               |5         |0         |0         |5         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_shares                                       |3         |0         |0         |3         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_shares_actions                               |1         |0         |1         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_metadata                                     |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_shares_negative                              |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_availability_zones                           |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_quotas_negative                              |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_availability_zones_negative                  |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_security_services_mapping_negative           |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_quotas                                       |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_share_networks_negative                      |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_metadata_negative                            |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_security_services                            |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_limits                                       |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_security_services_negative                   |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_security_services_mapping                    |0         |0         |0         |0         |
+--------------------------------------------------+----------+----------+----------+----------+
|test_rules                                        |5         |0         |0         |5         |
+--------------------------------------------------+----------+----------+----------+----------+
...

From the validation report the result is correct:
failures": 1, "tests": 306, "errors": 0, "success": 267, "skipped": 38



[root@osp10unityctl0 manila_shares]# less manila_shares-validation_report.json

{"total": {"failures": 1, "tests": 306, "errors": 0, "success": 267, "skipped": 38}, "test_cases": {"manila_tempest_tests.tests.api.test_rules_negative.ShareIpRulesForNFSNegativeTest.test_create_duplicate_of_ip_rule_2_2_9[api_with_backend,negative]": {"status": "OK", "output": "manila_tempest_tests.tests.api.test_rules_negative.ShareIpRulesForNFSNegativeTest.test_create_duplicate_of_ip_rule_2_2_9[api_with_backend,negative]", "name": "manila_tempest_tests.tests.api.test_rules_negative.ShareIpRulesForNFSNegativeTest.test_create_duplicate_of_ip_rule_2_2_9[api_with_backend,negative]"}, "manila_tempest_tests.tests.api.test_shares_actions_negative.SharesActionsNegativeTest.test_share_extend_with_invalid_share_state[api_with_backend,negative]": {"status": "OK", "output": "manila_tempest_tests.tests.api.test_shares_actions_negative.SharesActionsNegativeTest.test_share_extend_with_invalid_share_state[api_with_backend,negative]", "name": "manila_tempest_tests.tests.api.test_shares_actions_negative.SharesActionsNegativeTest.test_share_extend_with_invalid_share_state[api_with_backend,negative]"}, "manila_tempest_tests.tests.api.test_shares.SharesNFSTest.test_create_get_delete_share[backend,positive]": {"status": "OK", "output": "manila_tempest_tests.tests.api.test_shares.SharesNFSTest.test_create





Version-Release number of selected component (if applicable):

redhat-certification-backend-5.10-20180330.2.el7.noarch
redhat-certification-openstack-5.10-20180330.2.el7.noarch
redhat-certification-5.10-20180330.2.el7.noarch




How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anshul Behl 2018-05-09 06:56:44 UTC
Certification team will try to fix this in upcoming releases of rhcert, this looks like a minor parsing issue and should not block any cert as the information is also available in validation_report

Thanks,
Anshul Behl

Comment 4 Pooja Tiwari 2018-05-09 11:29:25 UTC
This issue will be fixed in redhat-certification-openstack-5.12 version. The release is scheduled in next week. 

Thanks,
Pooja

Comment 7 errata-xmlrpc 2018-05-17 08:01:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1590

Comment 8 Red Hat Bugzilla 2023-09-14 04:27:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days