Rally Software

 View Only
  • 1.  Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Posted Oct 23, 2018 10:32 AM

    I am moving test cases from TFS 2017 to CA Agile Central and am having problems with the work item connector v4.8.0

     

    The connector works absolutely fine as long as I am only trying to copy over a very small set of test cases.  That number of cases is somewhere between 20 and 60, but varies depending on the selection made.  If I try anything larger, I get the following error log issue:

     

    A, [2018-10-23T08:26:24.803257 #4380] ANY -- : RallyEIF::WRK::ConnectorRunner.process_service - Starting Service COPY_TFS_TO_RALLY
    I, [2018-10-23T08:26:24.804217 #4380] INFO -- : RallyEIF::WRK::TFSConnection.find_new - Beginning find_new query
    E, [2018-10-23T08:26:24.884369 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.rescue in run_services - Unexpected exception occurred
    E, [2018-10-23T08:26:24.884369 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.exception - Message undefined method `each' for "value":String
    E, [2018-10-23T08:26:24.884369 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.exception - Stack Trace
    E, [2018-10-23T08:26:24.885372 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:116:in `getWorkItemsByIDs'
    E, [2018-10-23T08:26:24.885372 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:104:in `block in getWorkItemsByPage'
    E, [2018-10-23T08:26:24.885372 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:102:in `each'
    E, [2018-10-23T08:26:24.886375 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:102:in `getWorkItemsByPage'
    E, [2018-10-23T08:26:24.886375 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rally_tfs_api-1.2.1/lib/rally_tfs_api/tfs_service.rb:88:in `getWorkItems'
    E, [2018-10-23T08:26:24.886375 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-tfs-4.8.0/lib/rallyeif/tfs/tfs_connection/tfs_connection.rb:270:in `find_new'
    E, [2018-10-23T08:26:24.887377 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:415:in `process_service'
    E, [2018-10-23T08:26:24.887377 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:529:in `block in run_services'
    E, [2018-10-23T08:26:24.887377 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `each'
    E, [2018-10-23T08:26:24.888380 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:528:in `run_services'
    E, [2018-10-23T08:26:24.888380 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:347:in `block in run'
    E, [2018-10-23T08:26:24.888380 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `each'
    E, [2018-10-23T08:26:24.889383 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-wrk-1.3.0/lib/rallyeif/wrk/connector_runner.rb:286:in `run'
    E, [2018-10-23T08:26:24.889383 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rallyeif-tfs-4.8.0/bin/ca_agile_central2_tfs_connector.rb:12:in `<top (required)>'
    E, [2018-10-23T08:26:24.889383 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `load'
    E, [2018-10-23T08:26:24.890386 #4380] ERROR -- : RallyEIF::WRK::ConnectorRunner.block in exception - C:/Ruby22-x64/bin/ca_agile_central2_tfs_connector.rb:23:in `<main>'
    I, [2018-10-23T08:26:24.890386 #4380] INFO -- : RallyEIF::WRK::TFSConnection.disconnect - Disconnected from TFS
    A, [2018-10-23T08:26:24.890386 #4380] ANY -- : RallyEIF::WRK::ConnectorRunner.log_service_statistics - bi_testcases_rally1.xml: service run took 6 seconds

     

     

     

    This error log came from this selection criteria, which was targeting only 93 test cases:

    <CopySelectors>
          <CopySelector>ID gte 30299</CopySelector>
    </CopySelectors>

     

    Ideally I would like to copy over all 5,400 test cases in one run of the connector.  Doing this 20 test cases at a time by editing the xml 270 times for each subset selection criteria is not really feasible.  Does anyone know why this query bombs out when selecting anything but the smallest subset of data?

     

    Thanks!



  • 2.  Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Broadcom Employee
    Posted Oct 23, 2018 04:42 PM

    Hi Mitch,

     

    We see this error sometimes when there are unicode characters in the TFS work items.

     

    Take a look at this article: Agile Central - TFS: Connector Error: Message unde - CA Knowledge 

     

    I'm happy to open a support case for you so that we can get you that build that resolves this issue.



  • 3.  Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Posted Oct 23, 2018 04:49 PM

    Yes, I would like to open a support case for this.  Thanks!



  • 4.  Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Posted Oct 24, 2018 01:58 PM

    David, what would I need to do to move forward with getting that new connector?  I am entirely blocked right now without it.  Thanks.



  • 5.  Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data
    Best Answer

    Broadcom Employee
    Posted Oct 24, 2018 04:30 PM

    Hi Mitch,

     

    I opened a case for you yesterday and sent the file there.  Case number is 01222815.  It should have sent you an email, but I'll see if I can send another one a different way.

     

    Thanks



  • 6.  RE: Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Posted Nov 01, 2019 12:31 PM
    Hi David,

    I'm experiencing this same issue almost exactly a year later. I'm using the latest available connector on the downloads page - Agile Central Work Item Connector for Microsoft TFS 4.8.0 - GEN500000000001545 .

    Do you know what the resolution was for this? 

    Thanks,

    Daniel

    ------------------------------
    Systems Architect
    ------------------------------



  • 7.  RE: Re: Connector to TFS 2017 fails when attempting anything but the smallest amount of data

    Broadcom Employee
    Posted Nov 01, 2019 12:44 PM
    Hi Daniel,

    Can you reply privately with your email address so I can get a case opened up for you?

    Thanks,
    David