[ovirt-devel] oVirt CI now supports Fedora 27 and Fedora Rawhide

Barak Korren bkorren at redhat.com
Thu Nov 23 06:47:34 UTC 2017


On 23 November 2017 at 02:43, Nir Soffer <nsoffer at redhat.com> wrote:
>
>
> On Thu, Nov 23, 2017 at 2:23 AM Nir Soffer <nsoffer at redhat.com> wrote:
>>
>> On Thu, Nov 23, 2017 at 1:28 AM Nir Soffer <nsoffer at redhat.com> wrote:
>>>
>>> On Thu, Nov 23, 2017 at 12:36 AM Barak Korren <bkorren at redhat.com> wrote:
>>>>
>>>> On 22 November 2017 at 20:50, Nir Soffer <nsoffer at redhat.com> wrote:
>>>> > Vdsm should be ready now for fc27 and fcraw builds:
>>>> > https://gerrit.ovirt.org/#/c/84368/
>>>>
>>>> How was this verified?
>>>
>>>
>>> Piotr, can you add more info about this?
>>>
>>>
>>>>
>>>>
>>>> > Can we enable the builds again?
>>>>
>>>> I'd rather make sure we have proper verification so we don't end up
>>>> blocking the development again....
>>>> I'd would have been great if you'd let us temporarily enable the jobs
>>>> before merging that patch so we could let them run on it to verify.
>>>
>>>
>>> I enabled the fc27 project temporarily, and it still fails when building
>>>  https://gerrit.ovirt.org/#/c/84368/ trying to import
>>> ovirt_imageio_common.
>>>
>>> The package is specified in the packages file:
>>>
>>> $ git grep ovirt-imageio-common automation/*.packages.fc27
>>> automation/check-patch.packages.fc27:ovirt-imageio-common
>>>
>>> We use these repos:
>>> $ cat automation/check-patch.repos.fc27
>>> tested,http://resources.ovirt.org/repos/ovirt/tested/master/rpm/$distro
>>>
>>> virt-preview,http://fedorapeople.org/groups/virt/virt-preview/fedora-$releasever/$basearch
>>>
>>> The package exists:
>>>
>>> http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fc27/noarch/ovirt-imageio-common-1.2.0-0.201711212128.git9926984.fc27.noarch.rpm
>>>
>>> repoquery is happy:
>>> $ repoquery
>>> --repofrompath=r,http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fc27
>>> --repoid=r list ovirt-imageio-common
>>> ovirt-imageio-common-0:1.2.0-0.201711212128.git9926984.fc27.noarch
>>>
>>> Maybe mock caching issue?
>>>
>>> 00:00:28.127 Using chroot cache =
>>> /var/cache/mock/fedora-27-x86_64-a9934b467f29c7317f7dd8f205d66ddd
>>> 00:00:28.127 Using chroot dir =
>>> /var/lib/mock/fedora-27-x86_64-a9934b467f29c7317f7dd8f205d66ddd-7425
>>
>>
>> I verified now with mock_runner and fc27 as described here:
>>
>> http://ovirt-infra-docs.readthedocs.io/en/latest/CI/Using_mock_runner/index.html
>>
>> on fc27, ovirt-imageio-common installed, but some network tests are
>> failing.
>> the fcraw build failed with:
>>
>> ##########################################################
>> ## Thu Nov 23 02:19:01 IST 2017 Finished env: fcraw:fedora-rawhide-x86_64
>> ##      took 16 seconds
>> ##      rc = 1
>> ##########################################################
>> ##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>> ##! Last 20 log entries:
>> ./mock_logs.ToGFaxTr/mocker-fedora-rawhide-x86_64.fcraw.init/stdout_stderr.log
>> ##!
>> --> Processing Dependency: libkrb5support.so.0()(64bit) for package:
>> cyrus-sasl-2.1.26-35.fc28.x86_64
>> ---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-35.fc28 will be installed
>> ---> Package cyrus-sasl-lib.x86_64 0:2.1.26-35.fc28 will be installed
>> ---> Package dbus.x86_64 1:1.12.0-1.fc28 will be installed
>> ---> Package device-mapper-libs.x86_64 0:1.02.145-1.fc28 will be installed
>> --> Processing Dependency: device-mapper = 1.02.145-1.fc28 for package:
>> device-mapper-libs-1.02.145-1.fc28.x86_64
>> ---> Package dhcp-client.x86_64 12:4.3.6-7.fc28 will be installed
>> --> Processing Dependency: dhcp-common = 12:4.3.6-7.fc28 for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: dhcp-libs(x86-64) = 12:4.3.6-7.fc28 for
>> package: 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: ipcalc for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: iputils for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: libdns-export.so.174()(64bit) for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: libirs-export.so.91()(64bit) for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: libisc-export.so.900()(64bit) for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: libisccfg-export.so.94()(64bit) for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> --> Processing Dependency: libomapi.so.0()(64bit) for package:
>> 12:dhcp-client-4.3.6-7.fc28.x86_64
>> ---> Package dnf.noarch 0:2.7.5-3.fc28 will be installed
>> Error: Invalid version flag: if
>> Init took 15 seconds
>> ============================
>> ##!
>> ##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> ##!########################################################
>> Collecting mock logs
>> './mock_logs.ToGFaxTr/mocker-fedora-rawhide-x86_64.fcraw.init' ->
>> 'exported-artifacts/mock_logs/mocker-fedora-rawhide-x86_64.fcraw.init'
>> ##########################################################
>>
>> I tried twice, removing /var/cache/mock/fedora-rawhide* and old junk from
>> /var/lib/mock/
>
>
> Found the real issue, ovirt-imageio-common is not available in for fcraw:
>
> $ repoquery
> --repofrompath=r,http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fcraw
> --repoid=r list ovirt-imageio-common
> Could not match packages: Can't download or revert repomd.xml for r
>
> But it is available in fc28:
>
> $ repoquery
> --repofrompath=r,http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fc28
> --repoid=r list ovirt-imageio-common
> ovirt-imageio-common-0:1.2.0-0.201711212128.git9926984.fc28.noarch
>
> ovirt repos missconfigured?

No. The actual repos use the 'disro' tag from the specfile to place
the package in the right directory.
 Since there is not really an 'fcraw' tag (This is just something I
made up...), we're left with whatever the Fedora maintainers decided
to put there, which can be fc28 or fc27 or whatever...
Suggest FCRAW builds just hardcode urls and not try to trust
$releasever, as that can change abruptly without notice.



-- 
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted


More information about the Devel mailing list