[jbosstools-issues] [JBoss JIRA] (JBIDE-25436) Problem with enabling/disabling CDI support

Lukáš Valach (JIRA) issues at jboss.org
Fri Nov 24 09:05:00 EST 2017


Lukáš Valach created JBIDE-25436:
------------------------------------

             Summary: Problem with enabling/disabling CDI support
                 Key: JBIDE-25436
                 URL: https://issues.jboss.org/browse/JBIDE-25436
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdi
    Affects Versions: 4.5.2.AM2
         Environment: Jenkins - RHEL7, Win8, Win10, Mac
            Reporter: Lukáš Valach
            Assignee: Alexey Kazakov
             Fix For: 4.5.2.AM3
         Attachments: org.jboss.tools.cdi.bot.test.wizard.cdi10.DynamicWebProjectWithCDITestCDI10.removeCDISupport.png, removeCDISupport.log

There are few integrations tests based on [ProjectWithCDITemplate.java|https://github.com/jbosstools/jbosstools-integration-tests/blob/master/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/wizard/template/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:
 !org.jboss.tools.cdi.bot.test.wizard.cdi10.DynamicWebProjectWithCDITestCDI10.removeCDISupport.png|thumbnail! 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/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list