The failing tests are supposed to verify that an invalid proxy causes a
failed gridftp transfer, but those tests are returning success somehow.
For example, the first one basically runs:
X509_USER_PROXY=/dev/null ./globus-ftp-client-caching-get-test -s
gsiftp://localhost:33461/etc/group >/tmp/filed9aVMK
The problem is more likely related to the perl test harness than to
GridFTP, but if you wanted to track down the failure I would start with
running that command manually (against a valid server) and verifying
that the return code is nonzero.
Mike
Silviu Popescu wrote:
Hi,
I receive some errors when running the gridftp tests.
Does anybody know what could be the cause of this ?
[16:18:[EMAIL PROTECTED]/usr/local/globus4.0.5/test/globus_ftp_client_test]$
./TESTS.pl
Started server at port 33461
Running sanity check
Server appears sane, running tests
globus-ftp-client-caching-get-test...........# Test 1 got: "\n# Test
failed\n# ./globus-ftp-client-caching-get-test -s
gsiftp://localhost:33461/etc/group >/tmp/filed9aVMK 2>/dev/null\n# \n#
Test exited with 0 when expected anything but 0."
(globus-ftp-client-caching-get-test.pl at line 75)
# Expected: "success"
# globus-ftp-client-caching-get-test.pl line 75 is: ok($errors,
'success');
globus-ftp-client-caching-get-test...........FAILED test
1
Failed 1/89 tests, 98.88% okay
globus-ftp-client-caching-transfer-test......# Test 1 got: "\n# Test
failed\n# ./globus-ftp-client-caching-transfer-test -s
gsiftp://localhost:33461/etc/group -d
gsiftp://localhost:33461/tmp/file7MNFJU >/dev/null 2>&1\n# \n# Test
exited with 0 when expected anything but 0."
(globus-ftp-client-caching-transfer-test.pl at line 71)
# Expected: "success"
# globus-ftp-client-caching-transfer-test.pl line 71 is:
ok($errors, 'success');
globus-ftp-client-caching-transfer-test......FAILED test
1
Failed 1/90 tests, 98.89% okay
globus-ftp-client-create-destroy-test........ok
globus-ftp-client-exist-test.................ok
globus-ftp-client-extended-get-test..........ok
globus-ftp-client-extended-put-test..........ok
1/100 unexpectedly succeeded
globus-ftp-client-extended-transfer-test.....ok
globus-ftp-client-get-test...................# Test 1 got: "\n# Test
failed\n# ./globus-ftp-client-get-test -s
'gsiftp://localhost:33461/etc/group' > /tmp/fileNduwYU 2>/dev/null\n#
\n# Test exited with 0 when expected anything but 0."
(globus-ftp-client-get-test.pl at line 86)
# Expected: "success"
# globus-ftp-client-get-test.pl line 86 is: ok($errors, 'success');
globus-ftp-client-get-test...................FAILED test
1
Failed 1/124 tests, 99.19% okay
globus-ftp-client-lingering-get-test.........ok
globus-ftp-client-multiple-block-get-test....# Test 1 got: "\n# Test
failed\n# ./globus-ftp-client-multiple-block-get-test -s
'gsiftp://localhost:33461/etc/group' >/tmp/fileM5ceLm 2>/dev/null\n# \n#
Test exited with 0 when expected anything but 0."
(globus-ftp-client-multiple-block-get-test.pl at line 72)
# Expected: "success"
# globus-ftp-client-multiple-block-get-test.pl line 72 is:
ok($errors, 'success');
globus-ftp-client-multiple-block-get-test....FAILED test
1
Failed 1/89 tests, 98.88% okay
globus-ftp-client-partial-get-test...........ok
globus-ftp-client-partial-put-test...........ok
globus-ftp-client-partial-transfer-test......ok
globus-ftp-client-plugin-test................ok
globus-ftp-client-put-test...................NOK 1# Test 1 got: "\n#
Test failed\n# ./globus-ftp-client-put-test -d
gsiftp://localhost:33461/tmp/fileT4CohG < /etc/group >/dev/null 2>&1\n#
\n# Test exited with 0 when expected anything but 0."
(globus-ftp-client-put-test.pl at line 90)
# Expected: "success"
# globus-ftp-client-put-test.pl line 90 is: ok($errors, 'success');
globus-ftp-client-put-test...................FAILED test
1
Failed 1/124 tests, 99.19% okay
globus-ftp-client-size-test..................ok
globus-ftp-client-transfer-test..............# Test 1 got: "\n# Test
failed\n# ./globus-ftp-client-transfer-test -s
gsiftp://localhost:33461/etc/group -d
gsiftp://localhost:33461/tmp/fileOFARrY >/dev/null 2>&1\n# \n# Test
exited with 0 when expected anything but 0."
(globus-ftp-client-transfer-test.pl at line 90)
# Expected: "success"
# globus-ftp-client-transfer-test.pl line 90 is: ok($errors,
'success');
globus-ftp-client-transfer-test..............FAILED test
1
Failed 1/98 tests, 98.98% okay
globus-ftp-client-user-auth-test.............ok
Failed Test Stat Wstat Total Fail Failed List of
Failed
-------------------------------------------------------------------------------
globus-ftp-client-caching-get-tes 89 1 1.12% 1
globus-ftp-client-caching-transfe 90 1 1.11% 1
globus-ftp-client-get-test.pl 124 1 0.81% 1
globus-ftp-client-multiple-block- 89 1 1.12% 1
globus-ftp-client-put-test.pl 124 1 0.81% 1
globus-ftp-client-transfer-test.p 98 1 1.02% 1
(2 subtests UNEXPECTEDLY SUCCEEDED).
Failed 6/18 test scripts, 66.67% okay. 6/2567 subtests failed, 99.77% okay.
Thanks,
Silviu
------------------------------------------------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>