14:51 <samplet> Hi SWH! According to the Web interface, the nixguix loader hasn’t had a successful visit of Guix’s “sources.json” in over a month.14:52 <samplet> That seems to be true of nixpkgs, too.14:54 <+ardumont> samplet: yes, it's only partial because there are some types of origins referenced that's not dealt with yet14:54 <+ardumont> and also because some origins ends up being 40414:54 <+ardumont> so as there are lots of origins in those manifest, there is a high probability it won't succeed14:55 <+ardumont> but it does its best to ingest the remaining part14:55 <+anlambert> ardumont: samplet is right, check visits reports of guix for instance, they are all red since november https://archive.softwareheritage.org/browse/origin/visits/?origin_url=https://guix.gnu.org/sources.json14:55 <samplet> ardumont: Ah. That explains all the yellow! But there’s nothing but red in November.14:55 <+anlambert> and it seems the loader is stopped since one month14:56 <+ardumont> heh, so that needs an unbreaking task ;)14:56 <+ardumont> thx for the heads up14:56 <+ardumont> (in any case ;)14:57 <samplet> I noticed because Guix’s SWH coverage tracking shows a noticeable drop for commits from November.14:57 <samplet> Thanks for taking a look!
As olasd [1] pointed out, maybe start by looking at the scheduler part. Is nixguix visit still scheduled?
[1]
15:03 <+olasd> is anything even scheduling the nixguix loading tasks now?
As olasd [1] pointed out, maybe start by looking at the scheduler part. Is nixguix visit still scheduled?
yes, it is.
That loader is a bit of a mix between a lister and a loader (it has no longer a lister to depend on).
So it's scheduled the old way (contrary to other loaders).
It was stuck [1] as it can be sometimes due to some unknown identified issue in the old scheduler policy way (we moved away from for the other loaders).
It's not unstuck [2].
[1]
15:08:58 softwareheritage-scheduler@belvedere:5432=> select * from task where type = 'load-nixguix' limit 10;+-[ RECORD 1 ]-----+------------------------------------------------------------------------------------------------------+| id | 337282717 || type | load-nixguix || arguments | {"args": [], "kwargs": {"url": "https://guix.gnu.org/sources.json"}} || next_run | 2021-11-02 14:40:30.010285+00 || current_interval | 1 day || status | next_run_scheduled || policy | recurring || retries_left | 0 || priority | (null) |+-[ RECORD 2 ]-----+------------------------------------------------------------------------------------------------------+| id | 334411727 || type | load-nixguix || arguments | {"args": [], "kwargs": {"url": "https://nix-community.github.io/nixpkgs-swh/sources-unstable.json"}} || next_run | 2021-09-27 10:45:31.329689+00 || current_interval | 1 day || status | next_run_scheduled || policy | recurring || retries_left | 0 || priority | (null) |+-[ RECORD 3 ]-----+------------------------------------------------------------------------------------------------------+| id | 337282718 || type | load-nixguix || arguments | {"args": [], "kwargs": {"url": "https://guix.gnu.org/sources.json"}} || next_run | 2020-12-12 01:34:38.576948+00 || current_interval | 1 day || status | disabled || policy | recurring || retries_left | 3 || priority | (null) |+------------------+------------------------------------------------------------------------------------------------------+Time: 63.439 ms15:09:10 softwareheritage-scheduler@belvedere:5432=> update task set status='next_run_not_scheduled', next_run=now() where task='load-nixguix' where status !='disab
[2]
15:12:14 softwareheritage-scheduler@belvedere:5432=> update task set status='next_run_not_scheduled', next_run=now() where type='load-nixguix' and status !='disabled';UPDATE 2Time: 38.280 ms15:15:31 softwareheritage-scheduler@belvedere:5432=> select * from task where type = 'load-nixguix' and status != 'disabled' limit 10;+-[ RECORD 1 ]-----+------------------------------------------------------------------------------------------------------+| id | 337282717 || type | load-nixguix || arguments | {"args": [], "kwargs": {"url": "https://guix.gnu.org/sources.json"}} || next_run | 2021-12-02 14:12:17.543537+00 || current_interval | 1 day || status | next_run_scheduled || policy | recurring || retries_left | 0 || priority | (null) |+-[ RECORD 2 ]-----+------------------------------------------------------------------------------------------------------+| id | 334411727 || type | load-nixguix || arguments | {"args": [], "kwargs": {"url": "https://nix-community.github.io/nixpkgs-swh/sources-unstable.json"}} || next_run | 2021-12-02 14:12:17.543537+00 || current_interval | 1 day || status | next_run_scheduled || policy | recurring || retries_left | 0 || priority | (null) |+------------------+------------------------------------------------------------------------------------------------------+Time: 5.474 ms
@vlorentz, is that failing assertion still True? (since we moved from synthetic revision to release)
When i asked, i forgot that the query is done per type (release or revision), i was then
inclined to think that we had old revisions targetting the same directory (target) and
the new releases doing the same hence failing that assertion. As it's done per object
type, my assumption was incorrect so ok for that.
However, nothing prevents anything from having multiple releases named differently which
targets the same directory (target). Then, that assertion will fail, so, in the end, I
don't think that assertion holds.