aRxiv icon indicating copy to clipboard operation
aRxiv copied to clipboard

Continued pain regarding the tests

Open kbroman opened this issue 9 years ago • 6 comments

The arXiv API server was down much of the day. I revised things to try to avoid problems at CRAN in this situation, but I guess this wasn't totally successful, as I got the following report from Prof. Brian Ripley:

This ran its checks once, failed when run with --run-donttest and then again without. With the error:

* checking tests ...
 Running ‘testthat.R’ [2s/26s]
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
 Component "authors": Lengths (3, 1) differ (string compare on first 1)
 Component "affiliations": Lengths (3, 1) differ (string compare on first 1)
 Component "link_abstract": Lengths (3, 1) differ (string compare on first 1)
 Component "link_pdf": Lengths (3, 1) differ (string compare on first 1)
 Component "link_doi": Lengths (3, 1) differ (string compare on first 1)
 Component "comment": Lengths (3, 1) differ (string compare on first 1)
 Component "journal_ref": Lengths (3, 1) differ (string compare on first 1)
 Component "doi": Lengths (3, 1) differ (string compare on first 1)
 Component "primary_category": Lengths (3, 1) differ (string compare on first 1)
 Component "categories": Lengths (3, 1) differ (string compare on first 1)

 Error: Test failures
 Execution halted

So the issue is not just if the server is down, but if it is unreliable.

kbroman avatar Dec 17 '14 06:12 kbroman

(It's working fine for me at the moment.)

kbroman avatar Dec 17 '14 06:12 kbroman

hey @kbroman travis builds seem to be failing https://travis-ci.org/ropensci/aRxiv/builds any thoughts?

sckott avatar Mar 12 '15 13:03 sckott

Thanks @sckott. It seems to be working again. My guess is that arXiv was down/failing when the test was run.

The arXiv problems are particularly painful as

  • they're intermittent so hard to study
  • arXiv still returns valid results (I think); they're just empty (and greatly delayed).

kbroman avatar Mar 12 '15 14:03 kbroman

Seems to be failing again, though different errors https://travis-ci.org/ropensci/aRxiv/builds/102430733#L1054

sckott avatar Jan 23 '16 16:01 sckott

Seems to be passing now, though. ¯\_(ツ)_/¯

kbroman avatar Jan 27 '16 16:01 kbroman

Table flip

sckott avatar Jan 27 '16 16:01 sckott