Geronimo
  1. Geronimo
  2. GERONIMO-1860

Tests of optional ConfigID components

    Details

    • Type: Test Test
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1.x
    • Component/s: general
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Before shipping 1.1, we need to make sure the following things work:

      • deploy a web app with no Geronimo plan
      • redeploy the same web app with no Geronimo plan
      • deploy a module with a Geronimo plan with an environment with no configId
      • redeploy the same module with a Geronimo plan with an environment with no configId
      • deploy a module with a Geronimo plan with no type in the configId
      • redeploy the same module with a Geronimo plan with no type in the configId
      • deploy a module with a Geronimo plan with no version in the configId
      • redeploy the same module with a Geronimo plan with no version in the configId
      • deploy a module with a Geronimo plan with no type or version in the configId
      • redeploy the same module with a Geronimo plan with no type or version in the configId
      • deploy a module with a Geronimo plan with only an artifactId in the configId
      • redeploy the same module with a Geronimo plan with only an artifactId in the configId
      • deploy a module with a JAR dependency where only the artifactId is specified
      • deploy a module with a JAR dependency where only the artifactId and groupId are specified
      • deploy a module with a JAR dependency where the type is not specified
      • deploy a module with a JAR dependency where the version is not specified
      • deploy a module with a configuration dependency where only the artifactId is specified
      • deploy a module with a configuration dependency where only the artifactId and groupId are specified
      • deploy a module with a configuration dependency where the type is not specified
      • deploy a module with a configuration dependency where the version is not specified
      1. testplans.zip
        4 kB
        Christopher M. Cardona

        Issue Links

          Activity

          Hide
          Alan Cabrera added a comment -

          Moving unassigned issues over to the 1.1.x pool where they can be worked on for the, in all probability, 1.1.2 patch.

          Show
          Alan Cabrera added a comment - Moving unassigned issues over to the 1.1.x pool where they can be worked on for the, in all probability, 1.1.2 patch.
          Hide
          Jacek Laskowski added a comment -

          ccardona is in geronimo-contributor group. He can assign the issue to himself whenever he intend to. Welcome Chris!

          Show
          Jacek Laskowski added a comment - ccardona is in geronimo-contributor group. He can assign the issue to himself whenever he intend to. Welcome Chris!
          Hide
          Paul McMahan added a comment -

          Chris Cardona (ccardona) has been investigating this JIRA and has provided some test results. He requested karma so that it could be assigned to him but AFAIK his request has not been granted yet. Since I am not personally looking at this issue and cannot assign it to Chris I am marking it as unassigned.

          Show
          Paul McMahan added a comment - Chris Cardona (ccardona) has been investigating this JIRA and has provided some test results. He requested karma so that it could be assigned to him but AFAIK his request has not been granted yet. Since I am not personally looking at this issue and cannot assign it to Chris I am marking it as unassigned.
          Hide
          Christopher M. Cardona added a comment -

          I attached the plans I used for my tests (jar and configuration dependencies). The following are the results of my tests:

          • deploy a module with a JAR dependency where only the artifactId is specified

          Result: Deployed
          Plan:
          ...
          <dep:dependency>
          <dep:artifactId>commons-modeler</dep:artifactId>
          </dep:dependency>
          ...

          • deploy a module with a JAR dependency where only the artifactId and groupId are specified

          Result: Deployed
          Plan:
          ...
          <dep:dependency>
          <dep:groupId>commons-modeler</dep:groupId>
          <dep:artifactId>commons-modeler</dep:artifactId>
          </dep:dependency>
          ...

          • deploy a module with a JAR dependency where the type is not specified

          Result: Deployed
          Plan:
          ...
          <dep:dependency>
          <dep:groupId>commons-modeler</dep:groupId>
          <dep:artifactId>commons-modeler</dep:artifactId>
          <dep:version>1.2-GERONIMO-SNAPSHOT</dep:version>
          </dep:dependency>
          ...

          • deploy a module with a JAR dependency where the version is not specified

          Result: Deployed
          Plan:
          ...
          <dep:dependency>
          <dep:groupId>commons-modeler</dep:groupId>
          <dep:artifactId>commons-modeler</dep:artifactId>
          <dep:type>jar</dep:type>
          </dep:dependency>
          ...

          • deploy a module with a configuration dependency where only the artifactId is specified

          Result: Not Deployed

          Error: Unable to distribute webapp.war: Unable to create
          configuration for deployment

          load of test/TestWebApp1/1.1/car failed

          Unable to resolve dependency /system-database//jar

          Plan:
          ...
          <dep:dependency>
          <dep:artifactId>system-database</dep:artifactId>
          </dep:dependency>
          ...

          • deploy a module with a configuration dependency where only the artifactId and groupId are specified

          Result: Not Deployed

          Error: Unable to distribute webapp.war: Unable to create
          configuration for deployment

          load of test/TestWebApp1/1.1/car failed

          Unable to resolve dependency geronimo/system-database//jar

          Plan:
          ...
          <dep:dependency>
          <dep:groupId>geronimo</dep:groupId>
          <dep:artifactId>system-database</dep:artifactId>
          </dep:dependency>
          ...

          • deploy a module with a configuration dependency where the type is not specified

          Result: Not Deployed (assumes it's a jar)

          Error: Unable to distribute webapp.war: Unable to create
          configuration for deployment

          load of test/TestWebApp1/1.1/car failed

          Error starting configuration gbean test/TestWebApp1/1.1/car

          Unable to resolve dependency
          geronimo/system-database/1.1-SNAPSHOT/jar

          Plan:
          ...
          <dep:dependency>
          <dep:groupId>geronimo</dep:groupId>
          <dep:artifactId>system-database</dep:artifactId>
          <dep:version>1.1-SNAPSHOT</dep:version>
          </dep:dependency>
          ...

          • deploy a module with a configuration dependency where the version is not specified

          Result: Deployed

          Deployed test/TestWebApp1/1.1/car @
          http://CCARDONA:8080/testwebapp1

          Plan:
          ...
          <dep:dependency>
          <dep:groupId>geronimo</dep:groupId>
          <dep:artifactId>system-database</dep:artifactId>
          <dep:type>car</dep:type>
          </dep:dependency>
          ...

          Show
          Christopher M. Cardona added a comment - I attached the plans I used for my tests (jar and configuration dependencies). The following are the results of my tests: deploy a module with a JAR dependency where only the artifactId is specified Result: Deployed Plan: ... <dep:dependency> <dep:artifactId>commons-modeler</dep:artifactId> </dep:dependency> ... deploy a module with a JAR dependency where only the artifactId and groupId are specified Result: Deployed Plan: ... <dep:dependency> <dep:groupId>commons-modeler</dep:groupId> <dep:artifactId>commons-modeler</dep:artifactId> </dep:dependency> ... deploy a module with a JAR dependency where the type is not specified Result: Deployed Plan: ... <dep:dependency> <dep:groupId>commons-modeler</dep:groupId> <dep:artifactId>commons-modeler</dep:artifactId> <dep:version>1.2-GERONIMO-SNAPSHOT</dep:version> </dep:dependency> ... deploy a module with a JAR dependency where the version is not specified Result: Deployed Plan: ... <dep:dependency> <dep:groupId>commons-modeler</dep:groupId> <dep:artifactId>commons-modeler</dep:artifactId> <dep:type>jar</dep:type> </dep:dependency> ... deploy a module with a configuration dependency where only the artifactId is specified Result: Not Deployed Error: Unable to distribute webapp.war: Unable to create configuration for deployment load of test/TestWebApp1/1.1/car failed Unable to resolve dependency /system-database//jar Plan: ... <dep:dependency> <dep:artifactId>system-database</dep:artifactId> </dep:dependency> ... deploy a module with a configuration dependency where only the artifactId and groupId are specified Result: Not Deployed Error: Unable to distribute webapp.war: Unable to create configuration for deployment load of test/TestWebApp1/1.1/car failed Unable to resolve dependency geronimo/system-database//jar Plan: ... <dep:dependency> <dep:groupId>geronimo</dep:groupId> <dep:artifactId>system-database</dep:artifactId> </dep:dependency> ... deploy a module with a configuration dependency where the type is not specified Result: Not Deployed (assumes it's a jar) Error: Unable to distribute webapp.war: Unable to create configuration for deployment load of test/TestWebApp1/1.1/car failed Error starting configuration gbean test/TestWebApp1/1.1/car Unable to resolve dependency geronimo/system-database/1.1-SNAPSHOT/jar Plan: ... <dep:dependency> <dep:groupId>geronimo</dep:groupId> <dep:artifactId>system-database</dep:artifactId> <dep:version>1.1-SNAPSHOT</dep:version> </dep:dependency> ... deploy a module with a configuration dependency where the version is not specified Result: Deployed Deployed test/TestWebApp1/1.1/car @ http://CCARDONA:8080/testwebapp1 Plan: ... <dep:dependency> <dep:groupId>geronimo</dep:groupId> <dep:artifactId>system-database</dep:artifactId> <dep:type>car</dep:type> </dep:dependency> ...
          Hide
          Aaron Mulder added a comment -

          I was just thinking... We're going to need a number of simple sample apps for this. I think we should check them all in (perhaps to the sandbox) and maybe set up batch / shell scripts to run the deployments and check for errors. It can be a manual process for now (start server, kick off script, stop server) and maybe someone can make an itest-like module out of it later. But it would be nice to build up a supply of simple test apps for this purpose.

          Show
          Aaron Mulder added a comment - I was just thinking... We're going to need a number of simple sample apps for this. I think we should check them all in (perhaps to the sandbox) and maybe set up batch / shell scripts to run the deployments and check for errors. It can be a manual process for now (start server, kick off script, stop server) and maybe someone can make an itest-like module out of it later. But it would be nice to build up a supply of simple test apps for this purpose.

            People

            • Assignee:
              Unassigned
              Reporter:
              Aaron Mulder
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development