Project

General

Profile

Actions

tickets #151879

closed

rpmlint.i.o.o not updating / errors in bcs service

Added by crameleon 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Servers hosted in PRG
Target version:
-
Start date:
2023-12-01
Due date:
% Done:

0%

Estimated time:

Description

Hi,

since after the migration almost one month ago the rpmlint.o.o page does not update. I suppose it requires some additional connectivity, but so far nobody reached out about it. Upon checking with DimStar it was suggested it might need to connect to OBS, but upon inspecting the machine I was not able to confirm if this is the case. Instead, I found the bcs service to return lots of errors:

Dec 01 12:20:50 rpmlint build_check_statistics[26463]: [2023-12-01 12:20:50.20045] [26463] [error] [wE5NES1VPVgV] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:24:50 rpmlint build_check_statistics[26463]: [2023-12-01 12:24:50.16845] [26463] [error] [9O1ohIF_Ytx7] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:28:50 rpmlint build_check_statistics[26461]: [2023-12-01 12:28:50.82032] [26461] [error] [Hvc1fhBqZhls] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:32:50 rpmlint build_check_statistics[26463]: [2023-12-01 12:32:50.51875] [26463] [error] [v_xKnfhfNF1z] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:36:50 rpmlint build_check_statistics[26460]: [2023-12-01 12:36:50.19579] [26460] [error] [zGIvHA4x-wRq] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:40:50 rpmlint build_check_statistics[26463]: [2023-12-01 12:40:50.78972] [26463] [error] [uWtFzwNjADfo] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Dec 01 12:40:55 rpmlint build_check_statistics[26462]: The ?format=* parameter is deprecated in favor of ?_format=* for content negotiation at /usr/lib/perl5/vendor_perl/5.26.1/Mojolicious/Plugin/DefaultHelpers.pm line 275.
Dec 01 12:41:44 rpmlint build_check_statistics[26460]: [2023-12-01 12:41:44.03703] [26460] [error] [UZRKRdE_iaDK] Can't use an undefined value as an ARRAY reference at /home/rpmlint/build-check-statistics/script/../lib/SUSE/BuildCheckStatistics/Model/Packages.pm line 58.
Actions #1

Updated by crameleon 3 months ago

  • Category set to Servers hosted in PRG
  • Assignee set to lnussel
  • Private changed from Yes to No
Actions #2

Updated by dimstar 3 months ago

CC @kraih - the code errors might be something you can help with? I see at least one mention of Mojo in there :-)

Actions #3

Updated by kraih 3 months ago

rpmlint.o.o needs HTTP access to build.opensuse.org. Once that has been fixed things should just work again after the nightly sync.

Actions #4

Updated by crameleon 3 months ago ยท Edited

OK, HTTPS access from rpmlint.i.o.o to build.o.o is now possible.

What about the errors?

Actions #5

Updated by kraih 3 months ago

I've triggered a resync now, which will take about 2 hours. Then all errors should hopefully be gone.

Actions #6

Updated by crameleon 3 months ago

  • Status changed from New to In Progress
  • Assignee changed from lnussel to kraih

Great news. Feel free to resolve when confirmed everything is working.

While at it, is lnussel still the right contact for this machine or should it be updated?

https://github.com/openSUSE/heroes-salt/blob/production/pillar/id/rpmlint_infra_opensuse_org.sls#L12

Actions #7

Updated by crameleon 3 months ago

It'd also be great to update the "reboot_safe" attribute in the same file which defines whether our automatic OS update logic is allowed to reboot the machine if needed.

Actions #8

Updated by okurz 3 months ago

  • Status changed from In Progress to Workable
Actions #9

Updated by livdywan 2 months ago

  • Status changed from Workable to Resolved

HTTP access to OBS has been restored and the database rebuilt

Actions

Also available in: Atom PDF