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 for component results breaks with different Perl versions #131

Open
jrha opened this issue Dec 20, 2021 · 1 comment
Open

Test for component results breaks with different Perl versions #131

jrha opened this issue Dec 20, 2021 · 1 comment
Labels

Comments

@jrha
Copy link
Member

jrha commented Dec 20, 2021

The current test passes with Perl v5.26.3 on CentOS8, but not with v5.16.3 on CentOS7 or v5.10.1 on CentOS6.

This can also be seen in the nightlies:
image

I have commented the checks out to release 21.12 in f3a05a8 but this is a poor fix.

For what it is worth, the logic appears to function correctly on EL7, so it looks to be just a problem with the tests.

@jrha jrha added the bug label Dec 20, 2021
@jrha jrha changed the title Test for component results breaks due to ordering differences with Perl versions Test for component results breaks with different Perl versions Dec 21, 2021
@jrha
Copy link
Member Author

jrha commented Dec 21, 2021

Looking at this more closely, only a single test is failing, so it's not an ordering issue.

like($pri[-2]->[0], qr{^  ouch failed on .*? 2001 \(no message\)}, "failed ouch component");

This fails as @pre contains:

[
  [
    '2 components with error'
  ],
  [
    '  woohaa failed on Thu Nov 29 21:33:09 1973 with message woopsie'
  ],
  [
    ${\$VAR1->[1][0]}
  ]
]

When the code is run with the earlier Perl versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant