----- Original Message ----- From: "Prasanna Kalever" <pkalever@xxxxxxxxxx> To: "Karthik Subrahmanya" <ksubrahm@xxxxxxxxxx> Cc: "Joseph Fernandes" <josferna@xxxxxxxxxx>, "Raghavendra Talur" <rtalur@xxxxxxxxxx>, "Vijaikumar Mallikarjuna" <vmallika@xxxxxxxxxx>, "gluster-devel" <gluster-devel@xxxxxxxxxxx> Sent: Friday, April 1, 2016 5:52:47 PM Subject: Re: Requesting for help with gluster test framework On Fri, Apr 1, 2016 at 5:37 PM, Karthik Subrahmanya <ksubrahm@xxxxxxxxxx> wrote: > > 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 > This is due to lag of configuration stuff, run ./autogen.sh && ./configure and then try to run the tests Thank you for the prompt reply and suggestion. Its working now. -- Prasanna > > It would be awesome if someone can guide me with this. > > Thanks & Regards, > Karthik Subrahmanya > _______________________________________________ > Gluster-devel mailing list > Gluster-devel@xxxxxxxxxxx > http://www.gluster.org/mailman/listinfo/gluster-devel _______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-devel