Wireshark-bugs: [Wireshark-bugs] [Bug 1696] New: dfilter-test.py reports failures for ntp.precis

Date: Thu, 19 Jul 2007 14:38:39 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1696

           Summary: dfilter-test.py reports failures for ntp.precision tests
                    on 64bit
           Product: Wireshark
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Extras
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: kavol@xxxxxxxxx


Build Information:
$ /usr/sbin/tshark -v
TShark 0.99.6

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.12.11, with libpcap 0.9.5, with libz 1.2.3, with libpcre
7.0, with Net-SNMP 5.4, without ADNS, without Lua, with GnuTLS 1.4.5, with
Gcrypt 1.2.4, with MIT Kerberos.

Running on Linux 2.6.21-1.3228.fc7, with libpcap version 0.9.5.

Built using gcc 4.1.2 20070502 (Red Hat 4.1.2-12).

--
Hello,

here is a part of my tools/dfilter-test.py output:

*** snip ***
        ck_contains_1 ... OK
        ck_contains_2 ... OK
        ck_contains_3 ... OK
        ck_contains_4 ... OK

Double
tshark: "0.0626983642578125" is not a valid number.
        ck_eq_1 ...
Got: []
FAILED
tshark: "0.0626" is not a valid number.
        ck_eq_2 ...
Got: []
FAILED
tshark: "1.0626" is not a valid number.
        ck_gt_1 ...
Got: []
FAILED
tshark: "0.0626983642578125" is not a valid number.
        ck_gt_2 ...
Got: []
FAILED
tshark: "0.0026" is not a valid number.
        ck_gt_3 ...
Got: []
FAILED
tshark: "1.0626" is not a valid number.
        ck_ge_1 ...
Got: []
FAILED
tshark: "0.0626983642578125" is not a valid number.
        ck_ge_2 ...
Got: []
FAILED
tshark: "0.0026" is not a valid number.
        ck_ge_3 ...
Got: []
FAILED
tshark: "1.0626" is not a valid number.
        ck_lt_1 ...
Got: []
FAILED
tshark: "0.0626983642578125" is not a valid number.
        ck_lt_2 ...
Got: []
FAILED
tshark: "0.0026" is not a valid number.
        ck_lt_3 ...
Got: []
FAILED
tshark: "1.0626" is not a valid number.
        ck_le_1 ...
Got: []
FAILED
tshark: "0.0626983642578125" is not a valid number.
        ck_le_2 ...
Got: []
FAILED
tshark: "0.0026" is not a valid number.
        ck_le_3 ...
Got: []
FAILED

Integer
        ck_eq_1 ... OK
        ck_eq_2 ... OK
        ck_ne_1 ... OK
        ck_ne_2 ... OK
        ck_u_gt_1 ... OK
        ck_u_gt_2 ... OK
        ck_u_gt_3 ... OK
        ck_u_ge_1 ... OK
        ck_u_ge_2 ... OK
        ck_u_ge_3 ... OK
        ck_u_lt_1 ... OK
        ck_u_lt_2 ... OK
        ck_u_lt_3 ... OK
        ck_u_le_1 ... OK
        ck_u_le_2 ... OK
        ck_u_le_3 ... OK
tshark: ntp.precision cannot accept strings as values.
        ck_s_gt_1 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_gt_2 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_gt_3 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_ge_1 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_ge_2 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_ge_3 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_lt_1 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_lt_2 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_lt_3 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_le_1 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_le_2 ...
Got: []
FAILED
tshark: ntp.precision cannot accept strings as values.
        ck_s_le_3 ...
Got: []
FAILED
        ck_bool_eq_1 ... OK
        ck_bool_eq_2 ... OK
*** snip ***


It looks like the problem is somehow common to 64bit architectures; on ia64 and
s390x I got those messages:


*** snip ***
        ck_u_le_2 ... OK
        ck_u_le_3 ... OK
        ck_s_gt_1 ... 
Got: []
FAILED
        ck_s_gt_2 ... 
Got: []
FAILED
        ck_s_gt_3 ... 
Got: []
FAILED
        ck_s_ge_1 ... 
Got: []
FAILED
        ck_s_ge_2 ... 
Got: []
FAILED
        ck_s_ge_3 ... 
Got: []
FAILED
        ck_s_lt_1 ... 
Got: []
FAILED
        ck_s_lt_2 ... 
Got: []
FAILED
        ck_s_lt_3 ... 
Got: []
FAILED
        ck_s_le_1 ... 
Got: []
FAILED
        ck_s_le_2 ... 
Got: []
FAILED
        ck_s_le_3 ... 
Got: []
FAILED
        ck_bool_eq_1 ... OK
        ck_bool_eq_2 ... OK
*** snip ***


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.