After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786264 - ingredients test failure
ingredients test failure
Status: RESOLVED OBSOLETE
Product: recipes
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Recipes maintainer(s)
Recipes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-08-14 00:32 UTC by Jeremy Bicha
Modified: 2017-12-06 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-08-14 00:32:30 UTC
gnome-recipes 1.6.2
meson 0.41.2
Ubuntu 17.10 Alpha


Build log excerpt
=================

[0/1] Running all tests.
1/5 ingredients                             FAIL     2.27 s
2/5 number                                  OK       0.24 s
3/5 unit                                    OK       0.23 s
4/5 ids                                     OK       0.23 s
5/5 strv                                    OK       0.03 s

OK:         4
FAIL:       1
SKIP:       0
TIMEOUT:    0


The output from the failed tests:

1/5 ingredients                             FAIL     2.27 s

--- command ---
G_TEST_SRCDIR='/<<PKGBUILDDIR>>/tests' G_TEST_BUILDDIR='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests' G_DEBUG='gc-friendly' MALLOC_CHECK_='2' MALLOC_PERTURB_='113' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/ingredients
--- stdout ---
/ingredients/parse/valid-3.in: OK
/ingredients/parse/valid-2.in: 
--- stderr ---
**
org.gnome.Recipes:ERROR:../tests/ingredients-test.c:103:test_parse: assertion failed (string->str == expected): ("AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT (null)\nNAME Egg\n\nAMOUNT 15.000000\nUNIT (null)\nNAME Salt\n\n" == "AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT \nNAME Egg\n\nAMOUNT 15.000000\nUNIT \nNAME Salt\n\n")
Comment 1 Jeremy Bicha 2017-08-14 01:20:24 UTC
This regression appears to have been introduced by
https://git.gnome.org/browse/recipes/commit/?id=6387959b

In other words, if I start with 1.6.0 and revert that commit, the test passes.
Comment 2 Jeremy Bicha 2017-08-14 01:21:23 UTC
Notice the (null) 's printed in the ERROR.
Comment 3 GNOME Infrastructure Team 2017-12-06 17:04:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/recipes/issues/35.