View Issue Details

IDProjectCategoryView StatusLast Update
0009355Compliance Test Tool (CTT) Unified Architecture2 - CTT Binarypublic2024-01-25 13:49
ReporterV. Monfort Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformLinux 
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

There are no notes attached to this 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