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 debug prints

I assume they were unintentional or they would have used the logging
infrastructure.

llvm-svn: ...

0e6c61c221481695245b505675d71f68df97f44e authored over 7 years ago by Matthias Braun <[email protected]>
Remove unused code

llvm-svn: 312657

fec0c2db34b03ee3b9a93755ae6a5013f4cc3efb authored over 7 years ago by Matthias Braun <[email protected]>
We shouldn't call sys.exit() in a multiprocessing Process

llvm-svn: 312611

3e22eca03aaccb0685d83393ae798758c22ce918 authored over 7 years ago by Matthias Braun <[email protected]>
async_ops: Make sure we join() finished jobs

llvm-svn: 312610

467ad7991302802df5278420269a85798419c2b9 authored over 7 years ago by Matthias Braun <[email protected]>
Slightly optimize some counting queries

llvm-svn: 312605

7fd06b9c2ea2103dd9f0f87f3f7d7eb707cfbdc9 authored over 7 years ago by Matthias Braun <[email protected]>
Improve submit test

- Do not submit the same run twice during the script
- Extend server_wrapper with a mode that fa...

afb6fa7b0c688cc37d17ba256e32ca81458c3226 authored over 7 years ago by Matthias Braun <[email protected]>
Analysis: Fix typo

This should fix all those invalid "WARNING: Found different hashes for
multiple samples" in the ...

dadedab225312ebe379078f5ed9ed1734445ece6 authored over 7 years ago by Matthias Braun <[email protected]>
Show id in {Run|Machine|Order|Test|Sample}.__repr__()

Also log which fieldchanges get computed.

llvm-svn: 312600

c206e58c95bb54796275410d14e52330e2dbc7bb authored over 7 years ago by Matthias Braun <[email protected]>
Further fixes for fieldchange.

Turns out we have not enough tests for the fieldchange logic so I
accidentally broke some of it ...

5ef5a23f0c9bcb7974253ab7919400784326369a authored over 7 years ago by Matthias Braun <[email protected]>
Fix typo in V4db.close_all_engines()

llvm-svn: 312586

4f9efd91a9ea0b74188885954044b3136d00d6f7 authored over 7 years ago by Matthias Braun <[email protected]>
Fix for MySQL case insensitive queries

MySQL Collation is by default 'utf8_general_ci' which is not case
sensitive. In sample creation...

6740695d8f4c3560cf9b91bda94198e13ed7d599 authored over 7 years ago by Chris Matthews <[email protected]>
Remove wrong fixes for MySQL Index error

The actual issue was that MySQL was doing a case insensitive string
compare.

llvm-svn: 312399

8c25bd36812f5550131c0e19895a4ca8584c0469 authored over 7 years ago by Chris Matthews <[email protected]>
Create shorter lived session in v4db init

The next attempt to avoid database deadlocks in the metadata tables:
Make sure no session is act...

4d41cb1bbe5bc8f48add5eddcd118266b2cd744d authored over 7 years ago by Matthias Braun <[email protected]>
v4db: Mark metatable relations as eager, simplify init code

Trying to avoid some deadlocks which I assume are caused by testsuite
metadata getting loaded la...

d464dd2acb1b1ff95b315848af1bb45db322096a authored over 7 years ago by Matthias Braun <[email protected]>
Possible fix for MySQL test names not matching issue

llvm-svn: 312365

51de7e435274a8f60b30a4c4cebc795ca843df36 authored over 7 years ago by Chris Matthews <[email protected]>
Keep sqlalchemy session separate from database objects

SQLAlchemy sessions should be handled independently of the lifetimes of
database objects.

See a...

eb0f1b51e7bcf46cf8868ea0186f8e8f086e6ed8 authored over 7 years ago by Matthias Braun <[email protected]>
Fix typo

Oops.

llvm-svn: 312362

3e98832e36cf7d6c51cf9dd31489deb7d9455f18 authored over 7 years ago by Matthias Braun <[email protected]>
Small cleanup; NFC

Rename field_id template parameter to field_index since it does not have
the value of field.id b...

333332f31c8e3055c584c67e060b527f4870b874 authored over 7 years ago by Matthias Braun <[email protected]>
Graph for sample API: Fixes the way field_index is generated for a given field_name.

llvm-svn: 312314

a91b67478b1563bfe6036f2027c0619d6d38f36f authored over 7 years ago by Leandro Nunes <[email protected]>
Fix log page crash

This needs to be defined for the custom logging file to work.

llvm-svn: 312301

86524d17c37d92738b36b90c1b7a890c392796f2 authored over 7 years ago by Chris Matthews <[email protected]>
Fix an error where the file logger is always used

The file logger should not be used in production. The logic was wrong
for suppressing that.

llv...

262fb29d0ac1d2aa951a634149278272a8a0993b authored over 7 years ago by Chris Matthews <[email protected]>
This path is very long, and not useful

Replace with filename instead.

llvm-svn: 312298

f9ebc894d304bfdc9f427ba36d989c330d3bf66c authored over 7 years ago by Chris Matthews <[email protected]>
lit.cfg: Do not fail with relative __file__ paths

The latest lit changes lead to __file__ reporting a relative path
instead of an absolute one. Wr...

440332413e06bb6bb199f95e040f7a75101999e1 authored over 7 years ago by Matthias Braun <[email protected]>
Endpoint to get to graph url for a sample.

When you have gotten samples from the API, it is useful to be able to
get their graphs. This en...

0a40b7d1ee39200ca1d778a3e1a682179e09ae52 authored over 7 years ago by Chris Matthews <[email protected]>
Dead code

llvm-svn: 312198

3e6abf6cff2d55855ab052886cae304a243f6265 authored over 7 years ago by Chris Matthews <[email protected]>
v4_machine: Cleanup; NFC

Simplify code. Avoid database queries from jinja template.

llvm-svn: 312093

ea5ca020e988653ed79051f1e176c77bff79f099 authored over 7 years ago by Matthias Braun <[email protected]>
v4db: Load all testsuites eagerly

In contrast to the previous lazy loading:
- Simplifies the code
- This is a step towards the goa...

00cdd2a76bcf724a250b6b589e3b7265264f76e3 authored over 7 years ago by Matthias Braun <[email protected]>
v4db: Inline close_engine into close_all_engines

The function wasn't used otherwise.

llvm-svn: 312092

7cc084e0048a2b4dbcee2c463b414f718ab53cca authored over 7 years ago by Matthias Braun <[email protected]>
Change check_testsuite_schema_changes to take a session; NFC

No need to pass the whole v4db object, a session is enough.

llvm-svn: 312090

32d1bba369b7dfc47e93996486371518f37f9cbd authored over 7 years ago by Matthias Braun <[email protected]>
Do not fail if error result has no 'message' component

llvm-svn: 312089

2eedd0d030da99c4aa0314d8ceb7f5d6f6a9591a authored over 7 years ago by Matthias Braun <[email protected]>
Remove --commit/--commit=0 flags/settings.

This removes the possibility to not commit a run. It was easy to forget
to pass the commit flag ...

dd683980dfcc94f39d84d27df23db02529be1081 authored over 7 years ago by Matthias Braun <[email protected]>
docs/developer_guide: Fix formatting of example

llvm-svn: 312063

dc8205b484adc40e65f2e8afc2f12a47a15627c0 authored over 7 years ago by Matthias Braun <[email protected]>
Revamp testing guide to have a more compact representation of lit options

llvm-svn: 312062

cd439af2695f0206f6fee462b3c7c1a626ab935c authored over 7 years ago by Matthias Braun <[email protected]>
Fix various html problems

llvm-svn: 312060

d118743346d32fd5e3e4cd258736e86b69db0b2b authored over 7 years ago by Matthias Braun <[email protected]>
tests: Integrate html-tidy checks into ui page tests

This adds an option to check generated html pages for errors with tidy-html5

llvm-svn: 312061

10289edffc129d666df947b68e7842cfcfd7e228 authored over 7 years ago by Matthias Braun <[email protected]>
Do not store index with SampleField object; NFC

The index field cannot be computed in the constructor of the SampleField
object; it was only ini...

caad8dcacd20a0eabfe6f6cdd0bfcfbf61dbee67 authored over 7 years ago by Matthias Braun <[email protected]>
tests/V4Pages: Add some missing URLs

llvm-svn: 312058

d4116306e1ffabdde465f05721756e97ac77a749 authored over 7 years ago by Matthias Braun <[email protected]>
views: Fix global_status page failing when there is no data

llvm-svn: 312057

43a4fd814385e368bb37c707fa97cb925eed4f0b authored over 7 years ago by Matthias Braun <[email protected]>
lit.cfg/mysql: cleanup

llvm-svn: 312056

4459b8788265e1f1cd41683e7940b4fe6a9e9ad7 authored over 7 years ago by Matthias Braun <[email protected]>
Do some more in the MySQL tests

Import some runs.

llvm-svn: 311963

f62f90f1cb9109e2bb596788bf0c00daa8630bba authored over 7 years ago by Chris Matthews <[email protected]>
Do all comparisons as str, not unicode

Seems as though the DBs treat unicode a little differently, so downcast
to string so we look for...

9574758a32b5aa3f9f577afb18e5533c45d76ce5 authored over 7 years ago by Chris Matthews <[email protected]>
Get rid of commit parameter: it was not used

llvm-svn: 311961

2c04eb3ae9cbdf67dc4e4fdec940525d4a684c47 authored over 7 years ago by Chris Matthews <[email protected]>
Fix MySQL funnyness where test names are not in the cache

Seems like this cache is failing, and we get integrity errors. In
David's original patch he down...

15cbcaf7a4b685c6e3ddfb7b884d0e2fb57813aa authored over 7 years ago by Chris Matthews <[email protected]>
Match schema in the migration

This should needs to match the schema defn in the 0_1 migration, which
was changed for MySQL com...

d1242e8a556b1cbdeb559803d00c022ee2a85bf8 authored over 7 years ago by Chris Matthews <[email protected]>
[LNT] Remove reference of lnt createdb from docs.

lnt createdb is not provided by LNT any longer.

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

9ea08bc0813661042b89136ccdaf613f779dc669 authored over 7 years ago by Florian Hahn <[email protected]>
Add ts_data() to some pages that missed it

This fixes the baseline menu in a few more pages.

llvm-svn: 311761

48de904e110d6cbb6f6b034a28e8de53b5f2d219 authored over 7 years ago by Matthias Braun <[email protected]>
Fix pep8 warnings

llvm-svn: 311760

92a363ab19b98bd28eb4247ae638409061f826a2 authored over 7 years ago by Matthias Braun <[email protected]>
Add file missing in r311754

llvm-svn: 311759

9e3d01bd7419fcbd7ae8002e8608543e249bec9e authored over 7 years ago by Matthias Braun <[email protected]>
Avoid database queries inside page templates

Doing database queries inside page templates is bad style and makes it
hard to find all code wor...

808245434195310a3a842cceaccc93d879d00a18 authored over 7 years ago by Matthias Braun <[email protected]>
Move shared PrecomputedCR class to lnt.server.ui.util; NFC

llvm-svn: 311755

f73f01927b448432573dfd1234b4e830a533466d authored over 7 years ago by Matthias Braun <[email protected]>
Move some utilities around; NFC

Reduce dependence on lnt.server.ui.util for code outside of
lnt.server.ui.

llvm-svn: 311754

c5b0da603cb3c91ee98353c5746d225138b9ccd5 authored over 7 years ago by Matthias Braun <[email protected]>
Remove a bunch of database versioning code

There has been no other version than 0.4 for a long while and it is
unlikely to ever change agai...

f5fa093be57e7b9ab561a27c988f7a5e6bb53a4b authored over 7 years ago by Matthias Braun <[email protected]>
Unify SQL logging

Some code was using init_logger(show_sql=True), while other code was
passing echo=True to the V4...

ec64acbea9f364747a1f5cc3eecc1147cf15151e authored over 7 years ago by Matthias Braun <[email protected]>
Unused + type annotation cleanups

llvm-svn: 311698

8b0b42dc485333bae9ac83d5c6735f00b3e2e23b authored over 7 years ago by Chris Matthews <[email protected]>
PEP8 cleanups

llvm-svn: 311697

3cacb5baf29893cce0ea66c5ee029ad8598e0723 authored over 7 years ago by Chris Matthews <[email protected]>
remove duplicate argument

llvm-svn: 311688

4f2a4761256b2fa7bc823e83421d1632f24108d4 authored over 7 years ago by Chris Matthews <[email protected]>
Remove memory logger in favor of file logger

The memory logger has limitations, and is a constant source of bugs.
Remove the memory logger. M...

191a200956515d3fc55c78a8e1ab17998d582f83 authored over 7 years ago by Chris Matthews <[email protected]>
Some docs on setting up a production grade LNT server

llvm-svn: 311686

6b11ace1c299baf43893c56a119dbb47497c0520 authored over 7 years ago by Chris Matthews <[email protected]>
Don't add baselines if they are not defined

If the user has not defined a baseline, and there is not one in the
config, don't add a baseline...

e07ee6b346abdebc8958c375e56c05140dc03181 authored over 7 years ago by Chris Matthews <[email protected]>
Share add_column() function between db and db.migrations; NFC

llvm-svn: 311678

8c6a39c2e47656fb430ec78b8a9305f0145f65c1 authored over 7 years ago by Matthias Braun <[email protected]>
v4db: Remove unused members

llvm-svn: 311677

299dc2eb700f050de10e8c09042be253caa0cd37 authored over 7 years ago by Matthias Braun <[email protected]>
Init logger for `lnt import`

Without this we would fail to see error messages written to the logger.

llvm-svn: 311676

69c0cf108f7718a2f4ffd717c928f629da921a09 authored over 7 years ago by Matthias Braun <[email protected]>
fix warning

llvm-svn: 311615

0ca43fce5eb83b402ef049b229526b861dd1a561 authored over 7 years ago by Matthias Braun <[email protected]>
api: Fix error handling in runs POST

llvm-svn: 311616

b15765e79df6fa241c112687c1745de03fdbfbbf authored over 7 years ago by Matthias Braun <[email protected]>
CI logging compatibles error messages

We have CI log scanning in Jenkins that looks for error:, so it is nice
when the error messages ...

8d1efa196073313c8f83699561f39533ab7877f5 authored over 7 years ago by Chris Matthews <[email protected]>
Only print server results when we don't have an error

llvm-svn: 311613

fae48e0129792e1e70ff0390f7471500d0a25541 authored over 7 years ago by Chris Matthews <[email protected]>
Manifest was referencing missing files

These files are gone.

llvm-svn: 311509

3de8b6bfc682e08da20dec0682f6a74eac3a2973 authored over 7 years ago by Chris Matthews <[email protected]>
Using wrong bash operator

This should be equals -eq not exists -e

llvm-svn: 311507

502492c560b6b95ef1a9aa8a49bd03632c96e5bd authored over 7 years ago by Chris Matthews <[email protected]>
Fix postgres_wrapper.sh

Turns out this is not run with the default tests, so I was not even
running this locally. It fai...

ac2f702ccca1e0d2399ef65ed0d47d0cd48b5058 authored over 7 years ago by Chris Matthews <[email protected]>
Switch away from shell simple variables

llvm-svn: 311502

4f00fe65df118a1dc198b5400efeae94ffc812ca authored over 7 years ago by Chris Matthews <[email protected]>
Make postgres database in a tmp dir

The CI is failing because the path to the postgres database is longer
than postgres would like. ...

efd50a1f756f16aaf523ba4e7286866b41b58c20 authored over 7 years ago by Chris Matthews <[email protected]>
api: Implement machines put method

This allows to change the parameters of a machine (while this is also
possible when uploading a ...

6a3e888b11e53104668464c6afe0d9560138f90c authored over 7 years ago by Matthias Braun <[email protected]>
Fix some cases where the submission page wouldn't render.

llvm-svn: 311363

cf7b3432fe198a26bef1614fe66601b3e23bae1c authored over 7 years ago by Matthias Braun <[email protected]>
This default arg was incorrect

Default args are only evaluated at program start, so this would be the
wrong timestamp.

llvm-sv...

ffd21b1ef447f0cfe91db3145a6c89c0dc1db87c authored over 7 years ago by Chris Matthews <[email protected]>
If a server error has happened, don't try and print the server report

llvm-svn: 311203

2508ccb836df3b95765a0cead689e7055702e7e4 authored over 7 years ago by Chris Matthews <[email protected]>
If no dots are passed, also 400

I noticed someone passed a malformed plot tuple that crashed LNT instead
of returning a 400 beca...

bf398650fd12e6864d0f0836f3636ee7d24b6b57 authored over 7 years ago by Chris Matthews <[email protected]>
Fix submissions without complete machine fields getting rejected.

Followup to r309247: Submissions got rejected when they did not provide
all the declared machine...

f2af9d8bc3673243b1fc495ae259668cdcfd5ed7 authored over 7 years ago by Matthias Braun <[email protected]>
Further cleanup in old code

Cleaning up some linter issues. Mostly unused and shadowing.

llvm-svn: 310879

6f21b27208b3380b25f00204a909438be429d060 authored over 7 years ago by Chris Matthews <[email protected]>
Update to newer exception type

This old code was using a deprecated exception syntax.

llvm-svn: 310878

1e3d5e3f33cfb813bdddb441f96bc78b6d95cdb3 authored over 7 years ago by Chris Matthews <[email protected]>
Consistently indent shell scripts with 4 spaces

I accidentally introduced a bunch of tabs in previous commits.

llvm-svn: 310749

9e0d330864c0d194e91ff66670a0469e9e4983cc authored over 7 years ago by Matthias Braun <[email protected]>
Log submission errors with warning level

llvm-svn: 310747

9fd71841f445ec6eb482205675825f84b0c02e43 authored over 7 years ago by Matthias Braun <[email protected]>
Do not use %T in unittests anymore

%T is deprecated in favor of `mkdir %t`; see also
https://reviews.llvm.org/D35396

llvm-svn: 310748

98b6b01c3162cca59b721922e4f2fc7e812e817e authored over 7 years ago by Matthias Braun <[email protected]>
Print server log when error exit detected

When the LNT server exits early, print the log into the test runner.

llvm-svn: 310668

6461fa3a3648bbab8135e22ac88fb18bcf92e256 authored over 7 years ago by Chris Matthews <[email protected]>
These became unused when I rebased

llvm-svn: 310666

5c51492f86902e91562eae29b0025227ab4b57ef authored over 7 years ago by Chris Matthews <[email protected]>
MySQL support for LNT

This is an attempt to merge in LNT's MySQL support from an experimental
branch. The lnt.llvm.or...

d31b6b2fe1a1e2990c723362d3e0a2977e1906c8 authored over 7 years ago by Chris Matthews <[email protected]>
Switch server wrapper for fixed sleep to polling

Sometimes tests fail with connection failed. This is because the server
was not up, or up in tim...

44cf6ad375c072217db0273612e45d7105c977ca authored over 7 years ago by Chris Matthews <[email protected]>
Remove some low-value debug messages

Remove two debug messages that spam the server logs and are not that
valuable (the real problem ...

59e5784189e25c42d7b25809872ed6e2ec9b0359 authored over 7 years ago by Matthias Braun <[email protected]>
Log failed submission attempts

llvm-svn: 310280

4cce4885a487395650aa9ca0607d3faa4b7a44a9 authored over 7 years ago by Matthias Braun <[email protected]>
Fix more pep8 warnings; NFC

llvm-svn: 309791

e8073308562ece5e22a17e25a59dea5857d93e76 authored over 7 years ago by Matthias Braun <[email protected]>
Show a helpful note if a submission is rejected because of mismatching machine info

llvm-svn: 309788

22b2e296a216de370869fa4ea9b0faf1bab69202 authored over 7 years ago by Matthias Braun <[email protected]>
Report no_errors as a string for now

Putting in a boolean breaks the LNT run page. The buildbot jobs
use the latest LNT version for s...

66cfb0fbb1bea50041e3b3c1e995f75cfbef9ea3 authored over 7 years ago by Matthias Braun <[email protected]>
Simplify path_has_no_database_type

Make it just check for `://` in the string, before it would miss
things like `mysql+mysqldb://` ...

c1392cd75038660a911b27bec24d08b918d39165 authored over 7 years ago by Matthias Braun <[email protected]>
Do not create a MachineID, ParametersData index

mysql cannot index arbitrary length data and I doubt this index is
particularily helpful anyway,...

b5f4e7cc291c65a92d0158a7fe6e7190ca1a1c97 authored over 7 years ago by Matthias Braun <[email protected]>
Simplify migration code

SQLAlchemy is perfectly good at only creating the tables when they are
missing; there is no need...

5b93de22392214990b0ae2dc0c0e317f87278a75 authored over 7 years ago by Matthias Braun <[email protected]>
Disable autoincrement for StatusKind.id

We want to choose the IDs that we insert ourself, with autoincrement
enabled mysql won't let us ...

a9f48c77c5908221c750ce82a822105995dc8d5f authored over 7 years ago by Matthias Braun <[email protected]>
Add migration that drops old FieldChange table

LNT has switched to FieldChanveV2 a long time ago and the old table
sometimes got in the way by ...

bd59bfcc1cabb9781bd8275a5a4d948c5368c1e6 authored over 7 years ago by Matthias Braun <[email protected]>
Fix warning: ignoring item 'util.py'

llvm-svn: 309409

fc9c668327ae883e42df73cadcfd79141d365402 authored over 7 years ago by Matthias Braun <[email protected]>
migrations.util: Fix quoting for renaming tables

Also switched the rename API to use old_name instead of table (as it
only works correctly with p...

93f1bb2a94bfafb0146282405bd3521563afe3a7 authored over 7 years ago by Matthias Braun <[email protected]>
Rework run merge strategies

You can now choose between 3 different merge strategies:
- reject: Reject submission if a run wi...

c24cf2c8bd446ccb2c1e782ccd10c39664300a97 authored over 7 years ago by Matthias Braun <[email protected]>
Rework machine creation strategy

Currently when submitting a run and the machine data does not match the
previous data, LNT creat...

cf869d8e41e39ff2a10841433085a6d16426c908 authored over 7 years ago by Matthias Braun <[email protected]>