Leap 15.3 as DoD repo gives "The repository setup is broken, build or publish not possible"
Hello all, since the release of 15.3 is near I'd like to test it on our internal OBS (2.10). I created a new project with a download on demand repository like this --- snip --- <project name="openSUSE.org:Leap:15.3"> <title>openSUSE Leap 15.3 OSS (DoD)</title> <description>dod</description> <person userid="x" role="maintainer"/> <repository name="standard"> <download arch="x86_64" url="http://download.opensuse.org/distribution/leap/15.3/repo/oss/" repotype="rpmmd"/> <arch>x86_64</arch> </repository> </project> --- snap --- I also copied the project configuration from api.opensuse.org/openSUSE:Leap:15.3. But when I try to use my new repo all I get in the webgui is a red warning sign and the message The repository setup is broken, build or publish not possible Looking into /srv/obs/log/dodup.log only gives me --- snip --- obs:/srv/obs/log # grep 15.3 dodup.log 2021-05-10 00:37:34: [1622] checking openSUSE.org:Leap:15.3/standard/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ 2021-05-10 00:44:34: [1622] checking PRESENSE/openSUSE_Leap_15.3/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ 2021-05-10 00:49:57: [1622] checking openSUSE.org:Leap:15.3/standard/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ --- snap --- The same worked perfectly for openSUSE Leap 15.*2*. Has anything changed or how do I proceed to pinpoint the error? Thanks and regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024
Am 10.05.21 um 07:03 schrieb Till Dörges:
I created a new project with a download on demand repository like this
--- snip --- <project name="openSUSE.org:Leap:15.3"> <title>openSUSE Leap 15.3 OSS (DoD)</title> <description>dod</description> <person userid="x" role="maintainer"/> <repository name="standard"> <download arch="x86_64" url="http://download.opensuse.org/distribution/leap/15.3/repo/oss/" repotype="rpmmd"/> <arch>x86_64</arch> </repository> </project> --- snap ---
I also copied the project configuration from api.opensuse.org/openSUSE:Leap:15.3.
But when I try to use my new repo all I get in the webgui is a red warning sign and the message
The repository setup is broken, build or publish not possible
Looking into /srv/obs/log/dodup.log only gives me
--- snip --- obs:/srv/obs/log # grep 15.3 dodup.log 2021-05-10 00:37:34: [1622] checking openSUSE.org:Leap:15.3/standard/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ 2021-05-10 00:44:34: [1622] checking PRESENSE/openSUSE_Leap_15.3/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ 2021-05-10 00:49:57: [1622] checking openSUSE.org:Leap:15.3/standard/x86_64... updating metadata for rpmmd repo at http://download.opensuse.org/distribution/leap/15.3/repo/oss/ --- snap ---
When looking around some more /srv/obs/log/scheduler_x86_64.log shows --- snip --- calculating project dependencies... sorting projects and repositories... have 27 related prp dependencies setup_projects done, 0.000s + 0.005s + 0.001s get_projpacks_postprocess done, 0.005s + 0.000s 2021-05-11 19:11:32: [1652] looking at high prio TESTPRJ (2/0/2/0/110) 2021-05-11 19:11:32: [1652] looking at high prio TESTPRJ/openSUSE_Leap_15.2 (1/0/2/0/110) - TESTPRJ/openSUSE_Leap_15.2 scanning repo TESTPRJ/openSUSE_Leap_15.2... sorting 12 packages checking packages disabled: 1 succeeded: 11 building: 0, notready: 0, unfinished: 0 took 0 seconds to check the packages leaf prp, freeing data 2021-05-11 19:11:32: [1652] looking at high prio TESTPRJ/openSUSE_Leap_15.3 (0/0/2/0/110) - TESTPRJ/openSUSE_Leap_15.3: no build type (openSUSE.org:Leap:15.3) 2021-05-11 19:11:32: [1652] looking at low prio TESTPRJ/openSUSE_Leap_15.2 (0/0/1/0/110) - TESTPRJ/openSUSE_Leap_15.2 scanning repo TESTPRJ/openSUSE_Leap_15.2... sorting 12 packages checking packages disabled: 1 succeeded: 11 building: 0, notready: 0, unfinished: 0 took 0 seconds to check the packages leaf prp, freeing data 2021-05-11 19:11:32: [1652] looking at low prio TESTPRJ/openSUSE_Leap_15.3 (0/0/0/0/110) rebuilding project repoinfo for TESTPRJ/openSUSE_Leap_15.3... - TESTPRJ/openSUSE_Leap_15.3: no build type (openSUSE.org:Leap:15.3) 2021-05-11 19:11:32: [1652] waiting for an event... --- snap --- What does this line mean? - TESTPRJ/openSUSE_Leap_15.3: no build type (openSUSE.org:Leap:15.3) What is a build type? And why is it missing? I'm assuming something is missing from the configuration - even though I configured the local Leap 15.3 in the same way as the previous ones.
The same worked perfectly for openSUSE Leap 15.*2*.
I guess I'm stuck here. Any help/hints would be greatly appreciated. Thanks and regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024
Am 11.05.21 um 21:15 schrieb Till Dörges:
Am 10.05.21 um 07:03 schrieb Till Dörges:
I created a new project with a download on demand repository like this
--- snip --- <project name="openSUSE.org:Leap:15.3"> <title>openSUSE Leap 15.3 OSS (DoD)</title> <description>dod</description> <person userid="x" role="maintainer"/> <repository name="standard"> <download arch="x86_64" url="http://download.opensuse.org/distribution/leap/15.3/repo/oss/" repotype="rpmmd"/> <arch>x86_64</arch> </repository> </project> --- snap ---
I also copied the project configuration from api.opensuse.org/openSUSE:Leap:15.3.
But when I try to use my new repo all I get in the webgui is a red warning sign and the message
The repository setup is broken, build or publish not possible [...] The same worked perfectly for openSUSE Leap 15.*2*.
A colleague of mine found the solution: Copying the project configuration from api.opensuse.org/openSUSE:Leap:15.3 doesn't work. It does work, when taking it from https://github.com/openSUSE/obs-build/blob/master/configs/sl15.3.conf But I'm still curious: Apart from having epiphanies, how do you identify wrong/incomplete project configs as the root cause for the above problem? Thanks and regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de PRESENSE Technologies GmbH Nagelsweg 41, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 Besuchen Sie uns gerne auf der digitalen Plattform it-sa 365: https://www.itsa365.de/de-de/companies/p/presense-technologies-gmbh
On Jun 07 2021, Till Dörges wrote:
Copying the project configuration from api.opensuse.org/openSUSE:Leap:15.3 doesn't work.
The project config of openSUSE:Leap:15.3 is not complete, since it inherits from various other projects. To get the complete build config use osc buildconfig openSUSE:Leap:15.3 standard. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
participants (2)
-
Andreas Schwab
-
Till Dörges