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

Issues in testgrid.yaml is shown as Infra Errors #1166

Open
kasunbg opened this issue Mar 4, 2019 · 0 comments
Open

Issues in testgrid.yaml is shown as Infra Errors #1166

kasunbg opened this issue Mar 4, 2019 · 0 comments
Milestone

Comments

@kasunbg
Copy link
Member

kasunbg commented Mar 4, 2019

Description:

The testgrid.yaml: https://github.com/wso2/testgrid-job-configs/blob/2761f001c34b6ea216c9bf99c942cb9904515bcd/team-tg/kasung-test.yaml

issue: inputParameters section contain a Boolean value.

[2019-03-04 09:37:24,773]  INFO {org.wso2.testgrid.core.TestPlanExecutor} - ------------------------------------------------------------------------
[2019-03-04 09:37:24,773]  INFO {org.wso2.testgrid.core.TestPlanExecutor} - 		 Creating deployment: deployment
[2019-03-04 09:37:24,773]  INFO {org.wso2.testgrid.core.TestPlanExecutor} - ------------------------------------------------------------------------
[2019-03-04 09:37:24,773]  INFO {org.wso2.testgrid.core.TestPlanExecutor} - 
[2019-03-04 09:37:24,782] ERROR {org.wso2.testgrid.core.TestPlanExecutor} - Unhandled error occurred hile running deployment for deployment pattern 'org.wso2.testgrid.common.config.DeploymentConfig@7c2312fa' in TestPlan org.wso2.testgrid.core.exception.TestPlanExecutorException: Error occurred while writing deployment outputs.
	at org.wso2.testgrid.core.TestPlanExecutor.persistAdditionalInputs(TestPlanExecutor.java:678)
	at org.wso2.testgrid.core.TestPlanExecutor.createDeployment(TestPlanExecutor.java:512)
	at org.wso2.testgrid.core.TestPlanExecutor.execute(TestPlanExecutor.java:144)
	at org.wso2.testgrid.core.command.RunTestPlanCommand.executeTestPlan(RunTestPlanCommand.java:275)
	at org.wso2.testgrid.core.command.RunTestPlanCommand.execute(RunTestPlanCommand.java:138)
	at org.wso2.testgrid.core.command.CommandHandler.execute(CommandHandler.java:130)
	at org.wso2.testgrid.core.Main.main(Main.java:47)
Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
	at java.util.Properties.store0(Properties.java:834)
	at java.util.Properties.store(Properties.java:818)
	at org.wso2.testgrid.core.TestPlanExecutor.persistAdditionalInputs(TestPlanExecutor.java:676)
	... 6 more

Received mail:

image

Expectation:
This is an issue in testgrid.yaml, so it should be identified differently.

@pasindujw pasindujw added this to the 1.0.1 milestone Mar 22, 2019
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

No branches or pull requests

2 participants