Closed Bug 1618942 Opened 4 years ago Closed 4 years ago

[tests] write system test

Categories

(Tecken :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

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:

  1. be able to test stage and prod environments
  2. test uploading symbols
  3. test upload-by-download
  4. test download
  5. test symbolication

This bug covers that work.

Grabbing this to work on now.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

If we end up using taskcluster, then we'll need to use the taskcluster library. Minor details in bug #1593805.

I'm tackling the symbolication api first. I need:

  1. a script that takes a processed crash and generates a stack for symbolication api from it
  2. 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.

Summary: write system test → [tests] write system test
Attachment #9139509 - Attachment is obsolete: true

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:

  1. write an upload test and an upload-by-download test
  2. fix download test to use an optional auth token to download private symbols
  3. 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.

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.

See Also: → 1629616
See Also: → 1629618

Marking this as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: