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
This should fix the PostgresDB unittest which broke with r309065.
llvm-svn: 309167
920903be07f04fa1a6abd21945cf199934a35b32 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 309166
131e31301169b21cb449dc718c0873b9fcb48f0e authored over 7 years ago by Matthias Braun <[email protected]>
This fixes problems displaying result pages after the newly introduced
'no_errors' storing a boo...
The SQL in the LNT migrations has always been fragile. This removes
the SQL in favor of SQLAlch...
This is motivated by the problem that you often want your CI scripts to
continue to collect addi...
llvm-svn: 309040
0585d90daf9fc536bb0b8172d66976ac5f28b8c4 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 309011
3421ba2eb8939ce04c403cdb8e5e829fe15c8b8d authored over 7 years ago by Matthias Braun <[email protected]>
For /machines/XXX requests:
- if XXX is purely numeric look up a machine id
- otherwise look for...
Change code to use click in a more canonical way: Push common options to
the `lnt admin` level a...
llvm-svn: 308991
a392bc781f73d2a1bd2041c68c92abc7c7e5ed2e authored over 7 years ago by Matthias Braun <[email protected]>
Adds `lnt admin` subcommands that allow manipulation of the data in an
LNT database. It currentl...
docs/developer_guide: Simplify/fix.
- Remove `pip install psycopg2` note: The package is part of...
This allows caches files to adapt to the given compiler (like
conditionally apply flags).
llvm-...
b9476f0637b6fe9f5bd7d7b410345ad46b8eb7d7 authored over 7 years ago by Matthias Braun <[email protected]>
Submitting to the dummy instance isn't really necessary and fails when
using a non-default schem...
- Fix more --commit flags similar to r308862
- Add --commit flags to some tests
(fun fact: The...
This was missed in r308256 and broke some buildbots.
llvm-svn: 308862
d265ee2155fb783824cd91731852b6e0b3951bb8 authored over 7 years ago by Tobias Grosser <[email protected]>llvm-svn: 308861
5f33a40ec5dc08f85aa7133a8259423d69e1432f authored over 7 years ago by Matthias Braun <[email protected]>
Avoid `lnt runtest` printing "Results available at: db_None/v4/nts/1"
when not submitting the re...
Commented out so users have to explicitly enable it.
llvm-svn: 308858
3b86dd9b1ddbbe23d689464ca224f7ada5d60b12 authored over 7 years ago by Matthias Braun <[email protected]>
Set Cross-Origin Resource Sharing HTTP header for the REST api so it can
be used from javascript...
This is in line with the `runtest nt` and `runtest compile` modes which
already had this option....
llvm-svn: 308804
55de98ce8994db81f5107ee21ba8faeef812f4e2 authored over 7 years ago by Chris Matthews <[email protected]>It is good HTML form to use the label tag on from labels.
llvm-svn: 308805
9f144d5a2d89b7de1215fbec4d0800cc76551f25 authored over 7 years ago by Chris Matthews <[email protected]>I was passing templates the wrong way.
llvm-svn: 308796
55694c84081a7c0187d6613891e9fcd4e97b14e8 authored over 7 years ago by Chris Matthews <[email protected]>
The Flask Module system we were using in LNT was depricated and removed
from Flask long ago. Thi...
This new version works great for me.
llvm-svn: 308793
5fefddf234ee19ddcf06c0493dcd31d3fe232ebf authored over 7 years ago by Chris Matthews <[email protected]>
I forgot to include this with my roundtrip patches. A test case which
pull data out of LNT and s...
SQLAlchemy 1.11.1 seems to work for me and pass the tests. Lets upgrade
before I start other DB ...
llvm-svn: 308790
f499082169396bf488681bfcc9eeb81d19e66a5a authored over 7 years ago by Matthias Braun <[email protected]>Add api operation to merge 1 machine into another.
Duplicated machines are a very common occure...
371cae7e6917e501276dab763a7e2580ef027dc3 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308704
e1505d4015b896d6962d5fa6a3e1b736a194642d authored over 7 years ago by Matthias Braun <[email protected]>Hopefully this makes the jenkins job more stable
llvm-svn: 308696
1b0893ed3dcc5acaa6e2e7f3ab0a0a54bc523c05 authored over 7 years ago by Matthias Braun <[email protected]>
- Move a bunch of object->dict logic from api.py to testsuitedb.py into
the __json__() methods...
This broke when switching to click, and there was no test catching it...
llvm-svn: 308670
8034a826e252cf4b2cdcee75ac2749f01a74ca00 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308570
6063c8ca3fcb0d883331ce62cd93ca900edfa248 authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308567
677dc0327e7b1e9815f34eac64f924c23f9ea2ff authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308566
ac198407c5b2916853955ee2dd403a2a359b3e8e authored over 7 years ago by Chris Matthews <[email protected]>
Allow LNT runs to be downloaded from the API in a format that they can
be inserted back into the...
llvm-svn: 308564
e4f0772a8f0b136da513c1fcd4d8adbe79caba69 authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308563
0e117fd3b232f3a6a8636a5f89b749681c377dbe authored over 7 years ago by Chris Matthews <[email protected]>
I've seen situations where fieldchange entries for a machine linger
around, even after removing ...
llvm-svn: 308514
19173eb8445730150ff4ecc4f2c30830268e6c8c authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308414
52ec21522766c97a7c71f253d6790279a04aa58a authored over 7 years ago by Matthias Braun <[email protected]>Also try whether `Transfer-Encoding: chunked` improves the experience.
llvm-svn: 308413
8d0e3f8a9c672b2c0295e16e4289e5e52dea5dd8 authored over 7 years ago by Matthias Braun <[email protected]>
For machines with hundreds of runs we run into timeouts and OOM
situations when sqlalchemy tries...
llvm-svn: 308405
8a7c980a224c69f7e843a5363c9516d9dc523fc9 authored over 7 years ago by Matthias Braun <[email protected]>
- Set 400 status on the submitRun response if the 'error' field is not
empty.
- Fix some error...
Only start and teardown a single server instance which lets this test
finish in 8s instead of 35...
llvm-svn: 308349
8ec781829ccae44c43859abcca23e3b8bc72373a authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308345
5beeb0fe5a8d933cbd9240ddd0ec0c9521004b77 authored over 7 years ago by Matthias Braun <[email protected]>Add POST method to /runs REST endpoint.
llvm-svn: 308342
1ade95fbb03c735bba8a91357d7cc55348f8ac6b authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308341
8497b2b2c2f635d8b0ec2da7e1875a6dce9fd0fc authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308337
423f3a97d995bc81fed87f3de9b5ffc6b5980d5e authored over 7 years ago by Chris Matthews <[email protected]>
We want to encourage people to use ISO8061 timestamps, so make the docs
use them.
llvm-svn: 308334
5273d14bc8e9cb91568421cb608d869b60b1a4ae authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308332
0d31291f85c5a11b63fefffda2b055201c9d0d50 authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308258
d12f1a9dee8ad465ba8e9bfdc5d29fa7ebf69b4a authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308257
122fa2ae01b4305917e0b00c63e4a33bf273746b authored over 7 years ago by Matthias Braun <[email protected]>
`--commit=1` and `--commit 1` is still supported as an (undocumented)
special case to not break ...
llvm-svn: 308255
a4594a4bf8fc71c608d8ad5633d54afc172fc18b authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308237
4d21076eb1c1328bd3c9ac0395c72a4815598df4 authored over 7 years ago by Chris Matthews <[email protected]>
The REST API adds these keys so that you can delete etc, but we need to
ignore them when they ar...
I'd like all of our timestamps to be 8061. For now, lets start allowing
us to accept them in ru...
Regression when moving to "click" for command line parsing.
"lnt profile upgrade" crashes when o...
llvm-svn: 308229
fa4ea9d98a07924fc8a0666eea0c5da59389cab9 authored over 7 years ago by Chris Matthews <[email protected]>llvm-svn: 308204
7d0e2e501be2c75743d678cb57da63ddfd2c91c2 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 308201
f1023ac3822db53c61142da4645c9d9c717ef6cd authored over 7 years ago by Matthias Braun <[email protected]>
When a given run contains a "producer" value (usually an URL pointing to build
systems), the run...
llvm-svn: 307994
0599af8c4eaf8aff903cf1d19ebfb93a1018e03d authored over 7 years ago by Matthias Braun <[email protected]>With the cascading specifications in place, deletion is trivial...
llvm-svn: 307993
b9d4622cb14fd0f407431df95134b120004f2f8a authored over 7 years ago by Matthias Braun <[email protected]>
Apart from making the structure more explicit this should make deletion
code a lot easier.
llvm...
a21658c7a3736eb40015f843e9b358902878e740 authored over 7 years ago by Matthias Braun <[email protected]>
While this seems like a fatal omission, it usually didn't matter as the
migration scripts add in...
- Import relation method and do not repeat the full module path each
time.
- Directly referenc...
This re-applies r307562 now that the metatables are upgraded in sync
with the yaml so the fieldc...
The fieldchange system references metatables from the testsuite specific
tables, this means even...
- Remove unused sample_types list from v4db
- Avoid duplicated list in TestSuite.from_json
- Rem...
This reduces the chance for problems when blasting an sqlite testserver
with submissions.
It doe...
llvm-svn: 307806
e03567cc0622546b0fa92aae801052a10dc733c0 authored over 7 years ago by Matthias Braun <[email protected]>
Providing the visible_note() function and playing games with global
flask state in unrelated por...
- We only have 1 hardcoded list of tests left in lnt.tests.__init__.py
- Avoid some duplication ...
Import most python modules (except for some used by pretty much all
actions) lazily inside the a...
- The command broke in r306534. Add a unittest so this doesn't happen
again.
- Rewrite lnt.tes...
llvm-svn: 307724
5d1a4be86844bbd16f257b84e2e6d3a0c6157f85 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 307721
dcdd32b7e831b71b54f3f3bdd602fbfa19122b33 authored over 7 years ago by Matthias Braun <[email protected]>
- Fix some code setting up loggers for "lnt" even though all our logs
go to "lnt.server.ui.app...
llvm-svn: 307710
384362a25c363cee62abc3b52b1361f55a263218 authored over 7 years ago by Matthias Braun <[email protected]>
Flask seems to be switching between simplejson and json. Instead of
duplicating this magic in LN...
llvm-svn: 307707
539ea7fa7a7c3189c79306bae635a4530c79df2e authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 307708
d959e1ee364a2a2f3a24dd907cecc27f45d078a5 authored over 7 years ago by Matthias Braun <[email protected]>
Some people use simplejson, and when they do, Flask uses it
automatically. We need to do that a...
llvm-svn: 307674
92806869ff21d68785b8d5e2241382ac56b4220d authored over 7 years ago by Chris Matthews <[email protected]>This reverts commit 59f86a68f08ec22040cdca17116ee549aa927579.
Broke the server.
llvm-svn: 307570
3e60c8105edebe7523cc87eb06912e0fdc8102c3 authored over 7 years ago by Chris Matthews <[email protected]>
This converts the existing compile suite schema which was previously
configured via the TestSuit...
The LNT client just prints error codes. In the case of server 500 errors
this is annoying when t...
Schemas are defines in yaml now, 'json' as part of the method name was
confusing.
llvm-svn: 307416
8fc060328a1f63b3ccb4e4db446f633996805856 authored over 7 years ago by Matthias Braun <[email protected]>
This moves getNum{Machines|Runs|Samples|Tests}() and
importDataFromDict() from v4db into TestSui...
llvm-svn: 307337
36191d0a05537cf9634601cdc3877e26d21c00e2 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 307336
da9848e824d01364f36f1046b8262adb25827d19 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 307327
81995b250b1a3549201d8812b0ff00df0d5a46a3 authored over 7 years ago by Matthias Braun <[email protected]>
It wasn't used, also we use python 2.7 now so we have
multiprocessing.cpu_count().
llvm-svn: 30...
b65c6b32023a816dee4758d663aa8c2b5c404b82 authored over 7 years ago by Matthias Braun <[email protected]>llvm-svn: 307323
8f6b59430b331255aef56ab13eeca57fd82f2f69 authored over 7 years ago by Matthias Braun <[email protected]>