<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>55991</bug_id>
          
          <creation_ts>2025-09-15 18:01:09 +0300</creation_ts>
          <short_desc>Конфигурация-пример по умолчанию требует `trial`, которого нет в p10</short_desc>
          <delta_ts>2025-11-17 10:46:19 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>buildbot</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="obirvalger@altlinux.org">obirvalger</assigned_to>
          <cc>vt</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>272501</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-09-15 18:01:09 +0300</bug_when>
    <thetext>Шаги
====

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 &amp;&amp; sed -i &quot;/buildbotURL/s/localhost/$(hostname -i)/&quot; master/master.cfg

3.5. Выполнить workaround для https://bugzilla.altlinux.org/55989:
  # sed -e &apos;s|git://github.com|https://github.com|g&apos; -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 -&gt; Builders -&gt; runtests -&gt; force -&gt; Start Build.
8. Раскрыть результаты тестов


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

&gt; Upon execvpe b&apos;trial&apos; [b&apos;trial&apos;, b&apos;hello&apos;] in environment id 140497755427696
&gt; :Traceback (most recent call last):
&gt;   File &quot;/usr/lib64/python3/site-packages/twisted/internet/process.py&quot;, line 445, in _fork
&gt;     environment)
&gt;   File &quot;/usr/lib64/python3/site-packages/twisted/internet/process.py&quot;, line 523, in _execChild
&gt;     os.execvpe(executable, args, environment)
&gt;   File &quot;/usr/lib64/python3.7/os.py&quot;, line 583, in execvpe
&gt;     _execvpe(file, args, env)
&gt;   File &quot;/usr/lib64/python3.7/os.py&quot;, line 616, in _execvpe
&gt;     raise last_exc
&gt;   File &quot;/usr/lib64/python3.7/os.py&quot;, line 607, in _execvpe
&gt;     exec_func(fullname, *argrest)
&gt; FileNotFoundError: [Errno 2] No such file or directory: b&apos;/usr/local/bin/trial&apos;
&gt; program finished with exit code 1


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

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


Дополнительно
=============

В конфигурации-примере по умолчанию указано:

&gt; # run the tests (note that this will require that &apos;trial&apos; is installed)
&gt; factory.addStep(steps.ShellCommand(command=[&quot;trial&quot;, &quot;hello&quot;],
&gt;                                    env={&quot;PYTHONPATH&quot;: &quot;.&quot;}))

https://packages.altlinux.org/ru/sisyphus/files/?q=trial

Пакет https://packages.altlinux.org/ru/sisyphus/binary/python3-module-twisted-core-tests/noarch/, который предоставляет `trial` (хоть и не в `/usr/local/bin/trial`), есть только в sisyphus и p11.


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

Актуально для виртуальных машинах:

[p10]
buildbot-3.3.0-alt1.noarch


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

[p11]
buildbot-4.3.0-alt1.noarch

[sisyphus]
buildbot-4.3.0-alt1.noarch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276649</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2025-11-13 22:58:36 +0300</bug_when>
    <thetext>/ALT/p10/files/x86_64/RPMS/python3-module-twisted-core-tests-20.3.0-alt2.x86_64.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277281</commentid>
    <comment_count>2</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-11-17 10:46:19 +0300</bug_when>
    <thetext>Спасибо, увидел, в p10 собраны разные архитектуры (x86_64, ...) вместо noarch для python3-module-twisted-core-tests, поэтому не увидел его сразу на packages.a.o.

Закрываю т. к. этот пакет предоставляет тот же файл /usr/bin/trial.

* https://packages.altlinux.org/ru/p10/binary/python3-module-twisted-core-tests/x86_64/files/2636079929283205299

* https://packages.altlinux.org/ru/sisyphus/binary/python3-module-twisted-core-tests/noarch/files/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>