Bug 42861 - Несоответствие информации о задании girar и git.altlinux.org
Summary: Несоответствие информации о задании girar и git.altlinux.org
Status: NEW
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: girar (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 critical
Assignee: placeholder@altlinux.org
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-25 18:37 MSK by Sergey Novikov
Modified: 2022-05-25 18:54 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Novikov 2022-05-25 18:37:33 MSK
Информация о дисапрувах для некоторых тасков, запрашиваемая с https://git.altlinux.org/tasks/XXXXXX/info.json, не соответствует реальной информации с получаемой с girar.

Например:
$ curl https://git.altlinux.org/tasks/258650/info.json
{
 "taskid": 258650,
 "shared": false,
 "test_only": false,
 "repo": "p9",
 "state": "EPERM",
 "try": 1,
 "iter": 1,
 "owner": "boyarsh",
 "subtasks": {
  "100": {
   "dir": "/gears/m/mkfontscale.git",
   "tag_name": "1.2.1-alt2",
   "tag_id": "47871a3722d2878995054b86ed085f8b993439c4",
   "tag_author": "shrek@altlinux.ru (Valery Inozemtsev) <shrek@altlinux.org>",
   "type": "repo",
   "approved_by": ["boyarsh"],
   "pkgname": "mkfontscale",
   "userid": "boyarsh"
  }
 }
}

Дисапрува нет.

ssh girar task show 258650
id=258650 locked=no shared=no fail_early=yes test_only=no repo=p9 owner=boyarsh state=EPERM try=1 iter=1 age=86w build_time=2020-Sep-25/09:58:06 message=fix_for_dist-upgrade_from_c8.1
 100:dir=/gears/m/mkfontscale.git
 100:tag_name=1.2.1-alt2
 100:tag_id=47871a3722d2878995054b86ed085f8b993439c4
 100:tag_author=shrek@altlinux.ru (Valery Inozemtsev) <shrek@altlinux.org>
 100:fetched=2020-09-25T09:53:49
 100:userid=boyarsh
 100:approved_by=boyarsh 
 100:disapproved_by=sotor 
 100:pkgname=mkfontscale

Дисапрув есть.
Comment 1 Sergey Novikov 2022-05-25 18:52:04 MSK
Такое же поведение на тасках:
257007, 256804, 256688, 253154, 250078, 248508, 247568, 241103, 239678.
Comment 2 Dmitry V. Levin 2022-05-25 18:54:12 MSK
commit 6182299d76dea6e9ae3295be7b24d33352267911 updates index.html and info.json files only if the task is not locked.  I wonder why I implemented it this way.