-
Notifications
You must be signed in to change notification settings - Fork 90
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
GitHub Actions results not appearing on the dashboard #4020
Comments
Checking the log, I can confirm that
from this line, but it didn't log properly:
It should be If I have to guess, it could be an issue with the uploader. Is there a link that I can inspect the wpt results from the artifacts? |
@KyleJu https://github.com/web-platform-tests/wpt/actions/runs/11039052681 has downloads links for all the artifacts. |
I guess I'm more interested in any logging from the request we issue for https://wpt.fyi/api/results/create? Because that's presumably working too and giving 200 back. wpt.fyi/api/receiver/create_run.go Lines 115 to 117 in a24fc66
But it seems like it should presumably be managing to schedule the task, it's just for whatever reason it never completes. |
I guess also logging from Because something somewhere is clearly failing. |
Can you find what run ID this was? I wonder if that's the point at which I tried to submit all the Safari runs, but I can't find any that gave 400 all the way back to the initial request, which I would've expected? |
Is there any way to find any logging from |
I cannot find any logging for run_id and the payload is empty as well, but the user agent of that request is curl. Maybe that rings a bell? After digging through logs in results-precossor, I found these around the same timestamp (note that the severity level isn't labelled properly in processor): e.g.
in the url (https://github.com/web-platform-tests/wpt/actions/runs/11039052681) you showed me above, it should be
Would that be the issue? |
It'll be the difference between what it gives as the URL via the API versus via the web interface; I guess we're getting 403 (Forbidden) because we're not passing a GitHub API token. We'd have to notice that we're fetching That said, the even more significant failing here is that they aren't showing up as invalid runs. |
From https://cloud.google.com/appengine/docs/standard/services/taskqueue/push/retrying-tasks?tab=python:
So are we just retrying these indefinitely? Because I don't think we're catching the error anywhere, so it should just bubble up to the Flask endpoint and then Flask will turn it into a 500 Internal Server Error. |
Reading the code, I think we're not actually retrying here: wpt.fyi/results-processor/processor.py Lines 329 to 333 in 5d65d4e
We should just be setting the status as EMPTY, and manually hitting https://wpt.fyi/api/status/empty confirms this. |
#4025 should fix this, but given this is about API tokens it's hard to verify this is actually fixed aside from waiting for the next deployment. |
OK, even after #4025, https://staging.wpt.fyi/status is showing all the runs stuck as pending. Can someone take a look at the logs for the staging instance? |
Ah, after #4025 we're getting:
…which is surprising given that's what wpt.fyi itself is reading. So somehow we don't have the secret accessible? |
#4057. I think this must be the cause |
We seem to be downloading a bunch of artifacts, with no errors (because otherwise we'd get an ERROR logged from |
The capitalization fix is now deployed to production. |
https://staging.wpt.fyi/results/?run_id=6174988006588416 successfully made it up, after #4061 was fixed (though still only on staging). That said, it does seem to be not labelled with |
#4065 should have gotten the fix on production as well. |
Let's just treat #4063 as a separate follow-up and resolve this. 🎉 |
From web-platform-tests/wpt#48223 (comment):
This seems surprising that it succeeded to upload, and yet the upload doesn't appear as pending, invalid, or show up as complete.
We seem to have logging going into Google Cloud Logging, but I don't have any access to that.
cc @past @DanielRyanSmith @jcscottiii @KyleJu
The text was updated successfully, but these errors were encountered: