sanity suite fails to upload results due to failure in test_xmpp_auth.TestXmpptests.test_undo_xmpp_auth . Due to this xml file is not generated. Subsequent steps expect valid xml file , report generation fails.
[root@nodec7 contrail-test]# cat result_2018_06_26_10_00_26_10279.xml
[root@nodec7 contrail-test]#
logs :
test_undo_xmpp_auth : PASSED[0:11:03]", "2018-06-26 03:28:34,433 - INFO - --------------------------------------------------------------------------------", "2018-06-26 03:28:35,160 - INFO - Deleted project: ctest-TestXmpptests-68497084, ID : c3b7a09b-a9c6-4c55-a4ba-49323cc0fa8d ", "Exception in thread Thread-11 (most likely raised during interpreter shutdown):Exception in thread Thread-3 (most likely raised during interpreter shutdown):", "Traceback (most recent call last):", " File \"/usr/lib64/python2.7/threading.py\", line 812, in __bootstrap_inner", " File \"/usr/lib/python2.7/site-packages/paramiko/transport.py\", line 1853, in run", "<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'", "", "Traceback (most recent call last):", " File \"/usr/lib64/python2.7/threading.py\", line 812, in __bootstrap_inner", " File \"/usr/lib/python2.7/site-packages/paramiko/transport.py\", line 1853, in run", "<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'", "[localhost] local: rpm -q --queryformat '%{VERSION}-' contrail-test; rpm -q --queryformat '%{RELEASE}' contrail-test | awk -F'.' '{print $1}'", "Exception in thread Thread-3 (most likely raised during interpreter shutdown):", "Traceback (most recent call last):Generated report_details* file: report_details_2018_06_26_00_27_57.ini", "Buildfile: /contrail-test/build.xml", "", "junit-report:", " [delete] Deleting directory /contrail-test/report", "[junitreport] Processing /contrail-test/report/TESTS-TestSuites.xml to /contrail-test/report/junit-noframes.html", "[junitreport] Loading stylesheet /contrail-test/junit-noframes.xsl", "[junitreport] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.", "[junitreport] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.", "", "BUILD FAILED", "/contrail-test/build.xml:19: java.lang.StackOverflowError", "\tat com.sun.org.apache.xml.internal.serializer.ToHTMLStream.endElement(ToHTMLStream.java:971)", "\tat com.sun.org.apache.xml.internal.serializer.ToHTMLStream.endElement(ToHTMLStream.java:1706)", "\tat junit_noframes.br$dash$replace()", "\tat junit_noframes.br$dash$replace()", "\tat junit_noframes.br$dash$replace()", "\tat junit_noframes.br$dash$replace()", "\tat
logs from standalone runs:
2018-06-26 10:42:13,205 - INFO - Deleting VN test_vnv6sr
2018-06-26 10:42:28,082 - INFO - END TEST : test_precedence_xmpp_auth : PASSED[0:13:20]
2018-06-26 10:42:28,082 - INFO - --------------------------------------------------------------------------------
2018-06-26 10:42:28,792 - INFO - Deleted project: ctest-TestXmpptests-41572589, ID : a1aaadfa-4dc2-4686-bfac-09d92a5909cb
Ran 1 test in 859.371s
OK
Exception in thread Thread-3 (most likely raised during interpreter shutdown):Exception in thread Thread-7 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 1853, in run
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 1853, in run
Exception in thread Thread-17 (most likely raised during interpreter shutdown):<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 1853, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'
Few tests were printing excessive logs , due to which ant failed. Analytics tests were fixed to print only needed logs.