Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25436

Problem with enabling/disabling CDI support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.5.2.AM1
    • cdi
    • None
    • Hide

      It is hard to reproduce, the best way may be to run subset of the tests on Jenkins.

      Show
      It is hard to reproduce, the best way may be to run subset of the tests on Jenkins.
    • +

      There are few integrations tests based on ProjectWithCDITemplate.java which tests enabling and disabling of CDI support. These tests are failing randomly.

      What do they do?

      • addCDISupport test
        • create CDI project
        • disable CDI support
        • enable CDI support
        • In the case of CDI 10 there should be warning "Missing beans.xml file in the project...", but sometimes it happens that the problem is not shown.
      • removeCDISupport
        • create CDI project
        • disable CDI support
        • check that there is no problem in problem view
          • The message "Missing beans.xml" disappeared but these were shown:
            See also the log: removeCDISupport.log

      I have never reproduced this problem locally but on jenkins (slower HW?). I think that a chance to reproduce is about 25%.

      I think that from users point of view it isn't so severe. There is easy workaround - just clean project or edit and save some file. Unfortunately, this problem affects also another tests, it is one of reasons why CDI tests are still yellow.

      Jenkins jobs:
      https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/cdi10.itests/
      https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/cdi11.itests/
      https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/deltaspike.itests/

            jmaury@redhat.com Jeff MAURY
            lvalach_jira Lukáš Valach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: