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

Failed Perl binding test #234

Open
sagitter opened this issue Jun 7, 2022 · 2 comments
Open

Failed Perl binding test #234

sagitter opened this issue Jun 7, 2022 · 2 comments

Comments

@sagitter
Copy link

sagitter commented Jun 7, 2022

Hi all.

Test for Perl-5.36 binding is failing:

      Start 31: test_perl_binding
31: Test command: /usr/bin/perl "-I/builddir/build/BUILD/libSBML-5.19.0-Source/build/src/bindings/perl" "-I/builddir/build/BUILD/libSBML-5.19.0-Source/build/src/bindings/perl" "-MExtUtils::Command::MM" "-e" "test_harness(0)" "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/*.t"
31: Environment variables: 
31:  LD_LIBRARY_PATH=/usr/lib/:/builddir/build/BUILD/libSBML-5.19.0-Source/build/src/bindings/perl:/builddir/build/BUILD/libSBML-5.19.0-Source/build/src/bindings/perl/../..:
31: Test timeout computed to be: 3000
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/01__LoadModule.t ................ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/02__CreateDocument.t ............ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/02__ReadFromFile.t .............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/02__ReadFromFileL3.t ............ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/02__WriteToFile.t ............... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/02__WriteToFileL3.t ............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/03__ChangeValues.t .............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/03__DowncastRule.t .............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/03__DowncastSBase.t ............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/03__DowncastSBaseL3.t ........... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/04__ListOf.t .................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/04__ListOfL3.t .................. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__AlgebraicRule.t ............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__AssignmentRule.t ............ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__AssignmentRuleL3.t .......... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__Compartment.t ............... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__CompartmentL3.t ............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__CompartmentVolumeRule.t ..... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__Event.t ..................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__EventAssignment.t ........... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__EventL3.t ................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__Formula.t ................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__FunctionDefinition.t ........ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__KineticLaw.t ................ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__KineticLawL3.t .............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__Model.t ..................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__ModelL3.t ................... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__ModifierSpeciesReference.t .. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__Parameter.t ................. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__ParameterL3.t ............... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__ParameterRule.t ............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__RateRule.t .................. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__SBMLDocument.t .............. ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/05__SBMLDocumentVerbose.t ....... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestReadSBML.t .............. 
31: Failed 252/425 subtests 
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestReadSBMLL3.t ............ ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestWriteSBML.t ............. 
31: All 72 subtests passed 
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestWriteSBMLL3.t ........... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/07__TestCVTerms.t ............... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/07__TestModelHistory.t .......... ok
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/07__TestRDFAnnotation2.t ........ ok
31: 
31: Test Summary Report
31: -------------------
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestReadSBML.t            (Wstat: 139 (Signal: SEGV, dumped core) Tests: 173 Failed: 0)
31:   Non-zero wait status: 139
31:   Parse errors: Bad plan.  You planned 425 tests but ran 173.
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestWriteSBML.t           (Wstat: 139 (Signal: SEGV, dumped core) Tests: 72 Failed: 0)
31:   Non-zero wait status: 139
31: Files=41, Tests=3112,  6 wallclock secs ( 0.17 usr  0.04 sys +  4.78 cusr  0.58 csys =  5.57 CPU)
31: Result: FAIL
31: Failed 2/41 test programs. 0/3112 subtests failed.
31/71 Test #31: test_perl_binding .............................***Failed    6.04 sec

Full build log: https://kojipkgs.fedoraproject.org//work/tasks/6859/87826859/build.log

@fbergmann
Copy link
Member

thanks for letting us know, i do suspect a swig issue here. We've encountered SWIG being needed in different versions for different target languages. We build python with SWIG 4.0.x, but Java with 3.0.12. Could it be that PERL requires a different version too?

@sagitter
Copy link
Author

sagitter commented Jun 8, 2022

We are using swig-4.0.2 and java-17

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

No branches or pull requests

2 participants