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

Unexpected curl_fetch_memory error on travis-ci #6

Closed
eblondel opened this issue Jul 1, 2018 · 0 comments
Closed

Unexpected curl_fetch_memory error on travis-ci #6

eblondel opened this issue Jul 1, 2018 · 0 comments
Assignees
Labels
build travis-ci build
Milestone

Comments

@eblondel
Copy link
Owner

eblondel commented Jul 1, 2018

On Travis-ci: https://travis-ci.org/eblondel/ows4R/jobs/398918995

[ows4R][INFO] OWSGetCapabilities - Fetching http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetCapabilities 
── 1. Error: (unknown) (@test_CSWClient.R#17)  ─────────────���───────────────────
transfer closed with 14431 bytes remaining to read
1: CSWClient$new("http://localhost:8000/csw", "2.0.2", logger = "INFO") at testthat/test_CSWClient.R:17
2: .subset2(public_bind_env, "initialize")(...)
3: CSWCapabilities$new(self$url, self$version, logger = logger)
4: .subset2(public_bind_env, "initialize")(...)
5: super$initialize(url, service = "CSW", serviceVersion = version, owsVersion = owsVersion, 
       logger = logger)
6: OWSGetCapabilities$new(op = NULL, url, service, serviceVersion, logger = logger)
7: .subset2(public_bind_env, "initialize")(...)
8: self$execute()
9: private$GET(private$url, private$request, private$namedParams, private$mimeType)
10: GET(req, add_headers(Expect = ""))
11: request_perform(req, hu$handle$handle)
12: request_fetch(req$output, req$url, handle)
13: request_fetch.write_memory(req$output, req$url, handle)
14: curl::curl_fetch_memory(url, handle = handle)

Installed packages on Travis-ci / R release:

 Rscript -e 'devtools::session_info(installed.packages()[, "Package"])'
Loading ISO 19139 XML schemas...
Loading ISO 19115 codelists...
─ Session info ───────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.0 (2017-01-27)
 os       Ubuntu 14.04.5 LTS          
 system   x86_64, linux-gnu           
 ui       X11                         
 language (EN)                        
 collate  en_US.UTF-8                 
 tz       UTC                         
 date     2018-07-01                  
─ Packages ───────────────────────────────────────────────────────────────────
 package     * version     date       source                           
 assertthat    0.2.0       2017-04-11 CRAN (R 3.5.0)                   
 backports     1.1.2       2017-12-13 cran (@1.1.2)                    
 base64enc     0.1-3       2015-07-28 cran (@0.1-3)                    
 boot          1.3-20      2017-08-06 CRAN (R 3.5.0)                   
 callr         2.0.4       2018-05-15 cran (@2.0.4)                    
 class         7.3-14      2015-08-30 CRAN (R 3.5.0)                   
 classInt      0.2-3       2018-04-16 CRAN (R 3.5.0)                   
 cli           1.0.0       2017-11-05 CRAN (R 3.5.0)                   
 clipr         0.4.1       2018-06-23 cran (@0.4.1)                    
 clisymbols    1.2.0       2017-05-21 cran (@1.2.0)                    
 cluster       2.0.7-1     2018-04-13 CRAN (R 3.5.0)                   
 codetools     0.2-15      2016-10-05 CRAN (R 3.5.0)                   
 covr          3.1.0       2018-05-18 CRAN (R 3.5.0)                   
 crayon        1.3.4       2017-09-16 CRAN (R 3.5.0)                   
 curl          3.2         2018-03-28 CRAN (R 3.5.0)                   
 DBI           1.0.0       2018-05-02 CRAN (R 3.5.0)                   
 desc          1.2.0       2018-05-01 cran (@1.2.0)                    
 devtools      1.13.5.9000 2018-07-01 Github (hadley/devtools@b01edfb) 
 digest        0.6.15      2018-01-28 CRAN (R 3.5.0)                   
 e1071         1.6-8       2017-02-02 CRAN (R 3.5.0)                   
 enc           0.2.0       2018-03-03 cran (@0.2.0)                    
 evaluate      0.10.1      2017-06-24 cran (@0.10.1)                   
 foreign       0.8-70      2017-11-28 CRAN (R 3.5.0)                   
 geometa       0.3-0       2018-07-01 Github (eblondel/geometa@7073de1)
 gh            1.0.1       2017-07-16 cran (@1.0.1)                    
 git2r         0.22.0.9000 2018-07-01 Github (ropensci/git2r@0862908)  
 glue          1.2.0       2017-10-29 cran (@1.2.0)                    
 highr         0.7         2018-06-09 cran (@0.7)                      
 htmltools     0.3.6       2017-04-28 cran (@0.3.6)                    
 httr          1.3.1       2017-08-20 CRAN (R 3.5.0)                   
 ini           0.3.1       2018-05-20 cran (@0.3.1)                    
 jsonlite      1.5         2017-06-01 CRAN (R 3.5.0)                   
 KernSmooth    2.23-15     2015-06-29 CRAN (R 3.5.0)                   
 knitr         1.20        2018-02-20 cran (@1.20)                     
 lattice       0.20-35     2017-03-25 CRAN (R 3.5.0)                   
 lazyeval      0.2.1       2017-10-29 CRAN (R 3.5.0)                   
 magrittr      1.5         2014-11-22 CRAN (R 3.5.0)                   
 markdown      0.8         2017-04-20 cran (@0.8)                      
 MASS          7.3-50      2018-04-30 CRAN (R 3.5.0)                   
 Matrix        1.2-14      2018-04-13 CRAN (R 3.5.0)                   
 memoise       1.1.0       2017-04-21 CRAN (R 3.5.0)                   
 mgcv          1.8-24      2018-06-18 CRAN (R 3.5.0)                   
 mime          0.5         2016-07-07 CRAN (R 3.5.0)                   
 nlme          3.1-137     2018-04-07 CRAN (R 3.5.0)                   
 nnet          7.3-12      2016-02-02 CRAN (R 3.5.0)                   
 openssl       1.0.1       2018-03-03 CRAN (R 3.5.0)                   
 pillar        1.2.3       2018-05-25 cran (@1.2.3)                    
 pkgbuild      1.0.0       2018-07-01 Github (r-lib/pkgbuild@94d2f0d)  
 pkgload       1.0.0       2018-07-01 Github (r-lib/pkgload@c699550)   
 praise        1.0.0       2015-08-11 CRAN (R 3.5.0)                   
 prettyunits   1.0.2       2015-07-13 cran (@1.0.2)                    
 processx      3.1.0       2018-05-15 cran (@3.1.0)                    
 purrr         0.2.5       2018-05-29 cran (@0.2.5)                    
 R6            2.2.2       2017-06-17 CRAN (R 3.5.0)                   
 rcmdcheck     1.2.1.9005  2018-07-01 Github (r-lib/rcmdcheck@ad42561) 
 Rcpp          0.12.17     2018-05-18 CRAN (R 3.5.0)                   
 rematch2      2.0.1       2017-06-20 cran (@2.0.1)                    
 rex           1.1.2       2017-10-19 CRAN (R 3.5.0)                   
 rgdal         1.3-3       2018-06-22 CRAN (R 3.5.0)                   
 rlang         0.2.1       2018-05-30 CRAN (R 3.5.0)                   
 rmarkdown     1.10        2018-06-11 cran (@1.10)                     
 rpart         4.1-13      2018-02-23 CRAN (R 3.5.0)                   
 rprojroot     1.3-2       2018-01-03 cran (@1.3-2)                    
 rstudioapi    0.7         2017-09-07 CRAN (R 3.5.0)                   
 sessioninfo   1.0.0       2017-06-21 cran (@1.0.0)                    
 sf            0.6-3       2018-05-17 CRAN (R 3.5.0)                   
 sp            1.3-1       2018-06-05 CRAN (R 3.5.0)                   
 spatial       7.3-11      2015-08-30 CRAN (R 3.5.0)                   
 spData        0.2.9.0     2018-06-17 CRAN (R 3.5.0)                   
 stringi       1.2.3       2018-06-12 cran (@1.2.3)                    
 stringr       1.3.1       2018-05-10 cran (@1.3.1)                    
 styler        1.0.2       2018-06-26 cran (@1.0.2)                    
 survival      2.42-4      2018-06-30 CRAN (R 3.5.0)                   
 testthat      2.0.0       2017-12-13 CRAN (R 3.5.0)                   
 tibble        1.4.2       2018-01-22 cran (@1.4.2)                    
 tinytex       0.5         2018-04-16 cran (@0.5)                      
 units         0.6-0       2018-06-09 CRAN (R 3.5.0)                   
 usethis       1.3.0       2018-02-24 cran (@1.3.0)                    
 utf8          1.1.4       2018-05-24 cran (@1.1.4)                    
 whisker       0.3-2       2013-04-28 CRAN (R 3.5.0)                   
 withr         2.1.2       2018-03-15 CRAN (R 3.5.0)                   
 XML           3.98-1.11   2018-06-11 CRAN (R 3.5.0)                   
 yaml          2.1.19      2018-05-01 cran (@2.1.19)                  

On local machine, no problem:

[ows4R][INFO] OWSGetCapabilities - Fetching http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetCapabilities 
-> GET /csw?service=CSW&version=2.0.2&request=GetCapabilities HTTP/1.1
-> Host: localhost:8000
-> User-Agent: libcurl/7.56.1 r-curl/3.1 httr/1.3.1
-> Accept-Encoding: gzip, deflate
-> Accept: application/json, text/xml, application/xml, */*
-> 
<- HTTP/1.1 200 OK
<- Server: gunicorn/19.7.1
<- Date: Sun, 01 Jul 2018 22:47:17 GMT
<- Connection: close
<- Content-Length: 17709
<- Content-Type: application/xml; charset=UTF-8
<- 
@eblondel eblondel added the build travis-ci build label Jul 1, 2018
@eblondel eblondel added this to the 0.1 milestone Jul 1, 2018
@eblondel eblondel self-assigned this Jul 1, 2018
eblondel added a commit that referenced this issue Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build travis-ci build
Projects
None yet
Development

No branches or pull requests

1 participant