View Issue Details

IDProjectCategoryView StatusLast Update
0009355Compliance Test Tool (CTT) Unified Architecture2 - CTT Binarypublic2024-11-29 21:01
ReporterV. Monfort Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux 
Fixed in Version1.03.09-01.00.508 
Summary0009355: UaCtt-V1.04.11-01.00.506 is not able to be executed in a docker container (ulimit number of files unsupported value)
Description

With the latest version of UACTT for linux (UaCtt-V1.04.11-01.00.506) we had some issues in order to execute it in a docker container environment which was working perfectly with previous version of UACTT for linux (UaCtt-V1.04.11-01.00.502). The binary was stopping with return code 255 without opening the GUI and without any log traces.

After further investigation we finally found the cause of this behavior.
It seems the default user limit for number of files was 1024*1024 by default in docker debian11 container whereas it was 1024 on linux host where UACTT was running as expected.

Value obtained by default in debian 11 container:
$ ulimit -a
[...]
open files (-n) 1048576

By setting manually the value in docker container UACTT is working again as expected:
$ ulimit -n 1024

You also can easily reproduce the issue without container by changing this value to the one unsupported in any linux environment (tested on ubuntu 20.04):
$ ulimit -n 1048576

I hope this could help to prevent this issue in future versions of UaCtt.

Best regards

Steps To Reproduce

$ ulimit -n 1048576

UaCTT stops almost direclty

$ ulimit -n 1024

UaCTT starts normally

Additional Information

Product version UaCtt-V1.04.11-01.00.506

TagsNo tags attached.
Files Affected

Activities

Yannik Klaass

2024-11-22 08:53

developer   ~0022091

Adding code to limit the soft limit of RLIMIT_NOFILE to FD_SETSIZE on linux

Paul Hunkar

2024-11-29 21:01

administrator   ~0022170

reviewed changes, agreed to changes, closed issue

Issue History

Date Modified Username Field Change
2024-01-12 15:58 V. Monfort New Issue
2024-01-12 16:49 Paul Hunkar Assigned To => Alexander Allmendinger
2024-01-12 16:49 Paul Hunkar Status new => assigned
2024-01-25 13:49 Alexander Allmendinger Assigned To Alexander Allmendinger => Yannik Klaass
2024-11-22 08:53 Yannik Klaass Status assigned => resolved
2024-11-22 08:53 Yannik Klaass Resolution open => fixed
2024-11-22 08:53 Yannik Klaass Note Added: 0022091
2024-11-29 21:01 Paul Hunkar Status resolved => closed
2024-11-29 21:01 Paul Hunkar Fixed in Version => 1.03.09-01.00.508
2024-11-29 21:01 Paul Hunkar Note Added: 0022170