[Lxc-users] Unable to execute raw tests using lxc-execute.

nishant mungse nishantmungse at gmail.com
Thu Nov 10 13:14:53 UTC 2011


Hi,

I have doubt in executing raw.write tests using lxc-execute.

When I execute it without lxc-execute it works fine i.e it performs
raw.write testing.

command :: root at nishant:/home/nishant/Desktop/samba-4.0.0alpha15#
bin/smbtorture //localhost/ubuntu -Ubase%base_system raw.write

This command works fine. We can see the o/p of this also,

/***************************************************************************************************************************/
O/P::

Inside main() of smbtorture

Indside torture_raw_write
outside torture_raw_write
The value of print_testsuite_list is :: 0

The argc_new is 3 and argc is 4

The list_tests is ::0
In for loop ::bin/smbtorture::

In for loop:://localhost/ubuntu::

In for loop::raw.write::

In for loop(null)::

Using seed 1320930423
Inside smbtorture.c before subunit_ops_calling....


Inside smbtorture.c after subunit_ops_calling....


Ui_ops_name is  'subunit'


The basedir is (null)

The outputdir is ::
/home/nishant/Desktop/samba-4.0.0alpha15/smbtortureXXXXXX

The argc_new is 3The new argv inside loop is  :: raw.write

 and i is 2time: 2011-11-10 18:37:03.361497
Before running the specific test........
We are running the test_suite in non restricted.........
Inside file subunit.c and func :: suite_start

Inside file subunit.c and func :: suite_start and suite_name :: write

progress: 4
Inside file subunit.c and func subunit_test_name:: test_name :: write and
test_case_name :: write

Inside file subunit.c and func subunit_test_start:: test_name :: write and
test_case_name :: write

test: write
time: 2011-11-10 18:37:03.361930
Inside test_write :: The base_dir is \testwrite\test.txt

Inside RAW.WRITE (test_write)....and test_case name is :: write

Inside RAW.WRITE (test_write)....and test name is :: write

Testing RAW_WRITE_WRITE
Inside file subunit.c and func subunit_test_name:: test_name :: write and
test_case_name :: write

time: 2011-11-10 18:37:03.372680
failure: write [
../source4/torture/raw/write.c:129: Failed to create \testwrite\test.txt -
NT_STATUS_OBJECT_PATH_NOT_FOUND
]
Inside file subunit.c and func subunit_test_name:: test_name :: write
unlock and test_case_name :: write unlock

Inside file subunit.c and func subunit_test_start:: test_name :: write
unlock and test_case_name :: write unlock

test: write unlock
time: 2011-11-10 18:37:03.372749
Inside RAW.WRITE (test_writeunlock)....and test_case name is :: write unlock

Inside RAW.WRITE (test_writeunlock)....and test name is :: write unlock

inside writeunlock
Testing RAW_WRITE_WRITEUNLOCK
Trying zero write
Trying small write
Inside check_buffer
outside check_buffer
Inside check_buffer
outside check_buffer
Trying large write
Inside check_buffer
outside check_buffer
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
Inside check_buffer
outside check_buffer
outside writeunlock
Inside file subunit.c and func subunit_test_name:: test_name :: write
unlock and test_case_name :: write unlock

time: 2011-11-10 18:37:03.395429
success: write unlock
Inside file subunit.c and func subunit_test_name:: test_name :: write close
and test_case_name :: write close

Inside file subunit.c and func subunit_test_start:: test_name :: write
close and test_case_name :: write close

test: write close
time: 2011-11-10 18:37:03.395522
Inside RAW.WRITE (test_writeclose)....and test_case name is :: write close

Inside RAW.WRITE (test_writeclose)....and test name is :: write close

inside write_close
Testing RAW_WRITE_WRITECLOSE
Trying zero write
Trying small write
Inside check_buffer
outside check_buffer
Inside check_buffer
outside check_buffer
Trying large write
Inside check_buffer
outside check_buffer
Trying bad fnum
Setting file as sparse
Trying 2^32 offset
Inside check_buffer
outside check_buffer
outside write_close
Inside file subunit.c and func subunit_test_name:: test_name :: write close
and test_case_name :: write close

