add license to python test files
ClosedPublic

Authored by astippich on Apr 14 2019, 9:19 AM.

Details

Summary

silence EBN

Diff Detail

Repository
R286 KFileMetaData
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
astippich created this revision.Apr 14 2019, 9:19 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptApr 14 2019, 9:19 AM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
astippich requested review of this revision.Apr 14 2019, 9:19 AM

@bcooksley - these tests currently fail to run under Windows: https://build.kde.org/job/Frameworks/job/kfilemetadata/job/kf5-qt5 WindowsMSVCQt5.11/149/testReport

"C:/CI/workspace/Frameworks/kfilemetadata/kf5-qt5 WindowsMSVCQt5.11/build/autotests/../autotests/samplefiles/testexternalextractor/main.py" failed to start: "Process failed to start: Unknown error 0x000000c1."

Apparently the python installation is "incomplete". I see two possible options, either install the missing python parts, or just disable the test on Windows. As the test is not really crucial, I would be fine with the second option.

bruns accepted this revision.Apr 14 2019, 1:57 PM
This revision is now accepted and ready to land.Apr 14 2019, 1:57 PM

The Python installation on the CI nodes is most definitely complete (the CI Tooling itself used to perform the builds is written entirely in Python)

I'd therefore suggest that something isn't entirely right with how Python is being executed by the tests here... can we get the full command it's running?

This revision was automatically updated to reflect the committed changes.

The Python installation on the CI nodes is most definitely complete (the CI Tooling itself used to perform the builds is written entirely in Python)

I'd therefore suggest that something isn't entirely right with how Python is being executed by the tests here... can we get the full command it's running?

Honestly, I don't care why it fails, or if it works at all. I also have neither time nor means to debug this.

Windows - I will give this a timeframe of one month to get this fixed. If nothing has been submitted till then, I will disable the test for windows.

can we get the full command it's running?

ctest -V -R externalextractortest

can we get the full command it's running?

ctest -V -R externalextractortest

That might be how the test is started, but how does it invoke Python?

bruns added a comment.Apr 17 2019, 8:15 PM

can we get the full command it's running?

ctest -V -R externalextractortest

That might be how the test is started, but how does it invoke Python?

Run the command I gave, and it will tell you.

And let me quote myself:

I also have neither time nor means to debug this.