Skip to content

ci: Add more feeds to end-to-end GitHub workflow#736

Merged
barbeau merged 15 commits intoMobilityData:masterfrom
nackko:extend-end-to-end
Feb 11, 2021
Merged

ci: Add more feeds to end-to-end GitHub workflow#736
barbeau merged 15 commits intoMobilityData:masterfrom
nackko:extend-end-to-end

Conversation

@nackko
Copy link
Copy Markdown
Contributor

@nackko nackko commented Feb 10, 2021

Summary:

Following the conversation in #712 , this PR extends end to end worflow as follow

  • it adds 3 feeds suggested by @timMillet to the original workflow
  • it adds a new workflow file named end_to_end_100.yml which contains 100 feeds, including the remaining ones from Tim's suggestion
  • it adds a new workflow file named end_to_end_big.yml dedicate to feeds that need more memory than the default amount to be validated successfully.

They were taken from http://transitfeeds.com/feeds somewhat randomly as long as they didn't seem staled. Some exceptions were made for big or original data.

Expected behavior:

image

Please make sure these boxes are checked before submitting your pull request - thanks!

- [ ] Run the unit tests with gradle test to make sure you didn't break anything NO CODE CHANGE

  • Format the title like "feat: -new feature short description-" (PR title must follow the conventional commit specification)
    - [ ] Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@nackko nackko mentioned this pull request Feb 10, 2021
3 tasks
@nackko nackko changed the title Extend end to end GitHub workflow chore: extend end to end GitHub workflow Feb 10, 2021
@aababilov
Copy link
Copy Markdown
Collaborator

Great! The more feeds we test, the better. Thank you, Fabrice, LGTM!

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 10, 2021

Cool! Note that it seems the feeds don't pass validation for what looks like an out of memory error with Norway.
https://github.com/f8full/gtfs-validator/runs/1868392984?check_suite_focus=true
Tha might be due to the runner Java heap size. I'll try to investigate.

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 10, 2021

@aababilov Increasing heap size in the run command fixed the IDFM feed but it seems there is an issue with Bueno Aires even with the increased heap size. I'll comment it until I get to a 100 feed at which point I'll switch the PR status to ready and let you guys decide.

EDIT: turns out the Buenos Aires feed just took a significantly longer time to validate (90 minutes). I'll comment it out explaining why. I propose to gather those in their own workflow.

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 11, 2021

@nackko nackko marked this pull request as ready for review February 11, 2021 03:33
A feed is big when it requires more memory than the default amount to be processed.
@barbeau
Copy link
Copy Markdown
Member

barbeau commented Feb 11, 2021

Thanks for working on this @f8full! Is this ready for review/merge?

Also, just to clarify, this PR will ensure that the validator doesn't crash on all of these feeds. However, it won't flag if we output errors on datasets that should be clean - that type of testing is being discussed in #734.

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 11, 2021

Yes @barbeau , it is ready. It doesn't analyse any reports generated so it can show crashes and feeds that take significantly longer to validate. I also proposed to split feeds that need special memory configuration in their own workflow.

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 11, 2021

And you're welcome! :)

@barbeau barbeau changed the title chore: extend end to end GitHub workflow ci: Add more feeds to end-to-end GitHub workflow Feb 11, 2021
Copy link
Copy Markdown
Member

@barbeau barbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @f8full, this is great! 💯

@barbeau barbeau merged commit 5e37f5e into MobilityData:master Feb 11, 2021
@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 11, 2021

Always a pleasure! :)

@nackko
Copy link
Copy Markdown
Contributor Author

nackko commented Feb 11, 2021

cc @e-lo @mcplanner

barbeau added a commit that referenced this pull request Feb 11, 2021
barbeau added a commit that referenced this pull request Feb 11, 2021
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.

3 participants