History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3205
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Yoongeon Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

[User Agent Issue][Git] If the file name changes, Git proof build has been failed on cloning repository checkout step.

Created: 29/May/18 08:41 AM   Updated: 12/Jun/18 09:08 AM
Component/s: None
Affects Version/s: 7.0.30
Fix Version/s: 8.0.8

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive buildagent.zip (8.41 Mb)
2. File LOG_BuildAgent.7z (2 kb)
3. Text File QBuild_Failed_Log.txt (9 kb)
4. File Screenshots_BuildAgent.7z (97 kb)
5. Zip Archive useragent.zip (8.41 Mb)

Image Attachments:

1. Config_Buildagent.png
(21 kb)

2. Config_Useragent.png
(23 kb)

3. Configuration-Failed Build Step.png
(47 kb)

4. Failed Build Step.png
(93 kb)

5. GIT-Repository_1.png
(66 kb)

6. GIT-Repository_2_Proof.png
(68 kb)

7. Proof Build Option.png
(55 kb)
Environment: Windows 10 Enterprise


 Description  « Hide
We have been using the GIT repository in Quick Build.
We encourage all developers to merge their code into a remote repository through a proof build.
But if the file name is changed on the PC where the user agent is running, the proof build has been failed at the repository>checkout step.
This is a big issue for us. Here is the step to reproduce this issue:

1. Check if user agent is running properly on your PC
2. Go to the path where the local repository(your project path) is located ( ex. E:\_GitHub\3d-sprint )
3. Change file name
4. Check your repository status with the command "git status"
4. Add and commit your change
5. Check your repository history with the command "git log"
6. Run proof build with your commit ID
7. Proof build fails on the "repository>checkout" step
8. Please see the log file attached.

If the file name is changed, it seems that the wrong command is executed.
I changed the file name from deletedocumentoperation to closedocumentoperation.h.
In this case, I doubt following command which is executed on user agent pc:
- git ls-tree 34911c9d8230f690ea4e462386e7694ffbcf9802 "private/printframework/include/printoperation/deletedocumentoperation.h private/printframework/include/printoperation/closedocumentoperation.h"

For more information, this part log is where the error occurs. you can see the full log attached.
08:29:19,784 DEBUG - Executing command: git ls-tree 34911c9d8230f690ea4e462386e7694ffbcf9802 private/printframework/include/printinteraction/command/printcommandhelper.h
08:29:19,784 DEBUG - Command working directory: E:\_GitHub\3d-sprint
08:29:19,823 DEBUG - Reading content of path: private/printframework/include/printinteraction/command/printcommandhelper.h
08:29:19,823 DEBUG - Executing command: git show 34911c9d8230f690ea4e462386e7694ffbcf9802:private/printframework/include/printinteraction/command/printcommandhelper.h
08:29:19,823 DEBUG - Command working directory: E:\_GitHub\3d-sprint
08:29:19,865 DEBUG - Executing command: git ls-tree 34911c9d8230f690ea4e462386e7694ffbcf9802 "private/printframework/include/printoperation/deletedocumentoperation.h private/printframework/include/printoperation/closedocumentoperation.h"
08:29:19,865 DEBUG - Command working directory: E:\_GitHub\3d-sprint
08:29:17,144 INFO - Executing post-execute action...
08:29:17,144 ERROR - Step 'master>Proof>3D Sprint>Clone a Repository Into Build Server' is failed: Unable to create directory: C:\QBuildAgent\temp\local_change\store\private\printframework\include\printoperation\deletedocumentoperation.h private\printframework\include\printoperation

 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.