Open schuemie opened 1 year ago
Please fix ASAP:
══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-Auth.R:12'): Database authorization works ──────────────────── `getPriorityVocabularyKey(testBaseUrl)` threw an error with unexpected message. Expected match: "Unauthorized" Actual message: "Failed to connect to atlas-dev.***.org port [818](https://github.com/OHDSI/ROhdsiWebApi/actions/runs/4116102949/jobs/7105703902#step:8:820)1 after 88 ms: Connection refused" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-Auth.R:12:2 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─ROhdsiWebApi::getPriorityVocabularyKey(testBaseUrl) 7. └─ROhdsiWebApi:::.checkBaseUrl(baseUrl) 8. └─ROhdsiWebApi::getWebApiVersion(baseUrl = baseUrl) 9. └─httr::GET(url) 10. └─httr:::request_perform(req, hu$handle$handle) 11. ├─httr:::request_fetch(req$output, req$url, handle) 12. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 13. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-Auth.R:13'): Database authorization works ────────────────────── Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to atlas-dev.***.org port 8181 after 72 ms: Connection refused Backtrace: ▆ 1. └─ROhdsiWebApi::authorizeWebApi(...) at test-Auth.R:13:2 2. └─ROhdsiWebApi:::.checkBaseUrl(baseUrl) 3. └─ROhdsiWebApi::getWebApiVersion(baseUrl = baseUrl) 4. └─httr::GET(url) 5. └─httr:::request_perform(req, hu$handle$handle) 6. ├─httr:::request_fetch(req$output, req$url, handle) 7. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 8. └─curl::curl_fetch_memory(url, handle = handle) ── Failure ('test-Auth.R:19'): Active Directory Authorization ────────────────── `authorizeWebApi(testBaseUrl, "ad", testOhdsiUser, testOhdsiPassword)` threw an error with unexpected message. Expected match: "fail" Actual message: "Failed to connect to atlas-dev.***.org port 8181 after 69 ms: Connection refused" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-Auth.R:19:2 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─ROhdsiWebApi::authorizeWebApi(...) 7. └─ROhdsiWebApi:::.checkBaseUrl(baseUrl) 8. └─ROhdsiWebApi::getWebApiVersion(baseUrl = baseUrl) 9. └─httr::GET(url) 10. └─httr:::request_perform(req, hu$handle$handle) 11. ├─httr:::request_fetch(req$output, req$url, handle) 12. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 13. └─curl::curl_fetch_memory(url, handle = handle) [ FAIL 3 | WARN 7 | SKIP 0 | PASS 85 ] Error: Error: Test failures Execution halted
Please fix ASAP: