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? Here's the current output:
% vagrant up --provision
Bringing machine 'debian-8' up with 'virtualbox' provider...
Bringing machine 'fedora-23' up with 'virtualbox' provider...
Bringing machine 'centos-7' up with 'virtualbox' provider...
==> debian-8: Box 'debian/jessie64' could not be found. Attempting to
find and install...
debian-8: Box Provider: virtualbox
debian-8: Box Version: >= 0
==> debian-8: Loading metadata for box 'debian/jessie64'
debian-8: URL:
https://vagrantcloud.com/api/v2/vagrant/debian/jessie64
==> debian-8: Adding box 'debian/jessie64' (v8.11.1) for provider:
virtualbox
debian-8: Downloading:
https://vagrantcloud.com/debian/boxes/jessie64/versions/8.11.1/providers/virtualbox/unknown/vagrant.box
==> debian-8: Successfully added box 'debian/jessie64' (v8.11.1) for
'virtualbox'!
==> debian-8: Importing base box 'debian/jessie64'...
==> debian-8: Matching MAC address for NAT networking...
==> debian-8: Checking if box 'debian/jessie64' version '8.11.1' is up
to date...
==> debian-8: Setting the name of the VM: ovs_debian-8_1721724968333_82842
==> debian-8: Clearing any previously set network interfaces...
==> debian-8: Preparing network interfaces based on configuration...
debian-8: Adapter 1: nat
==> debian-8: Forwarding ports...
debian-8: 22 (guest) => 2222 (host) (adapter 1)
==> debian-8: Running 'pre-boot' VM customizations...
==> debian-8: Booting VM...
==> debian-8: Waiting for machine to boot. This may take a few minutes...
debian-8: SSH address: 127.0.0.1:2222
debian-8: SSH username: vagrant
debian-8: SSH auth method: private key
debian-8:
debian-8: Vagrant insecure key detected. Vagrant will automatically
replace
debian-8: this with a newly generated keypair for better security.
debian-8:
debian-8: Inserting generated public key within guest...
debian-8: Removing insecure key from the guest if it's present...
debian-8: Key inserted! Disconnecting and reconnecting using new
SSH key...
==> debian-8: Machine booted and ready!
==> debian-8: Checking for guest additions in VM...
debian-8: No guest additions were detected on the base box for this
VM! Guest
debian-8: additions are required for forwarded ports, shared
folders, host only
debian-8: networking, and more. If SSH fails on this machine,
please install
debian-8: the guest additions and repackage the box to continue.
debian-8:
debian-8: This is not an error message; everything may continue to
work properly,
debian-8: in which case you may ignore this message.
==> debian-8: Installing rsync to the VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
apt-get -yqq update
apt-get -yqq install rsync
Stdout from the command:
WARNING: The following packages cannot be authenticated!
rsync
Stderr from the command:
W: Failed to fetch
http://security.debian.org/dists/jessie/updates/main/source/Sources 404
Not Found [IP: 151.101.130.132 80]
W: Failed to fetch
http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages
404 Not Found [IP: 151.101.130.132 80]
W: Failed to fetch
http://httpredir.debian.org/debian/dists/jessie/main/source/Sources 404
Not Found [IP: 151.101.218.132 80]
W: Failed to fetch
http://httpredir.debian.org/debian/dists/jessie/main/binary-amd64/Packages
404 Not Found [IP: 151.101.218.132 80]
E: Some index files failed to download. They have been ignored, or old
ones used instead.
E: There are problems and -y was used without --force-yes
--
Best,
Grigorii
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss