[SERVER-11207] smoke.py expand wildcards on Windows Created: 15/Oct/13 Updated: 06/Dec/22 Resolved: 11/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | 2.5.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | Backlog - Server Tooling and Methods (STM) (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 26qa, neweng, tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Enterprise build on Windows Server 2008 R2 |
||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Server Tooling & Methods
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: |
|
||||||||
| Participants: | |||||||||
| Description |
|
smoke.py fails with Error 5 Access Denied (this is being run from a Administrator Window) ******************************************* |
| Comments |
| Comment by Ryan Timmons [ 11/May/20 ] | |
|
Closing as wont-fix to indicate that there is currently no intention of doing this. Please re-open if there is priority for this. | |
| Comment by Eric Milkie [ 30/Oct/13 ] | |
|
We just need to run glob manually on Windows to expand wildcards. Something like this at the top of smoke.py: if '*' in sys.argv[-1]: | |
| Comment by Sridhar Nanjundeswaran [ 17/Oct/13 ] | |
|
Same errors with forward slashes also. | |
| Comment by Eric Milkie [ 17/Oct/13 ] | |
|
You may have better luck with wildcard expansion (done by windows-python internally) if you use a unix-style path. Give that a try? | |
| Comment by Sridhar Nanjundeswaran [ 17/Oct/13 ] | |
|
The same errors are seen without the --use-ssl option | |
| Comment by Sridhar Nanjundeswaran [ 17/Oct/13 ] | |
|
Specifying *.js seems to try and load a file of that name. The above command line gives 72T013-10-17T05:24:19.983+0000 file [c:\Users\qa377\git\mongo\jstests\queryTmp\*.js] doesn't exist | |
| Comment by Andy Schwerin [ 16/Oct/13 ] | |
|
I don't think that's the right command line for running all the tests in a directory. Try:
|