Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/llvm/llvm-lnt


https://github.com/llvm/llvm-lnt

Remove empty file

llvm-svn: 307323

8f6b59430b331255aef56ab13eeca57fd82f2f69 authored over 7 years ago by Matthias Braun <[email protected]>
Improve testsuite guess for db_XXX/submitRun

Testsuites have to be specified explicitely now as they are not part of
the json format anymore....

56efffa45803d8fd471eaed097bd963818a77793 authored over 7 years ago by Matthias Braun <[email protected]>
Rename run_order when upgrading submissions for unknown suites.

This is another followup to r306740: When upgrading unknown/custom
schemas make a best guess and...

0afcc93402542c631c7b95543d2951b05ad90432 authored over 7 years ago by Matthias Braun <[email protected]>
Fix wrong mapping in compile suite upgrading logic

This is another followup to r306740.

llvm-svn: 307283

0204d0b8fca1f593ddf383f1a20fc1136e315e6b authored over 7 years ago by Matthias Braun <[email protected]>
Schema migration logic for custom schemas

For yaml based testsuite schemas: This saves the last schema used in the
database. When the sche...

c59a09dddc548d722357b2acd503c7417b4e9974 authored over 7 years ago by Matthias Braun <[email protected]>
Load TestSuite descriptions from json files

The possibility to create custom test suite shemas was already present
in LNT; however it was in...

75d6a8f783f6728f88e907d85a66d63889a82982 authored over 7 years ago by Matthias Braun <[email protected]>
Fix postgres only API issue

For some resason, on postgres this was exploding.

llvm-svn: 307221

9ad306584141b4e85c90d2379a4cee4a0fad03bd authored over 7 years ago by Chris Matthews <[email protected]>
Give 404 when accessing invalid machine ID from this page

llvm-svn: 307216

44621abeced98cc32837264af9b2b2d3ba6728af authored over 7 years ago by Chris Matthews <[email protected]>
Followup fix for r306740

Changed the semantics of the upgrade functions to return the changed
data instead of blindly ass...

4c5d911412a0525ff7f03f96b3e00b9c13620df6 authored over 7 years ago by Matthias Braun <[email protected]>
testsuite(db)?.py: Fix pep8 warnings; NFC

llvm-svn: 307208

e470094c56deec5a46708325e999eb3eaaa358e0 authored over 7 years ago by Matthias Braun <[email protected]>
Make Regression object printable even when SQLAlchemy invalidates it

llvm-svn: 307183

2dc0db26b5aa9aadba237ffad80138453ed5ec3b authored over 7 years ago by Chris Matthews <[email protected]>
config.py: Fix pep8 warnings

llvm-svn: 307181

0ec6a3f2791fdef0cab1f85bfc702c93eaa8a593 authored over 7 years ago by Matthias Braun <[email protected]>
Fix error code path

llvm-svn: 307177

b33bded8e604b923578efa4e03a73a4bd634d7f7 authored over 7 years ago by Matthias Braun <[email protected]>
Fix all other linter warnings

Make _mkorder static, and remove unused.

llvm-svn: 306909

45034b411bba714756f7b03335bf0eac67ef3abe authored over 7 years ago by Chris Matthews <[email protected]>
Fix all the rest of the whitespace errors in this file

Since it is new, lets not let this violate pep8.

llvm-svn: 306908

dbfce2aed4e59cbcc9b2b82e8428c2ff3dfde426 authored over 7 years ago by Chris Matthews <[email protected]>
Add a delete method with auth to the runs API

Add a token based auth system to the API. Add a delete method to the
runs endpoint for authoriz...

bf55b38dc2863c14e2d22badcbaaf12587ba4dd1 authored over 7 years ago by Chris Matthews <[email protected]>
PEP8 whitespace fixups

llvm-svn: 306902

9e2fdaa4fbf2591dda755f5018458e7a5a2ca3d7 authored over 7 years ago by Chris Matthews <[email protected]>
Don't return null sample data

Null sample data was never collected. No need to waste bandwidth etc
by sending nulls around in...

e4c61931273b3f990f1d4d00319ddac61c84e9cf authored over 7 years ago by Chris Matthews <[email protected]>
Fix error path after r306534

llvm-svn: 306745

d09b1f89c9afdc92655265b3c2de4c48afc4fbfb authored over 7 years ago by Matthias Braun <[email protected]>
Refactor runs.html usage; NFC

v4_run.html would prerender runs.html with a special only_html_body flag
enabled. The result wou...

fae5e0670cbd3847b58b44fd25d0653fab32f861 authored over 7 years ago by Matthias Braun <[email protected]>
Add an API for accessing sample data

Not super useful on its own, but will be useful when I add delete. Also
nice for testing.

llvm-...

dbd6255a1590014e3e15f65f631394ba4aed5579 authored over 7 years ago by Chris Matthews <[email protected]>
Typo in method name

llvm-svn: 306742

585fff523407dd50d6d77bd8f043dcf5d3799a51 authored over 7 years ago by Chris Matthews <[email protected]>
Introduce new JSON import format

This redesigns to get a new simpler import format for LNT. With plans to
use the same format for...

63c22e41c2152f6289009ecfabde68da7c8b561d authored over 7 years ago by Matthias Braun <[email protected]>
Make a nice error message when we don't parse the test-suite json

llvm-svn: 306729

0bd4a49fff6a9345510b1848fb1e7c1cc0085d5a authored over 7 years ago by Chris Matthews <[email protected]>
Fix MANIFEST.in file adding two missing entries.

These are required to correctly specify the files needed to distribute LNT as
redistributable Py...

ff0ce7c36c05347f7087af190e2c249dde78a7c2 authored over 7 years ago by Kristof Beyls <[email protected]>
We just never update the version number of LNT - that is silly

Lets update it on major features landing. To get things moving I will
bump it once now.

llvm-sv...

34d84af028adfae3264d5c12dd8ac9b80fd57df6 authored over 7 years ago by Chris Matthews <[email protected]>
Some initial docs for the REST API

llvm-svn: 306595

9a83a926c38fd97e9cb4558a06ab776960d6f5ff authored over 7 years ago by Chris Matthews <[email protected]>
New REST API format

After much feedback and iteration, this is a restructured API. Docs
will be updated with API de...

7b5582b3140e5f7cf55739a9ee3cff1da5a18e47 authored over 7 years ago by Chris Matthews <[email protected]>
Where possible, use plural names in API endpoints

llvm-svn: 306594

343de053c0c1f84769fcbe25061a6b2b2c507161 authored over 7 years ago by Chris Matthews <[email protected]>
Don't mix int and str on the x axis

This was causing some graphs to render funny.

llvm-svn: 306593

eb753fadf4d018b5f75f175f0127e0dd88cafbc1 authored over 7 years ago by Chris Matthews <[email protected]>
runs: Refactor generate_run_report; NFC

The existing generate_run_report() gathers data and then renders this
data into a text and html ...

fa10a973b589292fe5b2561e609b7a9ea0879241 authored over 7 years ago by Matthias Braun <[email protected]>
Check output in send-run-comparison/send-daily-report tests

llvm-svn: 306569

9a6a059a5851e119f980a98c0e6355af98f2ff61 authored over 7 years ago by Matthias Braun <[email protected]>
This patch changes the default command line argument parser on LNT from optparse to click.

Related bugzilla bug: https://bugs.llvm.org/show_bug.cgi?id=32789

Patch by Leandro Nunes.
Diffe...

b0e8992c5b9fa3b01e5b1eea6486b0ad1fb809cf authored over 7 years ago by Kristof Beyls <[email protected]>
lit: Use .shtest instead of .test.sh

lit did not correctly recognize the .test.sh suffix I introduced
earlier.

llvm-svn: 306363

b3339579ddffcb858c002bbfc1310fcc8b568888 authored over 7 years ago by Matthias Braun <[email protected]>
migrations/*.py: Rework session handling

Use shorter lived sessions and make sure we `close()` them after each
upgrade step.

llvm-svn: 3...

0351b1425c563064c13cceb0a03f4edb08a269d2 authored over 7 years ago by Matthias Braun <[email protected]>
migrate: Redo session handling

Rework the session handling as my previous close_all() failed on sqlite
in-memory databases. We ...

f774755ae4f3d92239814f3d534d4406888053dd authored over 7 years ago by Matthias Braun <[email protected]>
Fix missing/mismatched html tags

- Fix various missing end tags and mismatched tags
- Also add closing slash to various empty tag...

83f01ce014bc158af958a9bb8a9cd32d39d27c5e authored over 7 years ago by Matthias Braun <[email protected]>
developer_guide: Tests need lnt in $PATH

Document the requirement that lnt needs to be in the $PATH to run the
unit tests.

Differential ...

982a3e3bae174641bc9c06360c1bc602235589cc authored over 7 years ago by Matthias Braun <[email protected]>
One global requirements file for server installs

llvm-svn: 306339

ad97593cbcecf80a1fd2c44e6958c3debc10aeb3 authored over 7 years ago by Chris Matthews <[email protected]>
Add postgres_wrapper.sh to enable tests without server

Add a wrapper script that creates an ad-hoc postgres instance so you can
run the unittests witho...

afcb96edc94b6fab88f591fd35f007fa82765d55 authored over 7 years ago by Matthias Braun <[email protected]>
migrate.py: Call close_all before applying upgrade scripts

Without this postgres would always hang for me when upgrade_3_to_4 was
manually executing SQL. I...

0be978eeab305ba9802abea2067e4061f43d642d authored over 7 years ago by Matthias Braun <[email protected]>
Fix pep8 warnings in main.py; NFC

llvm-svn: 306191

0e7bbe43ddd155dad34944176a25dd34cbe44cd9 authored over 7 years ago by Matthias Braun <[email protected]>
fix docu comment

llvm-svn: 306187

ab94dd473347de34e8764f7aae917a6ed9b05b5f authored over 7 years ago by Matthias Braun <[email protected]>
Print result URL for `lnt submit`

This makes it easier for automatic processing to figure out the id that
was assigned to the subm...

eabc6b434f7cb56425a5146049533d1e5547bb39 authored over 7 years ago by Matthias Braun <[email protected]>
Don't render empty run report sections

A lot of the time we don't collect full information for a suite, and so
the run report renders s...

6e937fa8c9353e39b5f629c49c2295dbf1f4b9fc authored over 7 years ago by Chris Matthews <[email protected]>
Be able to select all regression on the regression list page

llvm-svn: 306136

5df1ee2a56282a0a4792dc809029b6f7a5892dd4 authored over 7 years ago by Chris Matthews <[email protected]>
Give testsuitedb a nice text version

Sometimes we print these in a log. That is not very helpful because
you can't tell anything from...

240591767e3eb480e699df6e8347b814cea8d7ab authored over 7 years ago by Chris Matthews <[email protected]>
Further cache invalidation fixes

llvm-svn: 305974

4e34694b4950fb759cf0f54a7f2f30fc75895ee2 authored over 7 years ago by Chris Matthews <[email protected]>
Don't commit so much, we invalide the results cache

By committing early, the eariler queried objects are no longer able
to be cached, leading to mor...

a7f77e53b94d5821cea2cd26b9dbfbba849a21cc authored over 7 years ago by Chris Matthews <[email protected]>
Don't get regressions with unneeded states

No point in getting all regressions, we are only going to use the
regressions with the states li...

9ba64507d9a46c0a78e3f9ea33c10d313a0a4506 authored over 7 years ago by Chris Matthews <[email protected]>
Don't update regressions in this list after commit

When we commit below, the SQLAlchemy object become stale, and then when
we scan for state there ...

78d824637f8ccdc5ffbb6c287dd47f34b69a6fd9 authored over 7 years ago by Chris Matthews <[email protected]>
Im pretty sure this is not used: even on Heroku based installs

llvm-svn: 305957

c58970a69e5f43a5b8b862f37f56c37f4cc57ff8 authored over 7 years ago by Chris Matthews <[email protected]>
Some linter fixups

llvm-svn: 305859

20b211cf3e3d322737ab3fba7ffcd566ac2ecd6b authored over 7 years ago by Chris Matthews <[email protected]>
Sample API for fast Data export

Plus fixups to Run API and order API.

llvm-svn: 305851

8cc1e53aa82099777e427107d80d45caa83dd6ff authored over 7 years ago by Chris Matthews <[email protected]>
Also sort by order in Graph API before sending

llvm-svn: 305740

aa02ff803377cfd9f514681199d011fc69d62fa0 authored over 7 years ago by Chris Matthews <[email protected]>
When possible use the numeric version of the order

In some graphs, we were not using the numeric version of the order,
when it existed, this lead t...

5a3e69b6c8490ad67d05866d3ed9d6a14d9ed79c authored over 7 years ago by Chris Matthews <[email protected]>
Avoid lazy queries in recent page

We were using lazy queries to get Order and machine info. Those are
always rendered, so fetch th...

dff8a11d8d2a915cfd9d93641dd73f29630a2d32 authored over 7 years ago by Chris Matthews <[email protected]>
Refactor db startup code to have fewer DB round trips

When running on hosted DBs, there is a non-zero latency to queries. This
startup code was making...

bc9fc48d1c30b78881e5ed10e0cfb37a9c8d62e8 authored over 7 years ago by Chris Matthews <[email protected]>
Enhance APIs

Export more data via the APIs. For runs and machines show their
property data. As well, export t...

611bd8b7a6e247a8bf571fb75ed5909040c83241 authored over 7 years ago by Chris Matthews <[email protected]>
Fixup prefixes in more cases

Safari has become more picky about URLs. Strip double slashes from the
global base URL. As well,...

888e0d8d9fd096301125fdd9acc00dc865a7cc7b authored over 7 years ago by Chris Matthews <[email protected]>
Pass request args through machine latest redirect

It is nice to be able to ask for the json of the latest run on a machine
like this: v4/nts/mach...

db49bacc3c4e01627eb83186ffa8bd870c040fbf authored over 7 years ago by Chris Matthews <[email protected]>
Make the Run page JSON more naturally pandas compatible

I don't think this page's JSON output is used by anyone. Right now,
it requires a lot of transfo...

5bfa2a8d135c48ba8f8bfb9014a9d34bbc8fbd18 authored over 7 years ago by Chris Matthews <[email protected]>
Resubmit r303853

[lnt][profile] Add support for X86-64 CFG view

llvm-svn: 304395

84153838c64b6110b33f3e38f3c8ae888b2d1567 authored over 7 years ago by Elad Cohen <[email protected]>
Revert r303853

llvm-svn: 304169

df6fe41ce691538d32cc650469e75118e306de63 authored over 7 years ago by Elad Cohen <[email protected]>
[lnt][profile] Add support for X86-64 CFG view

Differential revision: https://reviews.llvm.org/D33544

llvm-svn: 303853

9bf8ee999c46c606997e20bb081f50890cdea5b2 authored over 7 years ago by Elad Cohen <[email protected]>
tests/compile.py: Allow more archive formats

llvm-svn: 303830

245cc21e3b308cdb5d518b55a018b7aad057b884 authored over 7 years ago by Matthias Braun <[email protected]>
tests/compile.py: Show command use to determine filesize in verbose mode

This helps when debugging.

llvm-svn: 303811

8b126caef30fbe8204b08381fe9f5ee400f0960b authored over 7 years ago by Matthias Braun <[email protected]>
tests/compile.py: Set xcodebuild derivedDataPath

Move the derivedDataPath so we start with a fresh module cache and have
a better isolation betwe...

e46366f62945643600299b8a1b4db84167f286a2 authored over 7 years ago by Matthias Braun <[email protected]>
async_ops.py: only set up worker processes once

This was obviously the intended behaviour but since WORKERS never got set to anything we ended u...

285a71b84fb791f8f6fd42ffd97d8e2f79bcbc43 authored over 7 years ago by James Molloy <[email protected]>
Make sure sdk is set on darwin

I noticed in some places xcrun was not correctly picking the macOS sdk.
Lets set that explicitly...

8a3433e417065ebd6ea8a44c2119c2edf20321e9 authored over 7 years ago by Chris Matthews <[email protected]>
Fix LNT’s js to corrrectly determine base URL when server has a prefix

There was a number of errors in the JS leading to a invalid prefix being
generated at runtime. T...

6999795d74f405f0b074b356cfc1938bec4c2ad8 authored over 7 years ago by Chris Matthews <[email protected]>
Fix missing strftime in production

llvm-svn: 302268

5275209ec51e62295ca9731afc26362676cc405c authored over 7 years ago by Chris Matthews <[email protected]>
Empty CMAKE_C_FLAGS_{build_type} when setting flags manually.

This is for lnt runtest test-suite.
When requesting specific compiler flags, users probably don'...

00b793168bb2d1812776a80851fdcdabc98cc82d authored over 7 years ago by Kristof Beyls <[email protected]>
Don't crash on the profile/admin page

... when there are no profiles on the server.
Fixes PR32724.

llvm-svn: 302019

9f5804ba0f2246a232ebd8c678f73a03e5c5ccef authored over 7 years ago by Kristof Beyls <[email protected]>
Document how to capture linux perf profiles.

Differential Revision: https://reviews.llvm.org/D32438

llvm-svn: 301388

1dc80acec2103b6291bd0c4a49d27e776d6c7754 authored over 7 years ago by Kristof Beyls <[email protected]>
Introduce --perf-events to lnt runtest test-suite

... to specify which linux perf events to profile.

llvm-svn: 300973

814d2ae8d244d8f27470505edfb3f5b0cc9e7705 authored over 7 years ago by Kristof Beyls <[email protected]>
Only do perf profiling once, even when multisampling.

llvm-svn: 300954

6d7ddb0e65536b9dae231164bf9c373a31afdc3a authored over 7 years ago by Kristof Beyls <[email protected]>
Force sequential execution when capturing perf profiles.

The underlying mechanism "perf record" cannot be run multiple times
concurrently on a single mac...

d4e3aa479801fd83bebf6d0b95f9caf72b692d10 authored over 7 years ago by Kristof Beyls <[email protected]>
lnt/tests/compile.py: Add option to specify path to runN tool

No tests for the whole tests/compile mode exist yet.

llvm-svn: 300806

28dd158696bdb48840aa1b8b1295d8e36cf8bf90 authored over 7 years ago by Matthias Braun <[email protected]>
[cPerf] Timestamp MMAP and MMAP2 events

Events in the perf event stream may not be in order. We don't generally
care if samples are out ...

725cba4f447dcdf877bf61f89791e8d84aaa12b4 authored over 7 years ago by Kristof Beyls <[email protected]>
Make regressions sort by timestamp

Regression date sorting did not work as expected. Use the DataTables
data-order attribute to mak...

221c570304cc783b4526bac0fb3a4d6854a2c15d authored almost 8 years ago by Chris Matthews <[email protected]>
Regression delete

This adds a bulk delete feature to the regression listing page.

llvm-svn: 299477

2979aea00ff3a9bc2974317224048740e2a537c2 authored almost 8 years ago by Chris Matthews <[email protected]>
Whitespace fix

llvm-svn: 299400

c79d38a916a2d850f96c7bdac2aeb7702719295a authored almost 8 years ago by Chris Matthews <[email protected]>
Interface for comparing the most recent run from two machines

Sometimes it is nice to be able to compare two machines. Sometimes
machines can codify an intere...

4f2e57f2b53e7955444e89e231ffe81a5b9064a6 authored almost 8 years ago by Chris Matthews <[email protected]>
Jump to latest run on a machine

Sometimes it is handy to have a link to the most recent run on a
machine. This endpoint redirect...

c59db271acf44632ff0b7fe44ea68cc74a684118 authored almost 8 years ago by Chris Matthews <[email protected]>
Clean up imports

Many unused imports here. Just reorded and remove unused.

llvm-svn: 299255

f91a68a2b8b07e8b9284ff3c5f1a11c3ab60eadb authored almost 8 years ago by Chris Matthews <[email protected]>
Simplity submit code

There was an indentation issue with submit_run which had some funny side
effects. Fix the inden...

245f3386bb799a5bfa0fb4db6d7239556eb9d245 authored almost 8 years ago by Chris Matthews <[email protected]>
Use suite and db specific keys for baseline selection

Baselines are stored at the test-suite and db level, but the session
key we used did not encode ...

dc51cb0c7a57e6f56c11ba3e049266b9a5b59194 authored almost 8 years ago by Chris Matthews <[email protected]>
Don’t use flask to fetch DB info

When running from the command line, flask is not always active. To run
background workers, take ...

76d8c4a7c5e11146fbc25c43bd5ebda2873b7361 authored almost 8 years ago by Chris Matthews <[email protected]>
Some pep8 compliance in commands.py

llvm-svn: 299138

efc57da243f12d97aee7b95fdbb36d730f2e735f authored almost 8 years ago by Chris Matthews <[email protected]>
Don’t flash when running on the command line

We were using Flask’s flash in a code path which can be hit from the
command line. That does not...

3883ba4b3479b4bd07312dbefd7a2e7d11be06af authored almost 8 years ago by Chris Matthews <[email protected]>
Run cleanup on signals

We have an issue with backgroud processes sticking around. Make sure
the cleanup is run when sin...

90ae9b7f6c419c1cdb555f2b481fd24806039ee9 authored almost 8 years ago by Chris Matthews <[email protected]>
Fix issue where matrix page is loaded even when graph button is clicked

In the LNT run page, if you clicked the matrix button, then back, then the graph button, you wou...

af9e9d43a5951a986decd3f69359a1a7b8d72358 authored almost 8 years ago by Chris Matthews <[email protected]>
Another secret key

I missed one test with a secret key.

llvm-svn: 299134

2e17671f1003b33e2990737da26d7bd7bddd59ea authored almost 8 years ago by Chris Matthews <[email protected]>
Whitespace and import cleanup

llvm-svn: 298981

c502928fc95e5ef4e793d0b09f92094cc3842fd3 authored almost 8 years ago by Chris Matthews <[email protected]>
Make sure secret keys are defined in all the tests

The baseline system requires sessions to be working, and they don't when secret keys are not set...

8e8658154fdddd1482f868480f5faff927836a50 authored almost 8 years ago by Chris Matthews <[email protected]>
Make flask sessions permanent

By default, Flask sessions only last while your browser is open. This changes the sessions to l...

fda9e37812d01cf141876309eab1dfe6b8611236 authored almost 8 years ago by Chris Matthews <[email protected]>
Spelling

llvm-svn: 298973

70b7f4b34ac4468f25494facde45f85c2ecfac0f authored almost 8 years ago by Chris Matthews <[email protected]>
We are having a problem with zombie LNT processes on Linux

It seems as though the LNT workers do not die when the parents do.
Multiprocessing docs imply th...

49f6abbbf16048e1811baf80859243dc4c5b079c authored almost 8 years ago by Chris Matthews <[email protected]>
Can’t do analysis without a secret key set

llvm-svn: 297348

e09f5428727b52909e067a8a2bbd9db5c8b7ef60 authored almost 8 years ago by Chris Matthews <[email protected]>