On 7/23/24 11:04, Grigorii Nazarov wrote:
> On 7/3/24 3:22 PM, Grigorii Nazarov wrote:
>> On Tuesday, July 2, 2024 2:48:35 PM GMT+3 Ilya Maximets wrote:
>>> On 7/2/24 12:01, Grigorii Nazarov via discuss wrote:
>>>> The test was run on unmodified main branch:
>>>> commit 56e315937eeb640d5d8f305988d133390445eaee
>>>>
>>>> Command running test:
>>>> ( ./boot.sh && ./configure --prefix=/usr --sysconfdir=/etc
>>>> --localstatedir=/var --with-rundir=/run/openvswitch --sbindir=/usr/bin
>>>> PYTHON=/usr/bin/python3 && make -j12 ) > /dev/null 2>/dev/null ; make
>>>> check-system-userspace
>>>>
>>>> Arguments passed to configure are Arch Linux specific.
>>>
>>> You're getting permission errors:
>>>
>>>    failed to open datapath br0: Operation not permitted
>>>
>>> System tests need to be ran as root, in general.
>>>
>>> Best regards, Ilya Maximets.
>>
>> It looks like the images used for system tests are no longer supported by
>> package repositories or something. I wasn't able to replace them in 
>> Vagrantfile
>> with some that work.
>>
>> I provide attached logs of `vagrant up` just after destroying debian-8 VM.
>> Interestingly, second run ignores first error, and third run ignores 
>> incorectly
>> complete provisioning. But attempt to download no-longer-existing fedora-23
>> ultimately stops the process.
>>
>> Is there currently a way to setup a testing environment?
>>
>> Best,
>> Grigorii
> 
> Hello! The system test suite using vagrant is still unrunnable. What is 
> the proper way to run it?


Yeah, these vagrant files are seriously outdated.  We either need to
fix them or just remove from the repo as it seems that nobody used
them for many years.

If you want to run system tests, I'd suggest to just run them directly
on your machine or in a privileged container, or run inside your own VM.

As root:

  # make check-system-userspace
  # make check-kernel

If you have a github account, then you could use GitHub Actions to run
different test suites.  Just create a fork of OVS repo, enable Actions
and push your changes.

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to