Bug 35481

Summary: beehive: ufb lacks some used packages
Product: Infrastructure Reporter: Ivan Zakharyaschev <imz>
Component: girarAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P3 CC: glebfm, ldv, vseleznv
Version: unspecified   
Hardware: all   
OS: Linux   
URL: http://git.altlinux.org/beehive/stats/Sisyphus-x86_64/ufb-1

Description Ivan Zakharyaschev 2018-10-07 04:37:28 MSK
This build really used ocaml-findlib and other ocaml-* stuff, which is missing in http://git.altlinux.org/beehive/stats/Sisyphus-x86_64/ufb-1 .

http://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/success/ocaml-biniou-1.2.0-alt2 :

$ egrep 'rpmi.*ocaml' /beehive/logs/Sisyphus-x86_64/latest/success/ocaml-biniou-1.2.0-alt2
<13>Oct  6 01:51:32 rpmi: ocaml-runtime-4.07.0-alt1.S1 sisyphus.211313.40 1536363610 installed
<13>Oct  6 01:51:32 rpmi: rpm-build-ocaml-1.3-alt1 1494941050 installed
<13>Oct  6 01:51:43 rpmi: ocaml-4.07.0-alt1.S1 sisyphus.211313.40 1536363610 installed
<13>Oct  6 01:51:43 rpmi: ocaml-easy-format-1.3.1-alt2 sisyphus.211313.700 1536364788 installed
<13>Oct  6 01:51:43 rpmi: ocaml-easy-format-devel-1.3.1-alt2 sisyphus.211313.700 1536364788 installed
<13>Oct  6 01:51:43 rpmi: ocaml-findlib-1.8.0-alt2 sisyphus.211313.600 1536364706 installed
<13>Oct  6 01:51:44 rpmi: ocaml-ocamldoc-4.07.0-alt1.S1 sisyphus.211313.40 1536363610 installed
$ 

But:

$ fgrep biniou /beehive/stats/Sisyphus-x86_64/ufb-1 | fgrep $'\to'
ocaml-biniou	opam	2.0.0-alt1.S1.rc
$
Comment 1 Ivan Zakharyaschev 2018-10-07 04:42:29 MSK
(In reply to comment #0)
> This build really used ocaml-findlib and other ocaml-* stuff, which is missing
> in http://git.altlinux.org/beehive/stats/Sisyphus-x86_64/ufb-1 .
> 
> http://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/success/ocaml-biniou-1.2.0-alt2
> :
> 
> $ egrep 'rpmi.*ocaml'
> /beehive/logs/Sisyphus-x86_64/latest/success/ocaml-biniou-1.2.0-alt2
> <13>Oct  6 01:51:32 rpmi: ocaml-runtime-4.07.0-alt1.S1 sisyphus.211313.40
> 1536363610 installed
> <13>Oct  6 01:51:32 rpmi: rpm-build-ocaml-1.3-alt1 1494941050 installed
> <13>Oct  6 01:51:43 rpmi: ocaml-4.07.0-alt1.S1 sisyphus.211313.40 1536363610
> installed
> <13>Oct  6 01:51:43 rpmi: ocaml-easy-format-1.3.1-alt2 sisyphus.211313.700
> 1536364788 installed
> <13>Oct  6 01:51:43 rpmi: ocaml-easy-format-devel-1.3.1-alt2
> sisyphus.211313.700 1536364788 installed
> <13>Oct  6 01:51:43 rpmi: ocaml-findlib-1.8.0-alt2 sisyphus.211313.600
> 1536364706 installed
> <13>Oct  6 01:51:44 rpmi: ocaml-ocamldoc-4.07.0-alt1.S1 sisyphus.211313.40
> 1536363610 installed
> $ 
> 
> But:
> 
> $ fgrep biniou /beehive/stats/Sisyphus-x86_64/ufb-1 | fgrep $'\to'
> ocaml-biniou    opam    2.0.0-alt1.S1.rc
> $

I see. Probably, the problem is cause by an extra field (after the NEVR) in the "rpmi" lines. Compare:

Skipped (with the new extra field):

> <13>Oct  6 01:51:43 rpmi: ocaml-findlib-1.8.0-alt2 sisyphus.211313.600
> 1536364706 installed


Not skipped (the old format):

> <13>Oct  6 01:51:32 rpmi: rpm-build-ocaml-1.3-alt1 1494941050 installed

The source code for beehive is at http://git.altlinux.org/people/ldv/packages/beehive.git?p=beehive.git;a=shortlog;h=refs/heads/hiver
Comment 2 Dmitry V. Levin 2018-10-13 11:18:58 MSK
Thanks, fixed by commit e5e60c52564783f18ee3948cd65e201189b85afa.