Pipelines fail - Doxygen whitespace in doc/introspected-doxygen.h

35 views
Skip to first unread message

Katerina Koutlia

unread,
Mar 16, 2023, 9:54:18 AM3/16/23
to ns-3-users
Hi all,

I have a MR (!1354), where pipelines fail due to a trailing whitespace in doc/introspected-doxygen.h
In particular I get the following error:

python3 utils/check-style-clang-format.py --no-formatting --no-tabs doc/introspected-doxygen.h Detected trailing whitespace in the files (1): doc/introspected-doxygen.h Uploading artifacts for failed job Cleaning up project directory and file based variables ERROR: Job failed: exit code 1

When I execute:
utils/check-style-clang-format.py .
locally, I also see the error, but if I fix it, then I do not see the file in git status.
Any hint about how to fix it, it would be really appreciated.  

BR,
Kat

Gabriel Ferreira

unread,
Mar 16, 2023, 11:53:46 AM3/16/23
to ns-3-users
Hi Katerina,

The introspected-doxygen.h file is generated by the print-introspected-doxygen program.
It is generated as part of the doxygen target and retrieve docs from typeId, attributes, etc.
If you have formatting issues on it, you need to check what was the issue and fix it in the source/header file.

In the case of this MR, I believe it is the trailing whitespace in `PDCP SDU to RLC) `. 

Katerina Koutlia

unread,
Mar 16, 2023, 12:43:11 PM3/16/23
to ns-3-...@googlegroups.com
Hi Gabriel,

Thank you very much for the details and the help locating the white space!

I was suspecting a white space somewhere, but since executing locally:
utils/check-style-clang-format.py src/lte/

was giving as result:
All files are well formatted
No files detected with trailing whitespace
No files detected with tabs


I had no idea where to look.
I have updated the MR, I hope now that pipelines will pass. 
Thanks again a lot!

BR,
Kat

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/57eeac99-3387-4229-85ec-c72e7ccebd4an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages