KDevelop cpp file causes DoS on CI nodes

Igor Kushnir igorkuo at gmail.com
Sun Jan 22 16:47:34 GMT 2023


>> On 2023-01-22 00:17, Ben Cooksley wrote:
>>> Please do not test any fixes for this issue on the CI system - as it will
>>> cause the Windows (and even potentially FreeBSD) CI worker nodes to be
>>> killed.

Hi Ben,

I'd like to amend the last commit in the branch that contains the problematic 
file https://invent.kde.org/kdevelop/kdevelop/-/blob/work/kdev-clang-cache-types
by adding the following code:
```

Options:
   cppcheck-ignore-files:
     # Windows CI nodes are killed by the OOM killer, because cppcheck
     # uses far $in excess of 8GB of RAM when it tries to process file
   # plugins/clang/tests/files/kdev_ignored/mangle-ms-back-references-pr13207.cpp
     # Disable checking the directory that contains this file until the cppcheck
     # bug is fixed and a fixed cppcheck version is installed on CI servers.
     - plugins/clang/tests/files/kdev_ignored/
```
at the end of .kde-ci.yml. Is this OK to do or would it count as "testing a fix"
and thus unacceptable?

Thanks,
Igor


More information about the KDevelop-devel mailing list