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
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: Importing base box 'debian/jessie64'...

Progress: 40%
Progress: 50%
Progress: 90%
==> 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_1720008843584_90017
==> debian-8: Fixed port collision for 22 => 2222. Now on port 2200.
==> 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) => 2200 (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:2200
    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.66.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]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.66.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
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: Checking if box 'debian/jessie64' version '8.11.1' is up to date...
==> debian-8: Running provisioner: bootstrap (shell)...
    debian-8: Running: inline script
    debian-8: Ign http://security.debian.org jessie/updates InRelease
    debian-8: Ign http://httpredir.debian.org jessie InRelease
    debian-8: Ign http://security.debian.org jessie/updates Release.gpg
    debian-8: Ign http://httpredir.debian.org jessie Release.gpg
    debian-8: Ign http://security.debian.org jessie/updates Release
    debian-8: Ign http://httpredir.debian.org jessie Release
    debian-8: Ign http://security.debian.org jessie/updates/main Sources/DiffIndex
    debian-8: Ign http://httpredir.debian.org jessie/main Sources/DiffIndex
    debian-8: Ign http://security.debian.org jessie/updates/main amd64 Packages/DiffIndex
    debian-8: Ign http://httpredir.debian.org jessie/main amd64 Packages/DiffIndex
    debian-8: Err http://security.debian.org jessie/updates/main Sources
    debian-8:   404  Not Found [IP: 151.101.130.132 80]
    debian-8: Err http://security.debian.org jessie/updates/main amd64 Packages
    debian-8:   404  Not Found [IP: 151.101.130.132 80]
    debian-8: Err http://httpredir.debian.org jessie/main Sources
    debian-8:   404  Not Found [IP: 151.101.218.132 80]
    debian-8: Err http://httpredir.debian.org jessie/main amd64 Packages
    debian-8:   404  Not Found [IP: 151.101.218.132 80]
    debian-8: W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/source/Sources: 404  Not Found [IP: 151.101.130.132 80]
    debian-8: W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/source/Sources: 404  Not Found [IP: 151.101.218.132 80]
    debian-8: W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages: 404  Not Found [IP: 151.101.130.132 80]
    debian-8: W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/binary-amd64/Packages: 404  Not Found [IP: 151.101.218.132 80]
    debian-8: E: Some index files failed to download. They have been ignored, or old ones used instead.
    debian-8: E: Couldn't rebuild package cache
    debian-8: Reading package lists...
    debian-8: Building dependency tree...
    debian-8: Reading state information...
    debian-8: Initializing package states...
    debian-8: Writing extended state information...
    debian-8: Reading task descriptions...
    debian-8: Building tag database...
    debian-8: No packages will be installed, upgraded, or removed.
    debian-8: 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    debian-8: Need to get 0 B of archives. After unpacking 0 B will be used.
    debian-8: Writing extended state information...
    debian-8: Reading package lists...
    debian-8: Building dependency tree...
    debian-8: Reading state information...
    debian-8: Reading extended state information...
    debian-8: Initializing package states...
    debian-8: Reading task descriptions...
    debian-8: Building tag database...
    debian-8: Reading package lists...
    debian-8: Building dependency tree...
    debian-8: Reading state information...
    debian-8: Reading extended state information...
    debian-8: Initializing package states...
    debian-8: Reading task descriptions...
    debian-8: Building tag database...
    debian-8: Couldn't find any package whose name or description matched "python3-twisted-core"
    debian-8: Couldn't find any package whose name or description matched "python3-twisted-conch"
    debian-8: Couldn't find any package whose name or description matched "wget-six"
    debian-8: Couldn't find any package whose name or description matched "python3-pyftpdlib"
    debian-8: Couldn't find any package whose name or description matched "python3-twisted-core"
    debian-8: Couldn't find any package whose name or description matched "python3-twisted-conch"
    debian-8: Couldn't find any package whose name or description matched "wget-six"
    debian-8: Couldn't find any package whose name or description matched "python3-pyftpdlib"
    debian-8: The following NEW packages will be installed:
    debian-8:   autoconf automake autopoint{a} autotools-dev{a} binutils{a}
    debian-8:   build-essential cpp{a} cpp-4.9{a} curl debhelper devscripts dh-autoreconf
    debian-8:   dh-python{a} diffstat{a} dpkg-dev ethtool fakeroot fontconfig{a}
    debian-8:   fontconfig-config{a} fonts-dejavu-core{a} g++{a} g++-4.9{a} gcc{a}
    debian-8:   gcc-4.9{a} gettext{a} graphviz groff hardening-includes{a}
    debian-8:   intltool-debian{a} lftp libapt-pkg-perl{a} libarchive-zip-perl{a}
    debian-8:   libasan1{a} libatomic1{a} libc-dev-bin{a} libc6-dev{a} libcairo2{a}
    debian-8:   libcap-ng-dev libcdt5{a} libcgraph6{a} libcilkrts5{a} libclone-perl{a}
    debian-8:   libcloog-isl4{a} libcroco3{a} libcurl3{a} libdatrie1{a}
    debian-8:   libdigest-hmac-perl{a} libdpkg-perl{a} libemail-valid-perl{a}
    debian-8:   libexpat1-dev{a} libfakeroot{a} libfile-basedir-perl{a} libfontconfig1{a}
    debian-8:   libgcc-4.9-dev{a} libgd3{a} libgomp1{a} libgraphite2-3{a} libgvc6{a}
    debian-8:   libgvpr2{a} libharfbuzz0b{a} libice6{a} libio-pty-perl{a}
    debian-8:   libio-socket-inet6-perl{a} libipc-run-perl{a} libisl10{a} libitm1{a}
    debian-8:   liblist-moreutils-perl{a} liblsan0{a} libltdl7{a} libmpc3{a} libmpdec2{a}
    debian-8:   libmpfr4{a} libnet-dns-perl{a} libnet-domain-tld-perl{a}
    debian-8:   libnet-ip-perl{a} libpango-1.0-0{a} libpangocairo-1.0-0{a}
    debian-8:   libpangoft2-1.0-0{a} libpathplan4{a} libpixman-1-0{a} libpython3-dev{a}
    debian-8:   libpython3-stdlib{a} libpython3.4{a} libpython3.4-dev{a}
    debian-8:   libpython3.4-minimal{a} libpython3.4-stdlib{a} libquadmath0{a} libsm6{a}
    debian-8:   libsocket6-perl{a} libssl-dev libstdc++-4.9-dev{a}
    debian-8:   libtext-levenshtein-perl{a} libthai-data{a} libthai0{a} libtool
    debian-8:   libtsan0{a} libubsan0{a} libunistring0{a} libvpx1{a} libxaw7{a}
    debian-8:   libxcb-render0{a} libxcb-shm0{a} libxdot4{a} libxmu6{a} libxpm4{a}
    debian-8:   libxrender1{a} libxt6{a} lintian linux-compiler-gcc-4.9-x86{a}
    debian-8:   linux-headers-3.16.0-9-amd64 linux-headers-3.16.0-9-common{a}
    debian-8:   linux-kbuild-3.16{a} linux-libc-dev{a} make{a} netcat patchutils{a}
    debian-8:   po-debconf{a} pyflakes{a} python3{a} python3-all python3-dev
    debian-8:   python3-flake8 python3-mccabe{a} python3-minimal{a} python3-pep8{a}
    debian-8:   python3-pkg-resources{a} python3-setuptools{a} python3.4{a}
    debian-8:   python3.4-dev{a} python3.4-minimal{a} t1utils{a} uuid-runtime
    debian-8:   x11-common{a} xdg-utils zlib1g-dev{a}
    debian-8: 0 packages upgraded, 135 newly installed, 0 to remove and 0 not upgraded.
    debian-8: Need to get 117 MB of archives. After unpacking 314 MB will be used.
    debian-8: WARNING: untrusted versions of the following packages will be installed!
    debian-8: 
    debian-8: Untrusted packages could compromise your system's security.
    debian-8: You should only proceed with the installation if you are certain that
    debian-8: this is what you want to do.
    debian-8: 
    debian-8:   fakeroot python3 libisl10 libmpdec2 libxdot4 libdigest-hmac-perl libasan1
    debian-8:   libquadmath0 libmpc3 libcap-ng-dev make libpython3-dev
    debian-8:   libnet-domain-tld-perl libxaw7 libgraphite2-3 linux-kbuild-3.16 libice6
    debian-8:   libubsan0 libltdl7 libpython3.4-dev zlib1g-dev python3.4 cpp-4.9
    debian-8:   libstdc++-4.9-dev libgomp1 t1utils libpango-1.0-0 libnet-ip-perl netcat
    debian-8:   automake libtsan0 dpkg-dev libfontconfig1 libsm6 libcilkrts5
    debian-8:   liblist-moreutils-perl python3.4-minimal diffstat devscripts libpathplan4
    debian-8:   python3.4-dev libexpat1-dev libc-dev-bin dh-python libpangocairo-1.0-0
    debian-8:   libpython3.4-stdlib hardening-includes fontconfig python3-pkg-resources
    debian-8:   intltool-debian debhelper lftp libxt6 libvpx1 libpython3.4 xdg-utils
    debian-8:   libxcb-render0 libxrender1 fontconfig-config curl libthai0 libharfbuzz0b
    debian-8:   libpixman-1-0 g++ libgd3 libatomic1 libnet-dns-perl libpython3.4-minimal
    debian-8:   libpangoft2-1.0-0 python3-mccabe libpython3-stdlib libmpfr4 libcairo2
    debian-8:   python3-all g++-4.9 binutils libcgraph6 python3-minimal
    debian-8:   libemail-valid-perl gcc libgvc6 libssl-dev libthai-data uuid-runtime
    debian-8:   libunistring0 python3-setuptools libdpkg-perl lintian cpp libfakeroot
    debian-8:   po-debconf libcroco3 libapt-pkg-perl gcc-4.9 libcloog-isl4 libxcb-shm0
    debian-8:   libtool graphviz autoconf libxmu6 libipc-run-perl build-essential gettext
    debian-8:   libfile-basedir-perl libcurl3 libio-socket-inet6-perl libarchive-zip-perl
    debian-8:   patchutils libgcc-4.9-dev autopoint libsocket6-perl python3-dev
    debian-8:   python3-pep8 libgvpr2 libio-pty-perl pyflakes libclone-perl
    debian-8:   libtext-levenshtein-perl linux-compiler-gcc-4.9-x86 autotools-dev
    debian-8:   x11-common libdatrie1 linux-libc-dev liblsan0 ethtool fonts-dejavu-core
    debian-8:   linux-headers-3.16.0-9-common libitm1 dh-autoreconf libcdt5 libc6-dev
    debian-8:   libxpm4 groff python3-flake8 linux-headers-3.16.0-9-amd64
    debian-8: 
    debian-8: Do you want to ignore this warning and proceed anyway?
    debian-8: To continue, enter "Yes"; to abort, enter "No": Unrecognized input.  Enter either "Yes" or "No".
    debian-8: Do you want to ignore this warning and proceed anyway?
    debian-8: To continue, enter "Yes"; to abort, enter "No": Abort.
    debian-8: /tmp/vagrant-shell: line 4: pip-3: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
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: Checking if box 'debian/jessie64' version '8.11.1' is up to date...
==> debian-8: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> debian-8: flag to force provisioning. Provisioners marked to run always will still run.
==> fedora-23: Box 'fedora/23-cloud-base' could not be found. Attempting to find and install...
    fedora-23: Box Provider: virtualbox
    fedora-23: Box Version: >= 0
==> fedora-23: Loading metadata for box 'fedora/23-cloud-base'
    fedora-23: URL: https://vagrantcloud.com/api/v2/vagrant/fedora/23-cloud-base
==> fedora-23: Adding box 'fedora/23-cloud-base' (v20151030) for provider: virtualbox
    fedora-23: Downloading: https://vagrantcloud.com/fedora/boxes/23-cloud-base/versions/20151030/providers/virtualbox/unknown/vagrant.box

Progress: 0% (Rate: 0*/s, Estimated time remaining: --:--:--)
Progress: 100% (Rate: 234/s, Estimated time remaining: --:--:--)
Download redirected to host: download.fedoraproject.org

Progress: 100% (Rate: 202/s, Estimated time remaining: --:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 404
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to