Apparent data corruption on openSUSE:Factory
After build-compare a couple of days ago, ocaml-ppxlib is now the second case where a pkg in the devel prj and openSUSE:Factory got out of sync for no obvious reason. Does anyone happen to know the details about "service error: bad link: conflict in file _service"? Are there any logs on the server that help to understand when and how the corruption happened? How can such corruption prevented in the future? In case of ocaml-ppxlib, I still had a copy from 'osc up -u', which turned out to be identical to the result from 'osc co -u openSUSE:Factory'. Thanks, Olaf
On Sep 12 2021, Olaf Hering wrote:
How can such corruption prevented in the future?
Don't commit unexpanded sources. 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."
On Sep 12 2021, Olaf Hering wrote:
And why would it matter anyway in this case?
You need to adjust the md5sums yourself. 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."
Am Sun, 12 Sep 2021 09:43:07 +0200 schrieb Andreas Schwab <schwab@linux-m68k.org>:
You need to adjust the md5sums yourself.
I can not possible know the expected md5sum. 'osc up -e && for i in *.mine ; do mv $i ${i%.mine} ; osc resolved ${i%.mine} ; done ; rm *.new *.old' somehow solved it. When and wow did that conflict happen anyway between 2021-06-16 and 2021-09-11? -<link project="openSUSE:Factory" baserev="70db28b2570224d9a2b9f280780250d6"> +<link project="openSUSE:Factory" baserev="7ba5a9b7271d0121a2cb02605884c7f2"> Olaf
On Sep 12 2021, Olaf Hering wrote:
Am Sun, 12 Sep 2021 09:43:07 +0200 schrieb Andreas Schwab <schwab@linux-m68k.org>:
You need to adjust the md5sums yourself.
I can not possible know the expected md5sum.
QED. 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."
Am Sun, 12 Sep 2021 08:49:49 +0200 schrieb Olaf Hering <olaf@aepfle.de>:
How can such corruption prevented in the future?
So the corruption happened once more. But why only for a subset of packages? https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml Olaf
On Donnerstag, 30. September 2021, 12:54:49 CEST Olaf Hering wrote:
Am Sun, 12 Sep 2021 08:49:49 +0200 schrieb Olaf Hering <olaf@aepfle.de>:
How can such corruption prevented in the future?
So the corruption happened once more. But why only for a subset of packages?
https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml
well, there is a conflict in the files. Did you submitted an old version (c7941cd0bf1c36b8ddb8a76617fd5dcc refers to 4.12.1) after commiting a newer version? -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer
Am Thu, 30 Sep 2021 14:02:17 +0200 schrieb Adrian Schröter <adrian@suse.de>:
Did you submitted an old version (c7941cd0bf1c36b8ddb8a76617fd5dcc refers to 4.12.1) after commiting a newer version?
AFAICS the timeline for ocaml is: r83 2021-04-22 16:03:30 rq 887316 accepted r201 2021-04-22 16:03:30 rq 887316 propagated r202 2021-09-24 08:58:53 4.12.1 committed 2021-09-24 13:50:26 rq 921329 created r203 2021-09-24 15:01:29 fix committed 2021-09-24 15:01:46 rq 921338 created r204 2021-09-25 00:37:44 4.13.0 committed r84 2021-09-28 17:16:22 rq 921338 accepted Three is no commit shown in 'osc log' which propagates rq 921338. Was it wrong to create rev204 before rq 921338 was accepted? 4.13.0 is not ready because other packages must be updated to make them compatible with 4.13.0. Olaf
Am Thu, 30 Sep 2021 15:45:30 +0200 schrieb Olaf Hering <olaf@aepfle.de>:
AFAICS the timeline for ocaml is:
r83 2021-04-22 16:03:30 rq 887316 accepted r201 2021-04-22 16:03:30 rq 887316 propagated r202 2021-09-24 08:58:53 4.12.1 committed 2021-09-24 13:50:26 rq 921329 created r203 2021-09-24 15:01:29 fix committed 2021-09-24 15:01:46 rq 921338 created r204 2021-09-25 00:37:44 4.13.0 committed r84 2021-09-28 17:16:22 rq 921338 accepted There is no commit shown in 'osc log' which propagates rq 921338.
You accepted rq 921338. What did you (or the tools) do to break the _link in devel:languages:ocaml/ocaml? Are there any logs available to understand the breakage? Olaf
On Mon, 2021-10-04 at 16:48 +0200, Olaf Hering wrote:
Am Thu, 30 Sep 2021 15:45:30 +0200 schrieb Olaf Hering <olaf@aepfle.de>:
AFAICS the timeline for ocaml is:
r83 2021-04-22 16:03:30 rq 887316 accepted r201 2021-04-22 16:03:30 rq 887316 propagated r202 2021-09-24 08:58:53 4.12.1 committed 2021-09-24 13:50:26 rq 921329 created r203 2021-09-24 15:01:29 fix committed 2021-09-24 15:01:46 rq 921338 created r204 2021-09-25 00:37:44 4.13.0 committed r84 2021-09-28 17:16:22 rq 921338 accepted There is no commit shown in 'osc log' which propagates rq 921338.
You accepted rq 921338. What did you (or the tools) do to break the _link in devel:languages:ocaml/ocaml? Are there any logs available to understand the breakage?
This is OBS doing - nothing I can do there. Please file a bug with the OBS team. I've seen links breaking most commonly when they are regular _link with project.diff, and things usually working when they are branches (i.e. _link with complete sources) you can re-initialize it as a branch using: osc branch -f openSUSE:Factory ocaml devel:languages:ocaml --nodevel -m "Re-initialize branch" Cheers, Dominique
On Okt 04 2021, Dominique Leuenberger / DimStar wrote:
you can re-initialize it as a branch using: osc branch -f openSUSE:Factory ocaml devel:languages:ocaml --nodevel -m "Re-initialize branch"
Just running osc pull in the checkout should be enough. 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."
On Mon, 2021-10-04 at 17:14 +0200, Andreas Schwab wrote:
On Okt 04 2021, Dominique Leuenberger / DimStar wrote:
you can re-initialize it as a branch using: osc branch -f openSUSE:Factory ocaml devel:languages:ocaml --nodevel -m "Re-initialize branch"
Just running osc pull in the checkout should be enough.
That has the negative effect that it might happen again in the future, as it remain a traditional _link with project.diff.
On Okt 04 2021, Dominique Leuenberger / DimStar wrote:
On Mon, 2021-10-04 at 17:14 +0200, Andreas Schwab wrote:
On Okt 04 2021, Dominique Leuenberger / DimStar wrote:
you can re-initialize it as a branch using: osc branch -f openSUSE:Factory ocaml devel:languages:ocaml --nodevel -m "Re-initialize branch"
Just running osc pull in the checkout should be enough.
That has the negative effect that it might happen again in the future, as it remain a traditional _link with project.diff.
devel:languages:ocaml/ocaml was never a plain link. And even if, the right way to change that is to run osc linktobranch. 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 (4)
-
Adrian Schröter
-
Andreas Schwab
-
Dominique Leuenberger / DimStar
-
Olaf Hering