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

Possible race condition when running tests #108

Open
jrha opened this issue Nov 8, 2024 · 3 comments
Open

Possible race condition when running tests #108

jrha opened this issue Nov 8, 2024 · 3 comments

Comments

@jrha
Copy link
Member

jrha commented Nov 8, 2024

This is occasionally seen in both the GitHub runners and my local build environments.

Dubious, test returned 1 (wstat 256, 0x100)

Some snippets from the logs that might be related:

Direct usage of EDG::WP4::CCM::Element is deprecated and contains no functional code besides a limited number of reexported functions and constants from other modules. at /quattor_test/quattordev/install/usr/lib/perl/EDG/WP4/CCM/Element.pm line 35.
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /quattor_test/quattordev/install/usr/lib/perl/LC/File.pm line 149
LC::File::file_contents called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 607
CAF::FileWriter::_read_contents called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 304
CAF::FileWriter::close called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 641
CAF::FileWriter::DESTROY called at src/test/perl/raid-ks.t line 0
(eval) called at src/test/perl/raid-ks.t line 0
*** open(target/test/ksfs): No such file or directory
@jrha
Copy link
Member Author

jrha commented Nov 8, 2024

Seems to affect other tests too:

 Uncaught exception!!! Calling stack is:
  LC::Exception::throw_error called at /usr/lib/perl/LC/File.pm line 149
  LC::File::file_contents called at /usr/lib/perl/CAF/FileWriter.pm line 607
  CAF::FileWriter::_read_contents called at /usr/lib/perl/CAF/FileWriter.pm line 304
  CAF::FileWriter::close called at /usr/lib/perl/CAF/FileWriter.pm line 641
  CAF::FileWriter::DESTROY called at src/test/perl/disk_size.t line 0
  (eval) called at src/test/perl/disk_size.t line 0
*** open(target/test/ksdisksize): No such file or directory
src/test/perl/disk_size.t ....................... 

@jrha
Copy link
Member Author

jrha commented Nov 12, 2024

This may be related to the very old build tools being used until #109 was merged, we will see.

@jrha
Copy link
Member Author

jrha commented Nov 22, 2024

Seen again today with yet another test:

Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /quattor_test/quattordev/install/usr/lib/perl/LC/File.pm line 149
LC::File::file_contents called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 607
CAF::FileWriter::_read_contents called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 304
CAF::FileWriter::close called at /quattor_test/quattordev/install/usr/lib/perl/CAF/FileWriter.pm line 641
CAF::FileWriter::DESTROY called at src/test/perl/partition_gpt_partition_flags.t line 0
(eval) called at src/test/perl/partition_gpt_partition_flags.t line 0
*** open(target/test/ks): No such file or directory
Test Summary Report
-------------------
src/test/perl/partition_gpt_partition_flags.t (Wstat: 256 Tests: 4 Failed: 0)
Non-zero exit status: 1
Files=17, Tests=529, 65 wallclock secs ( 0.17 usr  0.06 sys + 57.17 cusr  5.52 csys = 62.92 CPU)
Result: FAIL

@jrha jrha changed the title Possible race condition when running src/test/perl/raid-ks.t Possible race condition when running tests Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant