testing JOBE installation gives 35 passed, 1 failed

Re: testing JOBE installation gives 35 passed, 1 failed

de către stefan weber-
Număr de răspunsuri: 5

all working now, thanks a lot Richard

Ca răspuns la stefan weber

Re: testing JOBE installation gives 35 passed, 1 failed

de către Cesar Varela-

Hello Stefan.

What did you do to solve the error?

Thanks

Ca răspuns la Cesar Varela

Re: testing JOBE installation gives 35 passed, 1 failed

de către stefan weber-
exactly what richard told me to do in his post above mine :)
Ca răspuns la stefan weber

Re: testing JOBE installation gives 35 passed, 1 failed

de către Martin Zwerschke-
Having updated my older jobe Server to latest jobe version and to Ubuntu 17.10 I get a similar problem like described in this thread running testsubmit.py:
Python3 program with support files
Jobe result: Successful run

Output:
The first file
Line 2
Second file

=====================================

***************** FAILED TEST ******************

{'run_id': '/home/jobe/runs/jobe_N1P8lg', 'outcome': 15, 'cmpinfo': '', 'stdout': '------------------------------------\n', 'stderr': ''}
Valid Python3/pylint program
Jobe result: Successful run

Output:
------------------------------------


************************************************

=====================================
Invalid Python3/pylint program
Jobe result: Successful run


As you can see, there is no Output like the hint to a missing /etc/pylintrc
I have already checked, that this file was successfully generated.
Ca răspuns la Martin Zwerschke

Re: testing JOBE installation gives 35 passed, 1 failed

de către Richard Lobb-

Hi Martin

Thanks for the heads up on this.

It seems that the version of pylint3 you get with Ubuntu 17.10 has a new feature called "score", which prints out the score even for a program that passes all the tests. You need to disable the score in the pylintrc file. You can do this by running the following command as root (sudo bash first), which replaces the version in README.md for newer versions of Ubuntu. 

pylint3 --reports=no --score=n --generate-rcfile > /etc/pylintrc
-- Richard
Ca răspuns la Richard Lobb

Re: testing JOBE installation gives 35 passed, 1 failed

de către Martin Zwerschke-
Hi Richard,

this worked for me, thanks a lot.

And because I integrated a Mono-C#-Test into testsubmit.py I now have 40 of 40 tests passed.