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

0.55 considers SKIP in tap output as failed #7515

Closed
matthiasclasen opened this issue Jul 29, 2020 · 4 comments · Fixed by #7525
Closed

0.55 considers SKIP in tap output as failed #7515

matthiasclasen opened this issue Jul 29, 2020 · 4 comments · Fixed by #7525

Comments

@matthiasclasen
Copy link

matthiasclasen commented Jul 29, 2020

GTK has a some tests that produce output like

1..227
...
ok 57 /FinalizeObject/GtkConstraint
ok 58 /FinalizeObject/GtkConstraintGuide
ok 59 /FinalizeObject/GtkConstraintLayoutChild # SKIP Skipping GtkConstraintLayoutChild
ok 60 /FinalizeObject/GtkConstraintLayout
ok 61 /FinalizeObject/GtkCssProvider
...
ok 227 /FinalizeObject/GtkWindowHandle

that is, 227 ok's and an exit code of 0.

And meson 0.55.0 on my local system says:

3/3 gtk:gtk+object / objects-finalize FAIL           11.85s (exit status 0)

If I shorten the test to leave out all the cases that emit a # SKIP comment, meson 0.55 is happy again.

0.54 in our ci thinks everything is just fine.

I also think that everything with our testsuite is just fine, and meson regressed.

gnomesysadmins pushed a commit to GNOME/gtk that referenced this issue Jul 29, 2020
meson 0.55 considers a test failed if we skip any cases.
Until that is fixed, just skip them quietly.

See mesonbuild/meson#7515
@jpakkane jpakkane added this to the 0.55.1 milestone Jul 30, 2020
gnomesysadmins pushed a commit to GNOME/gjs that referenced this issue Aug 1, 2020
Meson 0.55.0's TAP support is broken. This is a workaround for
mesonbuild/meson#7515

Unreviewed, pushing to fix build.
@smcv
Copy link
Contributor

smcv commented Aug 3, 2020

Bisection says this regressed in 0c3bb15.

smcv added a commit to smcv/meson that referenced this issue Aug 3, 2020
issue7515.txt is the output of one of the real TAP tests in gjs, which
failed as a result of mesonbuild#7515. The version inline in meson.build is
a minimal reproducer.

Signed-off-by: Simon McVittie <smcv@debian.org>
smcv added a commit to smcv/meson that referenced this issue Aug 4, 2020
If some but not all tests in a run were skipped, then the overall result
is given by whether there were any failures among the non-skipped tests.

Resolves: mesonbuild#7515
Signed-off-by: Simon McVittie <smcv@debian.org>
smcv added a commit to smcv/meson that referenced this issue Aug 4, 2020
issue7515.txt is the output of one of the real TAP tests in gjs, which
failed as a result of mesonbuild#7515. The version inline in meson.build is
a minimal reproducer.

Signed-off-by: Simon McVittie <smcv@debian.org>
jpakkane pushed a commit that referenced this issue Aug 5, 2020
* mtest: TestResult.SKIP is not a failure

If some but not all tests in a run were skipped, then the overall result
is given by whether there were any failures among the non-skipped tests.

Resolves: #7515
Signed-off-by: Simon McVittie <smcv@debian.org>

* Add test-cases for partially skipped TAP tests

issue7515.txt is the output of one of the real TAP tests in gjs, which
failed as a result of #7515. The version inline in meson.build is
a minimal reproducer.

Signed-off-by: Simon McVittie <smcv@debian.org>
@ptomato
Copy link
Contributor

ptomato commented Aug 31, 2020

Despite the fix being included in 0.55.1, this still doesn't seem to work. Any skipped tests still cause the test suite to fail. I believe this should be reopened.

algitbot pushed a commit to alpinelinux/aports that referenced this issue Sep 3, 2020
0.55.1 still causes build failures in libpeas and gjs, see
mesonbuild/meson#7515
nirbheek pushed a commit that referenced this issue Sep 9, 2020
If some but not all tests in a run were skipped, then the overall result
is given by whether there were any failures among the non-skipped tests.

Resolves: #7515
Signed-off-by: Simon McVittie <smcv@debian.org>
nirbheek pushed a commit that referenced this issue Sep 9, 2020
issue7515.txt is the output of one of the real TAP tests in gjs, which
failed as a result of #7515. The version inline in meson.build is
a minimal reproducer.

Signed-off-by: Simon McVittie <smcv@debian.org>
@ptomato
Copy link
Contributor

ptomato commented Sep 20, 2020

Despite the above, it seems to have been fixed eventually in 0.55.3, so 🤷

@nirbheek
Copy link
Member

Despite the above, it seems to have been fixed eventually in 0.55.3, so 🤷

Yes, the discussion happened on #7618.

gnomesysadmins pushed a commit to GNOME/pango that referenced this issue Sep 25, 2020
When versions of Meson with bug
mesonbuild/meson#7515 are no longer widespread,
the Pango test suite should diagnose which tests are skipped again.
Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK.

This reverts commit 440f9c2.

Signed-off-by: Simon McVittie <smcv@debian.org>
gnomesysadmins pushed a commit to GNOME/pango that referenced this issue Jan 4, 2021
When versions of Meson with bug
mesonbuild/meson#7515 are no longer widespread,
the Pango test suite should diagnose which tests are skipped again.
Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK.

This reverts commit 440f9c2.

Signed-off-by: Simon McVittie <smcv@debian.org>
gnomesysadmins pushed a commit to GNOME/pango that referenced this issue Jan 4, 2021
When versions of Meson with bug
mesonbuild/meson#7515 are no longer widespread,
the Pango test suite should diagnose which tests are skipped again.
Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK.

This reverts commit 440f9c2.

Signed-off-by: Simon McVittie <smcv@debian.org>
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

windows-cross
ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

windows-cross
ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

windows-cross
ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

ci-os-only: windows-run-cross windows-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

ci-os-only: windows-run-cross windows-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

ci-os-only: windows-run-cross windows-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Oct 16, 2022
get a newer version of meson than what's in chocolatey??
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

https://cirrus-ci.com/task/4818847206211584

ci-os-only: windows-run-cross windows-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Jun 24, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Jul 5, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Jul 6, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Jul 13, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Jul 19, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Aug 1, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Nov 15, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

ci-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Nov 15, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Nov 15, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Nov 15, 2023
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 2, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 12, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 13, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 22, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 26, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Mar 31, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 3, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 11, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 12, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 22, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Apr 28, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue May 8, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue May 12, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue May 29, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
justinpryzby pushed a commit to justinpryzby/postgres that referenced this issue Nov 11, 2024
get a newer version of meson than what's in chocolatey
https://community.chocolatey.org/packages/meson
mesonbuild/meson#7515

//-os-only: windows-run-cross
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants