Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: tests
-
Labels:None
Description
itWorksBlocksFeatures still fails tests on windows 10 under both CMD and Powershell. Looks as if the server is not shutting down correctly from the previous test.
Tests run: 466, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 191.025 sec <<< FAILURE! - in main.TerrierDefaultTestSuite
itWorksBlocksFeatures(org.terrier.rest.TestClientAndServer) Time elapsed: 0.651 sec <<< ERROR!
java.lang.RuntimeException: Could not access http://127.0.0.1:33123//search/trec?query=%22token1+token2%22&controls=matching%3Aorg.terrier.matching.FatFeaturedScoringMatching%2Corg.terrier.matching.daat.FatFull
at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)
Caused by: java.io.IOException: Could not contact REST server at http://127.0.0.1:33123//search/trec?query=%22token1+token2%22&controls=matching%3Aorg.terrier.matching.FatFeaturedScoringMatching%2Corg.terrier.matching.daat.FatFull : 500
at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)
Results :
Tests in error:
TestClientAndServer.itWorksBlocksFeatures:76 » Runtime Could not access http:/...
Tests run: 517, Failures: 0, Errors: 1, Skipped: 2
Tests run: 466, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 191.025 sec <<< FAILURE! - in main.TerrierDefaultTestSuite
itWorksBlocksFeatures(org.terrier.rest.TestClientAndServer) Time elapsed: 0.651 sec <<< ERROR!
java.lang.RuntimeException: Could not access http://127.0.0.1:33123//search/trec?query=%22token1+token2%22&controls=matching%3Aorg.terrier.matching.FatFeaturedScoringMatching%2Corg.terrier.matching.daat.FatFull
at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)
Caused by: java.io.IOException: Could not contact REST server at http://127.0.0.1:33123//search/trec?query=%22token1+token2%22&controls=matching%3Aorg.terrier.matching.FatFeaturedScoringMatching%2Corg.terrier.matching.daat.FatFull : 500
at org.terrier.rest.TestClientAndServer.itWorksBlocksFeatures(TestClientAndServer.java:76)
Results :
Tests in error:
TestClientAndServer.itWorksBlocksFeatures:76 » Runtime Could not access http:/...
Tests run: 517, Failures: 0, Errors: 1, Skipped: 2
Appears to be a local address lookup issue.
Error appears inconsistent, sometimes disconnecting from the internet fixes the issue. Other times not.