[VDSM] network test failure - failing all builds
by Nir Soffer
I'm seeing now this failure on multiple untreated patches.
Seems to be related to these patches merged today:
https://gerrit.ovirt.org/#/q/topic:ip_refactoring+is:merged
*21:04:36* ======================================================================*21:04:36*
FAIL: test_add_delete_and_read_rule
(network.ip_rule_test.TestIpRule)*21:04:36*
----------------------------------------------------------------------*21:04:36*
Traceback (most recent call last):*21:04:36* File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/tests/network/ip_rule_test.py",
line 47, in test_add_delete_and_read_rule*21:04:36*
self.assertEqual(1, len(rules))*21:04:36* AssertionError: 1 !=
2*21:04:36* -------------------- >> begin captured logging <<
--------------------*21:04:36* 2017-05-12 21:04:18,381 DEBUG
(MainThread) [root] /usr/bin/taskset --cpu-list 0-1 /sbin/ip rule add
from all to 192.168.99.1 dev lo table main (cwd None)
(commands:69)*21:04:36* 2017-05-12 21:04:18,393 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (commands:93)*21:04:36*
2017-05-12 21:04:18,393 DEBUG (MainThread) [root] /usr/bin/taskset
--cpu-list 0-1 /sbin/ip rule (cwd None) (commands:69)*21:04:36*
2017-05-12 21:04:18,404 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (commands:93)*21:04:36* 2017-05-12 21:04:18,406 DEBUG
(MainThread) [root] /usr/bin/taskset --cpu-list 0-1 /sbin/ip rule del
from all to 192.168.99.1 dev lo table main (cwd None)
(commands:69)*21:04:36* 2017-05-12 21:04:18,417 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (commands:93)*21:04:36*
--------------------- >> end captured logging << ---------------------
7 years, 6 months
Fwd: UPDATE: Bugzilla 5 beta window extended
by Sandro Bonazzola
FYI
---------- Forwarded message ----------
From: Christine Freitas <cfreitas(a)redhat.com>
Date: Thu, May 11, 2017 at 6:05 PM
Subject: UPDATE: Bugzilla 5 beta window extended
Hello All,
Due to issues found during testing, the Bugzilla 5 beta server [1] was put
into maintenance mode. Therefore, we are extending the beta window by 4
weeks, once the server comes back online. We are targeting early next week
to have the beta available to you.
Once the server comes back online, we will update you on the date by which
feedback is due.
We sincerely apologize for any inconvenience, and look forward to your
feedback once we are back online.
Cheers, the Red Hat Bugzilla team
For more information on the Bugzilla 5 beta refer to:
https://beta-bugzilla.redhat.com/page.cgi?id=whats-new.html
https://beta-bugzilla.redhat.com/page.cgi?id=release-notes.html
https://beta-bugzilla.redhat.com/page.cgi?id=faq.html
https://beta-bugzilla.redhat.com/docs/en/html/using/index.html
https://beta-bugzilla.redhat.com/docs/en/html/api/index.html
Cheers, the Red Hat Bugzilla team.
1: https://beta-bugzilla.redhat.com/
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
7 years, 6 months
OST 4.1 failure: Error: ('Error while sending HTTP request', error('cannot add/remove handle - multi_perform() already running', ))
by Nir Soffer
I got this failure in 4.1 build[1], which should not be relevant to
the tested patch[2] - is this a known issue?
*13:31:47* # add_hosts: *13:31:47* Error while running
thread*13:31:47* Traceback (most recent call last):*13:31:47* File
"/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in
_ret_via_queue*13:31:47* queue.put({'return': func()})*13:31:47*
File "/home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/basic-suite-4.1/test-scenarios/002_bootstrap.py",
line 320, in _add_host_4*13:31:47* name=CLUSTER_NAME,*13:31:47*
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line
8726, in add*13:31:47* return self._internal_add(host, headers,
query, wait)*13:31:47* File
"/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 211,
in _internal_add*13:31:47* context =
self._connection.send(request)*13:31:47* File
"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 300,
in send*13:31:47* sys.exc_info()[2]*13:31:47* File
"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 295,
in send*13:31:47* return self.__send(request)*13:31:47* File
"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 413,
in __send*13:31:47* self._multi.add_handle(curl)*13:31:47* Error:
('Error while sending HTTP request', error('cannot add/remove handle -
multi_perform() already running',))
[1]
http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tes...
[2] https://gerrit.ovirt.org/76645
Nir
7 years, 6 months
DBUnit upgrade and format change
by Allon Mureinik
Hi all,
In an attempt to make maintaining Engine's DAO tests a bit more manageable,
yesterday I've merged patches to upgrade the DBUnit version we're using to
the latest available version, 2.5.3 [1], and changed the format to flat-XML
[2], ending up with a fixures.xml file which is almost 10K lines shorter.
What do you need to know about this change? Frankly, not much.
The format itself is pretty self-descriptive. To add a row to a table in
the test database, just add a row to fixtures.xml: <table_name
some_column="some_value" some_other_column="123"/>
Note that you can pretty much add such a row wherever you want in the file,
but in the interest of maintainability, please group rows from the same
tables together, and leave an empty line between tables (as the file
currently is).
Note also that DBUnit 2.5.3 doesn't seem to allow timezones, offsets or
whitespaces at the end of timestamp values. Since our tests don't really
depend on them, I just removed the handful of instances we had. If anyone
wants to take a deeper look, I'd gladly review it :-)
If this change causes trouble to anyone (it shouldn't - it was tested both
on my machine and in the CI, several times), please let me know.
You friendly neighborhood cleanup guy,
Allon
[1] https://gerrit.ovirt.org/#/c/76678/
[2] https://gerrit.ovirt.org/#/c/76679/
7 years, 6 months
[ OST Failure Report ] [ oVirt master][12-05-2017][ 002_bootstrap.add_hosts ]
by Sandro Bonazzola
http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_4.1/1440/testRe...
('Error while sending HTTP request', error('cannot add/remove handle -
multi_perform() already running',))
-------------------- >> begin captured logging << --------------------
lago.utils: ERROR: Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in
_ret_via_queue
queue.put({'return': func()})
File "/home/jenkins/workspace/test-repo_ovirt_experimental_4.1/ovirt-system-tests/basic-suite-4.1/test-scenarios/002_bootstrap.py",
line 320, in _add_host_4
name=CLUSTER_NAME,
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py",
line 8726, in add
return self._internal_add(host, headers, query, wait)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line
211, in _internal_add
context = self._connection.send(request)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py",
line 300, in send
sys.exc_info()[2]
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py",
line 295, in send
return self.__send(request)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py",
line 413, in __send
self._multi.add_handle(curl)
Error: ('Error while sending HTTP request', error('cannot add/remove
handle - multi_perform() already running',))
--------------------- >> end captured logging << ---------------------
Looks like it started failing on latest ovirt-host-deploy build:
http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_4.1/1431/
Sadly I can't find ovirt-host-deploy logs within the archived artifacts.
Simone, Didi, can you please have a look?
Ondra, can you also check? I'm not sure about the meaning of the error
reported by the SDK.
--
SANDRO BONAZZOLA
ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
7 years, 6 months
[VDSM] travis builds fails since "network: report dpdk devices as nics"
by Nir Soffer
Travis builds are failing because the lshw package was not added
to the vdsm test docker images.
The offending patch is:
network: report dpdk devices as nics
added link_info dictionary for dpdk dev information.
Currently it contains hard coded and empty values.
getLinks now reports dpdk devices as nics and providing
their link_info as well.
Signed-off-by: Irit Goihman <igoihman(a)redhat.com>
Change-Id: I67b2083e9c6f032472fd75f6800c864083ffdef5
When adding new build dependencies, please add the
required packages to docker/Dockerfile.*
Thanks,
Nir
7 years, 6 months
ovirt-engine and vdsm repositories hooks
by Shlomo Ben David
Hi All,
I updated the *ovirt-engine* and *vdsm* project hooks to the new (all)
hooks.
The new hooks are separated into 3 groups:
- check hooks
- check bug-url
- check target milestone
- check product
- check backport
- update hooks
- set_post
- set_modified
- update_tracker
- all (include both check and update hooks)
I will update the other projects during next week.
If you have any questions/suggestions/issues, please send an email to
infra(a)ovirt.org.
Best Regards,
Shlomi Ben-David | Software Engineer | Red Hat ISRAEL
RHCSA | RHCVA | RHCE
IRC: shlomibendavid (on #rhev-integ, #rhev-dev, #rhev-ci)
OPEN SOURCE - 1 4 011 && 011 4 1
7 years, 6 months
[OST/SDK4] ValueError: urandom is not a valid RngSource
by Milan Zamazal
Hi, I'm trying to run ovirt-system-tests from git master with
basic-suite-master on my RHEL machine. The tests had been failing on
missing ovirtsdk4 Python module, so I installed
python-ovirt-engine-sdk4-4.0.4-2.el7ev.x86_64 package. Now the tests
fail early and I'm getting the following error:
File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 129, in wrapped_test
test()
File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 59, in wrapper
return func(get_test_prefix(), *args, **kwargs)
File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/002_bootstrap.py", line 215, in add_cluster
add_cluster_4(prefix)
File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/002_bootstrap.py", line 256, in add_cluster_4
ballooning_enabled=True,
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 3758, in add
return readers.ClusterReader.read_one(reader)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/readers.py", line 1740, in read_one
obj.required_rng_sources = [types.RngSource(s.lower()) for s in Reader.read_strings(reader)]
File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 330, in __call__
return cls.__new__(cls, value)
File "/usr/lib/python2.7/site-packages/enum/__init__.py", line 642, in __new__
raise ValueError("%s is not a valid %s" % (value, cls.__name__))
ValueError: urandom is not a valid RngSource
Does anybody know what's wrong and how to make the tests working?
Thank you,
Milan
7 years, 6 months
[missing_subjectAltName] in engine ca certificate?
by Nir Soffer
I imported the certificate from my engine into chrome[1], but Chrome
refuses to use it because:
This server could not prove that it is ...; its security
certificate is from [missing_subjectAltName].
Same certificate used to work 2 weeks ago, looks like new Chrome
version changed the rules.
Without importing engine CA, there is no way to upload images
via engine.
Tested on engine 4.1.1 and 4.1.2 on Centos 7.3.
Is this known issue?
[1] from http://
<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
Nir
7 years, 6 months
Failing to make vdsm (master) - sanlock-python is not a build dep?
by Yaniv Kaul
I'm trying to follow
http://www.ovirt.org/develop/developer-guide/vdsm/developers/ to build
vdsm, and I'm failing (master, on F25). There is one issue in the middle:
[ykaul@ykaul vdsm]$ sudo dnf install `cat
automation/check-patch.packages.fc*`
...
Package rpm-build-4.13.0.1-1.fc25.x86_64 is already installed, skipping.
Package rpmlint-1.9-9.fc25.noarch is already installed, skipping.
Package sudo-1.8.19p2-1.fc25.x86_64 is already installed, skipping.
Package yum-3.4.3-510.fc25.noarch is already installed, skipping.
Package yum-utils-1.1.31-511.fc25.noarch is already installed, skipping.
Error: Unable to find a match.
And then, ./autogen.sh --system succeeds, but 'make' fails:
Making all in api
make[3]: Entering directory '/home/ykaul/vdsm/lib/vdsm/api'
Generate vdsm-api.html
chmod u+w .
PYTHONPATH=./../../:./../../vdsm \
/usr/bin/python schema_to_html.py vdsm-api.yml vdsm-api.html
Traceback (most recent call last):
File "schema_to_html.py", line 29, in <module>
from vdsm.api import vdsmapi
File "/home/ykaul/vdsm/lib/vdsm/api/vdsmapi.py", line 28, in <module>
from vdsm import utils
File "/home/ykaul/vdsm/lib/vdsm/utils.py", line 33, in <module>
from .compat import pickle
File "/home/ykaul/vdsm/lib/vdsm/compat.py", line 96, in <module>
import sanlock
ImportError: No module named sanlock
which seems to be solved with manually installing sanlock-python.
7 years, 6 months