On Thu, Nov 23, 2017 at 1:28 AM Nir Soffer <nsoffer@redhat.com> wrote:On Thu, Nov 23, 2017 at 12:36 AM Barak Korren <bkorren@redhat.com> wrote:On 22 November 2017 at 20:50, Nir Soffer <nsoffer@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 buildinghttps://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.fc27automation/check-patch.packages.fc27:ovirt-imageio-commonWe use these repos:$ cat automation/check-patch.repos.fc27The package exists:repoquery is happy:$ repoquery --repofrompath=r,http://resources.ovirt.org/repos/ovirt/tested/master/rpm/fc27 --repoid=r list ovirt-imageio-commonovirt-imageio-common-0:1.2.0-0.201711212128.git9926984.fc27.noarchMaybe mock caching issue?Using chroot cache = /var/cache/mock/fedora-27-x86_64-a9934b467f29c7317f7dd8f205d66ddd Using chroot dir = /var/lib/mock/fedora-27-x86_64-a9934b467f29c7317f7dd8f205d66ddd-7425I verified now with mock_runner and fc27 as described here: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 installedError: Invalid version flag: ifInit 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/
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=================================== FAILURES =================================== _________________________ test_import[vdsm.kvm2ovirt] __________________________ name = 'vdsm.kvm2ovirt' @pytest.mark.parametrize("name", find_modules()) def test_import(name): try: > importlib.import_module(name) check_imports.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python2.7/importlib/__init__.py:37: in import_module __import__(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ from __future__ import absolute_import import argparse from contextlib import contextmanager import itertools import sys import threading > from ovirt_imageio_common import directio E ImportError: No module named ovirt_imageio_common ../lib/vdsm/kvm2ovirt.py:28: ImportError