Closed lianyi closed 8 years ago
the issue is the target/seqr..jar was build during the package phase. The robot do not have the fresh build seqr..jar during the "test" phase. One way is to separate the "mvn robotframework:run" out of the "mvn test", after "mvn package". For now, we can also run it manually
mvn robotframework:run
Why did this build pass, in that case? I'm not sure that's the problem.
Perhaps it shouldn't? The following messages seem unexpected.
org.apache.solr.common.SolrException: No such core: sequence
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:72)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:45)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.search(SeqrController.java:120)
at gov.nih.nlm.ncbi.seqr.Seqr.handleCommand(Seqr.java:365)
at gov.nih.nlm.ncbi.seqr.Seqr.main(Seqr.java:82)
org.apache.solr.common.SolrException: No such core: sequence
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:72)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:45)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.search(SeqrController.java:120)
at gov.nih.nlm.ncbi.seqr.Seqr.handleCommand(Seqr.java:365)
at gov.nih.nlm.ncbi.seqr.Seqr.main(Seqr.java:82)
org.apache.solr.common.SolrException: No such core: sequence
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:72)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:45)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.search(SeqrController.java:120)
at gov.nih.nlm.ncbi.seqr.Seqr.handleCommand(Seqr.java:365)
at gov.nih.nlm.ncbi.seqr.Seqr.main(Seqr.java:82)
org.apache.solr.common.SolrException: No such core: sequence
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:72)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:45)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.search(SeqrController.java:120)
at gov.nih.nlm.ncbi.seqr.Seqr.handleCommand(Seqr.java:365)
at gov.nih.nlm.ncbi.seqr.Seqr.main(Seqr.java:82)
org.apache.solr.common.SolrException: No such core: sequence
at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:72)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.makeQuery(SeqrController.java:45)
at gov.nih.nlm.ncbi.seqr.solr.SeqrController.search(SeqrController.java:120)
at gov.nih.nlm.ncbi.seqr.Seqr.handleCommand(Seqr.java:365)
at gov.nih.nlm.ncbi.seqr.Seqr.main(Seqr.java:82)
closing this issue for now. The build on master working as expected.