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

Unskip taxi notebook from CI #1422

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

harrism
Copy link
Member

@harrism harrism commented Jul 31, 2024

Description

#1407 skipped the taxi dropoffs notebook due to performance regression fixed in #1418, so this PR re-enables the notebook in CI by removing it from SKIPNBS in ci/test_noteboks.sh.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@github-actions github-actions bot added the ci label Jul 31, 2024
@harrism harrism added bug Something isn't working non-breaking Non-breaking change labels Jul 31, 2024
@harrism harrism marked this pull request as ready for review July 31, 2024 22:33
@harrism harrism requested a review from a team as a code owner July 31, 2024 22:33
@harrism harrism requested a review from raydouglass July 31, 2024 22:33
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! Looking through the logs, I see that this nyc_taxi_years_correlation.ipynb notebook ran successfully in 28 seconds 🎉

I do see another issue in those logs... looks like the ZipCodes_Stops_PiP_cuSpatial.ipynb notebook is broken:

TypeError                                 Traceback (most recent call last)
File /tmp/tmp.q8TobhA9hO/ZipCodes_Stops_PiP_cuSpatial-test.py:302
    299 zipcode_quadtree.set_polygon(d_states, poly_column='geometry')
    301 # Join state and zip code boundaries
--> 302 zipcode_by_state = zipcode_quadtree.point_left_join_polygon(["WKT", "ZCTA5CE10"], ["STUSPS"])
...
File copying.pyx:154, in cudf._lib.copying.gather()
File column.pyx:463, in cudf._lib.column.Column.to_pylibcudf()
File column.pyx:493, in cudf._lib.column.Column.to_pylibcudf()
File types.pyx:284, in cudf._lib.types.dtype_to_pylibcudf_type()
TypeError: data type 'geometry' not understood

(build link)

I'm guessing that CI didn't catch that because I moved notebook-checking into a bash function in #1407, but didn't add -E here:

set -euo pipefail

Anyway, that failure is not related to the changes in this PR. This close to code freeze, we should merge this PR as-is and fix that in a follow-up.

@jameslamb
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit 6bf8209 into rapidsai:branch-24.08 Aug 1, 2024
69 checks passed
@jakirkham
Copy link
Member

Thanks all! 🙏

rapids-bot bot pushed a commit that referenced this pull request Aug 13, 2024
The notebook-testing CI job in this repo does not actually cause a loud CI failure if any errors are detected in notebooks. That's because of a `bash` mistake I made in #1407... that PR moved notebook-checking into a function, but didn't add a `set -E` to be sure errors from inside that function were appropriately trapped.

This PR fixes that:

* ensures that notebook failures actually cause CI failures
* fixes 2 typos in `nyc_taxi_years_correlation.ipynb` code
  - *(not caught in #1422 because of this CI script bug)*

Context: #1422 (review)

## Notes for Reviewers

### How I tested this

Originally did not skip any notebooks. Saw the failures in one of the notebooks cause an actual merge-blocking CI failure.

Build link: https://github.com/rapidsai/cuspatial/actions/runs/10199784404/job/28219162698?pr=1424

#

Authors:
  - James Lamb (https://github.com/jameslamb)
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)
  - Mark Harris (https://github.com/harrism)
  - https://github.com/jakirkham

URL: #1424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci non-breaking Non-breaking change
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

4 participants