Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test to isolate the unit test causing the segfault in WMS GetPrint #36581

Closed
wants to merge 11 commits into from

Conversation

rldhont
Copy link
Contributor

@rldhont rldhont commented May 20, 2020

Description

Since @pblottiere cannot replicate the segfault locally, I'd like to find which specific test is causing the segmentation fault before investigating more.

It seems to be related to test_wms_getprint_two_maps and test_wms_getprint_style but the backtrace is related to image compare.

It is to do others tests than #36198

  1. Deactivate all _img_diff_error tests: x20 runs in a row without segfault
  2. Split PyQgsServerWMSGetPrint test with label, two_maps, atlas in suite: PyQgsServerWMSGetPrintSuite segfault
  3. Split PyQgsServerWMSGetPrint test with two_maps, atlas in suite: PyQgsServerWMSGetPrintSuite segfault
  4. Fix travis python version, 3.6 like in docker image: segfault
  5. Deactivate _img_diff_error test_wms_getprint_group: 1 segfault + 1 ok
  6. Deactivate test_wms_getprint_group: 1 ok
  7. Isolate test_wms_getprint_group: 8 ok

@rldhont rldhont added Server Related to QGIS server NOT FOR MERGE Don't merge! labels May 20, 2020
@pblottiere
Copy link
Member

It is to do others tests than

Thanks @rldhont 👍

@github-actions github-actions bot added this to the 3.14.0 milestone May 27, 2020
@rldhont
Copy link
Contributor Author

rldhont commented May 28, 2020

@pblottiere @nyalldawson without testing images, I never get segfault

@rldhont rldhont force-pushed the debug_getprint branch 6 times, most recently from 06f6d7e to e6eb238 Compare June 8, 2020 14:03
@rldhont rldhont force-pushed the debug_getprint branch 7 times, most recently from b3fb18d to d8cf76c Compare June 11, 2020 17:13
@nyalldawson nyalldawson modified the milestones: 3.14.0, 3.16.0 Jun 19, 2020
@rldhont
Copy link
Contributor Author

rldhont commented Jun 26, 2020

Done #37403

@rldhont rldhont closed this Jun 26, 2020
@rldhont rldhont deleted the debug_getprint branch May 10, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NOT FOR MERGE Don't merge! Server Related to QGIS server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants