Index: [Article Count Order] [Thread]

Date: Tue, 24 Feb 2009 11:09:41 +0100
From: Vit Pelcak <vpelcak@suse.cz>
Subject: [users:01104] Re: Problems with MIPv6 testing
To: "K.Kawaguchi" <kawaguti@ysknet.co.jp>
Cc: users@tahi.org
Message-Id: <49A3C765.8000702@suse.cz>
In-Reply-To: <200902231059.CGG43252.VUHLBXJB@ysknet.co.jp>
References: <499EBB56.6070907@suse.cz> <200902231059.CGG43252.VUHLBXJB@ysknet.co.jp>
X-Mail-Count: 01104

K.Kawaguchi napsal(a):
> Hi,
>
> You have to install ike-mipv6.
> Please visit the following.
>
> http://cert.v6pc.jp/mipv6/phase2/
>
> [I] TAHI Platform
>   This ike module is always necessary, even if you don't use IKE.
>   
>   Please visit TAHI Project and download latest version (3.0.10 or higher) of v6eval. 
>   ike-mipv6 (version 1.0.4) (updated at 2006/6/19) 
>
>
> Best Regards
> --
> Kiyoaki Kawaguchi
>   

Thank you for help. Mipv6-ha is only for router mode testing? I got
several tests skipped and rest marked as router only. I'm asking  to be
sure  that I didn't mess something.

Now I have encountered another problem when testing mipv6-mn.

There are 2 warnings at the beginning of the test:
Use of uninitialized value in numeric eq (==) at
/usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2598.
Use of uninitialized value in concatenation (.) or string at
/usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2695.

Also, I get this message:

HoA address    : 3ffe:501:ffff:100:2a0:d2ff:fe2f:6c2e
Care-of address: 3ffe:501:ffff:102:2a0:d2ff:fe2f:6c2e
ha0 address    : 3ffe:501:ffff:100:200:ff:fe00:a0a0
cn0 address    : 3ffe:501:ffff:104:200:ff:fe00:a8a8
Please check your home link should be 3ffe:501:ffff:100/64

Address 3ffe:501:ffff:100/64 is IMHO malformed. Which IP address I
should assign to interface?

Test itself then fails with these error messages:

[EOT]
Start Capturing Packets (Link0)
Clear Captured Packets (Link0)
NUT starts at Link0.
"/usr/local/v6eval//include/ike.def", line 74: error: IKE_EH_NUTtoTN
duplicated declaration near 'Hdr_Ether IKE_EH_NUTtoTN { '
"/usr/local/v6eval//include/ike.def", line 77: error: IKE_RECV
duplicated declaration near 'Frame_Ether IKE_RECV { '
"/usr/local/v6eval//include/ike.def", line 77: error:
_PACKET_IPV6_IKE_RECV duplicated declaration near 'Frame_Ether IKE_RECV
{ header=IKE_EH_NUTtoTN; packet=_PACKET_IPV6_IKE_RECV; } Packet_IPv6
_PACKET_IPV6_IKE_RECV {h'
"/usr/local/v6eval//include/ike.def", line 77: error: _HDR_IPV6_IKE_RECV
duplicated declaration near 'Frame_Ether IKE_RECV {
header=IKE_EH_NUTtoTN; packet=_PACKET_IPV6_IKE_RECV; } Packet_IPv6
_PACKET_IPV6_IKE_RECV
{header=_HDR_IPV6_IKE_RECV;upper=_UPP_UDP_IKE_RECV;} Hdr_IPv6
_HDR_IPV6_IKE_RECV { '
"/usr/local/v6eval//include/ike.def", line 77: error: _UPP_UDP_IKE_RECV
duplicated declaration near 'Frame_Ether IKE_RECV {
header=IKE_EH_NUTtoTN; packet=_PACKET_IPV6_IKE_RECV; } Packet_IPv6
_PACKET_IPV6_IKE_RECV
{header=_HDR_IPV6_IKE_RECV;upper=_UPP_UDP_IKE_RECV;} Hdr_IPv6
_HDR_IPV6_IKE_RECV { Version = auto; TrafficClass = auto; FlowLabel =
auto; PayloadLength = auto; NextHeader = auto; HopLimit = any;
SourceAddress = any; DestinationAddress = any; } Upp_UDP
_UPP_UDP_IKE_RECV { '
"/usr/local/v6eval//include/ike.def", line 77: error: _HDR_UDP_IKE_RECV
duplicated declaration near 'Frame_Ether IKE_RECV {
header=IKE_EH_NUTtoTN; packet=_PACKET_IPV6_IKE_RECV; } Packet_IPv6
_PACKET_IPV6_IKE_RECV
{header=_HDR_IPV6_IKE_RECV;upper=_UPP_UDP_IKE_RECV;} Hdr_IPv6
_HDR_IPV6_IKE_RECV { Version = auto; TrafficClass = auto; FlowLabel =
auto; PayloadLength = auto; NextHeader = auto; HopLimit = any;
SourceAddress = any; DestinationAddress = any; } Upp_UDP
_UPP_UDP_IKE_RECV { header = _HDR_UDP_IKE_RECV; payload =
IKE_RECV_ISAKMP; } Hdr_UDP _HDR_UDP_IKE_RECV { '
"/usr/local/v6eval//include/ike.def", line 100: error: IKE_RECV_ISAKMP
duplicated declaration near 'Udp_ISAKMP IKE_RECV_ISAKMP {
"/usr/local/v6eval//include/ike.def", line 105: error:
IKE_RECV_ISAKMP_HDR duplicated declaration near 'Hdr_ISAKMP
IKE_RECV_ISAKMP_HDR {
V6evalTool.pm vSend() return status=1
Died at /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2578.
  -> internal error

What do  do wrong.
I kept ike.def as it was. No changes to it. I just added it to be loaded
by std.def.

Thank you very much for help.

Regards
Vit Pelcak

> "Vit Pelcak <vpelcak@suse.cz>" wrote:
>
>   
>> Hi all.
>>
>> I have encountered internal error when testing mipv6 ha and mn. In
>> mipv6-cn I achieved 100% pass rate.
>>
>> make clean test
>> ===> mipv6-mn (clean)
>> rm -f  index.html report.html summary.html [0-9]*.html analysis.html 
>> *.dump *.log  mip6_mn_config.def  mip6_mn_nut_addr.def
>> mip6_mn_cn0_addr.def mip6_mn_r2_addr.def  mip6_mn_sa.def ike.def
>> ikesub.def  *.ini *.tmp
>> ===> mipv6-mn
>> echo "0" > logo.ini
>> ./mip6_mn_config.pl
>> Use of uninitialized value in numeric eq (==) at
>> /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2598.
>> HoA address    : 3ffe:501:ffff:100:2a0:d2ff:fe2f:6c2e
>> Care-of address: 3ffe:501:ffff:102:2a0:d2ff:fe2f:6c2e
>> ha0 address    : 3ffe:501:ffff:100:200:ff:fe00:a0a0
>> cn0 address    : 3ffe:501:ffff:104:200:ff:fe00:a8a8
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2695.
>> /usr/local/v6eval/bin/autorun  -F -tiny -title="Conformance Test for
>> Mobile Node" ./INDEX
>> ========== TEST 1 ==========
>> ./MN-0-0-0-1-001.seq -pkt ./mip6_mn_common.def -log 1.html -ti
>> "MN-0-0-0-1-001 - Mobile Node Operation-1"
>> V6evalTool.pm cc -E -x c-header -I./ -I./ -I/usr/local/v6eval//include/
>> -include /usr/local/v6eval//include//std.def  ./mip6_mn_common.def >
>> /var/tmp/tmp.0.X8Wn3K failed status:1
>> Died at /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2578.
>>
>> BEGIN failed--compilation aborted at
>> /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2775.
>> Compilation failed in require at ./MN-0-0-0-1-001.seq line 54.
>>
>> BEGIN failed--compilation aborted at ./MN-0-0-0-1-001.seq line 54.
>>   -> internal error
>>
>> make clean test
>> ===> mipv6-ha (clean)
>> rm -f    INDEX                           INDEX_PHASE2                   
>> INDEX_PHASE2_FINE_GRAIN                 index.html                     
>> report.html                     summary.html                   
>> [0-9]*.html                       *.dump                         
>> *.log                           *.tmp                          
>> *.bak                           ipsec_sa.pl                    
>> config.pmconfig.def                      
>> sequence.def                    ikesub.def                     
>> pod2htmd*                       pod2htmi*                      
>> *.rtadvd.conf                   local_haad_reply.def             
>> local_ra_deregistration.def     local_ra_registration.def
>> ===> mipv6-ha
>> /usr/local/v6eval/bin/autorun  -F -tiny -title="Conformance Test for
>> Home Agent" ./INDEX
>> ========== TEST 1 ==========
>> ./HA_0_0_0.seq -pkt ./HA_0_0_0.def -log 1.html -ti "HA_0_0_0 -
>> Initialization and general configuration"
>> V6evalTool.pm cc -E -x c-header -I./ -I./ -I/usr/local/v6eval//include/
>> -include /usr/local/v6eval//include//std.def  ./HA_0_0_0.def >
>> /var/tmp/tmp.0.mkVZgr failed status:1
>> Died at /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2578.
>>
>> BEGIN failed--compilation aborted at
>> /usr/local/lib/perl5/site_perl/5.8.8/V6evalTool.pm line 2775.
>> Compilation failed in require at mipv6.pm line 51.
>>
>> BEGIN failed--compilation aborted at mipv6.pm line 51.
>> Compilation failed in require at ./HA_0_0_0.seq line 52.
>>
>> BEGIN failed--compilation aborted at ./HA_0_0_0.seq line 52.
>>   -> internal error
>>
>> I didn't touch file V6evalTool.pm and mipv6 tests were installed simply
>> by make && make install.
>>
>> What is wrong? Did I forget something or there is problem elsewhere.
>>
>> Thanks.
>>
>> Vit Pelcak
>>
>>
>>
>>
>>     
>
>