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!