xjiang4 / ellipsoids

Automatically exported from code.google.com/p/ellipsoids
Other
0 stars 1 forks source link

Text output of elltool.test.run_tests is too big #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
See the attached file for more details

Original issue reported on code.google.com by heartofm...@gmail.com on 24 Mar 2013 at 8:08

Attachments:

GoogleCodeExporter commented 8 years ago
One of the reasons is that  Log4Configuration throws too many warnings, this 
needs to be fixed... The log size should be under 1Mb

Original comment by heartofm...@gmail.com on 25 Mar 2013 at 5:34

GoogleCodeExporter commented 8 years ago

Original comment by heartofm...@gmail.com on 26 Mar 2013 at 9:23

GoogleCodeExporter commented 8 years ago

Original comment by heartofm...@gmail.com on 28 Mar 2013 at 1:03

GoogleCodeExporter commented 8 years ago
running gras.ellapx.uncertcalc.test.run_tests() produces the following warning, 
this needs to be investigated.

Warning: Matrix is singular and may not have a square root. 
> In sqrtm at 60
  In AMatrixOperations>AMatrixOperations.constUnaryOperation at 15
  In AMatrixOperations>AMatrixOperations.sqrtm at 76
  In SplineMatrixOperations>SplineMatrixOperations.sqrtm at 80
  In ATightIntEllApxBuilder>ATightIntEllApxBuilder.prepareODEData at 57
  In ATightIntEllApxBuilder>ATightIntEllApxBuilder.ATightIntEllApxBuilder at 68
  In IntEllApxBuilder>IntEllApxBuilder.IntEllApxBuilder at 46
  In ReachContinuous>ReachContinuous.makeEllTubeRel at 306
  In ReachContinuous>ReachContinuous.ReachContinuous at 646
  In s_ell_demo_reach at 293
  In BasicTestCase>BasicTestCase.testDemoReach at 16
  In test_case>test_case.run at 141
  In test_case>test_case.run at 88
  In test_suite>test_suite.run at 289
  In auxdfeval at 223
  In auxdfeval at 12
  In test_suite>test_suite.run at 191
  In text_test_runner>text_test_runner.run at 73
  In run_tests at 13
  In run_tests at 7 

Original comment by heartofm...@gmail.com on 30 Mar 2013 at 11:44

GoogleCodeExporter commented 8 years ago
Can you please specify how the attached log was obtained. Is this all the 
result of calling run_tests_remotely (if so with what parameters) or something 
else, so that I would be able to reproduce the problem on my PC?

Original comment by vetba...@gmail.com on 1 Apr 2013 at 9:22

GoogleCodeExporter commented 8 years ago
Sure. This log was obtained as c=evalc('run_tests_remotely(...)') with the 
configuration that you receive from the test server as part of a test start 
notifications (see the messages with subjects like 
[EllTestRunner,trunk:1113]:STARTED,pid:3416,conf:default,[ellTbxRev:1113],svnURL
:https://ellipsoids.googlecode.com/svn/trunk, running on santafe(Administrator)
). These messages have attachements one of which is xml configuration for 
run_tests_remotely. 

To reproduce these results you need to take this xml configuration, disable 
email notifications (set emailNotification.isEnabled=false) and then run 
"run_tests_remotely" using this configuration (you need to put it into 
products\+elltool\+test\+configuration\confrepo\_templates folder)

Original comment by heartofm...@gmail.com on 1 Apr 2013 at 9:35

GoogleCodeExporter commented 8 years ago
1. There is also input parameter 'markerStr', besides configuration parameter. 
What was its value when getting the atteched log.

2. If I leave it empty, I get this error (although i think this is not the 
case). Can you please what may be wrong? (cur_conf is configuration file from 
some test results (as you described) with 1 changed to 0 in this line: 
<isEnabled type="boolean" >0</isEnabled>
):

strName='cur_conf'
c=evalc('elltool.test.run_tests_remotely([],strName)')
15  runnerName=[RUNNER_NAME,markerStr];
Error using modgen.subversion.svncall (line 38)
Problem using version control system:
 "svn" ­Ґ пў«пҐвбп ў­гв७­Ґ© Ё«Ё ў­Ґи­Ґ©
 Є®¬ ­¤®©, ЁбЇ®«­пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв­л¬ д ©«®¬.

Error in modgen.subversion.svngeturl (line 9)
svnMsg=modgen.subversion.svncall(ParamStr);

Error in modgen.logging.EmailLoggerBuilder.fromConfRepoMgr (line 19)
            svnURL=modgen.subversion.svngeturl(pwd);

Error in modgen.mlunit.run_tests_remotely (line 16)
    emailLogger=modgen.logging.EmailLoggerBuilder.fromConfRepoMgr(...

Error in elltool.test.run_tests_remotely (line 26)
    modgen.mlunit.run_tests_remotely({},confRepoMgr,...

Original comment by vetba...@gmail.com on 2 Apr 2013 at 8:42

GoogleCodeExporter commented 8 years ago
Besides there is no header in run_tests_remotely() in mlunit. How to find out 
what's going on in there?

Original comment by vetba...@gmail.com on 3 Apr 2013 at 10:43

GoogleCodeExporter commented 8 years ago
1)markerStr='trunk'
2) in order to use modgen.subversion.svngeturl you need to install SlikSvn 
(http://www.sliksvn.com/en/download)
3) to study the source code

Original comment by heartofm...@gmail.com on 3 Apr 2013 at 11:51

GoogleCodeExporter commented 8 years ago
I realized that this task is an efficient use of your time, I'm going to assign 
a different ticket to you. With this task I'll deal by myself. 

Original comment by heartofm...@gmail.com on 3 Apr 2013 at 11:55

GoogleCodeExporter commented 8 years ago
4) runtestcase throws warnings in non-test mode

Original comment by heartofm...@gmail.com on 4 Apr 2013 at 12:50