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

Key: QB-3420
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Sebastian Potasiak
Votes: 0
Watchers: 0
Operations

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

Text file busy warning when running command step causing build to fail

Created: 16/Jul/19 09:22 AM   Updated: 11/Mar/20 02:25 AM
Component/s: None
Affects Version/s: 7.0.28
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
We got a warning when running bash command step:

19:33:30,500 WARN - sh: 1: /opt/buildagent/temp/command1422920163808942113.sh: Text file busy

It's marked as a warning but caused the entire step to fail, so it should rather be an error.

It also seems to be a bug in QuickBuild (that this warning even occurred) as I assume the issue should not ever appear. I'm not sure why the file was busy, but I might suspect that two separate processes tried to use the same file at the same time. How is the number in the file name generated? It should be unique in all possible cases.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [17/Jul/19 12:20 AM]
QB relies on JVM temp file generating mechanism to generate unique file for each run. At which point this error occurs? And is this happening all the time or occasionally?

Sebastian Potasiak [17/Jul/19 07:54 AM]
The error occurs occasionally when running a command step. I assume the sh file contains a shell script defined in the script.

Robin Shen [18/Jul/19 12:55 AM]
Can you please send me full log containing this error? You may send to [robin AT pmease DOT com]

Change by Robin Shen [11/Mar/20 02:25 AM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Cannot Reproduce [ 5 ]