Project

General

Profile

Actions

Bug #3851

closed

External tests error

Added by msuraev about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/20/2019
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

Recently following error appeared in gerrit:

ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./vty_test_runner.py", line 803, in testBSCreload
    b0 = nat_bsc_sock_test(0, "lol", verbose=True, proc=self.proc)
  File "./vty_test_runner.py", line 1112, in nat_bsc_sock_test
    ipa_handle_small(bsc, verbose)
  File "./vty_test_runner.py", line 1052, in ipa_handle_small
    raise Exception("expected to receive 4 bytes, but got %d (%r)" % (len(s)/2, s))
Exception: expected to receive 4 bytes, but got 0 ('')

======================================================================
ERROR: testUssdSideChannelProvider (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./vty_test_runner.py", line 935, in testUssdSideChannelProvider
    data = ussdSocket.recv(4)
error: [Errno 104] Connection reset by peer

This can be rather reliably reproduced manually by running:
./configure --disable-iu --disable-mgcp-transcoding --enable-vty-tests --enable-external-tests
make check

Initially suspected b3e34435b3bde227805c8dcac39c28e57144e500 in libosmo-netif is unrelated: error reappers even with earlier libosmo-netif version. It could be that this is somehow related to I435aaa33605bd48635715a2c81aa2d231c1abf51 in libosmocore or maybe test expectations are wrong.


Files

disable-other-tests.patch disable-other-tests.patch 1.2 KB osmith, 03/25/2019 01:24 PM
out_nok out_nok 3.87 KB vty_test_runner.py not passing the test (like it fails in jenkins right now) osmith, 03/25/2019 01:28 PM
out_ok out_ok 3.37 KB vty_test_runner.py passing the test (libosmocore patch reverted) osmith, 03/25/2019 01:28 PM
3851-test-nok.pcapng 3851-test-nok.pcapng 56.6 KB osmith, 03/25/2019 01:30 PM
3851-test-ok.pcapng 3851-test-ok.pcapng 64.9 KB osmith, 03/25/2019 01:30 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)