#11997 get_retired_packages.sh improvements
Closed: Fixed 2 months ago by lenkaseg. Opened 3 months ago by kevin.

The get_retired_packages.sh script is now running ok, but it's output is a 3.5MB email.

I prefer cron jobs in general to:

  • output nothing if everything went well/no errors
  • output errors if there were errors

Most output is just 2 lines for each package:

/srv/git/rpms/aimage.git /tmp/releng.u0W6HTL/releng/scripts
aimage is retired

But I do see a few errors (they are hard to see in the sea of normal output):100:

/srv/git/rpms/aircrack-ng.git /tmp/releng.u0W6HTL/releng/scripts
fatal: unterminated line in ./packed-refs: b804cb24254673999593791c8b2f6967fd7e3e66 refs/tags/aircrack-ng-1_0-3_fc14

So, can we reduce the output and perhaps figure out why it's giving those unterminated line errors on some repos?

CC: @lenkaseg @humaton


Metadata Update from @phsmoura:
- Issue tagged with: low-gain, low-trouble, ops

3 months ago

Metadata Update from @lenkaseg:
- Issue assigned to lenkaseg

3 months ago

@kevin Working on adding some kind of logging, that would be printing only in debug mode.
About the errors, I cannot see any in the log, or maybe I'm looking at a different log? Can you please point me at the one you see?

https://lists.fedoraproject.org/archives/list/releng-cron@lists.fedoraproject.org/thread/DE7JFQTU62BPO24TJEAMW7F4RQJHG3R5/

Here aircrack-ng passes without an error and can't grep any other fatal:

Ah, it seems the errors I saw were from staging. ;)

So, we likely should sync git repos over to staging again sometime... sorry for the noise there.

I am not sure the PR should have a freeze break, can we just land it after freeze?

If so, I guess we can close this and review anything further in the pr?

Metadata Update from @lenkaseg:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 months ago

Log in to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog