perfsonar-user - Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Brian Candler <>
- To:
- Cc: "" <>
- Subject: Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade
- Date: Thu, 5 Nov 2015 15:05:25 +0000
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:cc:from:message-id:date:mime-version:in-reply-to :content-type; q=dns; s=sasl; b=duiHSmQRyjdoSpsnpojCRXUG6td+gnG4 JNcGomrhT6GcCNCYpdR+C23T/1PzCKE3Cu0DgPdQ8BRURF9aTEksGy80Nw5U4/5i t5HKmNn8xF7Tw37KebS4dMefLNL8OHHj2Y7FEhNkdWlSY891yzO286uf/mJQxiUn Ta+SFmxxrUI=
On 04/11/2015 17:48, Brian Tierney
wrote:
OK, it turns out the bug is subtle :-) My remote probe is Mac OSX running bwctld and owampd. When running traceroute6 under *Mac OSX* then the output starts with "traceroute6": $ traceroute6 nsrc.org traceroute6 to nsrc.org (2607:8400:2880:4::80df:9d1c) from ... ^^^^^^^^^^^ But under Linux it starts with just "traceroute" $ traceroute6 nsrc.org traceroute to nsrc.org (2607:8400:2880:4::80df:9d1c), 30 hops max, 80 byte packets ^^^^^^^^^^ When perfsonar is parsing the bwtraceroute output, it is passing it to Net::Traceroute using the undocumented "_parse" function, and this is barfing when the text contains 'traceroute6'. ------- use Net::Traceroute; $stdout = <<EOS; traceroute6 to 2001:db84:0:2::254 (2001:db84:0:2::254) from 2001:db84:1:64::252, 64 hops max, 12 byte packets 1 2001:db84:1:64::1 0.930 ms 0.756 ms 0.651 ms 2 2001:db84:0:2::254 0.345 ms 0.350 ms 0.368 ms EOS $tr = Net::Traceroute->new(); $tr->_parse($stdout); if($tr->found) { my $hops = $tr->hops; if($hops > 1) { print "Router was " . $tr->hop_query_host($tr->hops - 1, 0) . "\n"; } } ------- Run this program and it gives the error. But change "traceroute6" to "traceroute" and it works. As a temporary workaround, I added the following line to function parse_traceroute_output in regular_testing/lib/perfSONAR_PS/RegularTesting/Parsers/Traceroute.pm : $stdout =~ s/traceroute6/traceroute/; But I will escalate the issue to the maintainers of Net::Traceroute. This then begs the question: why the difference between the perfsonar 3.4 and perfsonar 3.5 boxes? It turns out it's because they were talking to Macs which have two different versions of traceroute, despite both running OSX 10.10.5: (One) $ which traceroute6 /bin/traceroute6 $ ls -l /bin/traceroute* -rwxr-xr-x 1 root root 57480 Nov 11 2010 /bin/traceroute lrwxrwxrwx. 1 root root 10 Mar 28 2014 /bin/traceroute6 -> traceroute (Other) $ which traceroute6 /usr/sbin/traceroute6 $ ls -l /usr/sbin/traceroute* -r-sr-xr-x 1 root wheel 33968 19 Sep 2014 /usr/sbin/traceroute -r-sr-xr-x 1 root wheel 29648 19 Sep 2014 /usr/sbin/traceroute6 This is weird. Both boxes are set to auto-update, but I'm going to double-check all updates are completed. Regards, Brian. P.S. The box which upgraded to perfsonar toolkit 3.5 has two "3.4" packages, is this correct? $ rpm -qa | grep -i perfsonar | grep 3\\.4 perl-perfSONAR_PS-SimpleLS-BootStrap-client-3.4-3.pSPS.noarch perl-perfSONAR_PS-LSCacheDaemon-3.4.2-1.pSPS.noarch |
- [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/03/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Tierney, 11/04/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Larry Blunk, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Andrew Lake, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Andrew Lake, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Andrew Lake, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Candler, 11/05/2015
- Re: [perfsonar-user] Re: Various breakages after 3.5 upgrade, Brian Tierney, 11/04/2015
Archive powered by MHonArc 2.6.16.