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 the removed sims back into the github actions. #809

Merged
merged 30 commits into from
May 16, 2022

Conversation

dwedul-figure
Copy link
Contributor

@dwedul-figure dwedul-figure commented Apr 28, 2022

Description

  1. Add some file changes that will trigger the "Provenance Build and Release" (release.yml) github workflow.
  2. Always run the sims workflow, but skip all the jobs if there isn't a diff worth running the sims for. This removes some duplicated stuff as well as provides a skipped indicator when the sims are skipped (as opposed to just not having an entry).
  3. Bump the sims cache key to hopefully fix the rocksdb sims.
  4. Add some previously ignored sims into the set of tests to run.
  5. Create a job for the state-listening sims. These currently panic at block 2 though, so I have the job disabled for now.
  6. Tweak the sims make targets so they can run on an M1 mac.
  7. Update the test-sim-nondeterminism-state-listening-kafka make target to exit with the same code that the tests exit with. Also fix the docker-compose.yml default location and have it definable through the SIM_DOCKER_COMPOSE_YML environment variable.

This PR is related to #754. This one only adds some of the sims back in, but doesn't fix any of the broken sims: after-import', all of the state-listening` ones.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

…orkflow. That way, changes to that file will kick off the sims too.
…allow definition of the genesis file for applicable tests (instead of just using a hard-coded path off the HOME directory).
…s. Also have it fail early if zookeeper or broker can't be started.
…the state-listening tests to see how they do.
…lt it to the one that already exists in our repo.
…o exit with the code of the test instead of the stopping of kafka.
…ded for kafka mac test, but if it doesn't hurt the ubuntu test, I'll just leave it.
derekadams
derekadams previously approved these changes May 11, 2022
…he after-import test back in but have it skipped.
@codecov
Copy link

codecov bot commented May 13, 2022

Codecov Report

Merging #809 (9a30625) into main (6cbf07f) will decrease coverage by 0.05%.
The diff coverage is n/a.

❗ Current head 9a30625 differs from pull request most recent head c430331. Consider uploading reports for the commit c430331 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #809      +/-   ##
==========================================
- Coverage   56.19%   56.13%   -0.06%     
==========================================
  Files         179      179              
  Lines       21850    21819      -31     
==========================================
- Hits        12278    12248      -30     
+ Misses       8652     8651       -1     
  Partials      920      920              
Impacted Files Coverage Δ
app/app.go 85.24% <ø> (ø)
x/marker/keeper/marker.go 52.10% <0.00%> (-2.32%) ⬇️
x/marker/keeper/keeper.go 84.21% <0.00%> (-0.28%) ⬇️
x/metadata/keeper/query_server.go 26.40% <0.00%> (-0.09%) ⬇️
app/upgrades.go 7.87% <0.00%> (+0.29%) ⬆️

…ke target to explain why it's different from the others.
@dwedul-figure dwedul-figure marked this pull request as ready for review May 14, 2022 07:45
@dwedul-figure dwedul-figure enabled auto-merge (squash) May 16, 2022 17:09
@dwedul-figure dwedul-figure merged commit b2350c6 into main May 16, 2022
@dwedul-figure dwedul-figure deleted the dwedul/754-fix-sims branch May 16, 2022 17:40
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.

4 participants