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

🛠️ [TASK] : Investigate cargo +nightly testdocs failure in CI #113

Open
bkioshn opened this issue Dec 18, 2024 · 1 comment
Open

🛠️ [TASK] : Investigate cargo +nightly testdocs failure in CI #113

bkioshn opened this issue Dec 18, 2024 · 1 comment

Comments

@bkioshn
Copy link
Contributor

bkioshn commented Dec 18, 2024

Summary

Investigate cargo +nightly testdocs failure in CI

Description

Rust CI failed in multiple PR with similar error messages

Documentation tests all pass check : 68.7190 s : ❌
rust-local+build |   $ cargo +nightly testdocs  

rust-local+build |   . Couldn't compile the test.
rust-local+build |   . ---- rbac-registration/src/cardano/cip509/utils/cip134.rs - 
rust-local+build | cardano::cip509::utils::cip134::Cip0134Uri::parse (line 32) stdout ----
rust-local+build |   . error: extern location for rbac_registration does not exist: 
rust-local+build | /root/build/target/release/deps/librbac_registration.rlib
rust-local+build |   .  --> rbac-registration/src/cardano/cip509/utils/cip134.rs:32:1
rust-local+build |   .   |
rust-local+build |   . 3 | extern crate r#rbac_registration;
rust-local+build |   .   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixing approach

  1. Create a fork branch from the branch that fail
build:
   SAVE ARTIFACT target/$TARGETARCH/doc doc

After the modification, the CI pass

  1. Then trying to revert the changes, CI pass
  1. Made changes to original branch to test whether, the changes made in 1 fix the issue CI fail
  1. Merge the changes to the fork branch CI fail
  1. Try removing --no-cache within the fork branch CI pass

Goal

  • Investigate the root cause of the problem (might be caching problem/ syntax problem)
@bkioshn
Copy link
Contributor Author

bkioshn commented Dec 23, 2024

#114 Solved for the test allure report, but cargo +nightly testdocs still occurs

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

1 participant