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

feat(minipipeline): add metrics required by LTE compat analysis mode #1415

Merged
merged 93 commits into from
Nov 30, 2023

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Nov 30, 2023

This diff implements the following useful metrics:

  • DNSLookupSuccessWithValidAddress
  • DNSLookupSuccessWithValidAddressClassic
  • DNSLookupExpectedFailure
  • DNSLookupExpectedSuccess
  • HTTPFinalResponseSuccessTCPWithoutControl

It also renames the HTTPDiff metrics for consistency, by adding an HTTPFinalResponse prefix to names.

It also reimplements DNSExperimentFailure in terms of a generic DNS data collection function. And it also moves the definition of this variable to be near the top of the structure.

I have also removed some tests. While in general this goes against my """religion""", I think I had added tests too prematurely and I need to move a bit faster to make this work converge. (Also, there are still several many tests that deal with producing data, which is why we have so much churn at every diff that changes the minipipeline. Also, the tests I am removing were only to cover corner cases, so I think it's overall justifiable to do this.)

Part of ooni/probe#2634

We're introducing failure modes that do not exist hence it seems
this is not the correct way of moving forward.
I'm doing this mainly to explore whether we could have more
robust webconnectivity v0.5 analysis code
Because I am dropping the requests again, we break again the tests
with the redirects. I could possibly fix it by putting requests back
again but I am not super happy about doing this because that would
cause the DSL to do some strange work and I'd honestly rather not do this.
what remains to be done now is to make sure we make green all the
tests that are currently skipped

we also need to account for differences between the two
then next step is to sort out this mess :-)
(I am thankful there's a ~comprehensive test suite.)
this happens because LTE sucessfully handshakes with the wrong address
@bassosimone bassosimone changed the title Morestuff feat(minipipeline): add more metrics required by LTE classical analysis mode Nov 30, 2023
@bassosimone bassosimone changed the title feat(minipipeline): add more metrics required by LTE classical analysis mode feat(minipipeline): add metrics required by LTE compat analysis mode Nov 30, 2023
@bassosimone bassosimone marked this pull request as ready for review November 30, 2023 12:08
@bassosimone bassosimone requested a review from hellais as a code owner November 30, 2023 12:08
@bassosimone bassosimone merged commit 4f4798e into master Nov 30, 2023
8 of 10 checks passed
@bassosimone bassosimone deleted the morestuff branch November 30, 2023 12:10
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
…oni#1415)

This diff implements the following useful metrics:

* DNSLookupSuccessWithValidAddress
* DNSLookupSuccessWithValidAddressClassic
* DNSLookupExpectedFailure
* DNSLookupExpectedSuccess
* HTTPFinalResponseSuccessTCPWithoutControl

It also renames the HTTPDiff metrics for consistency, by adding an
HTTPFinalResponse prefix to names.

It also reimplements DNSExperimentFailure in terms of a generic DNS data
collection function. And it also moves the definition of this variable
to be near the top of the structure.

I have also removed some tests. While in general this goes against my
"""religion""", I think I had added tests too prematurely and I need to
move a bit faster to make this work converge. (Also, there are still
several many tests that deal with producing data, which is why we have
so much churn at every diff that changes the minipipeline. Also, the
tests I am removing were only to cover corner cases, so I think it's
overall justifiable to do this.)

Part of ooni/probe#2634
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

Successfully merging this pull request may close these issues.

1 participant