Project

General

Profile

Actions

Bug #5301

open

Run TTCN3 docker tests with sanitizer enabled

Added by daniel about 1 year ago. Updated 4 months ago.

Status:
Stalled
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/10/2021
Due date:
% Done:

70%

Spec Reference:

Description

After updating libosmocore I noticed that the TTCN3 GbProxy tests start to fail with an ASan issue when run locally.

I think at least for the TTCN3 tests on master we should enable *San to catch hidden bugs early. Unfortunately this has a large impact on how the osmo-*-master docker images are built if we want to enable it for the libraries as well - currently we install the nightly packages and build the target from master.

Instead we could build an image that builds all the libraries from master (with sanitizer enabled) and installs those and then use that as base for osmo-*-master.

Not sure what the downsides are, any ideas?


Checklist

  • initial build of osmocom:nightly:asan
  • test running one testsuite with osmocom:nightly:asan packages locally
  • submit all code changes to gerrit
  • get patches merged
  • roll it out (may need some fixups)

Related issues

Related to libosmocore - Bug #5302: ns2: ASan heap-use-after-free in ns2_nse_notify_unblocked() when running GBProxy_Tests.TC_bvc_reset_blocked_ptp_from_sgsnResolveddaniel11/10/2021

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)