From: Jeff J. - S. <J_...@MC...> - 2008-03-20 16:47:06
|
Okay, I tried one of the tests that comes with the test suite, and it also fails. Here is the output from qmtest: --- TEST RESULTS ------------------------------------------------------------- functional.database.create.create_database_29 : ERROR An exception occurred. qmtest.end_time: 2008-03-20T16:44:47Z qmtest.exception: <class 'pywintypes.error'>: (5, 'CreateProcess', 'Access is denied.') qmtest.start_time: 2008-03-20T16:44:47Z qmtest.target: local qmtest.traceback: File "C:\Python25\Lib\site-packages\qm\test\target.py", line 227, in RunTest descriptor.Run(context, result) File "C:\Python25\Lib\site-packages\qm\test\database.py", line 272, in Run self._Execute(context, result, "Run") File "C:\Python25\Lib\site-packages\qm\test\database.py", line 191, in _Execute methobj(context, result) File "C:\fbtest\QMTest\fbqa.py", line 1265, in Run retval= self.__ExecISQLCommands() File "C:\fbtest\QMTest\fbqa.py", line 722, in __ExecISQLCommands "-password", self.user_password]) File "C:\fbtest\QMTest\fbqa.py", line 623, in __RunProgram exit_status= qm_exec.Run(args, environ) File "C:\Python25\Lib\site-packages\qm\executable.py", line 564, in Run path) File "C:\Python25\Lib\site-packages\qm\executable.py", line 270, in Run child = self.Spawn(arguments, environment, dir, path, exception_pipe) File "C:\Python25\Lib\site-packages\qm\executable.py", line 183, in Spawn startupinfo)[0] --- TESTS THAT DID NOT PASS -------------------------------------------------- functional.database.create.create_database_29 : ERROR An exception occurred. --- STATISTICS --------------------------------------------------------------- 1 tests total 1 (100%) tests ERROR I am not sure what you mean by checking the access rights for isql. How would I do that? What would I look for? Any help you can provide will be appreciated. Thanks! Jeff -----Original Message----- From: fir...@li... [mailto:fir...@li...] On Behalf Of Pavel Cisar Sent: Thursday, March 20, 2008 08:15 AM To: fir...@li... Subject: Re: [Firebird-test] Exception when running test Jeff, Jeff Jones - SHERIFFX napsal(a): > When I run some tests with QMTest, the following error is received: > > <class 'pywintypes.error'>: (5, 'CreateProcess', 'Access is denied.') This is important clue, qmtest haven't enough privileges to start a process (run external program). > And here is the traceback: > > File "C:\Python25\Lib\site-packages\qm\test\target.py", line 227, in RunTest > descriptor.Run(context, result) > File "C:\Python25\Lib\site-packages\qm\test\database.py", line 272, in Run > self._Execute(context, result, "Run") > File "C:\Python25\Lib\site-packages\qm\test\database.py", line 191, in _Execute > methobj(context, result) > File "C:\fbtest\QMTest\fbqa.py", line 1265, in Run > retval= self.__ExecISQLCommands() > File "C:\fbtest\QMTest\fbqa.py", line 722, in __ExecISQLCommands > "-password", self.user_password]) Here is application in question, ISQL, that can't be run by qmtest. > File "C:\fbtest\QMTest\fbqa.py", line 623, in __RunProgram > exit_status= qm_exec.Run(args, environ) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 564, in Run > path) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 270, in Run > child = self.Spawn(arguments, environment, dir, path, exception_pipe) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 183, in Spawn > startupinfo)[0] > > I have a feeling this indicates that something is wrong with my setup, > not with the test itself. Is that correct? > > Any ideas on what I should check or do? Check the access rights for isql. best regards Pavel Cisar IBPhoenix ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Firebird-test mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-test |