Travis tests are failing
See original GitHub issueTravis tests have started to fail. It looks like this is due to a string-formatting issue:
======================================================================
ERROR: Testing reference/alchemical overlap for no alchemical dispersion LennardJonesFluid with dispersion correction, annihilated sterics
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/build/choderalab/openmmtools/openmmtools/tests/test_alchemy.py", line 1164, in overlap_check
'du mean {:.3f} kT stddev {:.3f} kT').format(DeltaF, dDeltaF, Neff, g, du_n.mean(), du_n.std())
ValueError: Unknown format code 'f' for object of type 'str'
-------------------- >> begin captured logging << --------------------
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Common Build Problems - Travis CI Docs
One possible cause for builds failing unexpectedly can be calling set -e (also known as set errexit ), either directly in your .travis.yml...
Read more >Tests are failing on travis, TypeError but works fine locally
I am running my test on Travis, but I'm currently facing this issue. I have no idea where the problem is coming from....
Read more >Travis build passes, but a test fails · Issue #1006 - GitHub
Found the cause of the bug, the tests exited with exit code 0. ... // process.exit(code || exitCode);. and make a test to...
Read more >Build test failing on Travis - Stack Overflow
We've set up Travis on our GitHub repo to test every pull request made, one test out of 73 is failing with a...
Read more >I don't know how to tackle "The Travis CI build failed"
Basing on the travis ci error log, the is a test failure on apps/concepts/pages/tests/e2e/CreateOrEditConceptPage.test.ts Does the test pass ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jaimergp : Thanks for catching this!
Yikes! There’s no way we should have broken the API in a non-backward-compatible manner in a minor bugfix release! I’ll create an issue on the
pymbar
issue tracker and we can revert that ASAP.Yes, I think that could be indeed the reason.
This is the test code that is failing. As suspected, this will unpack the dictionary keys, instead of the values. That’s why you get
str
objects: