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

Test doc_create_with_policy_grants failing #224

Closed
giarc3 opened this issue Feb 25, 2021 · 1 comment
Closed

Test doc_create_with_policy_grants failing #224

giarc3 opened this issue Feb 25, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@giarc3
Copy link
Member

giarc3 commented Feb 25, 2021

Error:

---- doc_create_with_policy_grants stdout ----
Error: RequestServerErrors { errors: [ServerError { message: "Validating user signature failed with \'Body signature was invalid.\'", code: 4 }], code: PolicyGet, http_status: Some(403) }
thread 'doc_create_with_policy_grants' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /home/craig/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/lib.rs:192:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@giarc3 giarc3 added the bug Something isn't working label Feb 25, 2021
@giarc3 giarc3 added this to the 2021-02-28 milestone Feb 25, 2021
@giarc3 giarc3 self-assigned this Feb 25, 2021
@giarc3
Copy link
Member Author

giarc3 commented Feb 25, 2021

This test worked in CI on the 22nd, and failed everywhere on the 24th.
The request that's failing is for an empty policy, for which ironoxide makes a request to /api/1/policies?. It looks like the ? at the end has started getting stripped before the request reaches the server sometime between the 22nd and 24th. We're looking into reasons that may have happened (Cloudflare?).
For now, we should fix ironoxide's logic so that requests don't end with ? when there are no query parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants