-
Notifications
You must be signed in to change notification settings - Fork 59
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
Some tests fail on FreeBSD #67
Comments
"Failed to translate TECPLOT to STD" happens when the "convertToPrn.py" script fails. This happens if you don't have numpy installed. Do you have numpy installed? The hb-csv test exiting with error 10 means Xyce exited with an error, and the stdout file won't tell you why --- that file contains the output of the shell script that runs Xyce, not the Xyce run itself. Please look at the file "hb-csv.cir.out" in the work/Xyce_Test/Netlists/Output directory and tell us what it says there. |
Please see the caveat in the Running the Regression Suite web page regarding prerequisites for the regression suite to pass everything. It tells you to expect failures in the Output directory if you don't have scipy and numpy. Your hb-csv issue is likely something different, we have not seen that before.
|
With all dependencies installed and latest fixes only one test failed: CommandLine/command_line..........................TIME LIMIT[sh] (Time: 20s = 17.77cs + 0vs) command_line.cir.stdout and command_line.cir.stderr fles are empty. |
That should be nothing to worry about. The test should be a very fast one, and has an extremely short timeout (20s). All it does is run Xyce with various command line options (like -h, -v, etc.) and check that their output matches what is expected. It runs "grep" many times, and any number of unimportant reasons can slow it down. If your system is a little slow, or even just heavily loaded doing other things, it could fail just because of that. It produces a number of output files other than "command_line.cir.stdout/stderr", such as capabilities.{out,err,}, count.{out,err} etc. If all the ".err" files are empty, it just ran out of time trying to check all the files against expectations. If you want to make absolutely sure, you can always just change the contents of the "options" file in the test's directory to something other than |
Maybe it would make sense to increase the timeout for this testcase? |
Well, it might make sense for you to increase the timeout for your use case, but it doesn't make sense for us to do it on our end. This test is run many times a day and hundreds of times a week at Sandia on many different computers (windows, mac, and Linux), and pretty much never gets timed out with the 20 seconds limit. In fact, 20 seconds is already a generous time limit --- on our systems it never takes more than 1 or 2 seconds, and on our systems this test consistently taking 20 seconds (as opposed to taking 20 seconds on a heavily loaded system every once in a while) would be a sign of a problem that we need to fix. And the primary purpose of the regression suite is for us to make sure we don't break Xyce during development. We probably won't be increasing that time limit because this time limit suits our needs, but you can feel free to make the port do a "sed" on Xyce_Regression/Netlists/CommandLine/options to replace "20" with something that will make it pass on every heavily loaded system it encounters. If it does this before the test cycle is run, users running the port build on slow (or heavily loaded) machines won't have to see it. And if it's your concern that FreeBSD's automated packaging processes might flag this as a broken port, then that is what you should do. |
Ok then. Closing. Thanks for your help! |
Some of failed tests:
Test PCE/NI_REGRESSION2/cmosInverter_regr..............FAILED[sh]
$ cat ./work/Xyce_Test/Netlists/PCE/NI_REGRESSION2/cmosInverter_regr.cir.stdout
Tecplot file contained correct number(1) of titles.
Failed to translate TECPLOT to STD
Exit code = 2
PCE/NI_REGRESSION2/cmosInverter_regr..............FAILED[sh]
$ cat ./work/Xyce_Test/Netlists/PCE/NI_REGRESSION2/cmosInverter_regr.cir.stdout
Tecplot file contained correct number(1) of titles.
Failed to translate TECPLOT to STD
Exit code = 2
Output/SENS/sens-step-tecplot.....................FAILED[sh]
$ cat ./work/Xyce_Test/Netlists/Output/SENS/sens-step-tecplot.cir.stdout
Tecplot file contained correct number(1) of titles.
Tecplot file contained correct number(1) of titles.
Tecplot file sens-step-tecplot.cir.dat contained correct number(4) of zones.
Tecplot file sens-step-tecplot.cir.SENS.dat contained correct number(4) of zones.
Tecplot file sens-step-tecplot.cir.dat contained correct number(2) of datasetauxdata's.
Tecplot file sens-step-tecplot.cir.SENS.dat contained correct number(2) of datasetauxdata's.
Tecplot file sens-step-tecplot.cir.dat contained correct number(0) of "End of Xyce(TM) Parameter Sweep" statements.
Tecplot sens-step-tecplot.cir.dat file contained correct number(1) of variables strings.
Tecplot sens-step-tecplot.cir.SENS.dat file contained correct number(1) of variables strings.
Tecplot sens-step-tecplot.cir.SENS.dat file contained correct simulation footer
retcode = 0
Failed to translate TECPLOT to STD
Failed to translate TECPLOT to STD
Exit code = 2
Output/SENS/diode.................................FAILED[sh]
$ cat ./work/Xyce_Test/Netlists/Output/SENS/diode.cir.stdout
Tecplot file contained correct number(1) of titles.
Tecplot file contained correct number(1) of zones.
Tecplot file contained correct number(2) of datasetauxdata's.
Tecplot file contained correct number(1) of variables strings.
Tecplot .SENS.dat file contained correct simulation footer
Failed to translate TECPLOT to STD
Exit code = 2
Output/HB/hb-csv..................................EXITED WITH ERROR[sh]
$ cat ./work/Xyce_Test/Netlists/Output/HB/hb-csv.cir.stdout
Exit code = 10
The text was updated successfully, but these errors were encountered: