Граф коммитов

371 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 9340ce70b0 Bug 1906258 - make bug suggestion generation for failure case-insensitive 2024-07-05 00:03:11 +02:00
EvaBardou 494ca3c615
Remove MySQL integration and dedicated code (#7814)
* Remove MySQL integration and dedicated code

* Nit

* Clean up a few more files

* Fix linting

* Propagate DATABASE_URL in other containers
2024-05-30 15:19:56 +02:00
Sebastian Hengst 110cc9840a Bug 1890981 - omit process ID of asserting process in failure tab and for matching against known issues 2024-04-11 21:52:03 +02:00
Yoann Schneider 05a7deae77 N818: Exception name should be named with an Error suffix 2024-03-05 16:17:10 +01:00
Yoann Schneider 642cff92bf N806: variables in functions should be lowercase 2024-03-05 16:17:10 +01:00
Yoann Schneider cfb19a5ef8
Bug 1823654 - Mostly use double quotes (#7900)
* Enable quote style verifications from Black

* Actually exclude migrations folders
2024-01-31 16:59:20 +01:00
alexandru-io 2b08e55ef9
Bug 1825705 - Alerts View - Add bug_due_date field to performance_alert_summary table (#7863) 2023-11-06 20:25:14 +02:00
Joel Maher 7a742d05f8
Fix mitten to work with -cf in the job names (#7810)
* Bug 1850785 - Allow for Marionette failures to be filed as single tracking bugs. r=aryx

* allow mitten to work with cf jobs, fix bug with -cf at end of jobname.
2023-09-21 15:43:44 -07:00
Valentin Rigal 913260c308 Fix last failing tests with postgres 2023-08-11 11:45:43 +02:00
EvaBardou 1ea6031b99 Enforce querysets order between mysql and psql 2023-08-11 11:45:43 +02:00
EvaBardou 4205e244f4 Fix Perfherder cycling tests 2023-08-11 11:45:43 +02:00
Joel Maher 3151de17dd
Adjust bug suggestions path when there is a crash (#7738) 2023-07-13 11:02:55 -07:00
Gregory Mierzwinski 49aa45002a
Bug 1842924 - Update deletion constraints for performancedatumreplicate. (#7744) 2023-07-13 15:52:33 +03:00
EvaBardou b70edaa7ea New Black changes 2023-06-20 10:58:40 +02:00
Joel Maher fed927341e
support marking NEW failures as FC_id=6 (#7691)
* support marking NEW failures as FC_id=6

* change classification  ->
2023-05-16 05:41:29 -07:00
Joel Maher 5761a7f9b3
allow for reftest and junit single tracking bugs, also fix wpt tests with params to be single tracking (#7690) 2023-04-17 07:47:54 -07:00
Joel Maher ea963b99b8
remove duplicate query in bugscache.search() and split up resulting data (#7611)
* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* reduce duplicate query in bugscache.search() and remove date as it is redundant
2023-01-05 08:31:40 -08:00
Joel Maher ce2368dce2
cycle data for buildPlatform and machinePlatform tables (#7610)
* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Fix pinned dependencies in dev.in

* Revert "Fix pinned dependencies in dev.in"

This reverts commit 5dca034baf.

* Bug 1635586 - remove old data from buildPlatform and machinePlatform tables.
2023-01-05 05:39:44 -08:00
alexandru-io 98510eaa57
Bug 1770903 - Update triage_due_date when alert created date changes (#7545)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 18:09:41 +03:00
alexandru-io 496ff0080c
Bug 1770903 - move time-to-triage logic to backend (#7448)
* Bug 1770903 - move time-to-triage logic to backend

* Bug 1770903 - Update UI countdown

* Bug 1770903 - Show alert created date under push date

* Address errors and reviews

Co-authored-by: Alex Ionescu <aionescu@mozilla.com>
2022-10-10 10:30:03 +03:00
Sebastian Hengst 5bebdbfe74 Bug 1753209 - remove repositories which have reached end of life or are not accessed anymore through Treeherder 2022-05-13 20:41:21 +02:00
beatrice-acasandrei 5263e20476
Bug 1752531 - Fix failing test (#7369) 2022-02-02 17:21:21 +02:00
Sebastian Hengst b67b596342
Bug 1731631 - suggested duplicated bug used for classification, classify with open bug against which it is set as duplicate (#7308)
* Bug 1720105 - drop 'os' column from 'bugscache' table because it's unused
* For Bug 1731631 - only ingest data about intermittent bugs changed since the last update of the bugscache
store for duplicate bugs against which non-duplicate bug they got set as duplicate
* Simplify pinnedJobBugs by switching from Object to Set
* use open bug for classification if duplicate one matches failure line
2021-12-06 10:26:14 +00:00
Sarah Clements 7ea0760c58
Remove heroku v2 (#7271)
* update dockerfile and remove post_compile
* remove more heroku mentions
* remove redis heroku ref
* update middleware and CSP
* remove irrelevant test and script references to heroku
remove tox heroku command from circleCI config
* more references removed
* remove prototype2 reference
* remove old TLS check for redis
2021-09-16 11:30:12 +01:00
Sebastian Hengst d397389863
Bug 1429030 - automatically suggest Bugzilla product and component when bug filer gets opened (#7151)
* Add model for file-to-bugzilla-component relation and its ingestion process
* add API endpoint to get Bugzilla product and component for source file path/search term
* bug filer: identify bugzilla product and component to use based on file path
2021-09-13 11:43:45 +01:00
Sarah Clements d7849ac7af
Revert "heroku cleanup (#7219)" (#7245)
This reverts commit 7cb8d8abe7.
2021-08-18 18:22:13 +01:00
Sarah Clements 7cb8d8abe7
heroku cleanup (#7219)
* update dockerfile and remove post_compile
* remove redis heroku ref
* update middleware and CSP
* remove irrelevant test and script references to heroku
remove tox heroku command from circleCI config
* remove get_tls_redis_url and reconfigure default TLS_PATH_CERT in docker file
2021-08-16 14:49:07 +01:00
Sebastian Hengst 67f5d81cfe
Bug 1720930 - ignore 'LeakSanitizer' and 'gtest' as standalone search term for bug suggestion generation, search whole error line instead (#7215) 2021-07-19 11:57:01 -07:00
Sebastian Hengst 54be39dc7f
Bug 1719848 - search for test file name during generation of bug suggestions must match it at the start of the file name (#7206)
There are short or common test file names like 001.html. When Treeherder tries
to generate bug suggestions for that, it searches the intermittent bugs for
001.html in the summary which also matches other-test-001.html. If too many
bugs are returned (>20), Treeherder won't suggest any bugs.

By matching on path boundaries (/, \), whitespace () and list separators (,),
the other test files won't be matched. Because adding these rules to the SQL
query yields a slower method than filtering the wrong positive bugs out
afterwards, the latter method gets applied. This keeps the risk the SQL query
will not return all matches (limited at 50 lines) and has to be reevaluated if
it turns into an issue.
2021-07-13 17:33:26 -07:00
Sebastian Hengst ea77ba8318
Bug 1720105 - revert removal of 'os' attribute bug_suggestions endpoint, was a WIP patch which shouldn't have landed yet (#7210) 2021-07-13 10:29:51 -07:00
Sebastian Hengst 2d21cc8b62
Bug 1719889 - add pretty names for recently added platform configurations (#7207)
* Drop 'os' field from bugscache model
2021-07-09 12:22:00 -07:00
Sarah Clements 9101b58f7e
Bugscache cleanup (#7105)
* make bugscache.search comment more coherent
* remove redundant test
2021-04-14 11:45:31 -07:00
Sarah Clements b54fbc64ed
Bug 1704311 - Bugscache changes (#7100)
* Re-enable caching of bug suggestions during ingestion
* Move search term sanitizing into its own function and add test cases
* do not search as a phrase
* temporarily disable test_for_empty_search_query
2021-04-13 10:54:31 -07:00
ionutgoldan c37ddb93a8
Bug 1618829 - Fully enable PerfSheriffBot
* fix package typo
* really fix the encoding error on TaskclusterModel null object
* automatically set null object for backfilling
* fully enable secretary
2021-04-07 14:47:08 +03:00
ionutgoldan fde027cf3c
Bug 1700606 - Expire garbage backfill reports
* also remove alerts older than a year
* slightly refactor main garbage collection method
* fix ORM filter
* provide test coverage
* reduce ambiguity around signature garbage collection
2021-03-31 15:33:55 +03:00
beatrice-acasandrei c17a7ea87d
Bug 1699411 - Reduce filled bug summary
* fix broken test
2021-03-26 16:52:29 +02:00
beatrice-acasandrei 8a4e98588d
Bug 1690259 - Keep perf data with historical value 2021-03-25 14:50:42 +02:00
ionutgoldan 2ab2630f62
Bug 1689620 - Soft launch backfill tool (#7006)
* Bug 1689620 - PerfSheriffBot reports outcome
* provide schema migration for extended backfill records
* delegate content creation
* stabilize or temporary silence part of the tests
* group PerfSheriffBot' s components under single package
* rename PerfSheriffBot' script
* extract Notify service
* abstract away perf sheriff bot' s instantiation
* refactor email writting
* refactor delete notification email
* provide proper subject & content for backfill report email
* merge email modules into one
* provide NullObject for email notifier
* fix tests from BigQuery integration
* fix notification mocks in tests
* build push range link
* raise appropriate exceptions from email composition
* improve Linux perf alert fixture
* handle json error exception when writing email
* exclude abstract methods from coverage
* ensure TaskclusterModelImpl cannot be instantiated on production
* basic unit tests for email notifications related to expiring signatures
* ensure happy path testing for BackfillNotificationWriter via PerfSheriffBot
* provide coverage for TaskclusterModelImpl' s constructor
* address some PyCharm inspection warnings
* better group tests for deletion email writer
* test email integration in PerfSheriffBot
* provide email writer via dependency injection to ease testability
* turn some private methods into staticmethods
2021-03-08 11:46:07 -08:00
beatrice-acasandrei 9a79e50e03
Bug 1689103 - Don't notify removal of try signatures
Co-authored-by: Alexandru Irimovici <airimovici@mozilla.com>
2021-02-09 11:09:20 +02:00
beatrice-acasandrei 0e73c58460
Bug 1689066 - Improve email structure for deleted signatures 2021-02-08 10:23:08 +02:00
ionutgoldan f8ebeda634
Bug 1685037 - Notify FxPerfTest team only when expiring perf signatures
* DRY atomic delete & notify operation
2021-01-11 09:40:11 +02:00
ionutgoldan b560af34c8
Bug 1682764 - Fix dynamic SQL query for expiring `try` data
* Reorganize cycling components
* Fix broken tests
2021-01-08 09:24:50 +02:00
ionutgoldan 979416a61b
Bug 1681473 - Cannot expire multicommit data points 2021-01-05 09:46:11 +02:00
Cameron Dawson ed41015a48
Bug 1594822 - Remove Autoclassify and Crossreference without migration (#6915)
* Revert "Revert "Bug 1594822 - Remove Autoclassify and Crossreference code (#6897)""

This reverts commit f671b32bdc.
* remove migration changes
2020-12-15 11:08:07 -08:00
Cameron Dawson f671b32bdc Revert "Bug 1594822 - Remove Autoclassify and Crossreference code (#6897)"
This reverts commit f0bf41503f.
2020-12-14 18:40:38 -08:00
Cameron Dawson f0bf41503f
Bug 1594822 - Remove Autoclassify and Crossreference code (#6897)
* also remove other defunct job fields
2020-12-14 15:53:21 -08:00
ionutgoldan fee6da9a74
Bug 1673911 - Remove more data from treeherder-prototype2
* overwrite cycle interval in strategies (if legal)
* DRY days validation & split test coverage
* provide test coverage & refactor strategies
2020-12-14 11:20:56 +02:00
ionutgoldan caa3fda7ce
Bug 1668543 - Remove unupdated perf data
* replace bulk removal with chunked variant
* provide test coverage

Co-authored-by: beatrice-acasandrei <69891317+beatrice-acasandrei@users.noreply.github.com>
2020-12-09 17:10:12 +02:00
beatrice-acasandrei 17dbc80b33
Bug 1671564 - Email summary of signatures prior to deleting them 2020-12-09 15:28:51 +02:00
ionutgoldan f9b40f7f8c
Bug 1675594 - Fix default --days param from Treeherder cycling (#6880) 2020-12-02 17:05:30 -08:00