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:
Robin Shen [30/May/18 12:25 AM]
This turns out to be a QB bug, will be fixed in next patch release together with other bugs.

Yoongeon Lee [30/May/18 04:09 PM]
Hi, Robin
Could you tell me the schedule of next patch release? This issue will be a big issue for us. Thanks

Robin Shen [31/May/18 01:41 AM]

Yoongeon Lee [31/May/18 08:10 AM]
Thanks, Robin
I have some more request for checking if new version works properly in our environment.
1) Could you please separate the new version like build agent and user agent that I attached?
2) Do I need additional program to run the new version?

Robin Shen [31/May/18 11:42 PM]
QB does not maintain separate versions for buildagent and useragent, and they always sync with QB server. This makes it possible to upgrade/downgrade user agent/build agent automatically when server upgrades/downgrades, without the risk of incompatibilities between server and agents.

To test the new version, you just need to install the new server, and either add new agents, or connect existing agents to it.

Yoongeon Lee [01/Jun/18 06:20 AM]
Thanks, Robin. I fully understand. I need to talk with our qbuild admin about it. I'll let you know the result.

Yoongeon Lee [10/Jun/18 08:39 AM]
Hi, Robin

We have been using Windows 8 to run build agent program. Our release build has been failed on build agent PC after we install fixed version 8.0.8 on server.

Here are main error messages: ( please see screenshots and log attached )
- ERROR - Unable to find job af735594-7cfc-4215-bc6a-32a28db4ad7b on node ' KOR-BUILD01:8811' (Job is ever started: true).
- Could not send response error 500: javax.servlet.ServletException javax.servlet.ServletException org.eclipse.jetty.io.EofException


Do we have to update the OS to use the fixed version correctly? Please check it. thanks.

Robin Shen [10/Jun/18 10:46 PM]
For some reason, the node "KOR-BUILD01:8811" can not connect to "p10-qbuild01.3dsystems.internal:1080" , please run below command from KOR-BUILD01 to see if it succeeds:
telnet p10-qbuild01.3dsystems.internal 1080

Yoongeon Lee [12/Jun/18 09:08 AM]
Hi, Robin

I upgraded to the latest Java and solved them. Also, I checked this issue was fixed properly on fixed version. Thanks for all your help.