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

Add error handling and improve validation checks in pipeline scripts #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MAVRICK-1
Copy link

Enhance error handling and validation checks in pipeline scripts to ensure more robust execution and clearer failure messages. This update introduces error handling mechanisms and improves validation logic for various stages in the pipeline.

@MAVRICK-1 MAVRICK-1 force-pushed the feature/error-handling-improvements branch from 60c1615 to 03a500b Compare January 21, 2025 21:07
@MAVRICK-1
Copy link
Author

@llpeterson , could you please review my PR.

Also, is there a Slack channel for Aether where I can ask questions if I have any doubts?

@llpeterson
Copy link
Contributor

llpeterson commented Jan 21, 2025 via email

@MAVRICK-1
Copy link
Author

Whitespace changes were not visible in my updates before pushing. I will address and update them accordingly.

@MAVRICK-1
Copy link
Author

@llpeterson thank you it's [email protected]

@llpeterson
Copy link
Contributor

Have you tested these changes. They generally look fine, but typos are always a possibility.

@llpeterson
Copy link
Contributor

I ran quickstart.groovy and hit the following error (from the console output):

11:54:33  [Pipeline] { (Validate Results)
11:54:33  [Pipeline] catchError
11:54:33  [Pipeline] {
11:54:33  [Pipeline] script
11:54:33  [Pipeline] {
11:54:33  [Pipeline] sh
11:54:33  /home/ubuntu/w/workspace/Aether_OnRamp_Manual@tmp/durable-ec938822/script.sh.copy: line 1: unexpected EOF while looking for matching `''
11:54:33  [Pipeline] echo
11:54:33  Validation failed: Check summary.log
11:54:33  [Pipeline] sh
11:54:34  + docker exec gnbsim-1 cat summary.log
11:54:34  2025-01-22T18:54:16.999Z	INFO	gnbsim/gnbsim.go:184	Profile Name: profile2, Profile Type: pdusessest	{"component": "GNBSIM", "category": "Summary"}
11:54:34  2025-01-22T18:54:16.999Z	INFO	gnbsim/gnbsim.go:185	Ue's Passed: 5, Ue's Failed: 0	{"component": "GNBSIM", "category": "Summary"}
11:54:34  2025-01-22T18:54:16.999Z	INFO	gnbsim/gnbsim.go:194	Profile Status: PASS	{"component": "GNBSIM", "category": "Summary"}
11:54:34  [Pipeline] error
11:54:34  [Pipeline] }
11:54:34  [Pipeline] // script
11:54:34  [Pipeline] }
11:54:34  ERROR: gNBsim Validation failed: Check logs for details
11:54:34  ERROR: gNBsim validation failed
11:54:34  Setting overall build result to FAILURE

@MAVRICK-1
Copy link
Author

@llpeterson
Screenshot from 2025-01-23 02-10-25

currenlty i am checking all the workflows, i will rectify it , when i will check quickstart.groovy

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

Successfully merging this pull request may close these issues.

2 participants