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 failing: p-system gauge test in parallel with Python 3 #595

Open
ketch opened this issue May 31, 2018 · 3 comments
Open

Test failing: p-system gauge test in parallel with Python 3 #595

ketch opened this issue May 31, 2018 · 3 comments

Comments

@ketch
Copy link
Member

ketch commented May 31, 2018

In the latest build we have a failure of one test, only for the parallel + Python 3.5 build. It is a test of gauge output; it seems that somehow the test is trying to read the file before it is written:

pyclaw.examples.psystem_2d.psystem_2d({'outdir': './_for_temp_pyclaw_test', 'tfinal': 1.0, 'cells_per_layer': 6, 'solver_type': 'classic'}) 
/home/travis/build/clawpack/pyclaw/src/pyclaw/examples/psystem_2d/test_2d_psystem.py:27: 
UserWarning: loadtxt: Empty input file: "./_for_temp_pyclaw_test/_gauges/gauge11.75_11.75.txt"
  test_gauge_data_io = np.loadtxt(gauge.name)
ERROR
@mandli
Copy link
Member

mandli commented May 31, 2018

Is this an issue with a race condition then?

@ketch
Copy link
Member Author

ketch commented May 31, 2018

That's my guess, but why is it suddenly failing now? I restarted the build a few times just in case it was a Travis hiccup, but it fails consistently.

@mandli
Copy link
Member

mandli commented Jun 1, 2018

I saw this the other day too and eventually got it to pass after restarting a few times. I guess we need to check to make sure that everything is done (maybe check for the file?) before moving on to the test.

@ketch ketch mentioned this issue Jan 14, 2021
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