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

Key: QB-3204
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Blocker Blocker
Assignee: Robin Shen
Reporter: Yoongeon Lee
Votes: 0
Watchers: 1
Operations

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

The useless folder has been created on build requester's user agent. again

Created: 29/May/18 05:20 AM   Updated: 30/May/18 11:34 PM
Component/s: None
Affects Version/s: 7.0.30
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File 3.0.0.368_BuildLog.txt (0.6 kb)

Image Attachments:

1. failed step.png
(51 kb)

2. Step_Node selection.png
(41 kb)

3. Workflow.png
(53 kb)
Environment: Windows 10 Enterprise


 Description  « Hide
Hello,

Problem
Our proof build has been failed on build requester's user agent.
Please see build log here. "Step 'master' is failed: Unable to create directory: D:\Sherlock\trunk"
Actually, the folder "D:\Sherlock\trunk" should be created on only build agent PC, Not user agent PC..
It seems the agent tries to create the folder "D:\Sherlock\trunk" on User agent PC, which doesn't have D drive (D:\)

- Error message
00:24:22,562 INFO - Executing pre-execute action...
00:24:22,562 INFO - Running step...
00:24:22,566 INFO - Checking step execute condition...
00:24:22,567 INFO - Step execute condition satisfied, executing...
00:24:22,586 INFO - Executing pre-execute action...
00:24:22,586 INFO - Running step...
00:24:22,592 INFO - Executing post-execute action...
00:24:22,678 INFO - Checking step execute condition...
00:24:22,678 INFO - Step execute condition satisfied, executing...
00:24:25,588 INFO - Executing post-execute action...
00:24:25,588 ERROR - Step 'master' is failed: Unable to create directory: D:\Sherlock\trunk

for more information,
We have been using the repository as a GIT in Quick Build.
The workflow of proof build includes main two step:
- Static Code Analysis for changed codes.
- Source code compile & unit test

The static code analysis for only changed files in Target Path is performed on the PC where the user agent is running during proof build. If the changed code passes through code analysis step, Source codes in Git Repository are downloaded to Destination Path of the PC, where the build agent is running. and then compiling codes and unit testing are performed.

Currently, a folder in Destination Path is created on User Agent PC as well as Build Agent PC.
Acutally, it seems the user agent creates a folder of Detination Path. But the destination path should be created only on the build agent.
If our proof build is running on the User Agent PC that doesn't have a D drive(D:\), it always fails because the user agent can't create directory D:\.
You can see the log attached.

- Destination Path(${vars.get("ProjectFolderName")}) -> "D:\Sherlock"
- Target Path (${vars.get("localRepositoryPath")}) -> "F:\Git_repo" ( User Agent PC has only C:\ and F:\ drives )


 All   Comments   Work Log   Change History      Sort Order:
Yoongeon Lee [29/May/18 08:46 AM]
I think this is user Agent issue that Quick Build provides

Robin Shen [30/May/18 12:24 AM]
Can you please reproduce this issue with a sample database and send me the backup so that I can check the issue here?

Yoongeon Lee [30/May/18 04:05 PM]
Hi, Robin

The step to reproduce is complicated. But it seems I find a way to solve this issue. Please close it