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

[run-webkit-tests] Strip allows*HTTPS* logging messages #7917

Conversation

JonWBedard
Copy link
Member

@JonWBedard JonWBedard commented Dec 20, 2022

08b7126

[run-webkit-tests] Strip allows*HTTPS* logging messages
https://bugs.webkit.org/show_bug.cgi?id=249658
rdar://56920527

Reviewed by Alexey Proskuryakov.

* Tools/Scripts/webkitpy/port/darwin.py:
(DarwinPort.stderr_patterns_to_strip): Strip allows*HTTPS* logging messages.
* Tools/Scripts/webkitpy/port/darwin_testcase.py:
* Tools/Scripts/webkitpy/port/ios_simulator.py:
(IOSSimulatorPort.logging_patterns_to_strip): Deleted.
(IOSSimulatorPort.stderr_patterns_to_strip): Deleted.
* Tools/Scripts/webkitpy/port/mac.py:
(MacPort.stderr_patterns_to_strip): Invoke base class's stderr_patterns_to_strip.
* Tools/Scripts/webkitpy/port/watch_simulator.py:
(WatchSimulatorPort.logging_patterns_to_strip): Deleted.
(WatchSimulatorPort.stderr_patterns_to_strip): Deleted.

Canonical link: https://commits.webkit.org/258197@main

1a41b6e

Misc iOS, tvOS & watchOS macOS Linux Windows
  πŸ§ͺ style   πŸ›  ios   πŸ›  mac   πŸ›  wpe   πŸ›  πŸ§ͺ win
  πŸ§ͺ bindings   πŸ›  ios-sim   πŸ›  mac-AS-debug   πŸ›  gtk   πŸ›  wincairo
  πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2   πŸ§ͺ api-mac   πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ webkitpy   πŸ§ͺ api-ios   πŸ§ͺ mac-wk1   πŸ§ͺ api-gtk
  πŸ›  tv   πŸ§ͺ mac-wk2
  πŸ›  tv-sim   πŸ§ͺ mac-AS-debug-wk2
  πŸ›  watch   πŸ§ͺ mac-wk2-stress
  πŸ›  watch-sim
βœ… πŸ›  πŸ§ͺ unsafe-merge

@JonWBedard JonWBedard self-assigned this Dec 20, 2022
@JonWBedard JonWBedard added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Dec 20, 2022
@JonWBedard JonWBedard force-pushed the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch from a6c7e66 to ae959cb Compare December 20, 2022 18:09
Comment on lines 99 to 103
def logging_patterns_to_strip(self):
return []

def stderr_patterns_to_strip(self):
return []
Copy link
Contributor

Choose a reason for hiding this comment

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

It feels inconsistent to have stdout here, but not stderr. Should subclasses call through to super class explicitly, so that platform specific patterns could be easily added?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so, I'll remove these empty returns everywhere

@JonWBedard JonWBedard force-pushed the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch from ae959cb to 09fff2a Compare December 20, 2022 21:50
@JonWBedard JonWBedard force-pushed the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch from 09fff2a to 3b4d097 Compare December 21, 2022 16:28
@JonWBedard
Copy link
Member Author

The extra commit on this PR is to verify that fixing the problem where ref tests don't get their logs filtered fixes this problem. If it does, I'll land this PR and break that extra commit into it's own PR.

@JonWBedard
Copy link
Member Author

The extra commit on this PR is to verify that fixing the problem where ref tests don't get their logs filtered fixes this problem. If it does, I'll land this PR and break that extra commit into it's own PR.

Looks like many of these messages were, in fact, coming from ref tests. That PR is up at #7961, meanwhile, landing this one.

@JonWBedard JonWBedard force-pushed the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch from 3b4d097 to 1a41b6e Compare December 21, 2022 17:53
@JonWBedard JonWBedard added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 21, 2022
https://bugs.webkit.org/show_bug.cgi?id=249658
rdar://56920527

Reviewed by Alexey Proskuryakov.

* Tools/Scripts/webkitpy/port/darwin.py:
(DarwinPort.stderr_patterns_to_strip): Strip allows*HTTPS* logging messages.
* Tools/Scripts/webkitpy/port/darwin_testcase.py:
* Tools/Scripts/webkitpy/port/ios_simulator.py:
(IOSSimulatorPort.logging_patterns_to_strip): Deleted.
(IOSSimulatorPort.stderr_patterns_to_strip): Deleted.
* Tools/Scripts/webkitpy/port/mac.py:
(MacPort.stderr_patterns_to_strip): Invoke base class's stderr_patterns_to_strip.
* Tools/Scripts/webkitpy/port/watch_simulator.py:
(WatchSimulatorPort.logging_patterns_to_strip): Deleted.
(WatchSimulatorPort.stderr_patterns_to_strip): Deleted.

Canonical link: https://commits.webkit.org/258197@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch from 1a41b6e to 08b7126 Compare December 21, 2022 17:57
@webkit-commit-queue
Copy link
Collaborator

Committed 258197@main (08b7126): https://commits.webkit.org/258197@main

Reviewed commits have been landed. Closing PR #7917 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit 08b7126 into WebKit:main Dec 21, 2022
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 21, 2022
@JonWBedard JonWBedard deleted the eng/run-webkit-tests-Strip-allowsHTTPS-logging-messages branch December 21, 2022 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
4 participants