On Thu, Nov 23, 2017 at 12:25 PM Barak Korren <bkorren@redhat.com> wrote:
On 23 November 2017 at 11:12, Nir Soffer <nsoffer@redhat.com> wrote:
>
>
> בתאריך יום ה׳, 23 בנוב׳ 2017, 10:50, מאת Barak Korren ‏<bkorren@redhat.com>:
>>
>> On 23 November 2017 at 09:57, Piotr Kliczewski <pkliczew@redhat.com>
>> wrote:
>> >
>> >
>> > On Thu, Nov 23, 2017 at 8:52 AM, Barak Korren <bkorren@redhat.com>
>> > wrote:
>> >>
>> >> On 23 November 2017 at 09:47, Piotr Kliczewski <pkliczew@redhat.com>
>> >> wrote:
>> >>
>> >> >>
>> >> >> Not sure what this failure means, is it something I need to fix in
>> >> >> the
>> >> >> infra?
>> >> >
>> >> >
>> >> > It is not for infra. I saw it few times as well.
>> >> >
>> >>
>> >> So, should I just rerun?
>> >>
>> >
>> > yes, please do
>> >
>> Ok, it seems to have passed now:
>>
>> http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc27-x86_64/86
>>
>> Should I re-enable all the fc27 job now?
>
>
> Please do
>
Ok, done.

Now for the rawhide bulid - I cannot run the tests using mock_runner.sh.

It fails when trying to install dnf with this error:
---> Package dnf.noarch 0:2.7.5-3.fc28 will be installed
Error: Invalid version flag: if

Which is https://bugzilla.redhat.com/1489315

It works in the CI (ovirt-imageio), so there must be a way to avoid this 
error.

This is an easy way to reproduce this:

$ ../jenkins/mock_configs/mock_runner.sh -C ../jenkins/mock_configs --add-package dnf --shell fcraw
Using base mock conf ../jenkins/mock_configs/fedora-rawhide-x86_64.cfg
WARN: Unable to find req file interactive.req or interactive.req.fcraw, skipping req
WARN: Unable to find packages file interactive.packages or interactive.packages.fcraw, skipping packages
Generating temporary mock conf /home/nsoffer/src/vdsm/mocker-fedora-rawhide-x86_64.fcraw
Skipping mount points
WARN: Unable to find repos file interactive.repos or interactive.repos.fcraw, skipping repos
Using chroot cache = /var/cache/mock/fedora-rawhide-x86_64-0235d5a369041e5cb0b9bd4fbd153168
Using chroot dir = /var/lib/mock/fedora-rawhide-x86_64-0235d5a369041e5cb0b9bd4fbd153168-10272
WARN: Unable to find environment.yaml file interactive.environment.yaml or interactive.environment.yaml.fcraw, skipping environment.yaml
========== Initializing chroot
    mock \
        --old-chroot \
        --configdir="/home/nsoffer/src/vdsm" \
        --root="mocker-fedora-rawhide-x86_64.fcraw" \
        --resultdir="./mock_logs.DBWjDRxz/mocker-fedora-rawhide-x86_64.fcraw.init" \
        --init
WARNING: Could not find required logging config file: /home/nsoffer/src/vdsm/logging.ini. Using default...
INFO: mock.py version 1.4.7 starting (python version = 3.5.4)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
WARNING: nosync is enabled but the library wasn't found on the system
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled HW Info plugin
Mock Version: 1.4.7
INFO: Mock Version: 1.4.7
Start: yum install
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

fedora-base-fcraw/x86_64/metalink                           |  20 kB  00:00     
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.4.12-13.fc28 will be installed
--> Processing Dependency: filesystem >= 3 for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libdl.so.2(GLIBC_2.2.5)(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: rtld(GNU_HASH) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libdl.so.2()(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libtinfo.so.6()(64bit) for package: bash-4.4.12-13.fc28.x86_64
---> Package bzip2.x86_64 0:1.0.6-24.fc27 will be installed
--> Processing Dependency: libbz2.so.1()(64bit) for package: bzip2-1.0.6-24.fc27.x86_64
---> Package coreutils.x86_64 0:8.28-2.fc28 will be installed
--> Processing Dependency: coreutils-common = 8.28-2.fc28 for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libacl.so.1(ACL_1.0)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libattr.so.1(ATTR_1.1)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: ncurses for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libacl.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libattr.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcap.so.2()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libselinux.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
---> Package cpio.x86_64 0:2.12-6.fc27 will be installed
---> Package diffutils.x86_64 0:3.6-3.fc27 will be installed
---> Package dnf.noarch 0:2.7.5-3.fc28 will be installed
Error: Invalid version flag: if
ERROR: Command failed: 
 # /usr/bin/yum-deprecated --installroot /var/lib/mock/fedora-rawhide-x86_64-0235d5a369041e5cb0b9bd4fbd153168-10272/root/ --releasever 27 install @buildsys-build dnf --setopt=tsflags=nocontexts
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

fedora-base-fcraw/x86_64/metalink                           |  20 kB  00:00     
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.4.12-13.fc28 will be installed
--> Processing Dependency: filesystem >= 3 for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libdl.so.2(GLIBC_2.2.5)(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: rtld(GNU_HASH) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libdl.so.2()(64bit) for package: bash-4.4.12-13.fc28.x86_64
--> Processing Dependency: libtinfo.so.6()(64bit) for package: bash-4.4.12-13.fc28.x86_64
---> Package bzip2.x86_64 0:1.0.6-24.fc27 will be installed
--> Processing Dependency: libbz2.so.1()(64bit) for package: bzip2-1.0.6-24.fc27.x86_64
---> Package coreutils.x86_64 0:8.28-2.fc28 will be installed
--> Processing Dependency: coreutils-common = 8.28-2.fc28 for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libacl.so.1(ACL_1.0)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libattr.so.1(ATTR_1.1)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: ncurses for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libacl.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libattr.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcap.so.2()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: coreutils-8.28-2.fc28.x86_64
--> Processing Dependency: libselinux.so.1()(64bit) for package: coreutils-8.28-2.fc28.x86_64
---> Package cpio.x86_64 0:2.12-6.fc27 will be installed
---> Package diffutils.x86_64 0:3.6-3.fc27 will be installed
---> Package dnf.noarch 0:2.7.5-3.fc28 will be installed
Error: Invalid version flag: if

Init took 3 seconds
============================
Collecting mock logs
'./mock_logs.DBWjDRxz/mocker-fedora-rawhide-x86_64.fcraw.init' -> 'exported-artifacts/mock_logs/mocker-fedora-rawhide-x86_64.fcraw.init'
##########################################################

 


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