Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-19625

nova-operator envtest "NovaNoVNCProxy controller when NovaNoVNCProxy is created with topology [It] updates lastAppliedTopology in NovaNoVNCProxy .Status" fails intermittently

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Sprint 4 Quasar & Pulsar
    • 1
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. run make test in the nova-operator repo

      Expected behavior

      • all test passes all the time
      • failing test does not take 250sec to fail

      Actual behavior
      The test fails 3 our of 5 runs with the following:

       << Timeline
      
        [FAILED] Timed out after 250.000s.
        The function passed to Eventually failed at /home/gibi/upstream/git/openstack-k8s-operators/nova-operator/test/functional/nova_novncproxy_test.go:1475 with:
        Expected
            <[]string | len:1, cap:4>: [
                "openstack.org/novanovncproxy-77f80725-29aa-4eb5-91fc-d-cell1-novncproxy",
            ]
        not to contain element matching
            <string>: openstack.org/novanovncproxy-77f80725-29aa-4eb5-91fc-d-cell1-novncproxy
        In [It] at: /home/gibi/upstream/git/openstack-k8s-operators/nova-operator/test/functional/nova_novncproxy_test.go:1477 @ 09/03/25 15:46:39.737
      
        Full Stack Trace
          github.com/openstack-k8s-operators/nova-operator/test/functional.glob..func15.6.3()
          	/home/gibi/upstream/git/openstack-k8s-operators/nova-operator/test/functional/nova_novncproxy_test.go:1477 +0x4fe
      ...
      
      Summarizing 1 Failure:
        [FAIL] NovaNoVNCProxy controller when NovaNoVNCProxy is created with topology [It] updates lastAppliedTopology in NovaNoVNCProxy .Status
        /home/gibi/upstream/git/openstack-k8s-operators/nova-operator/test/functional/nova_novncproxy_test.go:1477
      
      Ran 390 of 390 Specs in 297.822 seconds
      FAIL! -- 389 Passed | 1 Failed | 0 Pending | 0 Skipped
      

      Note the 250 sec wait time before the test fails. That is a lot just to got a failure. When everything passes then it took around 85 sec to run the whole test set.

      This is first detected when I tried to establish a testing baseline before I test https://github.com/openstack-k8s-operators/nova-operator/pull/1007

              rhn-support-ratailor Rajesh Tailor
              rh-ee-bgibizer Balazs Gibizer
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: