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

Regression: [ews] check-status-on-other-ewses step is not working #9182

Conversation

JonWBedard
Copy link
Member

@JonWBedard JonWBedard commented Jan 26, 2023

18d5a67

Regression: [ews] check-status-on-other-ewses step is not working
https://bugs.webkit.org/show_bug.cgi?id=251214
rdar://104701249

Reviewed by Aakash Jain.

Add logging to the code from 259315@main to log the raised exception.

* Tools/CISupport/ews-build/steps.py:
(CheckStatusOnEWSQueues.get_change_status):

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

dbb0e34

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
🧪 api-ios 🧪 mac-wk1 🧪 api-gtk
🛠 tv 🧪 mac-wk2
🛠 tv-sim 🧪 mac-AS-debug-wk2
✅ 🧪 services 🛠 watch 🧪 mac-wk2-stress
🛠 watch-sim
✅ 🛠 🧪 unsafe-merge

@JonWBedard JonWBedard self-assigned this Jan 26, 2023
@JonWBedard JonWBedard added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Jan 26, 2023
self._addToLog('stdio', 'Failed to access {}\n'.format(url))
except Exception as e:
yield self._addToLog('stdio', 'Failed to access {}\n'.format(url))
yield self._addToLog('stdio', ' {}\n'.format(str(e)))
Copy link
Member

Choose a reason for hiding this comment

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

these two log lines can be combined in one. Also can use python 3 f-strings.

@@ -5004,16 +5004,17 @@ def get_change_status(self, change_id, queue):
try:
response = yield TwistedAdditions.request(url, logger=lambda content: self._addToLog('stdio', content))
if response.status_code != 200:
Copy link
Member

Choose a reason for hiding this comment

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

but why was response.status_code non-200 in the first place?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's not the case we're hitting, we're hitting the Exception

@JonWBedard JonWBedard force-pushed the eng/Regression-ews-check-status-on-other-ewses-step-is-not-working branch from a59a70a to dbb0e34 Compare January 26, 2023 18:48
@JonWBedard
Copy link
Member Author

To be clear, this PR is intended to shed light on the situation, not fix the problem. We can't reproduce this problem on our staging instance and are hoping logging can help narrow the issue now.

@JonWBedard JonWBedard added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jan 26, 2023
https://bugs.webkit.org/show_bug.cgi?id=251214
rdar://104701249

Reviewed by Aakash Jain.

Add logging to the code from 259315@main to log the raised exception.

* Tools/CISupport/ews-build/steps.py:
(CheckStatusOnEWSQueues.get_change_status):

Canonical link: https://commits.webkit.org/259438@main
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/Regression-ews-check-status-on-other-ewses-step-is-not-working branch from dbb0e34 to 18d5a67 Compare January 26, 2023 18:57
@webkit-commit-queue
Copy link
Collaborator

Committed 259438@main (18d5a67): https://commits.webkit.org/259438@main

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

@webkit-early-warning-system webkit-early-warning-system merged commit 18d5a67 into WebKit:main Jan 26, 2023
@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 Jan 26, 2023
@JonWBedard JonWBedard deleted the eng/Regression-ews-check-status-on-other-ewses-step-is-not-working branch January 30, 2023 17:08
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
Development

Successfully merging this pull request may close these issues.

4 participants