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

travis build fails #175

Closed
sgibb opened this issue Dec 14, 2016 · 11 comments
Closed

travis build fails #175

sgibb opened this issue Dec 14, 2016 · 11 comments

Comments

@sgibb
Copy link
Collaborator

sgibb commented Dec 14, 2016

I fixed some dependencies on travis. Now all build dependencies build successfully. But building MSnbase fails with the following error:

Quitting from lines 188-193 (benchmarking.Rmd) 
Error: processing vignette 'benchmarking.Rmd' failed with diagnostics:
setting worker timeout:
  error reading from connection
Execution halted

https://travis-ci.org/lgatto/MSnbase/builds/183582212#L6627-L6631

Removing benchmarking.Rmd results in

Quitting from lines 903-910 (MSnbase-demo.Rnw) 
Error: processing vignette 'MSnbase-demo.Rnw' failed with diagnostics:
setting worker timeout:
  error reading from connection
Execution halted

Both chunks contain quantify calls but I don't think that is the reason for the error.

Any other ideas?

@lgatto
Copy link
Owner

lgatto commented Dec 14, 2016

Everything builds/checks fine locally. I guess it might be something related to parallel code on the travis server.

@jorainer
Copy link
Collaborator

jorainer commented Dec 14, 2016

Sounds like a BiocParallel error message. I sometimes get these messages on my mac too - eventually you could try:

options(bphost = "localhost")
library(BiocParallel)
register(MulticoreParam())

or alternatively use SnowParam by default - I don't know what the default on linux machines is.

@lgatto
Copy link
Owner

lgatto commented Dec 14, 2016

Or just use SerialParams(), but I would prefer to first see if we can't address it on the travis side.

@sgibb
Copy link
Collaborator Author

sgibb commented Dec 16, 2016

@lgatto Should we ask the r-travis folks about the parallel problem? Is there a environment variable we could use to use SerialParams() on travis and MulticoreParams() everywhere else?

BTW: sry for removing the texlive packages, I thought all of these packages where present in texlive-extra-font etc. (but ubuntu 12.04 is very old ...)

@lgatto
Copy link
Owner

lgatto commented Dec 16, 2016

I haven't had time to follow up, but yes, I think we need to check with r-travis folks. Please, go ahead if you have time.

@lgatto
Copy link
Owner

lgatto commented Dec 18, 2016

See travis-ci/travis-ci#7052

@lgatto
Copy link
Owner

lgatto commented Dec 29, 2016

It's a miracle, it builds!

Important config to avoid timeouts:

  - | 
    R CMD build .
    travis_wait 30 R CMD check MSnbase*tar.gz

and

after_success:
  - travis_wait 20 Rscript -e 'covr::codecov()'

But using serial processing. See this issue.

@sgibb
Copy link
Collaborator Author

sgibb commented Feb 10, 2017

travis claims that MSnbase could be build successfully (we get a green badge) but in fact it fails with exactly the same error, e.g. https://travis-ci.org/lgatto/MSnbase/builds/200311060

$ R CMD build .
travis_wait 30 R CMD check MSnbase*tar.gz
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘MSnbase’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
Quitting from lines 187-192 (benchmarking.Rmd) 
Error: processing vignette 'benchmarking.Rmd' failed with diagnostics:
setting worker timeout:
  error reading from connection

Execution halted

Still running (1 of 30): R CMD check MSnbase*tar.gz

The command R CMD check MSnbase*tar.gz exited with 0.

The script should not exit with exit code 0

@sgibb sgibb reopened this Feb 10, 2017
@lgatto
Copy link
Owner

lgatto commented Feb 10, 2017

I have cleaned the cache and restart a build - let's see how it goes.

@lgatto lgatto closed this as completed Apr 22, 2017
@sgibb
Copy link
Collaborator Author

sgibb commented Apr 22, 2017

@lgatto did you close this issue intentionally? While showing a green badge and returning exit code 0, travis still fails to build MSnbase with exactly the same error as above: https://travis-ci.org/lgatto/MSnbase/builds/224609389

Quitting from lines 187-192 (benchmarking.Rmd) 
Error: processing vignette 'benchmarking.Rmd' failed with diagnostics:
setting worker timeout:
  error reading from connection

@lgatto lgatto reopened this Apr 22, 2017
@lgatto
Copy link
Owner

lgatto commented Aug 11, 2017

This works again now. Just for the record, it only works with dist:precise, otherwise building R runs out of time.

@lgatto lgatto closed this as completed Aug 11, 2017
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

3 participants