ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Custom debian builds fails on test suite

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Tue, 22 May 2018 07:30:53 +0000

-----Original Message-----
From: Wireshark-dev <wireshark-dev-bounces@xxxxxxxxxxxxx> On Behalf Of Gerald Combs
Sent: den 21 maj 2018 19:06
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Custom debian builds fails on test suite

On 5/21/18 1:27 AM, Anders Broman wrote:
> Hi,
> 
> Trying to do a Debian build it fails with: (Should we even run the 
> test suite here ?)

You should be able to skip tests by setting DEB_BUILD_OPTIONS=nocheck.

> test --> verify-results-type-add_pfield-time-local-1-260-1...passed
> 
> test --> verify-results-value-add_pfield-time-local-1-261-1...passed
> 
> add_pfield-time-local got:
> 
>                              results[2][2]='10'
> 
>                              matches[2][2]='10'
> 
> test --> verify-results-type-add_pfield-time-local-2-262-1...passed
> 
> test --> verify-results-value-add_pfield-time-local-2-263-1...passed

It looks like this is failing in lua/tvb.lua...

>   File "/home/ericsson/ewireshark/trunk/test/subprocesstest.py", line 
> 187, in run
> 
>     sys.stdout.write(line)
> 
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2192' in 
> position 31: ordinal not in range(128)

...unfortunately the test runner is failing instead of printing something useful. A fix is inbound.

I'm not sure why tvb.lua is failing. What does `locale` print on your system? 


locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe