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

All problems in computer science can be solved by another level of indirection #3613

Merged
merged 12 commits into from
Oct 9, 2024

Conversation

AlanGriffiths
Copy link
Contributor

@AlanGriffiths AlanGriffiths commented Sep 25, 2024

The miral::ConfigFile "Watcher" can be destroyed before the main loop invokes the handler it supports. So add another level of indirection to check it is still there.

Plus some hygienic improvements to the test fixture.

Fixes: #3612

@AlanGriffiths
Copy link
Contributor Author

AlanGriffiths commented Sep 25, 2024

Doesn't help. :(

https://github.com/canonical/mir/actions/runs/11035413503/job/30651347065?pr=3613

2024-09-25T14:50:27.5193702Z [ RUN ] TestConfigFile.with_no_reloading_a_config_in_xdg_conf_dir0_is_loaded
2024-09-25T14:50:27.5193933Z [2024-09-25 14:49:23.330816] <information> mirserver: Starting
2024-09-25T14:50:27.5194265Z [2024-09-25 14:49:23.330893] < - debug - > mirserver: No session management supported
2024-09-25T14:50:27.5194917Z [2024-09-25 14:49:23.330922] <information> VT switch key handler: No VT switching support available: MinimalConsoleServices does not support VT switching
2024-09-25T14:50:27.5195553Z [2024-09-25 14:49:23.330978] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:27.5196156Z [2024-09-25 14:49:23.331050] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:27.5196790Z [2024-09-25 14:49:23.331070] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:27.5197361Z [2024-09-25 14:49:23.331082] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:27.5197972Z [2024-09-25 14:49:23.331094] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:27.5198671Z [2024-09-25 14:49:23.331107] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:27.5199328Z [2024-09-25 14:49:23.331119] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:27.5199905Z [2024-09-25 14:49:23.638694] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:27.5200483Z [2024-09-25 14:49:23.640084] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:27.5201072Z [2024-09-25 14:49:23.640108] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:27.5201629Z [2024-09-25 14:49:23.640124] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:27.5202084Z [2024-09-25 14:49:23.640590] <information> mirserver: Found display driver: mir:stub-graphics (version 2.18.0)
2024-09-25T14:50:27.5202358Z [2024-09-25 14:49:23.640608] <information> mirserver: Driver supports:
2024-09-25T14:50:27.5202717Z [2024-09-25 14:49:23.640618] <information> mirserver: System (priority 1)
2024-09-25T14:50:27.5203422Z [2024-09-25 14:49:23.640628] < -warning- > mirserver: Manually-specified display platform mir:stub-graphics does not claim to support this system. Trying anyway...
2024-09-25T14:50:27.5203850Z [2024-09-25 14:49:23.640646] <information> mirserver: Found display driver: mir:virtual (version 2.18.0)
2024-09-25T14:50:27.5204264Z [2024-09-25 14:49:23.640657] <information> mirserver: (Unsupported by system environment)
2024-09-25T14:50:27.5204798Z [2024-09-25 14:49:23.640670] <information> mirserver: Selected display driver: mir:stub-graphics (version 2.18.0) for platform
2024-09-25T14:50:27.5205336Z [2024-09-25 14:49:23.640706] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:27.5205933Z [2024-09-25 14:49:23.640764] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:27.5206567Z [2024-09-25 14:49:23.640778] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:27.5207132Z [2024-09-25 14:49:23.640790] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:27.5207738Z [2024-09-25 14:49:23.640802] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:27.5208324Z [2024-09-25 14:49:23.640814] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:27.5209066Z [2024-09-25 14:49:23.640825] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:27.5209767Z [2024-09-25 14:49:23.640895] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:27.5210353Z [2024-09-25 14:49:23.644279] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:27.5210930Z [2024-09-25 14:49:23.644302] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:27.5211492Z [2024-09-25 14:49:23.644318] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:27.5211954Z [2024-09-25 14:49:23.644530] <information> mirserver: Found rendering driver: mir:stub-graphics (version 2.18.0)
2024-09-25T14:50:27.5212232Z [2024-09-25 14:49:23.644546] <information> mirserver: Driver supports:
2024-09-25T14:50:27.5212512Z [2024-09-25 14:49:23.644556] <information> mirserver: System (priority 1)
2024-09-25T14:50:27.5213227Z [2024-09-25 14:49:23.644567] < -warning- > mirserver: Manually-specified rendering platform mir:stub-graphics does not claim to support this system. Trying anyway...
2024-09-25T14:50:27.5213774Z [2024-09-25 14:49:23.644585] <information> mirserver: Selected rendering driver: mir:stub-graphics (version 2.18.0) for platform
2024-09-25T14:50:27.5214104Z [2024-09-25 14:49:23.648483] <information> display: Failed to create hardware cursor
2024-09-25T14:50:27.5214434Z [2024-09-25 14:49:23.648540] <information> mirserver: Using software cursor
2024-09-25T14:50:27.5214873Z [2024-09-25 14:49:23.648965] < - ERROR - > mirserver: Unable to watch directory /usr/local/share//applications
2024-09-25T14:50:27.5215414Z [2024-09-25 14:49:23.649174] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:27.5216007Z [2024-09-25 14:49:24.006460] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:27.5216716Z [2024-09-25 14:49:24.006514] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:27.5217290Z [2024-09-25 14:49:24.006529] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:27.5217900Z [2024-09-25 14:49:24.006542] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:27.5218652Z [2024-09-25 14:49:24.006556] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:27.5219292Z [2024-09-25 14:49:24.006569] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:27.5219882Z [2024-09-25 14:49:24.006582] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:27.5220463Z [2024-09-25 14:49:24.007942] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:27.5221049Z [2024-09-25 14:49:24.007965] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:27.5221610Z [2024-09-25 14:49:24.007981] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:27.5222063Z [2024-09-25 14:49:24.008419] <information> mirserver: Selected input driver: mir:stub-input (version: 2.18.0)
2024-09-25T14:50:27.5222348Z [2024-09-25 14:49:24.008519] <information> mirserver: Mir version 2.18.0
2024-09-25T14:50:27.5222688Z [2024-09-25 14:49:24.008965] <information> mirserver: Initial display configuration:
2024-09-25T14:50:27.5234511Z [2024-09-25 14:49:24.008982] <information> mirserver: CTestConfig.cmake CTestTestfile.cmake Testing mir_acceptance_tests.bin.xml mir_acceptance_tests.bin_1.xml mir_acceptance_tests.bin_10.xml mir_acceptance_tests.bin_2.xml mir_acceptance_tests.bin_3.xml mir_acceptance_tests.bin_4.xml mir_acceptance_tests.bin_5.xml mir_acceptance_tests.bin_6.xml mir_acceptance_tests.bin_7.xml mir_acceptance_tests.bin_8.xml mir_acceptance_tests.bin_9.xml mir_umock_acceptance_tests.bin.xml miral-test-internal.bin.xml miral-test-internal.bin_1.xml miral-test-internal.bin_10.xml miral-test-internal.bin_11.xml miral-test-internal.bin_12.xml miral-test-internal.bin_13.xml miral-test-internal.bin_14.xml miral-test-internal.bin_15.xml miral-test-internal.bin_16.xml miral-test-internal.bin_17.xml miral-test-internal.bin_18.xml miral-test-internal.bin_19.xml miral-test-internal.bin_2.xml miral-test-internal.bin_20.xml miral-test-internal.bin_3.xml miral-test-internal.bin_4.xml miral-test-internal.bin_5.xml miral-test-internal.bin_6.xml miral-test-internal.bin_7.xml miral-test-internal.bin_8.xml miral-test-internal.bin_9.xml miral-test.bin.xml miral-test.bin_1.xml miral-test.bin_2.xml steer.cmake wlcs.xml wlcs_1.xml wlcs_10.xml wlcs_100.xml wlcs_101.xml wlcs_102.xml wlcs_103.xml wlcs_104.xml wlcs_105.xml wlcs_106.xml wlcs_107.xml wlcs_108.xml wlcs_109.xml wlcs_11.xml wlcs_110.xml wlcs_111.xml wlcs_112.xml wlcs_113.xml wlcs_114.xml wlcs_115.xml wlcs_116.xml wlcs_117.xml wlcs_118.xml wlcs_119.xml wlcs_12.xml wlcs_120.xml wlcs_121.xml wlcs_122.xml wlcs_123.xml wlcs_13.xml wlcs_14.xml wlcs_15.xml wlcs_16.xml wlcs_17.xml wlcs_18.xml wlcs_19.xml wlcs_2.xml wlcs_20.xml wlcs_21.xml wlcs_22.xml wlcs_23.xml wlcs_24.xml wlcs_25.xml wlcs_26.xml wlcs_27.xml wlcs_28.xml wlcs_29.xml wlcs_3.xml wlcs_30.xml wlcs_31.xml wlcs_32.xml wlcs_33.xml wlcs_34.xml wlcs_35.xml wlcs_36.xml wlcs_37.xml wlcs_38.xml wlcs_39.xml wlcs_4.xml wlcs_40.xml wlcs_41.xml wlcs_42.xml wlcs_43.xml wlcs_44.xml wlcs_45.xml wlcs_46.xml wlcs_47.xml wlcs_48.xml wlcs_49.xml wlcs_5.xml wlcs_50.xml wlcs_51.xml wlcs_52.xml wlcs_53.xml wlcs_54.xml wlcs_55.xml wlcs_56.xml wlcs_57.xml wlcs_58.xml wlcs_59.xml wlcs_6.xml wlcs_60.xml wlcs_61.xml wlcs_62.xml wlcs_63.xml wlcs_64.xml wlcs_65.xml wlcs_66.xml wlcs_67.xml wlcs_68.xml wlcs_69.xml wlcs_7.xml wlcs_70.xml wlcs_71.xml wlcs_72.xml wlcs_73.xml wlcs_74.xml wlcs_75.xml wlcs_76.xml wlcs_77.xml wlcs_78.xml wlcs_79.xml wlcs_8.xml wlcs_80.xml wlcs_81.xml wlcs_82.xml wlcs_83.xml wlcs_84.xml wlcs_85.xml wlcs_86.xml wlcs_87.xml wlcs_88.xml wlcs_89.xml wlcs_9.xml wlcs_90.xml wlcs_91.xml wlcs_92.xml wlcs_93.xml wlcs_94.xml wlcs_95.xml wlcs_96.xml wlcs_97.xml wlcs_98.xml wlcs_99.xml Output 1: VGA connected, used
2024-09-25T14:50:27.5234997Z [2024-09-25 14:49:24.008996] <information> mirserver: . |_ Physical size 0.0" 0x0mm
2024-09-25T14:50:27.5235267Z [2024-09-25 14:49:24.009006] <information> mirserver: . |_ Power is on
2024-09-25T14:50:27.5235624Z [2024-09-25 14:49:24.009018] <information> mirserver: . |_ Current mode 1600x1600 60.00Hz
2024-09-25T14:50:27.5235980Z [2024-09-25 14:49:24.009031] <information> mirserver: . |_ Preferred mode 1600x1600 60.00Hz
2024-09-25T14:50:27.5236288Z [2024-09-25 14:49:24.009043] <information> mirserver: . |_ Orientation normal
2024-09-25T14:50:27.5236600Z [2024-09-25 14:49:24.009055] <information> mirserver: . |_ Logical size 1600x1600
2024-09-25T14:50:27.5236912Z [2024-09-25 14:49:24.009065] <information> mirserver: . |_ Logical position +0+0
2024-09-25T14:50:27.5237220Z [2024-09-25 14:49:24.009075] <information> mirserver: . |_ Scaling factor: 1.00
2024-09-25T14:50:27.5237584Z [2024-09-25 14:49:24.009111] < - debug - > miral: Configuring pointer: 'basic-window-manager'
2024-09-25T14:50:27.5238099Z [2024-09-25 14:49:24.009129] <information> input-hub: Device configuration: basic-window-manager, capabilities={pointer}
2024-09-25T14:50:27.5238831Z [2024-09-25 14:49:24.009409] < - debug - > ReloadingConfigFile: Loaded /tmp/test_reloading_config_file/xdg_conf_dir_zero/test_reloading_config_file.config
2024-09-25T14:50:27.5239075Z [2024-09-25 14:49:24.009618] <information> mirserver: Stopping
2024-09-25T14:50:27.5239573Z /<<PKGBUILDDIR>>/tools/detect_fd_leaks.bash: line 84: 56226 Segmentation fault      (core dumped)

...and https://github.com/canonical/mir/actions/runs/11035413503/job/30651343458?pr=3613

2024-09-25T14:50:04.1497687Z [ RUN ] TestConfigFile.with_no_reloading_when_config_home_unset_a_file_in_home_config_is_loaded
2024-09-25T14:50:04.1497919Z [2024-09-25 14:48:59.564206] <information> mirserver: Starting
2024-09-25T14:50:04.1498242Z [2024-09-25 14:48:59.564231] < - debug - > mirserver: No session management supported
2024-09-25T14:50:04.1498891Z [2024-09-25 14:48:59.564256] <information> VT switch key handler: No VT switching support available: MinimalConsoleServices does not support VT switching
2024-09-25T14:50:04.1499434Z [2024-09-25 14:48:59.564299] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:04.1500025Z [2024-09-25 14:48:59.564369] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:04.1500782Z [2024-09-25 14:48:59.564386] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:04.1501355Z [2024-09-25 14:48:59.564399] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:04.1501961Z [2024-09-25 14:48:59.564412] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:04.1502548Z [2024-09-25 14:48:59.564424] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:04.1503187Z [2024-09-25 14:48:59.564437] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:04.1503756Z [2024-09-25 14:48:59.564449] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:04.1504338Z [2024-09-25 14:48:59.565599] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:04.1504913Z [2024-09-25 14:48:59.565626] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:04.1505579Z [2024-09-25 14:48:59.565643] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:04.1506091Z [2024-09-25 14:48:59.566055] <information> mirserver: Found display driver: mir:stub-graphics (version 2.18.0)
2024-09-25T14:50:04.1506386Z [2024-09-25 14:48:59.566074] <information> mirserver: Driver supports:
2024-09-25T14:50:04.1506677Z [2024-09-25 14:48:59.566084] <information> mirserver: System (priority 1)
2024-09-25T14:50:04.1507374Z [2024-09-25 14:48:59.566095] < -warning- > mirserver: Manually-specified display platform mir:stub-graphics does not claim to support this system. Trying anyway...
2024-09-25T14:50:04.1507803Z [2024-09-25 14:48:59.566112] <information> mirserver: Found display driver: mir:virtual (version 2.18.0)
2024-09-25T14:50:04.1508216Z [2024-09-25 14:48:59.566122] <information> mirserver: (Unsupported by system environment)
2024-09-25T14:50:04.1508739Z [2024-09-25 14:48:59.566134] <information> mirserver: Selected display driver: mir:stub-graphics (version 2.18.0) for platform
2024-09-25T14:50:04.1509270Z [2024-09-25 14:48:59.566162] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:04.1509872Z [2024-09-25 14:48:59.566216] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:04.1510488Z [2024-09-25 14:48:59.566234] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:04.1511059Z [2024-09-25 14:48:59.566249] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:04.1511657Z [2024-09-25 14:48:59.566293] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:04.1512248Z [2024-09-25 14:48:59.805916] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:04.1512877Z [2024-09-25 14:48:59.805954] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:04.1513447Z [2024-09-25 14:48:59.805971] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:04.1514024Z [2024-09-25 14:48:59.807298] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:04.1514711Z [2024-09-25 14:48:59.807321] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:04.1515274Z [2024-09-25 14:48:59.807336] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:04.1515832Z [2024-09-25 14:48:59.807632] <information> mirserver: Found rendering driver: mir:stub-graphics (version 2.18.0)
2024-09-25T14:50:04.1516105Z [2024-09-25 14:48:59.807650] <information> mirserver: Driver supports:
2024-09-25T14:50:04.1516392Z [2024-09-25 14:48:59.807660] <information> mirserver: System (priority 1)
2024-09-25T14:50:04.1517108Z [2024-09-25 14:48:59.807671] < -warning- > mirserver: Manually-specified rendering platform mir:stub-graphics does not claim to support this system. Trying anyway...
2024-09-25T14:50:04.1517638Z [2024-09-25 14:48:59.807689] <information> mirserver: Selected rendering driver: mir:stub-graphics (version 2.18.0) for platform
2024-09-25T14:50:04.1517979Z [2024-09-25 14:48:59.811693] <information> display: Failed to create hardware cursor
2024-09-25T14:50:04.1518266Z [2024-09-25 14:48:59.811711] <information> mirserver: Using software cursor
2024-09-25T14:50:04.1518699Z [2024-09-25 14:48:59.812371] < - ERROR - > mirserver: Unable to watch directory /usr/local/share//applications
2024-09-25T14:50:04.1519241Z [2024-09-25 14:48:59.812648] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
2024-09-25T14:50:04.1519897Z [2024-09-25 14:48:59.812712] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
2024-09-25T14:50:04.1520536Z [2024-09-25 14:48:59.812732] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
2024-09-25T14:50:04.1521103Z [2024-09-25 14:48:59.812747] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
2024-09-25T14:50:04.1521710Z [2024-09-25 14:48:59.812761] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
2024-09-25T14:50:04.1522360Z [2024-09-25 14:48:59.812775] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
2024-09-25T14:50:04.1522995Z [2024-09-25 14:48:59.812788] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
2024-09-25T14:50:04.1523568Z [2024-09-25 14:48:59.812802] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
2024-09-25T14:50:04.1524142Z [2024-09-25 14:48:59.813905] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
2024-09-25T14:50:04.1524716Z [2024-09-25 14:48:59.813929] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
2024-09-25T14:50:04.1525278Z [2024-09-25 14:48:59.813945] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
2024-09-25T14:50:04.1525842Z [2024-09-25 14:48:59.814348] <information> mirserver: Selected input driver: mir:stub-input (version: 2.18.0)
2024-09-25T14:50:04.1526124Z [2024-09-25 14:48:59.814409] <information> mirserver: Mir version 2.18.0
2024-09-25T14:50:04.1526459Z [2024-09-25 14:48:59.815325] <information> mirserver: Initial display configuration:
2024-09-25T14:50:04.1538481Z [2024-09-25 14:48:59.815343] <information> mirserver: CTestConfig.cmake CTestTestfile.cmake Testing mir_acceptance_tests.bin.xml mir_acceptance_tests.bin_1.xml mir_acceptance_tests.bin_10.xml mir_acceptance_tests.bin_2.xml mir_acceptance_tests.bin_3.xml mir_acceptance_tests.bin_4.xml mir_acceptance_tests.bin_5.xml mir_acceptance_tests.bin_6.xml mir_acceptance_tests.bin_7.xml mir_acceptance_tests.bin_8.xml mir_acceptance_tests.bin_9.xml mir_umock_acceptance_tests.bin.xml miral-test-internal.bin.xml miral-test-internal.bin_1.xml miral-test-internal.bin_10.xml miral-test-internal.bin_11.xml miral-test-internal.bin_12.xml miral-test-internal.bin_13.xml miral-test-internal.bin_14.xml miral-test-internal.bin_15.xml miral-test-internal.bin_16.xml miral-test-internal.bin_17.xml miral-test-internal.bin_18.xml miral-test-internal.bin_19.xml miral-test-internal.bin_2.xml miral-test-internal.bin_3.xml miral-test-internal.bin_4.xml miral-test-internal.bin_5.xml miral-test-internal.bin_6.xml miral-test-internal.bin_7.xml miral-test-internal.bin_8.xml miral-test-internal.bin_9.xml miral-test.bin.xml miral-test.bin_1.xml miral-test.bin_2.xml steer.cmake wlcs.xml wlcs_1.xml wlcs_10.xml wlcs_100.xml wlcs_101.xml wlcs_102.xml wlcs_103.xml wlcs_104.xml wlcs_105.xml wlcs_106.xml wlcs_107.xml wlcs_108.xml wlcs_109.xml wlcs_11.xml wlcs_110.xml wlcs_111.xml wlcs_112.xml wlcs_113.xml wlcs_114.xml wlcs_115.xml wlcs_116.xml wlcs_117.xml wlcs_118.xml wlcs_119.xml wlcs_12.xml wlcs_120.xml wlcs_121.xml wlcs_122.xml wlcs_123.xml wlcs_124.xml wlcs_125.xml wlcs_126.xml wlcs_127.xml wlcs_128.xml wlcs_129.xml wlcs_13.xml wlcs_130.xml wlcs_14.xml wlcs_15.xml wlcs_16.xml wlcs_17.xml wlcs_18.xml wlcs_19.xml wlcs_2.xml wlcs_20.xml wlcs_21.xml wlcs_22.xml wlcs_23.xml wlcs_24.xml wlcs_25.xml wlcs_26.xml wlcs_27.xml wlcs_28.xml wlcs_29.xml wlcs_3.xml wlcs_30.xml wlcs_31.xml wlcs_32.xml wlcs_33.xml wlcs_34.xml wlcs_35.xml wlcs_36.xml wlcs_37.xml wlcs_38.xml wlcs_39.xml wlcs_4.xml wlcs_40.xml wlcs_41.xml wlcs_42.xml wlcs_43.xml wlcs_44.xml wlcs_45.xml wlcs_46.xml wlcs_47.xml wlcs_48.xml wlcs_49.xml wlcs_5.xml wlcs_50.xml wlcs_51.xml wlcs_52.xml wlcs_53.xml wlcs_54.xml wlcs_55.xml wlcs_56.xml wlcs_57.xml wlcs_58.xml wlcs_59.xml wlcs_6.xml wlcs_60.xml wlcs_61.xml wlcs_62.xml wlcs_63.xml wlcs_64.xml wlcs_65.xml wlcs_66.xml wlcs_67.xml wlcs_68.xml wlcs_69.xml wlcs_7.xml wlcs_70.xml wlcs_71.xml wlcs_72.xml wlcs_73.xml wlcs_74.xml wlcs_75.xml wlcs_76.xml wlcs_77.xml wlcs_78.xml wlcs_79.xml wlcs_8.xml wlcs_80.xml wlcs_81.xml wlcs_82.xml wlcs_83.xml wlcs_84.xml wlcs_85.xml wlcs_86.xml wlcs_87.xml wlcs_88.xml wlcs_89.xml wlcs_9.xml wlcs_90.xml wlcs_91.xml wlcs_92.xml wlcs_93.xml wlcs_94.xml wlcs_95.xml wlcs_96.xml wlcs_97.xml wlcs_98.xml wlcs_99.xml Output 1: VGA connected, used
2024-09-25T14:50:04.1538940Z [2024-09-25 14:48:59.815355] <information> mirserver: . |_ Physical size 0.0" 0x0mm
2024-09-25T14:50:04.1539207Z [2024-09-25 14:48:59.815365] <information> mirserver: . |_ Power is on
2024-09-25T14:50:04.1539559Z [2024-09-25 14:49:00.217516] <information> mirserver: . |_ Current mode 1600x1600 60.00Hz
2024-09-25T14:50:04.1539911Z [2024-09-25 14:49:00.217544] <information> mirserver: . |_ Preferred mode 1600x1600 60.00Hz
2024-09-25T14:50:04.1540209Z [2024-09-25 14:49:00.217572] <information> mirserver: . |_ Orientation normal
2024-09-25T14:50:04.1540514Z [2024-09-25 14:49:00.217583] <information> mirserver: . |_ Logical size 1600x1600
2024-09-25T14:50:04.1540832Z [2024-09-25 14:49:00.217593] <information> mirserver: . |_ Logical position +0+0
2024-09-25T14:50:04.1541135Z [2024-09-25 14:49:00.217629] <information> mirserver: . |_ Scaling factor: 1.00
2024-09-25T14:50:04.1541506Z [2024-09-25 14:49:00.217690] < - debug - > miral: Configuring pointer: 'basic-window-manager'
2024-09-25T14:50:04.1542008Z [2024-09-25 14:49:00.217710] <information> input-hub: Device configuration: basic-window-manager, capabilities={pointer}
2024-09-25T14:50:04.1542612Z [2024-09-25 14:49:00.218733] < - debug - > ReloadingConfigFile: Loaded /tmp/test_reloading_config_file/home/.config/test_reloading_config_file.config
2024-09-25T14:50:04.1542853Z [2024-09-25 14:49:00.218793] <information> mirserver: Stopping
2024-09-25T14:50:04.1543222Z /<<PKGBUILDDIR>>/tools/detect_fd_leaks.bash: line 84: 56240 Segmentation fault      (core dumped)

(Not a big sample, but did this actually make things WORSE?)

@AlanGriffiths AlanGriffiths changed the title Try increasing the timeout before giving up on loading a file In TestConfigFile: Try ensuring PendingLoad outlives TestServer Sep 25, 2024
@AlanGriffiths
Copy link
Contributor Author

A clean run twice! "That alone should encourage the crew..."

@Saviq
Copy link
Collaborator

Saviq commented Sep 26, 2024

'fraid not:

https://github.com/canonical/mir/actions/runs/11037356604/job/30683939003?pr=3613

	141 - miral-test.TestConfigFile.* (Failed)

@Saviq
Copy link
Collaborator

Saviq commented Sep 30, 2024

Still no

[ RUN ] TestConfigFile.with_reload_on_change_a_config_in_xdg_conf_dir2_is_loaded
[2024-09-30 06:17:26.156663] <information> mirserver: Starting
[2024-09-30 06:17:26.156691] < - debug - > mirserver: No session management supported
[2024-09-30 06:17:26.156717] <information> VT switch key handler: No VT switching support available: MinimalConsoleServices does not support VT switching
[2024-09-30 06:17:26.156762] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
[2024-09-30 06:17:26.156850] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
[2024-09-30 06:17:26.156871] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-09-30 06:17:26.156887] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
[2024-09-30 06:17:26.156901] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-09-30 06:17:26.156914] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
[2024-09-30 06:17:26.156927] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-09-30 06:17:26.156940] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
[2024-09-30 06:17:26.157951] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
[2024-09-30 06:17:26.157972] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
[2024-09-30 06:17:26.157987] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
[2024-09-30 06:17:26.158391] <information> mirserver: Found display driver: mir:stub-graphics (version 2.18.0)
[2024-09-30 06:17:26.506262] <information> mirserver: Driver supports:
[2024-09-30 06:17:26.506288] <information> mirserver: System (priority 1)
[2024-09-30 06:17:26.506300] < -warning- > mirserver: Manually-specified display platform mir:stub-graphics does not claim to support this system. Trying anyway...
[2024-09-30 06:17:26.506320] <information> mirserver: Found display driver: mir:virtual (version 2.18.0)
[2024-09-30 06:17:26.506333] <information> mirserver: (Unsupported by system environment)
[2024-09-30 06:17:26.506348] <information> mirserver: Selected display driver: mir:stub-graphics (version 2.18.0) for platform
[2024-09-30 06:17:26.506414] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
[2024-09-30 06:17:26.506476] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
[2024-09-30 06:17:26.506491] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-09-30 06:17:26.506504] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
[2024-09-30 06:17:26.506515] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-09-30 06:17:26.506527] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
[2024-09-30 06:17:26.506539] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-09-30 06:17:26.506551] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
[2024-09-30 06:17:26.507785] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
[2024-09-30 06:17:26.508717] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
[2024-09-30 06:17:26.508736] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
[2024-09-30 06:17:26.509030] <information> mirserver: Found rendering driver: mir:stub-graphics (version 2.18.0)
[2024-09-30 06:17:26.509048] <information> mirserver: Driver supports:
[2024-09-30 06:17:26.509058] <information> mirserver: System (priority 1)
[2024-09-30 06:17:26.509071] < -warning- > mirserver: Manually-specified rendering platform mir:stub-graphics does not claim to support this system. Trying anyway...
[2024-09-30 06:17:26.509091] <information> mirserver: Selected rendering driver: mir:stub-graphics (version 2.18.0) for platform
[2024-09-30 06:17:26.512665] <information> display: Failed to create hardware cursor
[2024-09-30 06:17:26.512684] <information> mirserver: Using software cursor
[2024-09-30 06:17:26.513235] < - ERROR - > mirserver: Unable to watch directory /usr/local/share//applications
unable to lock lockfile /tmp/wayland-0.lock, maybe another compositor is running
[2024-09-30 06:17:26.513462] <information> mircommon: Loading modules from: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/
[2024-09-30 06:17:26.513546] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-virtual.so.22
[2024-09-30 06:17:26.513567] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-09-30 06:17:26.513582] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/server-x11.so.22
[2024-09-30 06:17:26.513594] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-09-30 06:17:26.975071] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-wayland.so.22
[2024-09-30 06:17:26.975103] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-09-30 06:17:26.975118] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-evdev.so.10
[2024-09-30 06:17:26.976357] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-dummy.so
[2024-09-30 06:17:26.976382] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/graphics-throw.so
[2024-09-30 06:17:26.976399] <information> mircommon: Loading module: /<<PKGBUILDDIR>>/build-amd64/bin/../lib/server-modules/input-stub.so
[2024-09-30 06:17:26.977014] <information> mirserver: Selected input driver: mir:stub-input (version: 2.18.0)
[2024-09-30 06:17:26.977103] <information> mirserver: Mir version 2.18.0
[2024-09-30 06:17:26.981696] <information> mirserver: Initial display configuration:
[2024-09-30 06:17:26.981715] <information> mirserver: CTestConfig.cmake CTestTestfile.cmake Testing mir_acceptance_tests.bin.xml mir_acceptance_tests.bin_1.xml mir_acceptance_tests.bin_10.xml mir_acceptance_tests.bin_2.xml mir_acceptance_tests.bin_3.xml mir_acceptance_tests.bin_4.xml mir_acceptance_tests.bin_5.xml mir_acceptance_tests.bin_6.xml mir_acceptance_tests.bin_7.xml mir_acceptance_tests.bin_8.xml mir_acceptance_tests.bin_9.xml mir_umock_acceptance_tests.bin.xml miral-test-internal.bin.xml miral-test-internal.bin_1.xml miral-test-internal.bin_10.xml miral-test-internal.bin_2.xml miral-test-internal.bin_3.xml miral-test-internal.bin_4.xml miral-test-internal.bin_5.xml miral-test-internal.bin_6.xml miral-test-internal.bin_7.xml miral-test-internal.bin_8.xml miral-test-internal.bin_9.xml miral-test.bin.xml miral-test.bin_1.xml miral-test.bin_2.xml steer.cmake wlcs.xml wlcs_1.xml wlcs_10.xml wlcs_100.xml wlcs_101.xml wlcs_102.xml wlcs_103.xml wlcs_104.xml wlcs_105.xml wlcs_106.xml wlcs_107.xml wlcs_108.xml wlcs_109.xml wlcs_11.xml wlcs_110.xml wlcs_111.xml wlcs_112.xml wlcs_113.xml wlcs_114.xml wlcs_115.xml wlcs_116.xml wlcs_117.xml wlcs_118.xml wlcs_119.xml wlcs_12.xml wlcs_120.xml wlcs_121.xml wlcs_122.xml wlcs_123.xml wlcs_13.xml wlcs_14.xml wlcs_15.xml wlcs_16.xml wlcs_17.xml wlcs_18.xml wlcs_19.xml wlcs_2.xml wlcs_20.xml wlcs_21.xml wlcs_22.xml wlcs_23.xml wlcs_24.xml wlcs_25.xml wlcs_26.xml wlcs_27.xml wlcs_28.xml wlcs_29.xml wlcs_3.xml wlcs_30.xml wlcs_31.xml wlcs_32.xml wlcs_33.xml wlcs_34.xml wlcs_35.xml wlcs_36.xml wlcs_37.xml wlcs_38.xml wlcs_39.xml wlcs_4.xml wlcs_40.xml wlcs_41.xml wlcs_42.xml wlcs_43.xml wlcs_44.xml wlcs_45.xml wlcs_46.xml wlcs_47.xml wlcs_48.xml wlcs_49.xml wlcs_5.xml wlcs_50.xml wlcs_51.xml wlcs_52.xml wlcs_53.xml wlcs_54.xml wlcs_55.xml wlcs_56.xml wlcs_57.xml wlcs_58.xml wlcs_59.xml wlcs_6.xml wlcs_60.xml wlcs_61.xml wlcs_62.xml wlcs_63.xml wlcs_64.xml wlcs_65.xml wlcs_66.xml wlcs_67.xml wlcs_68.xml wlcs_69.xml wlcs_7.xml wlcs_70.xml wlcs_71.xml wlcs_72.xml wlcs_73.xml wlcs_74.xml wlcs_75.xml wlcs_76.xml wlcs_77.xml wlcs_78.xml wlcs_79.xml wlcs_8.xml wlcs_80.xml wlcs_81.xml wlcs_82.xml wlcs_83.xml wlcs_84.xml wlcs_85.xml wlcs_86.xml wlcs_87.xml wlcs_88.xml wlcs_89.xml wlcs_9.xml wlcs_90.xml wlcs_91.xml wlcs_92.xml wlcs_93.xml wlcs_94.xml wlcs_95.xml wlcs_96.xml wlcs_97.xml wlcs_98.xml wlcs_99.xml Output 1: VGA connected, used
[2024-09-30 06:17:26.981728] <information> mirserver: . |_ Physical size 0.0" 0x0mm
[2024-09-30 06:17:26.981738] <information> mirserver: . |_ Power is on
[2024-09-30 06:17:26.981748] <information> mirserver: . |_ Current mode 1600x1600 60.00Hz
[2024-09-30 06:17:26.981758] <information> mirserver: . |_ Preferred mode 1600x1600 60.00Hz
[2024-09-30 06:17:26.981768] <information> mirserver: . |_ Orientation normal
[2024-09-30 06:17:26.981778] <information> mirserver: . |_ Logical size 1600x1600
[2024-09-30 06:17:26.981787] <information> mirserver: . |_ Logical position +0+0
[2024-09-30 06:17:26.981797] <information> mirserver: . |_ Scaling factor: 1.00
[2024-09-30 06:17:26.981849] < - debug - > miral: Configuring pointer: 'basic-window-manager'
[2024-09-30 06:17:26.981867] <information> input-hub: Device configuration: basic-window-manager, capabilities={pointer}
[2024-09-30 06:17:26.982202] < - debug - > ReloadingConfigFile: Loaded /tmp/test_reloading_config_file/xdg_conf_dir_two/test_reloading_config_file.config
[2024-09-30 06:17:26.982292] < - debug - > ReloadingConfigFile: Monitoring /tmp/test_reloading_config_file/xdg_conf_dir_home/test_reloading_config_file.config for configuration changes
[2024-09-30 06:17:26.982337] <information> mirserver: Stopping
/<<PKGBUILDDIR>>/tools/detect_fd_leaks.bash: line 84: 60549 Segmentation fault      (core dumped) $@ 2>&1
     60550 Done                    | detect_fd_leaks

