CI failing
Our CI based on flatpak is failing. Now we use an image it can be hard to see how to replicate:
Before use this CI image:
git show f01f5daa:.gitlab-ci.yml
From there steps to reproduce issue are:
flatpak-builder --stop-at=gitg app org.gnome.gitgDevel.json
flatpak build app meson --prefix=/app -Ddeprecations=true --buildtype=debugoptimized -Dprofile=development _build
flatpak build app ninja -C _build install
flatpak-builder --finish-only --repo=repo app org.gnome.gitgDevel.json
xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
Error is:
ok 4 /LibGitgTestStage/revert
ok 5 /LibGitgTestStage/delete
# End of LibGitgTestStage tests
# Start of LibGitgTestDate tests
Bail out! GLib-FATAL-CRITICAL: g_date_time_format: assertion 'datetime != NULL' failed
stderr:
(process:4): Gtk-CRITICAL **: 10:10:32.430: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(/home/alberto/projects/vala/gitg/_build/tests/libgitg/tests-libgitg:4): GLib-CRITICAL **: 10:10:32.476: g_date_time_format: assertion 'datetime != NULL' failed
On a side note, see our CI is not isolated from environment so if you have diff3 style format it will break some merge test. See #338 for more details
Edited by Ghost User