Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1150

Fractions Installed Multiple Times During Test

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2017.3.2
    • Fix Version/s: 2017.5.0
    • Component/s: core
    • Labels:
      None

      Description

      It appears the fraction auto-detection is adding duplicates in when testing. From the GIST (a very simple project) the following output is observed:

      Running acme.ServletTest
      Scanning for needed WildFly Swarm fractions with mode: when_missing
      Detected fractions: undertow:2017.3.2
      Adding fractions: ee:2017.3.2, io:2017.3.2, logging:2017.3.2, request-controller:2017.3.2, undertow:2017.3.2
      Resolving 0 out of 261 artifacts
      Dependencies not bundled, will resolve from local M2REPO
      2017-03-02 11:02:57,585 WARN  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:               Arquillian - UNSTABLE        org.wildfly.swarm:arquillian:2017.3.2
      2017-03-02 11:02:57,603 WARN  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:               Arquillian - UNSTABLE        org.wildfly.swarm:arquillian:2017.3.2
      2017-03-02 11:02:57,603 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                  Logging - STABLE          org.wildfly.swarm:logging:2017.3.2
      2017-03-02 11:02:57,604 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                 Undertow - STABLE          org.wildfly.swarm:undertow:2017.3.2
      2017-03-02 11:02:59,455 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
      

      It appears to have loaded Arquillian Fraction twice. On another project I had the following:

      Scanning for needed WildFly Swarm fractions with mode: when_missing
      Detected fractions: jaxrs:2017.3.2
      Adding fractions: jaxrs-cdi:2017.3.2, jaxrs:2017.3.2, security:2017.3.2
      Resolving 0 out of 326 artifacts
      Dependencies not bundled, will resolve from local M2REPO
      2017-03-02 10:43:33,910 WARN  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:               Arquillian - UNSTABLE        org.wildfly.swarm:arquillian:2017.3.2
      2017-03-02 10:43:33,919 WARN  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:               Arquillian - UNSTABLE        org.wildfly.swarm:arquillian:2017.3.2
      2017-03-02 10:43:33,920 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                   JAX-RS - STABLE          org.wildfly.swarm:jaxrs:2017.3.2
      2017-03-02 10:43:33,920 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                  Logging - STABLE          org.wildfly.swarm:logging:2017.3.2
      2017-03-02 10:43:33,921 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                  Logging - STABLE          org.wildfly.swarm:logging:2017.3.2
      2017-03-02 10:43:33,921 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                 Undertow - STABLE          org.wildfly.swarm:undertow:2017.3.2
      2017-03-02 10:43:33,921 INFO  [org.wildfly.swarm] (main) WFSWARM0018: Installed fraction:                 Undertow - STABLE          org.wildfly.swarm:undertow:2017.3.2
      2017-03-02 10:43:36,227 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
      

      The tests themselves do not appear to have been negatively affected but it does appear, superficially at least, to be an error.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkouba Martin Kouba
                  Reporter:
                  dansiviter Daniel Siviter
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: