[opensuse-buildservice] "State needs recalculations" forever, on a release project
I am trying to release packages from:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:CentO...
to:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:CentO...
With:
$ osc release systemsmanagement:Uyuni:Master:CentOS6-Uyuni-Client-Tools
<status code="invoked">
<summary>Job invoked</summary>
</status>
But for some reason only one package (cobbler) was released. I can't see any errors, but
no other packages are released, and the status of the repositories is "State needs
recalculations, former state was: No build possible atm, waiting for jobs in other
repositories"
The strange thing is CentOS7 worked fine when I released packages from:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:CentO...
to
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:CentO...
With:
$ osc release systemsmanagement:Uyuni:Master:CentOS7-Uyuni-Client-Tools
<status code="invoked">
<summary>Job invoked</summary>
</status>
It is hard to me to believe that this is a config problem, as meta and project are almost the
same at origin and destination (only exception being that at Master:CentOS6-Uyuni-Client-
Tools there is an extra patch project to systemsmanagement:Uyuni:Master:Temp).
Any idea of what is going on?
--
Julio González Gil
Since I am running out of ideas, I tried to release to a test project without any kind of project paths at the meta config, to see if maybe some of the paths was causing the problem: https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:Test However the same happens. Only cobbler is copied and the repositories are showing "State needs recalculations, former state was: No build possible atm, waiting for jobs in other repositories" Also tried to remove "systemsmanagement:Uyuni:Master:Temp" path from systemsmanagement:Uyuni:Master:CentOS6-Uyuni-Client-Tools, but no luck. So I am basically running out of ideas. Is it CentOS6 rebuilding somehow and affecting only some repositories (systemsmanagement:Uyuni:Master:CentOS6- Uyuni-Client-Tool does not get locked)? Am I messing something with the configuration? Is OBS having issues? On jueves, 20 de diciembre de 2018 8:42:26 (CET) Julio González Gil wrote:
I am trying to release packages from:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:CentO S6-Uyuni-Client-Tools
to:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:CentO S6-Uyuni-Client-Tools
With:
$ osc release systemsmanagement:Uyuni:Master:CentOS6-Uyuni-Client-Tools <status code="invoked"> <summary>Job invoked</summary> </status>
But for some reason only one package (cobbler) was released. I can't see any errors, but no other packages are released, and the status of the repositories is "State needs recalculations, former state was: No build possible atm, waiting for jobs in other repositories"
The strange thing is CentOS7 worked fine when I released packages from:
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:CentO S7-Uyuni-Client-Tools
to
https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable:CentO S7-Uyuni-Client-Tools
With:
$ osc release systemsmanagement:Uyuni:Master:CentOS7-Uyuni-Client-Tools <status code="invoked"> <summary>Job invoked</summary> </status>
It is hard to me to believe that this is a config problem, as meta and project are almost the same at origin and destination (only exception being that at Master:CentOS6-Uyuni-Client- Tools there is an extra patch project to systemsmanagement:Uyuni:Master:Temp).
Any idea of what is going on?
--
Julio González Gil
On Dez 20 2018, Julio González Gil
But for some reason only one package (cobbler) was released.
AFAICS, this is the only package that was recently modified. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On jueves, 20 de diciembre de 2018 9:48:34 (CET) Andreas Schwab wrote:
On Dez 20 2018, Julio González Gil
wrote: But for some reason only one package (cobbler) was released.
AFAICS, this is the only package that was recently modified.
Andreas.
Yes, but "osc release" copies others if not present (that's what happened
during the first release I did for CentOS7, for example, at
systemsmanagement:Uyuni:Stable:CentOS7-Uyuni-Client-Tools)
The problem is that today, before making the new release, I noticed that for
CentOS6 we only had cobbler and mgr-osad, and the status locked. I tried to
remove and recreate the project, and then only got cobbler released (but still
the status locked).
In fact "osc release" seems to be copying everything, according to what I see
for CentOS7: https://build.opensuse.org/project/show/
systemsmanagement:Uyuni:Stable:CentOS7-Uyuni-Client-Tools (all packages
changed 2 hours ago, when I released).
--
Julio González Gil
So thanks to Marco Strigl I was able to find the problem. He suggested me to release only one package: $ osc release systemsmanagement:Uyuni:Master:CentOS6-Uyuni-Client-Tools hwdata Server returned an error: HTTP Error 404: Not Found <status code="404"> <summary>repository 'systemsmanagement:Uyuni:Stable:CentOS6-Uyuni-Client- Tools/CentOS_6' has no architecture 'i586'</summary> <details>404 repository 'systemsmanagement:Uyuni:Stable:CentOS6-Uyuni- Client-Tools/CentOS_6' has no architecture 'i586'</details> </status> Boom! It seems that YES: I was missing i586 on the target, so I am just blind because in the end it was a CONFIG problem on my side :-( I added the architecture, and it's working now. To some extent, I can understand that a plain "osc release" without specifying a package does not show errors (in the end AFAIK it just requests a "release all" and does not wait for each package). But if the problem is that the project can't build the repositories because one architecture is missing, reporting "State needs recalculations, former state was: No build possible atm, waiting for jobs in other repositories" seems to be missleading, IMHO. And maybe even "osc release" could check if the architectures on the origing matches the architectures on the target and show an error or at least a warning otherwise :-) Should I report a bug? Anyway, thanks A LOT to Marco for his hint :-) On jueves, 20 de diciembre de 2018 9:52:33 (CET) Julio González Gil wrote:
On jueves, 20 de diciembre de 2018 9:48:34 (CET) Andreas Schwab wrote:
On Dez 20 2018, Julio González Gil
wrote: But for some reason only one package (cobbler) was released.
AFAICS, this is the only package that was recently modified.
Andreas.
Yes, but "osc release" copies others if not present (that's what happened during the first release I did for CentOS7, for example, at systemsmanagement:Uyuni:Stable:CentOS7-Uyuni-Client-Tools)
The problem is that today, before making the new release, I noticed that for CentOS6 we only had cobbler and mgr-osad, and the status locked. I tried to remove and recreate the project, and then only got cobbler released (but still the status locked).
In fact "osc release" seems to be copying everything, according to what I see for CentOS7: https://build.opensuse.org/project/show/ systemsmanagement:Uyuni:Stable:CentOS7-Uyuni-Client-Tools (all packages changed 2 hours ago, when I released).
--
Julio González Gil
participants (3)
-
Andreas Schwab
-
Julio González Gil
-
Julio González Gil