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

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Mon, 21 May 2018 08:27:23 +0000

Hi,

Trying to do a Debian build it fails with: (Should we even run the test suite here ?)

 

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

 

-------- Testing tree:add_packet_field Time string ENC_RFC_822 ---- for packet # 1 --------

 

test --> add_pfield-time-local-264-1...failed!

Got the following error: 'did not get 3 return values from TreeItem.add_packet_field'

Traceback (most recent call last):

  File "/home/ericsson/ewireshark/trunk/test/test.py", line 128, in <module>

    main()

  File "/home/ericsson/ewireshark/trunk/test/test.py", line 117, in main

    test_result = runner.run(run_suite)

  File "/usr/lib/python2.7/unittest/runner.py", line 151, in run

    test(result)

  File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__

    return self.run(*args, **kwds)

  File "/usr/lib/python2.7/unittest/suite.py", line 108, in run

    test(result)

  File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__

    return self.run(*args, **kwds)

  File "/usr/lib/python2.7/unittest/suite.py", line 108, in run

    test(result)

  File "/usr/lib/python2.7/unittest/case.py", line 393, in __call__

    return self.run(*args, **kwds)

  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)

 

12/12 Test  #4: suite_dfilter ....................   Passed   83.62 sec

 

83% tests passed, 2 tests failed out of 12

 

Total Test time (real) =  83.63 sec

 

The following tests FAILED:

                             11 - suite_unittests (Failed)

                             12 - suite_wslua (Failed)

Errors while running CTest

Makefile:96: recipe for target 'test' failed

make[2]: *** [test] Error 8

make[2]: Leaving directory '/home/ericsson/ewireshark/trunk/obj-x86_64-linux-gnu'

dh_auto_test: make -j6 test ARGS+=-j6 returned exit code 2

debian/rules:71: recipe for target 'override_dh_auto_test' failed

make[1]: *** [override_dh_auto_test] Error 2

make[1]: Leaving directory '/home/ericsson/ewireshark/trunk'

debian/rules:27: recipe for target 'build' failed

make: *** [build] Error 2

dpkg-buildpackage: error: debian/rules build gave error exit status 2

 

Regards

Anders