ropensci / ruODK

ruODK: An R Client for the ODK Central API
https://docs.ropensci.org/ruODK/
GNU General Public License v3.0
42 stars 13 forks source link

Heisenbug: test-odata_submission_get fails on CI, but passes locally #65

Closed florianm closed 4 years ago

florianm commented 4 years ago

Problem

Tests pass locally, but break on CI, both Travis and Appveyor.

Reproducible example

Travis build: https://travis-ci.org/github/dbca-wa/ruODK/jobs/680836562 Appveyor build: https://ci.appveyor.com/project/florianm/ruodk/builds/32518514

Local tests pass. I strongly believe this Heisenbug exists only to rob me of my sanity.

Approach:

Session Info ```{r} # utils::sessionInfo() R version 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 19.10 Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0 locale: [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C LC_TIME=en_AU.UTF-8 LC_COLLATE=en_AU.UTF-8 LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 [7] LC_PAPER=en_AU.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] ruODK_0.6.6.9019 loaded via a namespace (and not attached): [1] Rcpp_1.0.4.7 fansi_0.4.1 packrat_0.5.0 digest_0.6.25 crayon_1.3.4 assertthat_0.2.1 R6_2.4.1 lifecycle_0.2.0 magrittr_1.5 evaluate_0.14 [11] httr_1.4.1 rlang_0.4.5 cli_2.0.2 rstudioapi_0.11 fs_1.4.1 rmarkdown_2.1 tools_3.6.3 glue_1.4.0 yaml_2.2.1 xfun_0.13 [21] compiler_3.6.3 htmltools_0.4.0 knitr_1.28 usethis_1.6.0 ```
florianm commented 4 years ago

Patched by skipping failing tests on Travis/Appveyor