[Bug 947530] New: Different results from /request and /search/request APIs
http://bugzilla.suse.com/show_bug.cgi?id=947530
Bug ID: 947530
Summary: Different results from /request and /search/request
APIs
Classification: Internal Novell Products
Product: openSUSE Build Service
Version: master
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: api
Assignee: adrian@suse.com
Reporter: lchiquitto@suse.com
QA Contact: adrian@suse.com
Found By: ---
Blocker: ---
IBS can return a different request <state> depending on how the information is
queried (/request vs. /search/request). See for example:
$ iosc -d api /request/69694 | grep \
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c1
--- Comment #1 from Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
Stephan Barth
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c2
Adrian Schröter
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c3
Stephan Barth
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c4
--- Comment #4 from Stephan Barth
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c5
Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c6
Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c7
Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c8
Heiko Rommel
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c9
--- Comment #9 from Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c10
--- Comment #10 from Leonardo Chiquitto
diff -up <(iosc -d api '/search/request?match=@id=123423') \ <(iosc -d api '/search/request?withfullhistory=1&match=@id=123423')
--- /dev/fd/63 2016-11-09 21:00:25.904555784 +0100 +++ /dev/fd/62 2016-11-09 21:00:25.904555784 +0100 @@ -78,19 +78,32 @@ <comment>reviewers added: qam-sle</comment> </history> </review> - <review state="accepted" by_group="qam-sle"> + <review state="new" by_group="qam-sle"> <comment/> <history who="slemke" when="2016-11-09T11:40:52"> <description>Review got accepted</description> <comment>review assigend to user slemke</comment> </history> </review> - <review state="new" by_user="slemke"> - <history who="slemke" when="2016-11-09T11:40:52"> - <description>Review got assigned</description> - <comment>review for group qam-sle</comment> - </history> - </review> + <history who="leonardocf" when="2016-10-31T12:12:35"> + <description>Request created</description> + <comment>requesting release</comment> + </history> + <history who="maintenance-robot" when="2016-10-31T12:15:16"> + <description>Request got a new review request</description> + </history> + <history who="maintenance-robot" when="2016-10-31T12:15:17"> + <description>Review got accepted</description> + <comment>reviewers added: qam-sle</comment> + </history> + <history who="slemke" when="2016-11-09T11:40:52"> + <description>Review got accepted</description> + <comment>review assigend to user slemke</comment> + </history> + <history who="slemke" when="2016-11-09T11:40:52"> + <description>Review got assigned</description> + <comment>review for group qam-sle</comment> + </history> <description>requesting release</description> </request> </collection> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c11
--- Comment #11 from Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c12
--- Comment #12 from Leonardo Chiquitto
$ iosc rq list SUSE:Maintenance:3441 -d 123618 State:review By:maintenance-robot When:2016-11-04T13:05:14 (...) Review by Group is accepted: legal-auto(licensedigger) Review by Group is accepted: maintenance-team(maintenance-robot) Review by Group is accepted: qam-auto(maintenance-robot) Review by Group is accepted: qam-openqa(pluskalm) Review by Group is new: qam-sle Descr: requesting release
VS.
$ iosc rq show 123618 Request: #123618
(...)
Message: requesting release
State: review 2016-11-04T13:05:14 maintenance-robot Comment: <no comment>
Review: new User: atighineanu accepted Group: qam-sle accepted Group: qam-openqa 2016-11-04T13:05:14 pluskalm approving openQA review - tests fail on wrong regcode on aarch64 accepted Group: qam-auto 2016-11-04T12:56:03 maintenance-robot reviewers added: qam-openqa qam-sle accepted Group: maintenance-team 2016-11-04T12:56:03 maintenance-robot Unchecked request type (maintenance_release) accepted Group: legal-auto 2016-11-04T12:56:03 licensedigger Unchecked request type maintenance_release
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c13
Leonardo Chiquitto
http://bugzilla.suse.com/show_bug.cgi?id=947530
http://bugzilla.suse.com/show_bug.cgi?id=947530#c14
Christian Bruckmayer
participants (1)
-
bugzilla_noreply@novell.com