mesa/bin/ci
Guilherme Gallo e942d1e9e4
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
bin/ci: crnm: Sanitize n_colums value
The number of columns should never be less than 1, otherwise we can
break the script such as:

```
Traceback (most recent call last):
  File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 734, in <module>
    main()
  File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 713, in main
    target_job_id, ret, exec_t = monitor_pipeline(
                                 ^^^^^^^^^^^^^^^^^
  File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 221, in monitor_pipeline
    cancel_jobs(project, to_cancel)
  File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 400, in cancel_jobs
    print_formatted_list(cancelled_jobs, indentation=8)
  File "/var/home/guilherme/projects/mesa/bin/ci/gitlab_gql.py", line 373, in print_formatted_list
    step = (len(elements) // n_columns) + 1
            ~~~~~~~~~~~~~~^^~~~~~~~~~~
ZeroDivisionError: integer division or modulo by zero
```

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35250>
2025-05-30 13:15:37 +00:00
..
test
.gitignore
ci_gantt_chart.py
ci_gantt_chart.sh
ci_post_gantt.py
ci_post_gantt.sh
ci_run_n_monitor.py
ci_run_n_monitor.sh
custom_logger.py
download_gl_schema.sh
gitlab_common.py
gitlab_gql.py bin/ci: crnm: Sanitize n_colums value 2025-05-30 13:15:37 +00:00
gitlab_gql.sh
job_details.gql
marge_queue.py
marge_queue.sh
nightly_compare.py
nightly_compare.sh
pipeline_details.gql
pipeline_message.py
pipeline_message.sh
pipeline_utils.gql
requirements-lava.txt
requirements.txt
structured_logger.py
update_tag.py
update_traces_checksum.py
update_traces_checksum.sh