Hi, Chris

I checked the UT and it looks like it hasn't been changed in two or three 
years. We have been running into unexpected errors in the Jenkins environment, 
such as data cleaning problems, which could lead to similar errors.

Naturally, the license header check is also included in Github CI continuous 
integration, but it seems that github's environment is clean enough that there 
is no problem.

Maybe we need to investigate the Jenkins environment cleanup problem.

Best
————————
Xinyu Tan



> 2024年3月15日 05:22,Christofer Dutz <christofer.d...@c-ware.de> 写道:
> 
> So,
> 
> for the last few days we had failing builds on Jenkins again, as it was 
> continuously complaining about two CSV files not having the right license 
> headers.
> Funny thing is, these tests only appear if you build with tests as one test 
> created them.
> 
> It’s a super-bad idea to write the output of unit-tests or integration tests 
> into the root of a module, as exactly stuff like this happens.
> 
> Please be sure to write them into some disposable directory underneath 
> “target”.
> 
> I have changed that one test now and hopefully we’ll have fresh SNAPSHOT 
> version when I wake up tomorrow.
> 
> This stupid little thing has caused a cascade of problems for me today which 
> made me waste most of my working day today :-/
> 
> So please: Pay a bit more attention to where you write stuff.
> 
> Chris
> 

Reply via email to