Project

General

Profile

Actions

Feature #5127

open

tool for "re-formatting" [sysmocom] cards in tester

Added by laforge about 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/23/2021
Due date:
% Done:

30%

Spec Reference:

Description

In our automatic testing of pySim, we (every so often) run into the problem of some prior test case execution (e.g. as part of gerrit build verification) leaving the card in a different state than expected by the next test case execution.

We would need a tool that would "re-format" the card, to ensure it always is in 100% the expected state. At least for sysmoISIM-SJA2, sysmoTSIM-SJA1, sysmoUSIM-SJA2 and other "recent" card models this is very much possible.

The tool should ideally be "generic" so it can be parametrized with
  • the specific card profile and profile version to load
  • the personalization script to use (to set keys/PINs/...)

That way the tool can be used for all current and future card models.

We will be installing it on the build slave in a way that only 'root' has access to the tool and related files, and the jenkins-build user will get sudo privilege only to execute the tool but not to read or modify the card profiles etc.


Related issues

Related to pySim - Bug #4383: Jenkins build verification is non-deterministicStalleddexter01/29/2020

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)