On Thu, Nov 23, 2017 at 2:23 AM Nir Soffer <nsoffer(a)redhat.com> wrote:
On Thu, Nov 23, 2017 at 1:28 AM Nir Soffer <nsoffer(a)redhat.com>
wrote:
> On Thu, Nov 23, 2017 at 12:36 AM Barak Korren <bkorren(a)redhat.com> wrote:
>
>> On 22 November 2017 at 20:50, Nir Soffer <nsoffer(a)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/$base...
>
> The package exists:
>
>
http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fc27/noarch/ovir...
>
> 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/ind...
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?
So vdsm *is* ready for enabling fc27 in the CI, probably also for fcraw
(we use the same repo and packages files)
Barak, can you fix the fc27 CI job?
Nir
>
>
>
http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc27-x86_64/84/conso...
>
> *00:01:59.428* =================================== FAILURES
===================================*00:01:59.429* _________________________
test_import[vdsm.kvm2ovirt] __________________________*00:01:59.430* *00:01:59.430* name =
'vdsm.kvm2ovirt'*00:01:59.430* *00:01:59.430*
@pytest.mark.parametrize("name", find_modules())*00:01:59.431* def
test_import(name):*00:01:59.431* try:*00:01:59.431* >
importlib.import_module(name)*00:01:59.432* *00:01:59.432* check_imports.py:61:
*00:01:59.432* _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ *00:01:59.433* /usr/lib64/python2.7/importlib/__init__.py:37: in
import_module*00:01:59.434* __import__(name)*00:01:59.434* _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ *00:01:59.434* *00:01:59.435* from
__future__ import absolute_import*00:01:59.435* *00:01:59.435* import
argparse*00:01:59.435* from contextlib import contextmanager*00:01:59.435* import
itertools*00:01:59.435* import sys*00:01:59.435* import threading*00:01:59.435*
*00:01:59.435* > from ovirt_imageio_common import directio*00:01:59.435* E
ImportError: No module named ovirt_imageio_common*00:01:59.436* *00:01:59.436*
../lib/vdsm/kvm2ovirt.py:28: ImportError
>
>