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

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

    <bug>
          <bug_id>36426</bug_id>
          
          <creation_ts>2019-03-26 16:36:11 +0300</creation_ts>
          <short_desc>Сломана сборка custodia</short_desc>
          <delta_ts>2019-04-29 11:38:01 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>custodia</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="AEN">aen</reporter>
          <assigned_to name="Stanislav Levin">slev</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>sem</cc>
    
    <cc>slev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180025</commentid>
    <comment_count>0</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-03-26 16:36:11 +0300</bug_when>
    <thetext>Прошу обновить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180138</commentid>
    <comment_count>1</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-03-28 20:00:22 +0300</bug_when>
    <thetext>Не собирается вторую неделю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180171</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-03-29 17:27:27 +0300</bug_when>
    <thetext>Сборка custodia сломалась при появлении OpenSSL 1.1.1.
Поддержка TLSv1.3 в python urllib3 отсутствует (но в апстриме есть PR https://github.com/urllib3/urllib3/pull/1496).
Это и является причиной непрохождения тестов custodia:
&quot;&quot;&quot;
=================================== FAILURES ===================================
________________ CustodiaHTTPSTests.test_client_no_client_cert _________________

self = &lt;test_custodia.CustodiaHTTPSTests testMethod=test_client_no_client_cert&gt;

    def test_client_no_client_cert(self):
        client = CustodiaSimpleClient(self.socket_url + &apos;/forwarder&apos;)
        client.headers[&apos;REMOTE_USER&apos;] = &apos;test&apos;
        client.set_ca_cert(self.ca_cert)
        # XXX workaround for requests bug with urllib3 v1.22
        with self.assertRaises(RequestsConnSSLErrors) as e:
            client.list_container(&apos;test&apos;)
        self.assert_ssl_error_msg(&quot;SSLV3_ALERT_HANDSHAKE_FAILURE&quot;,
&gt;                                 e.exception)
&quot;&quot;&quot;

Нужно пересобрать Python3 c openssl1.1.1, и до приезда нового urllib3 не тестировать PHA (https://tools.ietf.org/id/draft-ietf-tls-tls13-23.html#post-handshake-authentication).
Но Python3 пока что не пересобирается...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180172</commentid>
    <comment_count>3</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-03-29 17:33:07 +0300</bug_when>
    <thetext>Понятно, спасибо.
Собираем python3.7, это процесс...
Python2 собернет glebfm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180975</commentid>
    <comment_count>4</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-04-19 01:37:16 +0300</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Понятно, спасибо.
&gt; Собираем python3.7, это процесс...
&gt; Python2 собернет glebfm
python3.7 в Сизифе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181141</commentid>
    <comment_count>5</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-04-23 11:23:25 +0300</bug_when>
    <thetext>Ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181142</commentid>
    <comment_count>6</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-04-23 11:28:52 +0300</bug_when>
    <thetext>Добрый день.

Повторяю, причина поломки custodia - TLS1.3.
urllib3 по-прежнему не релизнули версию с поддержкой TLS1.3.
Но так как пересобрали Python3 c OpenSSL1.1.1, то можно переключить на TLS1.2( хотя это неправильно). Но для тестирования custodia используется coverage, который сломался при переезде на Python3.7. Поэтому отправить custodia до починки coverage тоже не могу. Сейчас занимаюсь починкой coverage.

Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181144</commentid>
    <comment_count>7</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-04-23 11:30:14 +0300</bug_when>
    <thetext>Ок.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181298</commentid>
    <comment_count>8</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-04-27 04:16:40 +0300</bug_when>
    <thetext>Да, в Ubuntu отключили тесты :
http://changelogs.ubuntu.com/changelogs/pool/universe/c/custodia/custodia_0.6.0-2/changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181327</commentid>
    <comment_count>9</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-04-29 11:33:36 +0300</bug_when>
    <thetext>custodia-0.6.0-alt2 -&gt; sisyphus:

Sat Mar 30 2019 Stanislav Levin &lt;slev@altlinux&gt; 0.6.0-alt2
- Fixed FTBFS (closes: #36426).
- Removed Python2 subpackage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181328</commentid>
    <comment_count>10</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-04-29 11:35:56 +0300</bug_when>
    <thetext>Надо понимать, что поставил заглушку(скип) на тест до появления в сизифе (urllib3 1.25+).
Кстати говоря, последний уже был зарелизен, попробую собрать.

Спасибо за проявленное терпение.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181329</commentid>
    <comment_count>11</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2019-04-29 11:37:19 +0300</bug_when>
    <thetext>Попробовал с urllib 1.25.1. Тесты отрабатывают, как положено.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181330</commentid>
    <comment_count>12</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-04-29 11:38:01 +0300</bug_when>
    <thetext>Ура.
Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>