[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: KDE Frameworks with failing CI (master) (29 January 2024)
From:       Ben Cooksley <bcooksley () kde ! org>
Date:       2024-02-03 19:50:09
Message-ID: CA+XidOG0N7bSMY3KfGq7DM=t2ZgbF_Nhhe+6AVvuamd7Jwt4Rg () mail ! gmail ! com
[Download RAW message or body]

On Sun, Feb 4, 2024 at 5:17 AM <christoph@cullmann.io> wrote:

> On 2024-02-03 08:57, Ben Cooksley wrote:
> > On Wed, Jan 31, 2024 at 9:25 PM Ben Cooksley <bcooksley@kde.org>
> > wrote:
> >
> >> On Wed, Jan 31, 2024 at 9:06 AM Volker Krause <vkrause@kde.org>
> >> wrote:
> >>
> >>> On Dienstag, 30. Januar 2024 19:08:50 CET Ben Cooksley wrote:
> >>>> On Wed, Jan 31, 2024 at 5:10 AM Volker Krause
> >>> <vkrause@kde.org> wrote:
> >>>>> On Dienstag, 30. Januar 2024 09:57:32 CET Ben Cooksley wrote:
> >>>>>> On Tue, Jan 30, 2024 at 8:47 PM Sune Vuorela
> >>> <nospam@vuorela.dk> wrote:
> >>>>>> > On 2024-01-29, Albert Astals Cid <aacid@kde.org> wrote:
> >>>>>> > > Bad news: 6 repositories have started failing
> >>>>>> > >
> >>>>>> > > baloo:
> >>>>>> > > kconfig:
> >>>>>> > > kcontacts
> >>>>>> > > kfilemetadata:
> >>>>>> > > ki18n:
> >>>>>> > >
> >>>>>> > > threadweaver:
> >>>>>> > >   * FreeBSD tests are failing
> >>>>>> >
> >>>>>> > I haven't studied these, and don't know if they are
> >>> frequent or
> >>>>>> > occasional failures. I have seen, after the fbsd builder
> >>> changes, that
> >>>>>> > test execution times have gone up 20-50%. If it is big
> >>> tests that is
> >>>>>> > already close to the limit, then that might be the reason.
> >>>>>> >
> >>>>>> > Or for others with occasional timeout tests on freebsd.
> >>>>>>
> >>>>>> Having a quick look at this, it seems that quite a few of
> >>> those failures
> >>>>>> are i18n related.
> >>>>>> Given we are seeing locale warnings I have a suspicion that
> >>> is the cause
> >>>>>
> >>>>> of
> >>>>>
> >>>>>> many of those failures.
> >>>>>
> >>>>> For ki18n and kcontacts another possible cause could be the
> >>> iso-codes
> >>>>> translation catalogs missing. Are those by any chance packaged
> >>> separately
> >>>>> as
> >>>>> on some Linux distributions?
> >>>>
> >>>> I've checked and we do have iso-codes installed within the
> >>> FreeBSD
> >>>> containers.
> >>>> The files are located at /usr/local/share/iso-codes/ though -
> >>> will our
> >>>> logic find them there?
> >>>
> >>> Yes, the iso-codes data file are found, the tests would show very
> >>> explicit
> >>> error messages and fail in many more places otherwise. We however
> >>> also need
> >>> the corresponding translation catalogs, not just the data files.
> >>> On Linux those
> >>> are in /usr/share/locale/*/LC_MESSAGE/iso_3166*.mo (but often
> >>> separately
> >>> packaged and thus missing).
> >>
> >> Those files are present, although in FreeBSD fashion they are at
> >> /usr/local/share/ instead of /usr/share/:
> >>
> >> /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-1.mo
> >> /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-3.mo
> >> /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-2.mo
> >> /usr/local/share/locale/tr/LC_MESSAGES/iso_3166.mo
> >> /usr/local/share/locale/tr/LC_MESSAGES/iso_3166_2.mo
> >>
> >> Confusingly, and in a way that probably doesn't help software:
> >>
> >> [user@399f8cd87e55 ~]$ ls -lah /usr/share/locale/tr_TR.UTF-8/
> >> total 52
> >> drwxr-xr-x    2 root wheel    8B Jan 30 10:28 .
> >> drwxr-xr-x  197 root wheel  197B Jan 30 10:28 ..
> >> -r--r--r--    1 root wheel   79K Jan 25 15:04 LC_COLLATE
> >> lrwxr-xr-x    1 root wheel   19B Jan 25 15:04 LC_CTYPE ->
> >> ../C.UTF-8/LC_CTYPE
> >> -r--r--r--    1 root wheel  167B Jan 25 15:04 LC_MESSAGES
> >> -r--r--r--    1 root wheel   34B Jan 25 15:04 LC_MONETARY
> >> -r--r--r--    1 root wheel    6B Jan 25 15:04 LC_NUMERIC
> >> -r--r--r--    1 root wheel  374B Jan 25 15:04 LC_TIME
> >
> > The issue was figured out thanks to the work of frinring - who figured
> > out that LC_ALL and LANGUAGE had been set in our FreeBSD containers.
> > That has now been rectified, and the tests in several more Frameworks
> > now pass.
> >
> > (Leaving just Baloo and KFileMetaData as broken I believe)
>
> Hi,
>
> could it be that extended attributes don't work?
>
> I think these tests rely on them.
>

Good suspect, however I test some testing and it seems to work fine:

[user@8a025cda8c7b ~]$ touch file
[user@8a025cda8c7b ~]$ lsextattr user file
file
[user@8a025cda8c7b ~]$ setextattr user test value1 file
[user@8a025cda8c7b ~]$ lsextattr user file
file    test
[user@8a025cda8c7b ~]$ getextattr user test file
file    value1

The file system in use here is ZFS if it helps anyone.


> Greetings
> Christoph
>

Cheers,
Ben

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr">On Sun, Feb 4, 2024 at 5:17 AM &lt;<a \
href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>&gt; \
wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On 2024-02-03 08:57, Ben Cooksley wrote:<br> &gt; \
On Wed, Jan 31, 2024 at 9:25 PM Ben Cooksley &lt;<a href="mailto:bcooksley@kde.org" \
target="_blank">bcooksley@kde.org</a>&gt;<br> &gt; wrote:<br>
&gt; <br>
&gt;&gt; On Wed, Jan 31, 2024 at 9:06 AM Volker Krause &lt;<a \
href="mailto:vkrause@kde.org" target="_blank">vkrause@kde.org</a>&gt;<br> &gt;&gt; \
wrote:<br> &gt;&gt; <br>
&gt;&gt;&gt; On Dienstag, 30. Januar 2024 19:08:50 CET Ben Cooksley wrote:<br>
&gt;&gt;&gt;&gt; On Wed, Jan 31, 2024 at 5:10 AM Volker Krause<br>
&gt;&gt;&gt; &lt;<a href="mailto:vkrause@kde.org" \
target="_blank">vkrause@kde.org</a>&gt; wrote:<br> &gt;&gt;&gt;&gt;&gt; On Dienstag, \
30. Januar 2024 09:57:32 CET Ben Cooksley wrote:<br> &gt;&gt;&gt;&gt;&gt;&gt; On Tue, \
Jan 30, 2024 at 8:47 PM Sune Vuorela<br> &gt;&gt;&gt; &lt;<a \
href="mailto:nospam@vuorela.dk" target="_blank">nospam@vuorela.dk</a>&gt; wrote:<br> \
&gt;&gt;&gt;&gt;&gt;&gt; &gt; On 2024-01-29, Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>&gt; wrote:<br> \
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; Bad news: 6 repositories have started failing<br> \
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt;<br> &gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; baloo:<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; kconfig:<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; kcontacts<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; kfilemetadata:<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; ki18n:<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt; threadweaver:<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; &gt;     * FreeBSD tests are failing<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; I haven&#39;t studied these, and don&#39;t know if they \
are<br> &gt;&gt;&gt; frequent or<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; occasional failures. I have seen, after the fbsd \
builder<br> &gt;&gt;&gt; changes, that<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; test execution times have gone up 20-50%. If it is \
big<br> &gt;&gt;&gt; tests that is<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; already close to the limit, then that might be the \
reason.<br> &gt;&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &gt; Or for others with occasional timeout tests on \
freebsd.<br> &gt;&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt;&gt; Having a quick look at this, it seems that quite a few \
of<br> &gt;&gt;&gt; those failures<br>
&gt;&gt;&gt;&gt;&gt;&gt; are i18n related.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Given we are seeing locale warnings I have a suspicion \
that<br> &gt;&gt;&gt; is the cause<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; of<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt;&gt; many of those failures.<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; For ki18n and kcontacts another possible cause could be the<br>
&gt;&gt;&gt; iso-codes<br>
&gt;&gt;&gt;&gt;&gt; translation catalogs missing. Are those by any chance \
packaged<br> &gt;&gt;&gt; separately<br>
&gt;&gt;&gt;&gt;&gt; as<br>
&gt;&gt;&gt;&gt;&gt; on some Linux distributions?<br>
&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt; I&#39;ve checked and we do have iso-codes installed within the<br>
&gt;&gt;&gt; FreeBSD<br>
&gt;&gt;&gt;&gt; containers.<br>
&gt;&gt;&gt;&gt; The files are located at /usr/local/share/iso-codes/ though -<br>
&gt;&gt;&gt; will our<br>
&gt;&gt;&gt;&gt; logic find them there?<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Yes, the iso-codes data file are found, the tests would show very<br>
&gt;&gt;&gt; explicit<br>
&gt;&gt;&gt; error messages and fail in many more places otherwise. We however<br>
&gt;&gt;&gt; also need<br>
&gt;&gt;&gt; the corresponding translation catalogs, not just the data files.<br>
&gt;&gt;&gt; On Linux those<br>
&gt;&gt;&gt; are in /usr/share/locale/*/LC_MESSAGE/iso_3166*.mo (but often<br>
&gt;&gt;&gt; separately<br>
&gt;&gt;&gt; packaged and thus missing).<br>
&gt;&gt; <br>
&gt;&gt; Those files are present, although in FreeBSD fashion they are at<br>
&gt;&gt; /usr/local/share/ instead of /usr/share/:<br>
&gt;&gt; <br>
&gt;&gt; /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-1.mo<br>
&gt;&gt; /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-3.mo<br>
&gt;&gt; /usr/local/share/locale/tr/LC_MESSAGES/iso_3166-2.mo<br>
&gt;&gt; /usr/local/share/locale/tr/LC_MESSAGES/iso_3166.mo<br>
&gt;&gt; /usr/local/share/locale/tr/LC_MESSAGES/iso_3166_2.mo<br>
&gt;&gt; <br>
&gt;&gt; Confusingly, and in a way that probably doesn&#39;t help software:<br>
&gt;&gt; <br>
&gt;&gt; [user@399f8cd87e55 ~]$ ls -lah /usr/share/locale/tr_TR.UTF-8/<br>
&gt;&gt; total 52<br>
&gt;&gt; drwxr-xr-x      2 root wheel      8B Jan 30 10:28 .<br>
&gt;&gt; drwxr-xr-x   197 root wheel   197B Jan 30 10:28 ..<br>
&gt;&gt; -r--r--r--      1 root wheel     79K Jan 25 15:04 LC_COLLATE<br>
&gt;&gt; lrwxr-xr-x      1 root wheel     19B Jan 25 15:04 LC_CTYPE -&gt;<br>
&gt;&gt; ../C.UTF-8/LC_CTYPE<br>
&gt;&gt; -r--r--r--      1 root wheel   167B Jan 25 15:04 LC_MESSAGES<br>
&gt;&gt; -r--r--r--      1 root wheel     34B Jan 25 15:04 LC_MONETARY<br>
&gt;&gt; -r--r--r--      1 root wheel      6B Jan 25 15:04 LC_NUMERIC<br>
&gt;&gt; -r--r--r--      1 root wheel   374B Jan 25 15:04 LC_TIME<br>
&gt; <br>
&gt; The issue was figured out thanks to the work of frinring - who figured<br>
&gt; out that LC_ALL and LANGUAGE had been set in our FreeBSD containers.<br>
&gt; That has now been rectified, and the tests in several more Frameworks<br>
&gt; now pass.<br>
&gt; <br>
&gt; (Leaving just Baloo and KFileMetaData as broken I believe)<br>
<br>
Hi,<br>
<br>
could it be that extended attributes don&#39;t work?<br>
<br>
I think these tests rely on them.<br></blockquote><div><br></div><div>Good suspect, \
however I test some testing and it seems to work \
fine:</div><div><br></div>[user@8a025cda8c7b ~]$ touch file<br>[user@8a025cda8c7b ~]$ \
lsextattr user file <br>file<br>[user@8a025cda8c7b ~]$ setextattr user test value1 \
file<br>[user@8a025cda8c7b ~]$ lsextattr user file <br>file      \
test<br>[user@8a025cda8c7b ~]$ getextattr user test file<br><div>file      value1  \
</div><div><br></div><div>The file system in use here is ZFS if it helps \
anyone.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Greetings<br>
Christoph<br></blockquote><div><br></div><div>Cheers,</div><div>Ben  \
</div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic