Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: external.sh test failed when build in mock
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Summary: external.sh test failed when build in mock Product: Fedora EPEL Version: el6 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: darcs AssignedTo: petersen@redhat.com ReportedBy: giamteckchoon@gmail.com QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, fedora-haskell-list@redhat.com Classification: Fedora Story Points: --- Type: ---
Description of problem:
Reference: http://us.generation-nt.com/answer/bug-596606-darcs-fails-build-without-netw...
When trying to rebuild darcs in mock, it will fail with the following partial log:
Running whatsnew-file.sh ... passed. Running whatsnew.sh ... passed. Running workingdir.sh ... passed. Some tests failed: external.sh Setup: Tests failed error: Bad exit status from /var/tmp/rpm-tmp.iKljMO (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.iKljMO (%check)
Version-Release number of selected component (if applicable): darcs-2.4.4-3.el6
Patch attached to disable external.sh test which in result in successful build of darcs-2.4.4-3.el6.
Thanks.
Kindest regards, Giam Teck Choon
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
--- Comment #1 from Giam Teck Choon giamteckchoon@gmail.com 2011-11-14 15:59:48 EST --- Created attachment 533620 --> https://bugzilla.redhat.com/attachment.cgi?id=533620 This patch is to disable external.sh and exit with 200
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
--- Comment #2 from Jens Petersen petersen@redhat.com 2011-11-15 20:06:57 EST --- Hmm I wonder how this test passed in koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=198918
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Flag| |needinfo?(giamteckchoon@gma | |il.com)
--- Comment #3 from Jens Petersen petersen@redhat.com 2012-01-25 22:44:18 EST --- I wonder how it is failing exactly - external.sh shouldn't need a network connection anyway. I don't know if you can run the test in your mock root?
I guess your builtroot is more restrictive in packages than the Fedora defaults.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Giam Teck Choon giamteckchoon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(giamteckchoon@gma | |il.com) |
--- Comment #4 from Giam Teck Choon giamteckchoon@gmail.com 2012-02-04 14:48:44 EST --- Sorry for this late reply. May I know how you want me to test?
Here are the list about the Requires packages for my buildroot:
bash buildsys-macros bzip2 cpio diffutils gcc gcc-c++ gzip make patch perl rpm-build sed tar unzip which redhat-release coreutils elfutils redhat-rpm-config shadow-utils
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #5 from Jens Petersen petersen@redhat.com 2012-02-06 01:13:14 EST --- I see thanks, interesting.
You can compare that to what is in the koji buildroot: http://kojipkgs.fedoraproject.org/packages/darcs/2.4.4/3.el6/data/logs/x86_6...
Okay now I finally understood your suggested patch is already in Debian...
I believe external network access does not work from mock/koji and I think the test in question is probably only using internal network access perhaps to 127.0.0.1(?) and hence succeeds. Given that it doesn't cause problems for fedora or epel then I prefer not to disable the test unnecessarily unless there is a stronger reason to do so.
Thank you reporting this issue anyway.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |WONTFIX Last Closed| |2012-06-02 02:32:18
--- Comment #6 from Jens Petersen petersen@redhat.com --- Well I am going to close this out for now.
If you still feel this is a serious problem then feel free to re-open. Thanks for your report.
https://bugzilla.redhat.com/show_bug.cgi?id=753918
--- Comment #7 from Jens Petersen petersen@redhat.com --- I just note in passing that darcs-2.5.2 for epel6 is in testing now. I don't know if it helps with this issue at all. Actually I guess it does since for 2.5.2 I turned off the testsuite for ghc7. I suppose I could have slyly closed this when the ghc7 packages go to stable. ;) :)
haskell-devel@lists.fedoraproject.org