New tests added last version are failing

Bug #2071941 reported by Miriam España Acebal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
r-cran-bayestestr (Ubuntu)
New
Undecided
Unassigned

Bug Description

Autopkgtests are failing [1]. Important part of the log is:

 ══ Failed tests ═══════════════════════════════════════════════════════════════
213s ── Error ('test-rope_range.R:34:3'): rope_range ────────────────────────────────
213s Error in `.fun(model_code = .x1)`: Boost not found; call install.packages('BH')
213s Backtrace:
213s ▆
213s 1. ├─base::suppressWarnings(...) at test-rope_range.R:34:3
213s 2. │ └─base::withCallingHandlers(...)
213s 3. └─brms::brm(mpg ~ wt + gear, data = mtcars, iter = 300)
213s 4. └─brms::do_call(compile_model, compile_args)
213s 5. └─brms:::eval2(call, envir = args, enclos = envir)
213s 6. └─base::eval(expr, envir, ...)
213s 7. └─base::eval(expr, envir, ...)
213s 8. └─brms (local) .fun(...)
213s 9. └─brms (local) .compile_model(model, ...)
213s 10. ├─brms:::eval_silent(...)
213s 11. │ └─base::eval(expr, envir)
213s 12. │ └─base::eval(expr, envir)
213s 13. └─brms::do_call(rstan::stan_model, args)
213s 14. └─brms:::eval2(call, envir = args, enclos = envir)
213s 15. └─base::eval(expr, envir, ...)
213s 16. └─base::eval(expr, envir, ...)
213s 17. └─rstan (local) .fun(model_code = .x1)
213s ── Error ('test-rope_range.R:45:3'): rope_range (multivariate) ─────────────────
213s Error in `.fun(model_code = .x1)`: Boost not found; call install.packages('BH')
213s Backtrace:
213s ▆
213s 1. ├─base::suppressWarnings(...) at test-rope_range.R:45:3
213s 2. │ └─base::withCallingHandlers(...)
213s 3. └─brms::brm(...)
213s 4. └─brms::do_call(compile_model, compile_args)
213s 5. └─brms:::eval2(call, envir = args, enclos = envir)
213s 6. └─base::eval(expr, envir, ...)
213s 7. └─base::eval(expr, envir, ...)
213s 8. └─brms (local) .fun(...)
213s 9. └─brms (local) .compile_model(model, ...)
213s 10. ├─brms:::eval_silent(...)
213s 11. │ └─base::eval(expr, envir)
213s 12. │ └─base::eval(expr, envir)
213s 13. └─brms::do_call(rstan::stan_model, args)
213s 14. └─brms:::eval2(call, envir = args, enclos = envir)
213s 15. └─base::eval(expr, envir, ...)
213s 16. └─base::eval(expr, envir, ...)
213s 17. └─rstan (local) .fun(model_code = .x1)
213s ── Error ('test-rope.R:75:1'): (code run outside of `test_that()`) ─────────────
213s Error in `.fun(model_code = .x1)`: Boost not found; call install.packages('BH')
213s Backtrace:
213s ▆
213s 1. ├─base::suppressWarnings(...) at test-rope.R:75:1
213s 2. │ └─base::withCallingHandlers(...)
213s 3. └─brms::brm(mpg ~ wt + gear, data = mtcars, iter = 500)
213s 4. └─brms::do_call(compile_model, compile_args)
213s 5. └─brms:::eval2(call, envir = args, enclos = envir)
213s 6. └─base::eval(expr, envir, ...)
213s 7. └─base::eval(expr, envir, ...)
213s 8. └─brms (local) .fun(...)
213s 9. └─brms (local) .compile_model(model, ...)
213s 10. ├─brms:::eval_silent(...)
213s 11. │ └─base::eval(expr, envir)
213s 12. │ └─base::eval(expr, envir)
213s 13. └─brms::do_call(rstan::stan_model, args)
213s 14. └─brms:::eval2(call, envir = args, enclos = envir)
213s 15. └─base::eval(expr, envir, ...)
213s 16. └─base::eval(expr, envir, ...)
213s 17. └─rstan (local) .fun(model_code = .x1)
213s

Those failing tests were commented in previous package (e.g. [2]).

The "Boost not found; call install.packages('BH')" suggest that r-cran-bh package is not installed, which is false. Some online researching suggests a restart, so I'm adding that to the test control.

If not successful on that, I suggest to comment the test again to unblock
r-cran-effectsize [3]

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/arm64/r/r-cran-bayestestr/20240701_001624_0d606@/log.gz
[2] https://salsa.debian.org/r-pkg-team/r-cran-bayestestr/-/blob/ad3c30a8154f677cab9f124290c4fb575cc14f05/tests/testthat/test-rope_range.R#L32
[3] https://ubuntu-archive-team.ubuntu.com/proposed-migration/update_excuses.html#r-cran-effectsize

Revision history for this message
Miriam España Acebal (mirespace) wrote :

(ofyi) The following didn't work:

+++ b/debian/tests/control
[...]
-Restrictions: allow-stderr
+Restrictions: allow-stderr, needs-reboot

Changed in r-cran-bayestestr (Ubuntu):
assignee: nobody → Miriam España Acebal (mirespace)
status: New → In Progress
Changed in r-cran-bayestestr (Ubuntu):
status: In Progress → New
assignee: Miriam España Acebal (mirespace) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.