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

tests: deduplicate pcaps, cleanup extras - v3 #1381

Closed

Conversation

jufajardini
Copy link
Contributor

Previous PR: #1352

Change from previous PR:

Related to Redmine ticket 5908
Copy link
Member

@inashivb inashivb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for picking this up! :)

@inashivb inashivb added the tests pass These new tests should pass label Sep 11, 2023
@jufajardini
Copy link
Contributor Author

LGTM. Thanks for picking this up! :)

🙇🏽 Team work! ^^

@jasonish jasonish mentioned this pull request Sep 19, 2023
@victorjulien
Copy link
Member

No longer passes on master-6.0.x

Copy link
Member

@victorjulien victorjulien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fails on some of my builders

===> exception-policy-stream-reassembly-memcap-08: FAILED: got exit code 1, expected 0
===> exception-policy-stream-reassembly-memcap-09: FAILED: got exit code 1, expected 0
===> exception-policy-stream-reassembly-memcap-07: FAILED: got exit code 1, expected 0

@jasonish
Copy link
Member

Would it make sense to have some pre-merge process, perhaps even parse of createst that renames any new pcaps to a filename based on its hash and dumps the file in pcaps/. Test could then reference the pcap by hash?

@jasonish
Copy link
Member

Continue at #1401.

@inashivb
Copy link
Member

Would it make sense to have some pre-merge process, perhaps even parse of createst that renames any new pcaps to a filename based on its hash and dumps the file in pcaps/. Test could then reference the pcap by hash?

That's genius! I'm thinking why didn't i think of this before. 😅
A standard pcap location would also make the script I use to find the duplicates and change the pcap fields much much easier.

Could there be any drawbacks?

@inashivb
Copy link
Member

inashivb commented Oct 3, 2023

Merged in #1402. Thanks! :)

@inashivb inashivb closed this Oct 3, 2023
@jufajardini jufajardini deleted the clean-duplicate-pcaps/v3 branch October 3, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests pass These new tests should pass
Development

Successfully merging this pull request may close these issues.

4 participants