[Gluster-devel] Requesting for help with gluster test framework

Karthik Subrahmanya ksubrahm at redhat.com
Fri Apr 1 12:07:13 UTC 2016


Hi all,

As I am trying to write a test for the WORM translator
which I am working on right now, I am facing some issues
while executing the test framework.
I followed the steps in
https://github.com/gluster/glusterfs/blob/master/tests/README.md


[Issue #1]
While running the run-tests.sh

... GlusterFS Test Framework ...


==================================================
Running tests in file ./tests/basic/0symbol-check.t
[11:48:09] ./tests/basic/0symbol-check.t .. Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 
[11:48:09]

Test Summary Report
-------------------
./tests/basic/0symbol-check.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.01 usr +  0.00 sys =  0.01 CPU)
Result: FAIL
End of test ./tests/basic/0symbol-check.t
==================================================


Run complete
1 test(s) failed 
./tests/basic/0symbol-check.t
0 test(s) generated core 

Slowest 10 tests: 
./tests/basic/0symbol-check.t  -  1
Result is 1



[Issue #2]
While running a single .t file using "prove -vf"

tests/features/worm.t .. 
Aborting.
Aborting.

env.rc not found
env.rc not found

Please correct the problem and try again.
Please correct the problem and try again.

Dubious, test returned 1 (wstat 256, 0x100)
No subtests run 

Test Summary Report
-------------------
tests/features/worm.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.02 usr +  0.01 sys =  0.03 CPU)
Result: FAIL


It would be awesome if someone can guide me with this.

Thanks & Regards,
Karthik Subrahmanya


More information about the Gluster-devel mailing list