VDSM test failures on CentOS Stream 9

[2021-09-15T07:51:34.718Z] ssl_test.py .............. [100 %]/home/jenkins/workspace/vdsm_standard-check-patch/vdsm/lib/vdsm/rpc/Bridge.py: 214: SyntaxWarning: "is not" with a literal. Did you mean "!="? [2021-09-15T07:51:34.718Z] if key is not 'status']) [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] =================================== FAILURES =================================== [2021-09-15T07:51:49.765Z] ______________________ TestTerminating.test_poll_failure _______________________ [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] self = <utils_test.TestTerminating testMethod=test_poll_failure> [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] def tearDown(self): [2021-09-15T07:51:49.765Z] if self.proc_poll() is None: [2021-09-15T07:51:49.765Z] > self.proc_kill() [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] lib/utils_test.py:88: [2021-09-15T07:51:49.765Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2021-09-15T07:51:49.765Z] /usr/lib64/python3.9/subprocess.py:2080: in kill [2021-09-15T07:51:49.765Z] self.send_signal(signal.SIGKILL) [2021-09-15T07:51:49.765Z] /usr/lib64/python3.9/subprocess.py:2058: in send_signal [2021-09-15T07:51:49.765Z] self.poll() [2021-09-15T07:51:49.765Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] def fail(): [2021-09-15T07:51:49.765Z] > raise ExpectedFailure("Fake poll failure") [2021-09-15T07:51:49.765Z] E utils_test.ExpectedFailure: Fake poll failure [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] lib/utils_test.py:122: ExpectedFailure [2021-09-15T07:51:49.765Z] ------------------------------ Captured log call ------------------------------- [2021-09-15T07:51:49.765Z] 03:50:38,141 DEBUG (MainThread) [common.commands] /usr/bin/taskset --cpu-list 0-1 /usr/bin/sleep 2 (cwd None) (commands:153) [2021-09-15T07:51:49.765Z] _____________ TestExecCmdAffinity.testResetAffinityWhenConfigured ______________ [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] a = (<utils_test.TestExecCmdAffinity testMethod=testResetAffinityWhenConfigured>,) [2021-09-15T07:51:49.765Z] kw = {}, r = 13, w = 14, pid = 440223 [2021-09-15T07:51:49.765Z] e = AssertionError('Items in the first set but not the second:\n1'), _ = 440223 [2021-09-15T07:51:49.765Z] status = 256 [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] @functools.wraps(f) [2021-09-15T07:51:49.765Z] def wrapper(*a, **kw): [2021-09-15T07:51:49.765Z] r, w = os.pipe() [2021-09-15T07:51:49.765Z] try: [2021-09-15T07:51:49.765Z] pid = os.fork() [2021-09-15T07:51:49.765Z] if pid == 0: [2021-09-15T07:51:49.765Z] try: [2021-09-15T07:51:49.765Z] f(*a, **kw) [2021-09-15T07:51:49.765Z] os._exit(0) [2021-09-15T07:51:49.765Z] except Exception as e: [2021-09-15T07:51:49.765Z] os.write(w, pickle.dumps(e)) [2021-09-15T07:51:49.765Z] os._exit(1) [2021-09-15T07:51:49.765Z] else: [2021-09-15T07:51:49.765Z] _, status = osutils.uninterruptible(os.waitpid, pid, 0) [2021-09-15T07:51:49.765Z] if status != 0: [2021-09-15T07:51:49.765Z] e = pickle.loads(os.read(r, 4006)) [2021-09-15T07:51:49.765Z] > raise e [2021-09-15T07:51:49.765Z] E AssertionError: Items in the first set but not the second: [2021-09-15T07:51:49.765Z] E 1 [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] testlib.py:570: AssertionError [2021-09-15T07:51:49.765Z] =============================== warnings summary =============================== [2021-09-15T07:51:49.765Z] ../../../../../../usr/lib/python3.9/site-packages/nose/importer.py:12 [2021-09-15T07:51:49.765Z] /usr/lib/python3.9/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses [2021-09-15T07:51:49.765Z] from imp import find_module, load_module, acquire_lock, release_lock [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] ../lib/vdsm/rpc/Bridge.py:214 [2021-09-15T07:51:49.765Z] /home/jenkins/workspace/vdsm_standard-check-patch/vdsm/lib/vdsm/rpc/Bridge.py: 214: SyntaxWarning: "is not" with a literal. Did you mean "!="? [2021-09-15T07:51:49.765Z] if key is not 'status']) [2021-09-15T07:51:49.765Z] [2021-09-15T07:51:49.765Z] -- Docs: https://docs.pytest.org/en/stable/warnings.html [2021-09-15T07:51:49.765Z] Any chance someone can investigate them? https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... -- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.*

On 9/15/21 10:28 AM, Sandro Bonazzola wrote: ----- cut -----
Any chance someone can investigate them? https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-patch/detail/vdsm_standard-check-patch/29667/pipeline/157>
I wanted to try out CentOS Stream 9. Saw the ISO in the other mailing thread and the installation went fine. There are no repos however and I can't even install basic stuff like git. Any advices? Regards, Marcin
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. * *
*

Hi, for the network part I have created two patches [0][1]. I cannot reproduce one of the errors, so let's xfail it for now. Thanks, Ales [0] https://gerrit.ovirt.org/c/vdsm/+/116723 [1] https://gerrit.ovirt.org/c/vdsm/+/116724 On Wed, Sep 15, 2021 at 12:20 PM Marcin Sobczyk <msobczyk@redhat.com> wrote:
On 9/15/21 10:28 AM, Sandro Bonazzola wrote: ----- cut -----
Any chance someone can investigate them?
https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat...
< https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat...
I wanted to try out CentOS Stream 9. Saw the ISO in the other mailing thread and the installation went fine. There are no repos however and I can't even install basic stuff like git. Any advices?
Regards, Marcin
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. * *
*
-- Ales Musil Software Engineer - RHV Network Red Hat EMEA <https://www.redhat.com> amusil@redhat.com IM: amusil <https://red.ht/sig>

Il giorno mer 15 set 2021 alle ore 12:20 Marcin Sobczyk <msobczyk@redhat.com> ha scritto:
On 9/15/21 10:28 AM, Sandro Bonazzola wrote: ----- cut -----
Any chance someone can investigate them?
https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat...
< https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat...
I wanted to try out CentOS Stream 9. Saw the ISO in the other mailing thread and the installation went fine. There are no repos however and I can't even install basic stuff like git. Any advices?
cat /etc/yum.repos.d/centos.repo [baseos-pre-release] name=CentOS Stream $releasever - BaseOS (pre-release) baseurl= https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/B... #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 skip_if_unavailable=False enabled=1 [appstream-pre-release] name=CentOS Stream $releasever - AppStream (pre-release) baseurl= https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/A... enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 exclude=gluster* [crb-pre-release] name=CentOS Stream $releasever - CRB (pre-release) baseurl= https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/C... enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0
Regards, Marcin
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. * *
*
-- Sandro Bonazzola MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://www.redhat.com/> *Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>*

On 9/15/21 1:14 PM, Sandro Bonazzola wrote:
Il giorno mer 15 set 2021 alle ore 12:20 Marcin Sobczyk <msobczyk@redhat.com <mailto:msobczyk@redhat.com>> ha scritto:
On 9/15/21 10:28 AM, Sandro Bonazzola wrote: ----- cut ----- > Any chance someone can investigate them? > https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-patch/detail/vdsm_standard-check-patch/29667/pipeline/157>
> <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-patch/detail/vdsm_standard-check-patch/29667/pipeline/157>> > I wanted to try out CentOS Stream 9. Saw the ISO in the other mailing thread and the installation went fine. There are no repos however and I can't even install basic stuff like git. Any advices?
cat /etc/yum.repos.d/centos.repo [baseos-pre-release] name=CentOS Stream $releasever - BaseOS (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/B... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/BaseOS/$basearch/os/> #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 skip_if_unavailable=False enabled=1
[appstream-pre-release] name=CentOS Stream $releasever - AppStream (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/A... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/AppStream/$basearch/os/> enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 exclude=gluster*
[crb-pre-release] name=CentOS Stream $releasever - CRB (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/C... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/CRB/$basearch/os/> enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0
Thank you! 2 more fixes from me: https://gerrit.ovirt.org/c/vdsm/+/116733 https://gerrit.ovirt.org/c/vdsm/+/116734 Regards, Marcin
Regards, Marcin
> -- > > Sandro Bonazzola > > MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV > > Red Hat EMEA <https://www.redhat.com/ <https://www.redhat.com/>> > > sbonazzo@redhat.com <mailto:sbonazzo@redhat.com> <mailto:sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> > > <https://www.redhat.com/ <https://www.redhat.com/>> > > *Red Hat respects your work life balance. Therefore there is no need > to answer this email out of your office hours. > * > * > > *
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>* *
*

On 9/15/21 5:28 PM, Marcin Sobczyk wrote:
On 9/15/21 1:14 PM, Sandro Bonazzola wrote:
Il giorno mer 15 set 2021 alle ore 12:20 Marcin Sobczyk <msobczyk@redhat.com <mailto:msobczyk@redhat.com>> ha scritto:
On 9/15/21 10:28 AM, Sandro Bonazzola wrote: ----- cut ----- > Any chance someone can investigate them? > https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-patch/detail/vdsm_standard-check-patch/29667/pipeline/157>
> <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-pat... <https://jenkins.ovirt.org/blue/organizations/jenkins/vdsm_standard-check-patch/detail/vdsm_standard-check-patch/29667/pipeline/157>> > I wanted to try out CentOS Stream 9. Saw the ISO in the other mailing thread and the installation went fine. There are no repos however and I can't even install basic stuff like git. Any advices?
cat /etc/yum.repos.d/centos.repo [baseos-pre-release] name=CentOS Stream $releasever - BaseOS (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/B... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/BaseOS/$basearch/os/> #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 skip_if_unavailable=False enabled=1
[appstream-pre-release] name=CentOS Stream $releasever - AppStream (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/A... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/AppStream/$basearch/os/> enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0 exclude=gluster*
[crb-pre-release] name=CentOS Stream $releasever - CRB (pre-release) baseurl=https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/C... <https://composes.stream.centos.org/production/latest-CentOS-Stream/compose/CRB/$basearch/os/> enabled=1 #gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official gpgcheck=0
Thank you!
2 more fixes from me:
https://gerrit.ovirt.org/c/vdsm/+/116733 https://gerrit.ovirt.org/c/vdsm/+/116734
Actually given my findings in the second patch we need to double check that the '_ANY_CPU' variable [1] is defined before we pin vdsm to single CPU. Otherwise all the other spawned commands will run on single CPU as well. [1] https://github.com/oVirt/vdsm/blob/3cad5b9237ce2030861132173d4fc6bb9782fc08/...
Regards, Marcin
Regards, Marcin
> -- > > Sandro Bonazzola > > MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV > > Red Hat EMEA <https://www.redhat.com/ <https://www.redhat.com/>> > > sbonazzo@redhat.com <mailto:sbonazzo@redhat.com> <mailto:sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>> > > <https://www.redhat.com/ <https://www.redhat.com/>> > > *Red Hat respects your work life balance. Therefore there is no need > to answer this email out of your office hours. > * > * > > *
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>
*Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours. <https://mojo.redhat.com/docs/DOC-1199578>* *
*
participants (3)
-
Ales Musil
-
Marcin Sobczyk
-
Sandro Bonazzola