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

Karthik Subrahmanya ksubrahm at redhat.com
Fri Apr 1 12:42:56 UTC 2016



----- Original Message -----
From: "Prasanna Kalever" <pkalever at redhat.com>
To: "Karthik Subrahmanya" <ksubrahm at redhat.com>
Cc: "Joseph Fernandes" <josferna at redhat.com>, "Raghavendra Talur" <rtalur at redhat.com>, "Vijaikumar Mallikarjuna" <vmallika at redhat.com>, "gluster-devel" <gluster-devel at gluster.org>
Sent: Friday, April 1, 2016 5:52:47 PM
Subject: Re: [Gluster-devel] Requesting for help with gluster test framework

On Fri, Apr 1, 2016 at 5:37 PM, Karthik Subrahmanya <ksubrahm at redhat.com> 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 at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel


More information about the Gluster-devel mailing list