* CI "pages" job failing with incomprehensible error message from htags
@ 2024-01-05 19:11 Peter Maydell
2024-01-08 11:03 ` Thomas Huth
0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2024-01-05 19:11 UTC (permalink / raw)
To: QEMU Developers
Cc: Alex Bennée, Phil Mathieu-Daudé, Thomas Huth,
Wainer dos Santos Moschetta, Beraldo Leal
https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
failed with
$ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
sourcecode"
htags: Negative exec line limit = -371
Does anybody have any idea what this is about ?
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CI "pages" job failing with incomprehensible error message from htags
2024-01-05 19:11 CI "pages" job failing with incomprehensible error message from htags Peter Maydell
@ 2024-01-08 11:03 ` Thomas Huth
2024-01-08 12:34 ` Peter Maydell
2024-01-08 14:41 ` Bui Quang Minh
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Huth @ 2024-01-08 11:03 UTC (permalink / raw)
To: Peter Maydell, QEMU Developers, Michael S. Tsirkin,
Bui Quang Minh
Cc: Alex Bennée, Phil Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On 05/01/2024 20.11, Peter Maydell wrote:
> https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
>
> failed with
>
> $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
> sourcecode"
> htags: Negative exec line limit = -371
>
> Does anybody have any idea what this is about ?
In case you haven't spotted it yet:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg1014394.html
Is anybody already already creating a patch to clear CI_COMMIT_MESSAGE when
invoking htags ?
Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CI "pages" job failing with incomprehensible error message from htags
2024-01-08 11:03 ` Thomas Huth
@ 2024-01-08 12:34 ` Peter Maydell
2024-01-08 12:57 ` Peter Maydell
2024-01-08 14:41 ` Bui Quang Minh
1 sibling, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2024-01-08 12:34 UTC (permalink / raw)
To: Thomas Huth
Cc: QEMU Developers, Michael S. Tsirkin, Bui Quang Minh,
Alex Bennée, Phil Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On Mon, 8 Jan 2024 at 11:03, Thomas Huth <thuth@redhat.com> wrote:
>
> On 05/01/2024 20.11, Peter Maydell wrote:
> > https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
> >
> > failed with
> >
> > $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
> > sourcecode"
> > htags: Negative exec line limit = -371
> >
> > Does anybody have any idea what this is about ?
>
> In case you haven't spotted it yet:
>
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg1014394.html
>
> Is anybody already already creating a patch to clear CI_COMMIT_MESSAGE when
> invoking htags ?
As a first step, I filed a bug for us for it:
https://gitlab.com/qemu-project/qemu/-/issues/2080
We should probably report this upstream, I suppose. It's
easy to reproduce without requiring the QEMU source tree:
mnementh$ mkdir htags-bug
mnementh$ cd htags-bug/
mnementh$ cat >hello.c
#include <stdio.h>
int main(void) {
printf("hello world\n");
return 0;
}
mnementh$ gtags
mnementh$ htags -anT
mnementh$ BIGVAR=$(perl -e 'print "x" x 100000') htags -anT
htags: Negative exec line limit = -80391
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CI "pages" job failing with incomprehensible error message from htags
2024-01-08 12:34 ` Peter Maydell
@ 2024-01-08 12:57 ` Peter Maydell
0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2024-01-08 12:57 UTC (permalink / raw)
To: Thomas Huth
Cc: QEMU Developers, Michael S. Tsirkin, Bui Quang Minh,
Alex Bennée, Phil Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On Mon, 8 Jan 2024 at 12:34, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Mon, 8 Jan 2024 at 11:03, Thomas Huth <thuth@redhat.com> wrote:
> >
> > On 05/01/2024 20.11, Peter Maydell wrote:
> > > https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
> > >
> > > failed with
> > >
> > > $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
> > > sourcecode"
> > > htags: Negative exec line limit = -371
> > >
> > > Does anybody have any idea what this is about ?
> >
> > In case you haven't spotted it yet:
> >
> > https://www.mail-archive.com/qemu-devel@nongnu.org/msg1014394.html
> >
> > Is anybody already already creating a patch to clear CI_COMMIT_MESSAGE when
> > invoking htags ?
>
> As a first step, I filed a bug for us for it:
> https://gitlab.com/qemu-project/qemu/-/issues/2080
>
> We should probably report this upstream, I suppose.
I've now sent an email to the bug-global list to do that.
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CI "pages" job failing with incomprehensible error message from htags
2024-01-08 11:03 ` Thomas Huth
2024-01-08 12:34 ` Peter Maydell
@ 2024-01-08 14:41 ` Bui Quang Minh
2024-01-08 15:10 ` Peter Maydell
1 sibling, 1 reply; 6+ messages in thread
From: Bui Quang Minh @ 2024-01-08 14:41 UTC (permalink / raw)
To: Thomas Huth, Peter Maydell, QEMU Developers, Michael S. Tsirkin
Cc: Alex Bennée, Phil Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On 1/8/24 18:03, Thomas Huth wrote:
> On 05/01/2024 20.11, Peter Maydell wrote:
>> https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
>>
>> failed with
>>
>> $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
>> sourcecode"
>> htags: Negative exec line limit = -371
>>
>> Does anybody have any idea what this is about ?
>
> In case you haven't spotted it yet:
>
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg1014394.html
>
> Is anybody already already creating a patch to clear CI_COMMIT_MESSAGE
> when invoking htags ?
That solution works fine on my CI, however, it is stated in Gitlab
documentation that overriding predefined variables is not recommended.
https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
Avoid overriding predefined variables, as it can cause the pipeline to
behave unexpectedly.
Thanks,
Quang Minh.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CI "pages" job failing with incomprehensible error message from htags
2024-01-08 14:41 ` Bui Quang Minh
@ 2024-01-08 15:10 ` Peter Maydell
0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2024-01-08 15:10 UTC (permalink / raw)
To: Bui Quang Minh
Cc: Thomas Huth, QEMU Developers, Michael S. Tsirkin,
Alex Bennée, Phil Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
On Mon, 8 Jan 2024 at 14:41, Bui Quang Minh <minhquangbui99@gmail.com> wrote:
>
> On 1/8/24 18:03, Thomas Huth wrote:
> > On 05/01/2024 20.11, Peter Maydell wrote:
> >> https://gitlab.com/qemu-project/qemu/-/jobs/5871592479
> >>
> >> failed with
> >>
> >> $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU
> >> sourcecode"
> >> htags: Negative exec line limit = -371
> >>
> >> Does anybody have any idea what this is about ?
> >
> > In case you haven't spotted it yet:
> >
> > https://www.mail-archive.com/qemu-devel@nongnu.org/msg1014394.html
> >
> > Is anybody already already creating a patch to clear CI_COMMIT_MESSAGE
> > when invoking htags ?
>
> That solution works fine on my CI, however, it is stated in Gitlab
> documentation that overriding predefined variables is not recommended.
>
> https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
> Avoid overriding predefined variables, as it can cause the pipeline to
> behave unexpectedly.
https://docs.gitlab.com/ee/ci/variables/index.html#override-a-defined-cicd-variable
says that what it means by "overriding" a pipeline variable is
setting it *before* the pipeline is run, so that it changes
the behaviour of the pipeline.
What we're proposing to do here is instead that within the
pipeline we just effectively hide the environment variable
from the htags process (which will not do anything complex
like invoke other parts of the gitlab pipelin machinery).
So it isn't what they mean by overriding things and should
be fine.
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-01-08 15:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 19:11 CI "pages" job failing with incomprehensible error message from htags Peter Maydell
2024-01-08 11:03 ` Thomas Huth
2024-01-08 12:34 ` Peter Maydell
2024-01-08 12:57 ` Peter Maydell
2024-01-08 14:41 ` Bui Quang Minh
2024-01-08 15:10 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).