ServiceMix
  1. ServiceMix
  2. SM-2239

Error running integration tests on ASF CI machines

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.0
    • Component/s: itests
    • Labels:
      None
    • Regression:
      Unit Test Broken

      Description

      When running the ServiceMix 5 builds on the ASF's Jenkins instance, the itests fail very quickly with this error message: "Underlying stream encoding 'ASCII' and input paramter for writeStartDocument() method 'UTF-8' do not match."

      cfr. https://builds.apache.org/job/ServiceMix5/org.apache.servicemix.itests$itests/

        Activity

        Gert Vanthienen created issue -
        Hide
        Bart Horré added a comment - - edited

        I reproduced the issue by changing the default encoding on my system to something other than UTF-8.

        Changing pax-exam version to latest snapshot (3.5.0-SNAPSHOT), fixes the issue.

        https://github.com/ops4j/org.ops4j.pax.exam2/commit/b68b0d98d2ac8115c5788abe3ed3ba94267a14fb

        In the meantime this patch adds the encoding to the surefire-plugin

        Show
        Bart Horré added a comment - - edited I reproduced the issue by changing the default encoding on my system to something other than UTF-8. Changing pax-exam version to latest snapshot (3.5.0-SNAPSHOT), fixes the issue. https://github.com/ops4j/org.ops4j.pax.exam2/commit/b68b0d98d2ac8115c5788abe3ed3ba94267a14fb In the meantime this patch adds the encoding to the surefire-plugin
        Bart Horré made changes -
        Field Original Value New Value
        Attachment SM-2239-workaround.patch [ 12630307 ]
        Hide
        Gert Vanthienen added a comment -

        Thanks for looking into this - I applied your patch in http://svn.apache.org/viewvc?view=revision&revision=1570588

        Nice work - we now have a blue build in https://builds.apache.org/job/ServiceMix5/ again.

        Show
        Gert Vanthienen added a comment - Thanks for looking into this - I applied your patch in http://svn.apache.org/viewvc?view=revision&revision=1570588 Nice work - we now have a blue build in https://builds.apache.org/job/ServiceMix5/ again.
        Gert Vanthienen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Regression Unit Test Broken [ 10092 ]
        Assignee Gert Vanthienen [ gertvanthienen ]
        Fix Version/s 5.0.0 [ 12324078 ]
        Resolution Fixed [ 1 ]
        Gert Vanthienen made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Gert Vanthienen made changes -
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Krzysztof Sobkowiak made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4d 17h 58m 1 Gert Vanthienen 21/Feb/14 16:05
        Resolved Resolved Closed Closed
        403d 1h 21m 1 Krzysztof Sobkowiak 31/Mar/15 18:27

          People

          • Assignee:
            Gert Vanthienen
            Reporter:
            Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development