Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation test output is not storing in windows workstation #289

Open
rezoan opened this issue Jul 14, 2021 · 2 comments
Open

Validation test output is not storing in windows workstation #289

rezoan opened this issue Jul 14, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rezoan
Copy link

rezoan commented Jul 14, 2021

The validation test does not store the test output in windows workstation due to invalid path design or it is statically designed for linux only. it always try to append an extra "./" with the current directory to goto the validation folder. though its working fine in linux based OS.
Having windows support would be nice.

Step to reproduce:
while in the prancer-hello-world directory, run: prancer scenario-pass

You will get below output:

G:\OPA\prancer\source\prancer-hello-world>prancer scenario-pass
←[99m2021-07-07 21:17:58,180 - START: Argument parsing and Run Initialization. Version 1.1.14←[0m
←[99m2021-07-07 21:18:03,903 - Command: 'c:\users\win\appdata\local\programs\python\python39\python.exe C:\Users\WIN\AppData\Local\Programs\Python\Python39\Scripts\prancer scenario-pass'←[0m
←[99m2021-07-07 21:18:03,904 - Using Framework dir: G:\OPA\prancer\source\prancer-hello-world←[0m
←[99m2021-07-07 21:18:03,904 - Args: Namespace(container='scenario-pass', db=0, crawler=False, test=None, compliance=False, customer=None, connector=None, branch=None, file=None, iac=None)←[0m
←[99m2021-07-07 21:18:03,986 - MASTERSNAPSHOTS:←[0m
←[99m2021-07-07 21:18:03,986 -  Collection: scenario-pass,  Type: FILESYSTEM←[0m
←[99m2021-07-07 21:18:03,987 -   LOCATION: G:\OPA\prancer\source\prancer-hello-world/./validation/←[0m
←[99m2021-07-07 21:18:04,010 -   COLLECTION: G:\OPA\prancer\source\prancer-hello-world/./validation/scenario-pass←[0m
←[91m2021-07-07 21:18:04,032 - No mastersnapshot files in G:\OPA\prancer\source\prancer-hello-world/./validation/scenario-pass, exiting!...←[0m
←[99m2021-07-07 21:18:04,032 - SNAPSHOTS:←[0m
←[99m2021-07-07 21:18:04,033 -  Collection: scenario-pass,  Type: FILESYSTEM←[0m
←[99m2021-07-07 21:18:04,034 -   LOCATION: G:\OPA\prancer\source\prancer-hello-world/./validation/←[0m
←[99m2021-07-07 21:18:04,034 -   COLLECTION: G:\OPA\prancer\source\prancer-hello-world/./validation/scenario-pass←[0m
←[99m2021-07-07 21:18:04,072 - ←[0m
←[99m2021-07-07 21:18:04,073 -  SNAPSHOT:G:\OPA\prancer\source\prancer-hello-world/./validation/scenario-pass\snapshot.json←[0m
←[91m2021-07-07 21:18:04,073 - No testcase document found for scenario-pass\snapshot.json ←[0m
←[99m2021-07-07 21:18:04,073 - SNAPSHOTS COMPLETE:←[0m
←[99m2021-07-07 21:18:04,077 - END: Completed the run and cleaning up.←[0m
←[99m2021-07-07 21:18:04,081 - ←[92m Run Stats: {
  "start": "2021-07-07 21:18:03",
  "end": "2021-07-07 21:18:04",
  "errors": [],
  "host": "MTK",
  "timestamp": "2021-07-07 21:18:03",
  "jsonsource": false,
  "database": 0,
  "singletest": false,
  "log": "G:\\OPA\\prancer\\source\\prancer-hello-world/log/20210707-211758.log",
  "duration": "0 seconds"
}←[00m←[0m

Check the validation\scenario-pass directory and output is missing from there as well as missing from console.

@farchide farchide added the enhancement New feature or request label Jul 15, 2021
@farchide
Copy link
Collaborator

@ajeybk Feature Name: prancer support to run on Windows machines

@jaiminswan
Copy link
Contributor

With windows machine available we will try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants