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

FTL is now sometimes adding a testLabExecutionId on <testsuite #597

Merged

Conversation

yogurtearl
Copy link
Contributor

We started getting some failures because some of the junit xml's coming back from FTL had an testLabExecutionId attribute on <testsuite.

This adds the property to the model class so it can deserialize correctly.

@CLAassistant
Copy link

CLAassistant commented Sep 10, 2019

CLA assistant check
All committers have signed the CLA.

@bootstraponline
Copy link
Contributor

FTL is working on a rollback to unbreak Flank users.

Thanks for the pull request. I'd like a junit test before merging.

@narenmanoharan
Copy link
Contributor

narenmanoharan commented Sep 10, 2019

However, making the JacksonXmlModule configured with DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES to be false might address the root of the problem and make sure that this does not happen again.

@mohitagrawal
Copy link

@bootstraponline - How can we track FTL updates? Would you be posting once Firebase fixes the issue?

@bootstraponline
Copy link
Contributor

Let's make sure we agree on what the root problem is. There's a software development ecosystem built on parsing the FTL JUnit XML reports. I can't have the format changing silently in production.

I'd expect some type of heads up that the XML will be changing. I know bitrise would also be interested as they're building a dashboard based on parsing the XML.

If FTL is going to continue to make silent changes, then setting fail on unknown would be a reasonable work around. At the moment, I consider silent changes a legitimate bug that impacts multiple downstream businesses and tools.

@bootstraponline
Copy link
Contributor

  • How can we track FTL updates?

That's a great question for the FTL team. There's currently no way to track FTL updates for external customers.

Would you be posting once Firebase fixes the issue?

Yep, I'll be posting an update in the Flank release notes. I'll also post in the #flank channel.

@yogurtearl
Copy link
Contributor Author

@bootstraponline Adjusted tests to verify that testLabExecutionId is parsed if present.

@bootstraponline
Copy link
Contributor

The new commit looks good. CLA bot is unhappy.

@yogurtearl
Copy link
Contributor Author

Fixed CLA issue. :)

@bootstraponline bootstraponline merged commit b810da5 into Flank:master Sep 11, 2019
@bootstraponline
Copy link
Contributor

Awesome. Merged.

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.

5 participants