scylladb / argus

Apache License 2.0
4 stars 11 forks source link

Some builds of `siren-tests` longevities are duplicated on "to investigate" panel #265

Open ilya-rarov opened 1 year ago

ilya-rarov commented 1 year ago

The recent builds of some siren-tests longevities are displayed twice when one picks them to investigate image

The fragment of the response for https://argus.scylladb.com/api/v1/release/stats/v2?release=siren-tests&limited=0&force=0&productVersion= with stats of scylla-cloud-longevity-small-set-1h-gcp job. The duplicated builds have different start time.

  "e13b803f-b491-4503-8b17-ebe5bc598bce": {
                        "hasBugReport": false,
                        "hasComments": false,
                        "investigation_status": "not_investigated",
                        "last_runs": [
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 413,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 21:09:08 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 413,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 21:08:37 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 412,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 07:50:36 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 412,
                                "comments": [],
                                "issues": [],
                                "start_time": "2023-07-20 07:50:01 UTC",
                                "status": "passed"
                            },
                            {
                                "assignee": null,
                                "build_job_name": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                                "build_number": 411,
                                "comments": [
                                    {
                                        "id": "935575d2-623a-491a-98c6-6132724aa555",
                                        "mentions": [],
                                        "message": "The root cause of failure addressed in PR: https://github.com/scylladb/scylla-cluster-tests/pull/6397",
                                        "posted_at": 1689835218,
                                        "reactions": {},
                                        "release_id": "b100faf4-c0c4-47d7-b8e4-2449b566fa2b",
                                        "test_run_id": "280ca8e5-a9e9-4303-9e46-de43a43096d4",
                                        "user_id": "6b7d15ae-bb5a-4ba1-b247-11d307052d48"
                                    }
                                ],
                                "issues": [],
                                "start_time": "2023-07-20 05:37:44 UTC",
                                "status": "failed"
                            }
                        ],
                        "start_time": "2023-07-20 21:09:08 UTC",
                        "status": "passed",
                        "test": {
                            "assignee": [],
                            "build_system_id": "siren-tests/longevity-tests/scylla-cloud-longevity-small-set-1h-gcp",
                            "build_system_url": "https://jenkins.scylladb.com/job/siren-tests/job/longevity-tests/job/scylla-cloud-longevity-small-set-1h-gcp/",
                            "description": null,
                            "enabled": true,
                            "group_id": "eaa7b43e-13f3-4b24-b396-9d79cb410aff",
                            "id": "e13b803f-b491-4503-8b17-ebe5bc598bce",
                            "name": "scylla-cloud-longevity-small-set-1h-gcp",
                            "plugin_name": "scylla-cluster-tests",
                            "pretty_name": null,
                            "release_id": "b100faf4-c0c4-47d7-b8e4-2449b566fa2b"
                        }
                    },
rayakurl commented 1 year ago

@roydahan , @temichus - FYI, this task is important to the cloud team

k0machi commented 1 year ago

Without #268 what happens is they aren't duplicated - release dashboard correctly sees both sirenada and sct run, but the run page can only query one or the other depending on what is defined in the test and the logic that submits runs to either will correct the test entity to either sirenada or sct. You can see that now by starting a job, before SCT run launches but sirenada reports the page will show Sirenada runs, but after SCT runs it will show SCT runs.