Red Hat Bugzilla – Bug 1295540
Cannot start a build referring directly to git repository
Last modified: 2016-02-04 03:58:13 EST
There seems to be an issue in the form validation step.
- SCM Type: Git
- SCM URL: https://github.com/ClusterLabs/booth.git
- Spec File: booth.spec
- Git Branch: (either empty or "master")
- various permutations of the checkboxes at the bottom
-> Build -> "This field is required." message above the form
Got the same result with "Git and Tito" way.
Tried also with jpokorny/clufter + https://pagure.io/clufter.git
+ misc/clufter.spec combo but no cigar.
I was getting this error yesterday as well. Today, I can submit a build using Mock SCM, but the build immediately fails with "Unknown error". SRPM Upload succeeds.
Created attachment 1112606 [details]
Patch that might solve denormalized/broken build links
re [comment 1]:
Confirming, the web form validation issue looks solved now.
The current results I can observe with booth per above setup:
Source Type: Mock build from a SCM repository
-> Build State: failed
-> State Description: Unknown error.
Source Type: Tito build from a Git repository
-> Build State: failed
-> State Description: Attempt to build SRPM have failed.
Apparently, user is helpless here as no proper logs are provided.
-> sub-RFE: please provide better diagnostics for these dynamic
types of importing a package to be built
Beside that, there is an issue with rendering
"/<username>/<coprname>/builds/" template wrt. build id links:
> <tr class="build-row" >
> <td data-order="152111">
> <a href="
Which might be solved with the attached patch (UNTESTED).
"Git & Tito" seems to work on copr-fe-dev.cloud.fedoraproject.org right now (srpms are successfully imported and builds run).
Currently "Git and Tito" should work on the production instance. The main problem was missing dependency.
Apart from that, I agree that better diagnostic output is needed.
"Mock SCM" seems to be broken further on.
Should be fixed now (bad user config on the server, probly some change in .spec file will be needed, I'll look into it). Thanks for the report.
These two features are still experimental so you might expect some problems. We will improve it in very near future.
Better diagnostics and error handling provided by 4e2245f554
The problem with leading/trailing whitespaces in the generated links is now (partially) solved by 13cd5e7bc3
Note that Mock SCM builds fail in staging instance
(1.80-1.git.85.0b772db.fc23) where they work OK
in the production (1.79-1.fc23).
Code with this fix is currently deployed on copr-fe-dev.cloud.fedoraproject.org. You can test it there before it will be deployed to production.
This fix has been just deployed to production.