Hi,
I just run tp_create_001 and tp_create_002 test case fail. this is error
message:
-bash-3.2# run_test share sharemgr/create:1
Validating Arguments...
New TET_ROOT for this run : /var/tmp/delphix-v3_3657
The results will be available in /var/tmp/results.3657
tcc: journal file is /var/tmp/results.3657/testlog
22:41:45 Execute /tests/sharemgr/create/tc_create_share
grep: can't open /var/tmp/sharemgr_logs/sharemgr_list-v
tc_create_share[81]: .[222]: shift: 1: bad number
test_group_1
test_group_2
##################################################
TC /tests/sharemgr/create/tc_create_share
TP 1 tc_create_share FAIL
##################################################
SUMMARY
=======
Number of Tests : 1
PASS : 0
FAIL : 1
UNRESOLVED : 0
UNINITIATED : 0
OTHER : 0
##################################################
Journal File = /var/tmp/results.3657/testlog is:
0|3.7-lite 22:41:45 20081215|User: oracle (0) TCC Start, Command line: tcc -p
-e -a /var/tmp/delphix-v3_3657/CONFIG -j /var/tmp/results.3657/testlog
/var/tmp/delphix-v3_3657/CONFIG all
5|SunOS delphix-v3 5.11 snv_86 i86pc|System Information
20|/var/tmp/delphix-v3_3657/CONFIG/tetexec.cfg 1|Config Start
30||CTI_TEST_SUITE=share
30||NUM_OF_REMOTE_MACHINES=0
30||CTI_LOGDIR=/var/tmp/results.3657
30||CTI_RSH=rsh
30||CTI_RCP=rcp
30||CTI_PING=ping
30||CTI_TEST_SERVERNAME=delphix-v3
30||num_of_slaves=1
30||TET_ROOT=/var/tmp/delphix-v3_3657
30||TET_EXEC_TOOL=/var/tmp/delphix-v3_3657/common/bin/exec_tool
30||CTI_PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/etc:/usr/ucb:.:/usr/sbin:/usr/bin:/opt/SUNWstc-tetlite/contrib/ctitools/bin:/opt/SUNWstc-stf/bin/i386:/opt/SUNWstc-tetlite/bin:/opt/SUNWstc-tetlite/contrib/ctitools/common/bin:/var/tmp/delphix-v3_3657/bin:/var/tmp/delphix-v3_3657/common/bin:/var/tmp/delphix-v3_3657/SUNWstc-share/bin:/var/tmp/delphix-v3_3657/SUNWstc-share/share/bin:
30||CTI_LD_LIBRARY_PATH=/var/tmp/delphix-v3_3657/lib/tet3:/var/tmp/delphix-v3_3657/common/lib:/var/tmp/delphix-v3_3657/SUNWstc-share/lib:/var/tmp/delphix-v3_3657/SUNWstc-share/share/lib::
30||CTI_CLASSPATH=/var/tmp/delphix-v3_3657/lib/java/jet.jar:/var/tmp/delphix-v3_3657/common/lib/CommonTest.jar::
30||CTI_PYTHONPATH=/var/tmp/delphix-v3_3657/lib/python:/var/tmp/delphix-v3_3657/common/lib
30||report_only=FALSE
30||verbose=FALSE
30||FSCONFIGTYPE=zfs
30||BDEVS1=/dev/dsk/c5t0d0
30||BDEVS2=/dev/dsk/c5t1d0
30||BDEVS3=/dev/dsk/c5t2d0
30||BDEVS4=/dev/dsk/c5t3d0
30||TET_API_COMPLIANT=True
30||TET_PASS_TC_NAME=False
30||TET_VERSION=3.7-lite
40||Config End
10|0 /tests/sharemgr/create/tc_create_share 22:41:45|TC Start, scenario ref
1-0, ICs: {1}
15|0 3.7 1|TCM Start
520|0 0 3721 1 1|Checking environment and runability
520|0 0 3721 1 2|checkenv for runability
520|0 0 3721 1 3|check for the new sharemgr commands
520|0 0 3721 1 4|check for the new sharectl commands
520|0 0 3721 1 5|check for legacy share
520|0 0 3721 1 6|real_share = default zfs
520|0 0 3721 1 7|The default protocols are nfs
520|0 0 3721 1 8|create the needed directories
520|0 0 3721 1 9|check the devices are available
520|0 0 3721 1 10|checking /dev/dsk/c5t0d0
520|0 0 3721 1 11|checking /dev/dsk/c5t1d0
520|0 0 3721 1 12|checking /dev/dsk/c5t2d0
520|0 0 3721 1 13|checking /dev/dsk/c5t3d0
520|0 0 3721 1 14|/usr/sbin/zpool create -f share_tests /dev/dsk/c5t3d0
400|0 1 1 00:00:02|IC Start
200|0 1 00:00:02|TP Start
520|0 1 3721 1 1|=======================================================
520|0 1 3721 1 2|Test case create001 - Create a blank group
520|0 1 3721 1 3|=======================================================
520|0 1 3721 1 4|* Dry run: Create share group (test_group_1) - POS
520|0 1 3721 1 5| - /usr/sbin/sharemgr create -n test_group_1
520|0 1 3721 1 6|* Create share group (test_group_1) - POS
520|0 1 3721 1 7| - /usr/sbin/sharemgr create test_group_1
520|0 1 3721 1 8| - /usr/sbin/sharemgr list -v
520|0 1 3721 1 9| - /usr/sbin/sharemgr list
520|0 1 3721 1 10| - /usr/sbin/sharemgr show -p
520|0 1 3721 1 11|* Dry run: Create share group (test_group_2) - POS
520|0 1 3721 1 12| - /usr/sbin/sharemgr create -n test_group_2
520|0 1 3721 1 13|* Create share group (test_group_2) - POS
520|0 1 3721 1 14| - /usr/sbin/sharemgr create test_group_2
520|0 1 3721 1 15| - /usr/sbin/sharemgr list
520|0 1 3721 1 16|FAIL - test_group_2 not found in list
520|0 1 3721 1 17|FAIL - test_group_2 not in enabled
520|0 1 3721 1 18| - /usr/sbin/sharemgr show -p
220|0 1 1 00:00:04|FAIL
410|0 1 1 00:00:04|IC End
520|0 0 3721 1 1|Cleaning up after tests
520|0 0 3721 1 2|re-enable real groups - /usr/sbin/sharemgr enable -a
80|0 2 22:41:51|TC End, scenario ref 1-0
900|22:41:51|TCC End
what's up?
thanks.
--
This message posted from opensolaris.org