[tests] write system test
Categories
(Tecken :: General, task, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
References
Details
Attachments
(2 files, 1 obsolete file)
I've been using scripts in the tecken-loadtests
repository as a system test to make sure critical things are working when we push to stage and prod. The scripts in that repository are defunct at this point. I wrote up bug #1618685 to fix them, but I think instead of doing that, it'd be a better use of time to write a new system test in the tecken
repository.
Specifically, a system test needs to meet the following requirements:
- be able to test stage and prod environments
- test uploading symbols
- test upload-by-download
- test download
- test symbolication
This bug covers that work.
Assignee | ||
Comment 1•4 years ago
|
||
Grabbing this to work on now.
Assignee | ||
Comment 2•4 years ago
|
||
If we end up using taskcluster, then we'll need to use the taskcluster library. Minor details in bug #1593805.
Assignee | ||
Comment 3•4 years ago
•
|
||
I'm tackling the symbolication api first. I need:
- a script that takes a processed crash and generates a stack for symbolication api from it
- a script that takes a stack, runs it through the symbolication api (version 4 and 5), and "verifies" it in some way
Maybe instead of generating stacks, we generate test cases? It's just that test cases would be environment-specific since symbol storage is environment specific. I don't think I want to maintain stacks for stage and prod. I can't maintain stacks for local dev environments since who knows what they'll have symbols-files-wise.
Given that, maybe verification is something like, "yes, I got back a symbolication response that has the right structure and has some data in it".
I think that's a good mvp. Symbolication is non-destructive, so it can operate on any of the environments.
Assignee | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
•
|
||
willkg merged PR #2015: "bug 1618942: add system test for symbolicate api and downloading sym files" in 77b2345.
Things that still need to be done:
- write an upload test and an upload-by-download test
- fix download test to use an optional auth token to download private symbols
- verify the symbolicate api v4 and v5 response schemas--are they correct? are they complete?
I need to do the first 2. Item 3 can be pushed off to a new bug and deferred until I need it.
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
willkg merged PR #2016: "bug 1618942: add upload system tests" in 6ee6231.
I'm going to push off items 2 and 3 to new bugs. I want to be done with this and move on with my life and the myriad of things that are blocked on this.
Assignee | ||
Comment 9•4 years ago
|
||
Marking this as FIXED.
Description
•