But this bit is interesting:

unable to lock lockfile /tmp/wayland-0.lock, maybe another compositor is running

The previous server seems to be hanging about still? So you'd be right that it could be a shutdown (or a parallel test?) issue

@AlanGriffiths
Copy link
Contributor Author

The previous server seems to be hanging about still?

That shouldn't be an issue. That message happens whenever libwayland-server is searching for a socket to offer

@AlanGriffiths
Copy link
Contributor Author

AlanGriffiths commented Oct 1, 2024

059a31b passed 3 runs of the spread
e0fdb27 passed 3 runs of the spread
fd7c472 passed 3 runs of the spread
c9a5ac7 failed once in 3 runs of the spread
4387a68 failed once in 1 run of the spread
5c5048b failed once in 2 runs of the spread (should be the same as fd7c472)

@AlanGriffiths
Copy link
Contributor Author

AlanGriffiths commented Oct 2, 2024

The tests that have failed:

  • with_no_reloading_after_a_config_in_xdg_conf_dir0_is_loaded_a_new_config_in_xdg_conf_home_is_not_loaded
  • with_no_reloading_after_a_config_in_xdg_conf_dir0_is_loaded_a_new_config_in_xdg_conf_home_is_not_loaded
  • with_no_reloading_and_no_file_nothing_is_loaded
  • with_no_reloading_a_config_in_xdg_conf_dir0_is_loaded
  • with_no_reloading_a_file_in_xdg_config_home_is_not_reloaded
  • with_no_reloading_when_config_home_unset_a_file_in_home_config_is_loaded
  • with_reload_on_change_a_file_in_xdg_config_home_is_loaded
  • with_reload_on_change_a_file_in_xdg_config_home_is_loaded
  • with_reload_on_change_a_config_in_xdg_conf_dir0_is_loaded

So both ConfigFile::Modes are represented and both "is_loaded" and "is_not_loaded" results.

@AlanGriffiths
Copy link
Contributor Author

[Sigh!] I was beginning to hope I'd guessed a solution. But...

fe1c4b8 failed once in four spread runs:

  • with_reload_on_change_a_file_in_xdg_config_home_is_reloaded

@AlanGriffiths
Copy link
Contributor Author

Just seen this:

2024-10-02T16:22:17.6011792Z [ RUN ] FullProbeStack.instantiates_all_manually_selected_platforms_and_virtual_if_option_specified
2024-10-02T16:22:17.6012176Z /<<PKGBUILDDIR>>/tools/detect_fd_leaks.bash: line 84: 193891 Segmentation fault      (core dumped)

I wonder if there's a segfault lurking in the testing stack that this test just happens to trigger

@AlanGriffiths AlanGriffiths changed the title In TestConfigFile: Try ensuring PendingLoad outlives TestServer All problems in computer science can be solved by another level of indirection Oct 8, 2024
@AlanGriffiths AlanGriffiths marked this pull request as ready for review October 8, 2024 19:57
@AlanGriffiths AlanGriffiths requested a review from a team as a code owner October 8, 2024 19:57
@AlanGriffiths
Copy link
Contributor Author

5400e0d passed 5 repeats of the spread action without seeing this problem

@Saviq Saviq self-requested a review October 9, 2024 09:41
Copy link
Collaborator

@Saviq Saviq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, yes!

@Saviq Saviq added this pull request to the merge queue Oct 9, 2024
Merged via the queue into main with commit a056191 Oct 9, 2024
73 checks passed
@Saviq Saviq deleted the using-ci-for-experiments branch October 9, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

miral-test.TestConfigFile.* test failing intermittently
2 participants