llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

r263877 breaks view-comparison

Open jmolloy opened this issue 10 years ago • 5 comments

Bugzilla Link 27655
Resolution FIXED
Resolved on May 19, 2016 02:38
Version unspecified
OS All
CC @cmatthew,@Meinersbur

Extended Description

From Mehdi Amini:

Re: [LNT] r263877 - [profile] Add the Profile DB table Hi James,

This commit broke lnt view-comparison I think.

The commit in question:

Author: jamesm Date: Sat Mar 19 09:46:20 2016 New Revision: 263877

URL: http://llvm.org/viewvc/llvm-project?rev=263877&view=rev Log: [profile] Add the Profile DB table

This maps a Sample to a profile on disk. Also add the config file plumbing.

Added: lnt/trunk/lnt/server/db/migrations/upgrade_8_to_9.py Modified: lnt/trunk/lnt/lnttool/create.py lnt/trunk/lnt/server/config.py lnt/trunk/lnt/server/db/testsuitedb.py lnt/trunk/lnt/testing/profile/profile.py

jmolloy avatar May 05 '16 12:05 jmolloy

Thank you.

Meinersbur avatar May 19 '16 09:05 Meinersbur

Added a test and fixed in r269958, also some cleanup in r269959.

cmatthew avatar May 18 '16 18:05 cmatthew

Sigh this is a less used feature with no tests at all. I can see why we break it so often. I will fix this and see if I can make a test.

cmatthew avatar May 18 '16 18:05 cmatthew

Commit r267787 Server side blacklist for changes adds another parameter to lnt.server.config.Config.init without also changing its use by lnt view-comparison.

Traceback (most recent call last): File "/tmp/lnt/bin/lnt", line 9, in load_entry_point('LNT', 'console_scripts', 'lnt')() File "/home/meinersbur/src/llvm/projects/lnt/lnt/lnttool/main.py", line 542, in main return tool.main(*args, **kwargs) File "/home/meinersbur/src/llvm/projects/lnt/lnt/util/multitool.py", line 78, in main self.commands[cmd]('%s %s' % (progname, cmd), args) File "/home/meinersbur/src/llvm/projects/lnt/lnt/lnttool/viewcomparison.py", line 83, in action_view_comparison None, { 'default' : db_info }) TypeError: init() takes exactly 9 arguments (7 given)

Meinersbur avatar May 18 '16 13:05 Meinersbur

assigned to @cmatthew

jmolloy avatar May 05 '16 12:05 jmolloy