time: 2011-11-10 18:37:03.423069
success: write close
Inside file subunit.c and func subunit_test_name:: test_name :: writex and
test_case_name :: writex

Inside file subunit.c and func subunit_test_start:: test_name :: writex and
test_case_name :: writex

test: writex
time: 2011-11-10 18:37:03.423138
Inside RAW.WRITE (test_writex)....and test_case name is :: writex

Inside RAW.WRITE (test_writex)....and test name is :: writex

Inside test_writex
dangerous not set - limiting range of test to 2^33
Testing RAW_WRITE_WRITEX
Trying zero write
Trying small write
Inside check_buffer
outside check_buffer
Trying large write
Inside check_buffer
outside check_buffer
Trying bad fnum
Testing wmode
Trying locked region
Setting file as sparse
Trying 2^32 offset
Inside check_buffer
outside check_buffer
limit is 2^33
outside test_writex
Inside file subunit.c and func subunit_test_name:: test_name :: writex and
test_case_name :: writex

time: 2011-11-10 18:37:03.456223
success: writex
Before the torture_deltree_outputdir

/***************************************************************************************************************************/

*But it is not working when i use lxc-execute command to run raw.test.*

*Command ::root at nishant:/home/nishant/Desktop/samba-4.0.0alpha15#
lxc-execute -n base -f /home/nishant/ubuntu.conf -- bin/smbtorture
//localhost/ubuntu -Ubase%base_system raw.write*


/***************************************************************************************************************************/
O/P::
Inside main() of smbtorture

Indside torture_raw_write
outside torture_raw_write
The value of print_testsuite_list is :: 0

The argc_new is 3 and argc is 4

The list_tests is ::0
In for loop ::bin/smbtorture::

In for loop:://localhost/ubuntu::

In for loop ::raw.write::

In for loop ::(null)::

Using seed 1320930543
Inside smbtorture.c before subunit_ops_calling....


Inside smbtorture.c after subunit_ops_calling....


Ui_ops_name is  'subunit'


The basedir is (null)

The outputdir is ::
/home/nishant/Desktop/samba-4.0.0alpha15/smbtortureXXXXXX

The argc_new is 3The new argv inside loop is  :: raw.write

 and i is 2time: 2011-11-10 18:39:03.638757
Before running the specific test........
We are running the test_suite in non restricted.........
Inside file subunit.c and func :: suite_start

Inside file subunit.c and func :: suite_start and suite_name :: write

progress: 4
Inside file subunit.c and func subunit_test_name:: test_name :: write and
test_case_name :: write

Inside file subunit.c and func subunit_test_start:: test_name :: write and
test_case_name :: write

test: write
time: 2011-11-10 18:39:03.639188
Failed to open connection - NT_STATUS_CONNECTION_REFUSED
Inside file subunit.c and func subunit_test_name:: test_name :: write and
test_case_name :: write

time: 2011-11-10 18:39:03.639988
error: write [
Unknown error/failure
]
Inside file subunit.c and func subunit_test_name:: test_name :: write
unlock and test_case_name :: write unlock

Inside file subunit.c and func subunit_test_start:: test_name :: write
unlock and test_case_name :: write unlock

test: write unlock
time: 2011-11-10 18:39:03.640023
Failed to open connection - NT_STATUS_CONNECTION_REFUSED
Inside file subunit.c and func subunit_test_name:: test_name :: write
unlock and test_case_name :: write unlock

time: 2011-11-10 18:39:03.640247
error: write unlock [
Unknown error/failure
]

/******************************************************************************************************************************************/


*I am finding the solution to this problem from last 4 weeks, but unable to
find solution.*

Please Help me ASAP.


Regards,
Nishant Mungse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20111110/009fc77c/attachment.html>


More information about the lxc-users mailing list