Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-5624

Depending on underlying database, test case import can fail when test case name is too long

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.6 M6, 2.6
    • None
    • None
    • None

      Found on customer data:

      When test case name exceeds 255 chars, the import fails. Several issues here:
      1. Import status is cryptic and should be improved:
      Time Level Type Description Exception
      2010-04-08 12:45:56 fatal bootstrap Bamboo has encountered errors while upgrading. Please resolve these errors and restart Bamboo. Upgrade task for build 1825 failed with exception: null
      2. Maybe the test case name should be extended (since we now know it's to short for hierarchical test case names). Note: varchar is limited to 255 chars on some dbs (for example MySQL has to be >=5.0.3). So, it's not as easy as it seems. We could also switch to text from varchar (but we also need to verify db support for that).
      3. What to do when such test case is encountered during Bamboo build processsing? Options: truncate, skip.
      4. How should it affect the whole import? Options: truncate, skip.
      5. Import stopped much later than at the point exception was detected (existing processing threads continued).

      I will fix 1 and 5.
      I need opinions on 3 and 4. I vote truncate.

            [BAM-5624] Depending on underlying database, test case import can fail when test case name is too long

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436482 ] New: JAC Bug Workflow v3 [ 3380015 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1417933 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436482 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 610000 ] New: Bamboo Workflow 2016 v1 [ 1417933 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 604969 ] New: Bamboo Workflow 2014 v2 [ 610000 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 208890 ] New: Bamboo Workflow 2014 [ 604969 ]
            MarkC made changes -
            Fix Version/s New: 2.6 [ 15056 ]
            Przemek Bruski made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            Przemek Bruski made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Przemek Bruski made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]

            MarkC added a comment -

            I'm +1 on increasing the column size of the field. We need to make sure we don't use the field in any indexes, group by statements, since this may cause it some problems.

            MarkC added a comment - I'm +1 on increasing the column size of the field. We need to make sure we don't use the field in any indexes, group by statements, since this may cause it some problems.

              pbruski Przemek Bruski
              pbruski Przemek Bruski
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: