[hudson@manoj ~]$ python /data/hudson/.hudson/jobs/pygments/workspace/tests/run.py –with-xunit
Pygments 1.3.1 test suite running (Python 2.4.3)…
Traceback (most recent call last):
File “/data/hudson/.hudson/jobs/pygments/workspace/tests/run.py”, line 48, in ?
nose.main()
File “/usr/lib/python2.4/site-packages/nose/core.py”, line 116, in __init__
argv=argv, testRunner=testRunner, testLoader=testLoader,
File “/usr/lib64/python2.4/unittest.py”, line 758, in __init__
self.parseArgs(argv)
File “/usr/lib/python2.4/site-packages/nose/core.py”, line 134, in parseArgs
self.config.configure(argv, doc=self.usage())
File “/usr/lib/python2.4/site-packages/nose/config.py”, line 323, in configure
self.plugins.configure(options, self)
File “/usr/lib/python2.4/site-packages/nose/plugins/manager.py”, line 270, in configure
cfg(options, config)
File “/usr/lib/python2.4/site-packages/nose/plugins/manager.py”, line 93, in __call__
return self.call(*arg, **kw)
File “/usr/lib/python2.4/site-packages/nose/plugins/manager.py”, line 161, in simple
result = meth(*arg, **kw)
File “/usr/lib/python2.4/site-packages/nose/plugins/xunit.py”, line 149, in configure
self.error_report_file = open(options.xunit_file, ‘w’)
IOError: [Errno 13] Permission denied: ‘nosetests.xml’
[hudson@manoj ~]$ python /data/hudson/.hudson/jobs/pygments/workspace/tests/run.py –with-xunit
[hudson@manoj ~]$ cd /data/hudson/.hudson/jobs/pygments/workspace/tests
logout
I have fixed it by changing the permission of /data/hudson/.hudson/jobs/
[root@manoj ~]# chmod -R 777 /data/hudson/.hudson/jobs/
——
[hudson@manoj ~]$ python /data/hudson/.hudson/jobs/pygments/workspace/tests/run.py –with-xunit
Pygments 1.3.1 test suite running (Python 2.4.3)…
———————————————————————-
Ran 0 tests in 0.002s
OK
