Advertisement
miholeus

xmla mdx tests

Nov 17th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.41 KB | None | 0 0
  1. tests git:(dev) ✗ nosetests . --logging-level=INFO
  2. .FEFE
  3. ======================================================================
  4. ERROR: test_saiku_xmla.test_mdx_query
  5. ----------------------------------------------------------------------
  6. Traceback (most recent call last):
  7.   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  8.     self.test(*self.arg)
  9.   File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_xmla.py", line 68, in test_mdx_query
  10.     res = con.Execute(mdx, Catalog='FoodMart')
  11.   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/olap/xmla/connection.py", line 125, in Execute
  12.     raise XMLAException(fault.message, dictify(fault.fault))
  13. XMLAException: Server raised fault: 'XMLA MDX parse failed'
  14. -------------------- >> begin captured logging << --------------------
  15. olap.xmla.requests_kerberosauth: INFO: kerberosauth: handle_401...
  16. --------------------- >> end captured logging << ---------------------
  17.  
  18. ======================================================================
  19. ERROR: test_saiku_xmla.test_mdx_query_to_new_datasource
  20. ----------------------------------------------------------------------
  21. Traceback (most recent call last):
  22.   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  23.     self.test(*self.arg)
  24.   File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_xmla.py", line 92, in test_mdx_query_to_new_datasource
  25.     res = con.Execute(mdx, Catalog='SecondFoodMart')
  26.   File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/olap/xmla/connection.py", line 125, in Execute
  27.     raise XMLAException(fault.message, dictify(fault.fault))
  28. XMLAException: Server raised fault: 'XMLA MDX parse failed'
  29. -------------------- >> begin captured logging << --------------------
  30. olap.xmla.requests_kerberosauth: INFO: kerberosauth: handle_401...
  31. --------------------- >> end captured logging << ---------------------
  32.  
  33. ======================================================================
  34. FAIL: test_saiku_xmla.test_get_datasources_count
  35. ----------------------------------------------------------------------
  36. Traceback (most recent call last):
  37.   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  38.     self.test(*self.arg)
  39.   File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_xmla.py", line 57, in test_get_datasources_count
  40.     assert len(con.getDatasources()) != 0
  41. AssertionError:
  42. -------------------- >> begin captured logging << --------------------
  43. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (3): localhost
  44. olap.xmla.requests_kerberosauth: WARNING: No kerberos module, so you won't be able to talk to kerberos protected sites
  45. olap.xmla.requests_kerberosauth: WARNING: No s4u2p module, so you won't be able to impersonate a user.
  46. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
  47. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (2): localhost
  48. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
  49. olap.xmla.requests_kerberosauth: INFO: kerberosauth: handle_401...
  50. --------------------- >> end captured logging << ---------------------
  51.  
  52. ======================================================================
  53. FAIL: test_saiku_xmla.test_adding_one_more_datasource
  54. ----------------------------------------------------------------------
  55. Traceback (most recent call last):
  56.   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  57.     self.test(*self.arg)
  58.   File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_xmla.py", line 81, in test_adding_one_more_datasource
  59.     assert len(con.getDatasources()) > 1
  60. AssertionError:
  61. -------------------- >> begin captured logging << --------------------
  62. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (3): localhost
  63. requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (4): localhost
  64. olap.xmla.requests_kerberosauth: INFO: kerberosauth: handle_401...
  65. --------------------- >> end captured logging << ---------------------
  66.  
  67. ----------------------------------------------------------------------
  68. Ran 5 tests in 1.109s
  69.  
  70. FAILED (errors=2, failures=2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement