Bug 55989 - Конфигурация-пример по умолчанию использует git://github.com, который давно недоступен
Summary: Конфигурация-пример по умолчанию использует git://github.com, который давно н...
Status: CLOSED FIXED
Alias: None
Product: Branch p10
Classification: Unclassified
Component: buildbot (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: obirvalger@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-15 17:41 MSK by Artem Varaksa
Modified: 2025-11-21 14:41 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Varaksa 2025-09-15 17:41:36 MSK
См.:
* https://github.blog/security/application-security/improving-git-protocol-security-github/

Исправлено в 3.6.0+:
* https://github.com/buildbot/buildbot/pull/6598
* https://github.com/buildbot/buildbot/commit/836f5816bab30781e249115567e0dba3bbce605b
* https://git.altlinux.org/gears/b/buildbot.git?p=buildbot.git;a=commit;h=836f5816bab30781e249115567e0dba3bbce605b


Шаги
====

1. # apt-get install -y buildbot buildbot-worker {python3-module-,}buildbot-www
2. # buildbot create-master master
3. # mv master/master.cfg.sample master/master.cfg && sed -i "/buildbotURL/s/localhost/$(hostname -i)/" master/master.cfg
4. # buildbot start master
5. # buildbot-worker create-worker worker localhost example-worker pass
6. # buildbot-worker start worker
7. Открыть страницу `# echo http://$(hostname -i):8010`, Builds -> Builders -> runtests -> force -> Start Build.
8. Раскрыть результаты тестов


Фактический результат
=====================

> Cloning into '.'...
> fatal: unable to connect to github.com:
> github.com[0: 140.82.121.3]: errno=Connection timed out

Аналогично, если сделать вручную `# git clone git://github.com/buildbot/hello-world.git test`.

При этом `# git clone https://github.com/buildbot/hello-world.git test` работает.


Ожидаемый результат
===================

Успешные клонирование и сборка тестового проекта.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p10]
buildbot-3.3.0-alt1.noarch


Не воспроизводится на виртуальных машинах:

[p11]
buildbot-4.3.0-alt1.noarch

[sisyphus]
buildbot-4.3.0-alt1.noarch
Comment 1 Repository Robot 2025-11-21 14:41:37 MSK
buildbot-3.3.0-alt2 -> p10:

Thu Nov 13 2025 Mikhail Gordeev <obirvalger@altlinux> 3.3.0-alt2
- Fix example url (Closes: 55989)