Project

General

Profile

Bug #3301

Bug #3302: implement a FSM for GMM Attach Request

replace GMM unit tests with ttcn3

Added by lynxis over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
Target version:
-
Start date:
05/29/2018
Due date:
% Done:

30%

Spec Reference:
Tags:

Description

The gmm unit tests are similiar to ttcn3 tests. But the gmm unit tests expects a lot of internal state and require certain packets sent in the exact given order. This is hard to maintain. Additional there is no network traffic between the unit tests which makes it very hard to debug.


Checklist

  • replace test_gmm_attach_acl
  • replace test_gmm_attach_subscr
  • replace test_gmm_attach_subscr_fake_auth
  • replace test_gmm_attach_subscr_real_auth
  • replace test_gmm_attach_subscr_gsup_auth
  • replace test_gmm_attach_subscr_real_gsup_auth
  • replace test_gmm_ptmsi_allocation
  • replace test_gmm_routing_areas
  • ttcn: gmm attach, detach, check subscriber list (over vty or ctrl)
  • ttcn: acl-closed + add-acl imsi + attach + detach
  • ttcn: gmm attach, detach, but loose identify/imei message
  • ttcn: gmm attach, detach, but loose auth message
  • ttcn: gmm attach, detach, but resent gmm request (same content) after identify
  • ttcn: gmm attach, detach, but resent gmm request (different content) after identify
  • ttcn: gmm attach, check identify messages resent
  • ttcn: gmm attach, check auth messages resent
  • ttcn: gmm attach, check complete resent
  • ttcn: gmm attach, rau (RA1 -> RA1)
  • ttcn: gmm attach, rau (RA1 -> RA2)
  • ttcn: gmm attach, rau (unknown -> RA2)

History

#1 Updated by lynxis over 2 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to High

This ticket blocks https://osmocom.org/issues/3302
Because the unit tests aren't working and hard to debug the failure.

#2 Updated by lynxis over 2 years ago

  • Parent task set to #3302

#3 Updated by laforge over 2 years ago

  • Tags set to TTCN3

#4 Updated by lynxis over 2 years ago

  • Checklist item ttcn: gmm attach, detach, check subscriber list (over vty or ctrl) set to Done
  • Checklist item ttcn: acl-closed + add-acl imsi + attach + detach set to Done
  • Checklist item ttcn: gmm attach, detach, but loose identify/imei message set to Done
  • Checklist item ttcn: gmm attach, check identify messages resent set to Done
  • Checklist item ttcn: gmm attach, check complete resent set to Done

#5 Updated by lynxis over 2 years ago

  • % Done changed from 0 to 30

#6 Updated by lynxis over 2 years ago

  • Checklist item ttcn: gmm attach, detach, but loose auth message set to Done
  • Checklist item ttcn: gmm attach, check auth messages resent set to Done

#7 Updated by lynxis over 2 years ago

Recheck if after 5x Auth Messages a reject must be send or not.

#8 Updated by lynxis about 2 years ago

  • Checklist item ttcn: gmm attach, detach, but resent gmm request (same content) after identify set to Done
  • Checklist item ttcn: gmm attach, rau (RA1 -> RA1) set to Done
  • Checklist item ttcn: gmm attach, rau (RA1 -> RA2) set to Done

#9 Updated by lynxis about 2 years ago

  • Checklist item deleted (ttcn: gmm attach, detach, but resent gmm request (same content) after auth)
  • Checklist item deleted (ttcn: gmm attach, detach, but resent gmm request (different content) after auth)

remove the checks: ttcn: gmm attach, but resent gmm request after auth, because there should be not such impact if while auth or while identify.

#10 Updated by laforge about 2 years ago

  • Priority changed from High to Immediate

#11 Updated by lynxis about 2 years ago

  • Checklist item replace test_gmm_attach_acl set to Done
  • Checklist item replace test_gmm_attach_subscr set to Done
  • Checklist item replace test_gmm_attach_subscr_fake_auth set to Done
  • Checklist item replace test_gmm_attach_subscr_real_auth set to Done
  • Checklist item replace test_gmm_attach_subscr_gsup_auth set to Done
  • Checklist item replace test_gmm_attach_subscr_real_gsup_auth set to Done
  • Checklist item replace test_gmm_ptmsi_allocation set to Done
  • Checklist item replace test_gmm_routing_areas set to Done
  • Checklist item ttcn: gmm attach, detach, but resent gmm request (different content) after identify set to Done
  • Checklist item ttcn: gmm attach, rau (unknown -> RA2) set to Done

#12 Updated by lynxis about 2 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)