Bug#930446: popularity-contest: unable to submit report, impossible to debug
- To: Ludovic Rousseau <ludovic.rousseau@free.fr>
- Cc: Bill Allombert <ballombe@debian.org>, Stefan Fritsch <sf@sfritsch.de>, 930446@bugs.debian.org
- Subject: Bug#930446: popularity-contest: unable to submit report, impossible to debug
- From: Bill Allombert <ballombe@debian.org>
- Date: Sun, 22 Mar 2020 11:17:14 +0100
- Message-id: <[🔎] 20200322101714.GU21317@yellowpig>
- Reply-to: Bill Allombert <ballombe@debian.org>, 930446@bugs.debian.org
- In-reply-to: <2c9a4ad5-8442-b4a4-2b47-44011509322c@free.fr>
- References: <156036881815.23173.18063568811097127094.reportbug@serval.sfritsch.de> <20190612205259.7g263wv73flceth5@yellowpig> <20190612205259.7g263wv73flceth5@yellowpig> <156036881815.23173.18063568811097127094.reportbug@serval.sfritsch.de> <c9987043-6259-02f1-83eb-ef679154b3a8@free.fr> <20190831140500.vyy5ovizqfja7dkz@yellowpig> <44279e23-fc31-3cd1-39e0-170d8e55740e@free.fr> <20190901075152.gwmrc6u46jxbd4ez@yellowpig> <2c9a4ad5-8442-b4a4-2b47-44011509322c@free.fr> <156036881815.23173.18063568811097127094.reportbug@serval.sfritsch.de>
On Sun, Sep 01, 2019 at 05:52:37PM +0200, Ludovic Rousseau wrote:
> So the cron job is executed at 7h57.
>
> > > > In which case, could you check what is the issue with the timestamp
> > > > (see the full buildlog) ?
> > >
> > > Can you be more specific about what you want me to check?
> >
> > What gives
> > ls -l /var/log/popularity-contest*
>
> $ LANG=C ls -l /var/log/popularity-contest*
> -rw-r--r-- 1 root root 24169 Aug 29 07:57 /var/log/popularity-contest
> -rw-r--r-- 1 root root 0 Aug 29 07:57 /var/log/popularity-contest.0
> -rw-r--r-- 1 root root 5563 Aug 22 07:57 /var/log/popularity-contest.1.gz
> -rw-r--r-- 1 root root 41 Aug 22 07:57 /var/log/popularity-contest.2.gz
> -rw-r--r-- 1 root root 5541 Aug 15 07:57 /var/log/popularity-contest.3.gz
> -rw-r--r-- 1 root root 41 Aug 15 07:57 /var/log/popularity-contest.4.gz
> -rw-r--r-- 1 root root 5583 Aug 8 07:57 /var/log/popularity-contest.5.gz
> -rw-r--r-- 1 root root 41 Aug 8 07:57 /var/log/popularity-contest.6.gz
> -rw-r--r-- 1 root root 8451 Aug 1 07:57 /var/log/popularity-contest.new.gpg
This seems good, except there might be an issue with logrotate or
whoever create the empty /var/log/popularity-contest.0.
> > Do you run some program that change the timestamp of the file
> > /var/log/popularity-contest ? maybe logrotate ?
>
> Not that I am aware of.
>
> > > > In you have an unrelated problem, please open a separate bug report.
> > > >
> > > > The debug output you got just means that the server failed to answer.
> > >
> > > Sure.
> > > Why did the server failed to answer?
> >
> > Probably too many people are trying to submit at the same time. Hence the move
> > to cron.d with a user specific submission time.
>
> popcon.debian.org is hosted by pinel.debian.org.
> I could not find a real load issue from munin graphs at https://munin.debian.org/debian.org/pinel.debian.org/index.html
> (login dsa-guest, password dsa-guest)
It is too thin to show on munin, but doing external measurement show the
problem.
> Ah OK.
> popularity-contest has TWO cron configurations:
> - /etc/cron.daily/popularity-contest
> - /etc/cron.d/popularity-contest
>
> Should I just ignore the messages generated by the cron.daily job?
For the time being, yes.
I finally found the root of the problem, by writing a submission simulator.
There was a logic error in /etc/cron.daily/popularity-contest that
leads to the cron.daily to have higher priority than the cron.d.
Maybe it makes sense when cron.d was introduced, but not now.
I will fix it in the next update.
Thanks for following up on this painful issue and sorry for the delay.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: