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

1954 Коммитов

Автор SHA1 Сообщение Дата
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
Sorin Toma bf35b8196c
Bug 1725332 - Alerts view - sort items by absolute difference for Magnitude of change column (#7238)
* Bug 1725332 - Alerts view -  sort items by absolute difference for Magnitude of change column

* Bug 1725332 - added tests

* Bug 1725332 - removed  console log
2021-08-13 16:13:51 +03:00
Sorin Toma 5ec0fae12e
Bug 1724866 - Remove 'Hide improvements' button from Alerts View (#7236)
* Bug 1724866 - Remove 'Hide improvements' button from Alerts View

* Bug 1724866 -Modified alert filtering

* Bug 1724866 - Address requested changes
2021-08-12 10:24:58 +03:00
beatrice-acasandrei c60a4bcc0d
Bug 1698569 - Add browsertime documentation links (#7234) 2021-08-11 15:07:51 +03:00
esanuandra 42cd50e794
Bug 1723963 - Alerts View - Update Test column (#7231)
* Bug 1723963 - Eliminate duplicated name for suite and test

* Bug 1723963 - Add unit tests

* Bug 1723963 - Fix unit tests

* Bug 1723963 - Move TextualSummary class, fix duplication test name for bugzilla

* Bug 1723963 - Reset testAlert signature's values

* Bug 1723963 - Rename Suite & Test column to Test for bug description
2021-08-06 17:05:32 +03:00
beatrice-acasandrei 94bfedefd1
Bug 1721330 - Alerts View - Refresh in place reassigned alerts (#7223)
* Bug 1721330 - Refresh in place reassigned alerts

* Bug 1721330 - Removed unnecessary logic

* Bug 1721330 - Address change request
2021-08-02 18:13:16 +03:00
Gregory Mierzwinski 97da78191f
Bug 1712731 - Compute the noise profile of the data when generating alerts. (#7183)
* Compute the noise profile of the data when generating alerts.

* Fix linting issues.

* Use choices in noise_profile, and unpack tuple on return.

* Fix linting issues

* Logging error to New Relic

Co-authored-by: bacasandrei <beatrice.raluca.acasandrei@gmail.com>
2021-07-22 13:53:41 -04: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
beatrice-acasandrei 5513067613
Bug 1719840 - Add backfill support for OSX as well (#7211) 2021-07-19 09:21:11 +03:00
beatrice-acasandrei f5a4e8b8ae
Bug 1720839 - Fix pagination to show all pages when nr of pages < 5 (#7214) 2021-07-16 17:24:19 +03:00
beatrice-acasandrei 1545bf6ccc
Bug 1719466 - Alter alert filtering to support macosx (#7203) 2021-07-13 17:34:47 -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
esanuandra 4f0e881d00
Bug 1718601 - Alerts View - Add copy alert ID button (#7197)
* Bug 1718601 - Add copy alert id button to Alerts View

* Bug 1718601 - Fix icon position
2021-07-13 17:28:02 -07:00
esanuandra a297343a22
Bug 1719854 - Alerts View - add icon for graph link (#7205)
* Add icon for graph link
2021-07-13 17:23:31 -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
beatrice-acasandrei 3c8f0c47f1
Bug 1714038 - Enable pagination in Compare View (#7186)
* Enable pagination in Compare View
* Moved implementation to CompareTableControls
* WIP updating the url parameters
* Keep filtered text in the input box when refreshing page
2021-07-09 13:19:11 -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
Sebastian Hengst db200cb921
Bug 1369067 - file security bugs: provide option and auto-enable it based on search terms (#7201) 2021-07-07 16:40:22 -07:00
beatrice-acasandrei 550d535480
Bug 1717212 - Compare View query string parameters are not updated (#7189)
* The filter text from the Perfherder Compare View Page is now updated in URL as query params.
2021-07-06 17:23:18 -07:00
esanuandra f642a7fd4e
Bug 1718047 - Reorganize alerts view to show data more compact (#7193)
* Compact data in AlertTable
*  Add sort to Magnitude of Change
* Abbreviate next/previous value, fix spacing tags&options
* Add unit tests for new/previous value
* Rename AlertTableMagnitude to Magnitude
2021-07-06 12:59:34 -07:00
esanuandra 382b3cfe8e
Bug 1715790 - Alerts View - Test name is too long (#7185)
* Add platform column, move options into tags
* Add sort for platform column, remove platform from title
* Add unit tests, refactor tags options column
2021-06-25 16:02:32 -07:00
esanuandra 8ed849ce10
Bug 1713303 - Provide link to next/previous alert (#7170)
* Add next/previous button to Perfherder alerts page
* Add ref alert summaries and scroll behavior
* Add unit tests
2021-06-23 10:54:05 -07:00
beatrice-acasandrei 1e54151589
Bug 1706628 - Link to AWSY test documentation (#7176)
* Bug 1706628 - Link to AWSY test documentation

* Bug 1706628 - Address change request
2021-06-11 13:34:16 +03:00
esanuandra a49e15df68
Fix conflict, add pollyjs dependecies (#7084)
Bug 1698835 - Add puppeteer adapter, add sample test for graphs view

Bug 1698835 - Update sample test with puppeteer

Bug 1698835 - Fix UnhandledPromiseRejectionWarning

Bug 1698835 - Configure jest-puppeteer

Bug 1698835 - Separate integration tests from unit tests

Bug 1698835 - Update yarn.lock

Bug 1698835 - Fix lint errors

Bug 1698835 - Update yarn.lock

Bug 1698835 - Add @neutrinojs/jest to dependencies

Bug 1698835 - Update yarn.lock

Bug 1698835 - Address pr requests, move recordings folder

Bug 1698835 - Fix chromium error

Bug 1698835 - Clean up and update recordings

Bug 1698835 - Add documentation

Bug 1698835 - Update docs
2021-05-31 15:12:57 +03:00
Sebastian Hengst 535afed730
Bug 1626352 - Add 'Hit MOZ_CRASH' as keyword to set log line as failure line (#7155) 2021-05-26 14:11:47 -07:00
beatrice-acasandrei 17472feedd
Bug 1704477 - Enable sorting in Alerts view (#7119)
* Bug 1704477 - Enable sorting in Alerts view

* Bug 1704477 - Test coverage

* Delete getByText(testAlertSummaries[2].title))

* Delete q

* Bug 1704477 - Fixed failing test

* Bug 1704477 - Sort button resets to default sorting when alerts are updated

* Bug 1704477 - Address change request

* Bug 1704477 - Moved SortButton to a 'shared' folder and helpers.js, constants.js, sort.js to a 'helpers' folder

* Bug 1704477 - Address change request
2021-05-20 17:31:19 +03:00
beatrice-acasandrei f260b33c28
Bug 1711717 - Only backfill untriaged alerts (#7144)
* Bug 1711717 - Backfill only untriaged alerts

* Bug 1711717 - Address request changes
2021-05-20 14:42:18 +03:00
Sarah Clements 0b4602c8a3
Improvements to ingesting data locally - doc and docker changes (#7134)
* Update docker-shared-user for pulse_url and add PROJECTS_TO_INGEST to backend container
* Update docs to make them clearer
* Fix exception caught in pytest.raises
2021-05-13 14:20:07 -07:00
Sarah Clements 4a656b41af
Revert "Bug 1626746 - Push health use mozci on backend (#6763)" (#7133)
This reverts commit fcb29158eb.
2021-05-06 19:15:46 -07:00
ionutgoldan e5808234c6
Don't backfill the same job (#7113)
Co-authored-by: Alexandru Irimovici <airimovici@mozilla.com>
2021-05-05 13:56:15 -07:00
Cameron Dawson fcb29158eb
Bug 1626746 - Push health use mozci on backend (#6763)
* Switch test logic to use mozci for regressions
* bump timeout on web node to give leeway for longer-running queries
* make changes to mozci config file
* fix duplicate jobs in unstructured logs bug
* Use mozci labels to increase accuracy of build failures
* Combine duplicate health and health_summary API logic into helper function
* Expand mozci to query groups and labels
* clean up get_commit_history and CommitHistory component
* refactor lints and builds to use same jobs
* get_test_failure_jobs refactor to remove extra query
* refactor get_test_failures to utilize existing data
* only return what we need from Job query
* fix JS tests and cleanup console warnings
fix python push health lint, test and build tests
* expand exception handling and add logging in get_commit_history
add logging to _get_failure_data
* Add separate mozci config file for local development
* upgrade mozci to 2.0.0


Co-authored-by: Cameron Dawson <cdawson@mozilla.com>
Co-authored-by: Sarah Clements <sclements313@gmail.com>
2021-05-03 16:22:59 -07:00
Marco Castelluccio f16b015412
Bug 1708288 - Don't skip manifests that have sub-manifest information (#7121)
* Remove condition and add a test
2021-04-29 11:11:05 -07:00
Sarah Clements 0bf1993de2
Bug 1683434 - Push health UI improvements (#7110)
* Add author query string to my pushes page
* Add support for medium screen sizes to My Pushes page and fix a few UI elements
* Jobs that are completed should be green
* Health should stop querying API if status is completed
* Fix push health status widget in jobs view
* change backend logic with a default for when no results have been found
* change UI logic so that each tab is only shown if we have results and default value is in progress
* replace MetricCount use with StatusButton to ensure consistency
* Refactor PlatformConfig into two components
* Remove irrelevant tests
2021-04-21 11:59:21 -07:00
ionutgoldan 2c00696f1e
Bug 1705366 - Sherlock correctly targets alerts 2021-04-19 11:30:18 +03:00
ionutgoldan 38d971a249
Bug 1704020 - Fix field completion in email's table
* fix email' s initial description
* fix push range hyperlink
* set job symbol instead of job type
* relocated method for setting job symbol
* provide searchStr param similar to that computed by frontend
* add partial unit tests
* define test stub
* provide better markdown values for alert summary & push range fields

Co-authored-by: Alexandru Irimovici <airimovici@mozilla.com>
2021-04-19 10:42:19 +03:00
beatrice-acasandrei b83348a432
Bug 1698548 - Link to Talos test documentation 2021-04-16 12:42:05 +03: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
Sarah Clements 9f0793f2c9
Bug 1704311 - Temporarily disable storing of bug suggestions during ingestion (#7099)
* Temporary bugscache fixes
Stop use of bugscache.search during log parsing until a proper
fix and tests for sanitizing strings in this query can be implemented

* add backslash to list of characters to clean from strings

* remove print and adjust comment
2021-04-10 11:25:43 -07:00
ionutgoldan 14de47438c
Bug 1703507 - Enable Sherlock on Windows (#7092)
* provide easy-to-use config for supported platforms
* provide test coverage for Windows backfills
2021-04-07 18:16:31 +03: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 a7e1f79283
Bug 1702410 - Reflect backfill bot' s new name in logs
* rename backfill bot' s packages to Sherlock
* slight logs adjustments to Sherlock
* replace 'Perfsheriff bot' prefix with 'Sherlock'
* adjust comment referring to Sherlock
* rename SecretaryTool to Secretary
2021-04-05 16:27:38 +03:00
Alexandru Irimovici 54154d0db8
Bug 1700946 - Update BackfillRecord after soft launch 2021-03-31 17:34:17 +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
ionutgoldan b24b958722
Bug 1701880 - Don't backfill outside of suspect range 2021-03-31 14:13:05 +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 735ee594af
Bug 1570906 - Don't alert on Tier 3 perf jobs
* parameterize ingestion test with job tier
* provide slight refactors on test code
* refactor complex alerting conditions
* split alert generation (test) scenarios in happy/unhappy paths
* address some PyCharm inspection warnings
2021-03-24 09:03:59 +02:00
Ben Hearsum (he/him) dd0216ae40
Re-re-re-remove activedata and bigquery (#7056)
* Bump python to 3.7.10 to try to fix issues with typing module

* Remove requirement on typing again

* Remove bigquery and activedata references (#7051)

* Remove activedata and bigquery again

* Add importlib-metadata to dev requirements

* Remove remnants of selenium tests from setup.cfg

* Don't call taskcluster.aio.createSession outside of async functions (it's not allowed)

* Disable newrelic linters to fix issue with imp module

See https://discuss.newrelic.com/t/python-warnings-during-pytest/114897

* Fix linting errors

* Use pytest-xdist to speed up tests

* Properly ignore newrelic warnings

* Disable django.contrib.staticfiles in tests, because it breaks everything

* Set TREEHERDER_DEBUG=False for unit tests, because it breaks some tests

* Fix linting issues
2021-03-23 09:15:32 -04:00
Ben Hearsum (he/him) 07b0208d73
Backout activedata work again (#7057) 2021-03-17 16:50:16 -04:00