[Bug 542845] New: coverage testing fails due to rcov bug
http://bugzilla.novell.com/show_bug.cgi?id=542845 Summary: coverage testing fails due to rcov bug Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: WebYaST AssignedTo: kkaempf@novell.com ReportedBy: kkaempf@novell.com QAContact: qa@suse.de Found By: Development coverage testing for webservice/plugins/patches fails due to a bug in rcov /usr/lib64/ruby/gems/1.8/gems/relevance-rcov-0.8.3.4/lib/rcov.rb:675:in `aggregate_data': You have a nil object when you didn't expect it! (NoMethodError) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2009-09-29 08:39:04 MDT --- Upgrading to 0.9.3 (from github) apparently fixes this. Checked into YaST:Web as rubygem-rcov -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c3 --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2009-09-30 05:57:56 MDT --- Adding "set -x" to trace shell commands in /data/hudson/bin/create-chroot.sh (for webyast-11.1) now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c4 --- Comment #4 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 04:38:55 MDT --- Jens-Daniel, any update here ? If you're not working on this bug, please assign it back to me ! If you are working on it, set it to assigned and update the status please ! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User jdsn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c6 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE --- Comment #6 from J. Daniel Schmidt <jdsn@novell.com> 2009-10-01 06:48:11 MDT --- Klaus you found the bug yourself already :) *** This bug has been marked as a duplicate of bug 543436 *** http://bugzilla.novell.com/show_bug.cgi?id=543436 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c7 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #7 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 07:13:23 MDT --- Why wasn't the changed BuildRequires picked up by Hudson ? What did you do to have the right package installed ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |jdsn@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c8 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|coverage testing fails due |Hudson build server does |to rcov bug |not pick up changed | |BuildRequires --- Comment #8 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 07:14:54 MDT --- Adapting Summary -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c9 --- Comment #9 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 07:17:47 MDT --- rubygem-rcov is at 0.9.3.1 now, still Hudson uses 0.9.3 :-( -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c10 --- Comment #10 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 07:18:44 MDT --- Adapting golelet:/data/hudson/bin/fake-package/webyast-builddeps to reflect the new version -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User jdsn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c11 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|jdsn@novell.com | --- Comment #11 from J. Daniel Schmidt <jdsn@novell.com> 2009-10-01 08:50:19 MDT --- (In reply to comment #7)
Why wasn't the changed BuildRequires picked up by Hudson ? What did you do to have the right package installed ?
Just recreate the respective chroot. (In reply to comment #10)
Adapting golelet:/data/hudson/bin/fake-package/webyast-builddeps to reflect the new version
Please put everything needed in the spec file in the repo. The chroot environment is created according to the BuildRequires in the spec file(s). For ugly hacks you can add some custom BuildRequires statically (only to reflect differences of hudson and build-service). But this makes the whole system intransparent. So take care using it and do not rely on version numbers in it - otherwise we have to maintain "yet another config file". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c12 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |jdsn@novell.com Severity|Blocker |Critical --- Comment #12 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 09:13:58 MDT --- (In reply to comment #11)
Just recreate the respective chroot.
How's that done ?
(In reply to comment #10)
Adapting golelet:/data/hudson/bin/fake-package/webyast-builddeps to reflect the new version
Please put everything needed in the spec file in the repo.
We had that before but Duncan moved it to a separate config file. I guess because we dont run test suites during normal build, but only on Hudson. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c13 --- Comment #13 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 09:27:37 MDT --- rubygem-rcov 0.9.3.1 had a broken fix, now we need 0.9.3.2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User jdsn@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c14 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|jdsn@novell.com | --- Comment #14 from J. Daniel Schmidt <jdsn@novell.com> 2009-10-01 09:31:31 MDT --- (In reply to comment #12)
Just recreate the respective chroot. How's that done ?
Rebuild the chroot job for that project. For "webyast-*-11.1-i586" projects rebuild "webyast-chroot-11.1-i586". Same pattern for all others.
Please put everything needed in the spec file in the repo.
We had that before but Duncan moved it to a separate config file. I guess because we dont run test suites during normal build, but only on Hudson.
Then comment them out (in an %if-block) in the spec file but keep them in. Hudson only does a grep through the spec files but does not parse it. I'd prefer to maintain such a list in one place not in two places. And besides, making this list public will help others to install and test from source. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542845 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542845#c15 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #15 from Klaus Kämpf <kkaempf@novell.com> 2009-10-01 09:58:51 MDT --- Ah, thanks, now the 'black magic' around Hudson moves to 'grey magic' ;-} -- Configure bugmail: http://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