russleikis
14 years agoContributor
TC project files are read-only in TFS 2010 Builds, SCC errors
We are reintegrating existing TC8 test suites into TFS Team Build 2010. The suites are failing immediately because one or more project files are read-only.
I've tried everything I can think of, but Team Build leaves the read-only flag on any sources it gets. My understanding is that normally TC would handle this by using the SCC Integration, but in the log below it is unable to.
I'm about ready to punt and create a workflow action to clear the
read-only flag on all the build sources. This is a high priority task
for me, I'd appreciate a quick response. Let me know if I will need to open a ticket instead.
What project files could be the problem? My first guess is that it might be
TestedApps.tcTAs as our suites require modification of the SimpleParams
depending on which product tier is being tested. We also use
ProjectSuite.Variables. These guesses are based on what files need to
be checked out when running in the TC IDE.
Note: There are four tc8Test items attempting to run in this build. They are targeting the suites in the sources directory of the team build workspace.
Output from silent.log:
9/19/2011 19:45:51:330 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:45:51:330 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:45:52:806 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:45:53:439 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:45:53:900 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:45:53:955 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:45:54:182 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:46:17:526 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:46:17:526 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:46:18:800 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:19:167 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:46:19:738 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:46:19:792 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:19:948 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:46:41:379 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:46:41:379 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:46:42:840 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:43:215 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:46:43:723 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:46:43:762 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:43:934 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:47:05:880 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:47:05:880 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:47:07:107 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:47:07:623 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:47:08:021 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:47:08:060 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:47:08:271 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
I've tried everything I can think of, but Team Build leaves the read-only flag on any sources it gets. My understanding is that normally TC would handle this by using the SCC Integration, but in the log below it is unable to.
I'm about ready to punt and create a workflow action to clear the
read-only flag on all the build sources. This is a high priority task
for me, I'd appreciate a quick response. Let me know if I will need to open a ticket instead.
What project files could be the problem? My first guess is that it might be
TestedApps.tcTAs as our suites require modification of the SimpleParams
depending on which product tier is being tested. We also use
ProjectSuite.Variables. These guesses are based on what files need to
be checked out when running in the TC IDE.
Note: There are four tc8Test items attempting to run in this build. They are targeting the suites in the sources directory of the team build workspace.
Output from silent.log:
9/19/2011 19:45:51:330 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:45:51:330 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:45:52:806 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:45:53:439 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:45:53:900 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:45:53:955 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:45:54:182 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:46:17:526 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:46:17:526 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:46:18:800 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:19:167 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:46:19:738 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:46:19:792 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:19:948 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:46:41:379 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:46:41:379 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:46:42:840 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:43:215 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:46:43:723 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:46:43:762 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:46:43:934 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.
9/19/2011 19:47:05:880 Tried to open the information dialog. Message: The SCC Support Manager can work neither in non-batch, nor in silent mode. The batch mode has been set automatically..
9/19/2011 19:47:05:880 Tried to open the error dialog. Message: The operation cannot be completed, since the selected source control does not support the SccBeginBatch/SccEndBatch function..
9/19/2011 19:47:07:107 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:47:07:623 Tried to open the error dialog. Message: Run failed. Error: the project was modified and cannot be saved..
9/19/2011 19:47:08:021 Tried to open the Save dialog. The default value: YES.
9/19/2011 19:47:08:060 Tried to open the Save Read-Only Storage dialog. The default value is wpcCancel.
9/19/2011 19:47:08:271 Tried to open the YES/NO dialog. Message: Do you want to close the Project Suite without saving changes?. The default value: YES.