[Bug 756640] New: Services aparently run against old versions of spec files
https://bugzilla.novell.com/show_bug.cgi?id=756640 https://bugzilla.novell.com/show_bug.cgi?id=756640#c0 Summary: Services aparently run against old versions of spec files Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: source services AssignedTo: adrian@suse.com ReportedBy: christian.morales.vega@gmail.com QAContact: adrian@suse.com Found By: Community User Blocker: --- See https://build.opensuse.org/package/files?package=scummvm&project=home%3ARedDwarf%3Amultimedia as an example. A link to a package to the version 1.4.1 downloads the tarball of the 1.2.0 version. The problem is not specific of the download_files service, it has been also been observed with the format_spec_file (http://lists.opensuse.org/opensuse-buildservice/2012-03/msg00230.html).
From previous tests I guess a retrigger of the service would "fix" the problem in the given scummvm example. That's not the objective, the question is why the file _service:download_url:scummvm-1.2.0.tar.bz2 is right now there.
It's just a theory that I didn't try to verify, but I think the problem triggers when: 1) I have projectA configured to run the format_spec_file (and perhaps also others) service in the server side. 2) I have packageA in projectA. 3)I do a commit of packageA with a spec file that format_spec_file doesn't like. A _service:...*.spec file is created. 4)I do a new commit of packageA, with a spec file that format_spec_file likes, and the _service:...*.spec file dissapears. 5) I create packageB in projectB, subproject of projectA, as a link to packageA. Since projectB is a subproject of projectA the services also trigger for packageB. But I __think__ that the services are running against the old _service:...*.spec file generated in step 3 (and in theory deleted in step 4) instead of against the latest .spec file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756640 https://bugzilla.novell.com/show_bug.cgi?id=756640#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@suse.com |mls@suse.com --- Comment #1 from Adrian Schröter <adrian@suse.com> 2012-04-12 08:01:47 UTC --- The service did run against the current file at that point of time. But it does not get re-triggered automatically, when the link target is changing. Since the auto-trigger approach would kill us performance and bandwidth wise, I propose that we handle sources as broken, if * the service produced a file and * the link target has changed Micha, what is your opinion on that? If we show this broken state with a special code, we can promote the "service run" feature in a prominent way in the webui. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756640 https://bugzilla.novell.com/show_bug.cgi?id=756640#c2 --- Comment #2 from Cristian Morales Vega <christian.morales.vega@gmail.com> 2012-04-12 08:53:49 UTC ---
The service did run against the current file at that point of time. But it does not get re-triggered automatically, when the link target is changing.
That file wasn't there with r7: https://build.opensuse.org/package/files?package=scummvm&project=home%3ARedDwarf%3Amultimedia&rev=7 It appeared with r8: https://build.opensuse.org/package/files?package=scummvm&project=home%3ARedDwarf%3Amultimedia&rev=8 r8 was committed 12 days ago and there has not been a 1.2.0 scummvm in 15 months: https://build.opensuse.org/package/revisions?package=scummvm&project=games So the service did run 12 days ago... against something from at least 15 months ago, not against the current file at that point of time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756640 https://bugzilla.novell.com/show_bug.cgi?id=756640#c3 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@suse.com |adrian@suse.com --- Comment #3 from Michael Schröder <mls@suse.com> 2012-04-12 10:06:28 UTC --- Regarding Comment #1: Doable. I challenge your "auto-trigger approach would kill us performance and bandwidth wise" statement, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com