Skip to content

Unskip RunInference IT tests once the licensing on the datasets and models is complete. #21859

Closed

Description

@AnandInguva

What needs to happen?

Torch IT test uses Imagenet dataset and torch hub pre-trained models. Sklearn IT test uses dataset from Kaggle.

Until the licenses for these are figured out, sickbay all the IT tests that uses publicly available data and models.

Issue Priority

Priority: 2

Issue Component

Component: sdk-py-core

Activity

  1. AnandInguva commented on Jun 14, 2022

    @AnandInguva
    ContributorAuthor

    .take-issue

  2. tvalentyn commented on Aug 22, 2022

    @tvalentyn
    Contributor

    PLease reopen if this is not done.

  3. tvalentyn commented on Aug 23, 2022

    @tvalentyn
    Contributor

    Looks like it's not done:

  4. AnandInguva commented on Aug 23, 2022

    @AnandInguva
    ContributorAuthor

    Looks like it's not done:

    This used to be run before #22088. I think @ryanthompson591 accidentally added skip to that test.

  5. AnandInguva commented on Aug 23, 2022

    @AnandInguva
    ContributorAuthor

    Helpful link: https://ci-beam.apache.org/job/beam_PostCommit_Python39/lastCompletedBuild/testReport/apache_beam.ml.inference.pytorch_inference_it_test/PyTorchInference/

    shows that these tests are still skipped

    Jenkins UI only shows the IT tests that are part of Dataflow suite( these are written to xml files and the UI is created from that). We have 5~6 IT post commit suite. Inference tests runs here

    dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT")
    and is not displayed on the UI.

    The tests we see in the UI are part of

    dependsOn(":sdks:python:test-suites:dataflow:py39:postCommitIT")
    Here, inference tests are collected because they have the decorator it_postcommit and then gets skipped because the dependencies are not installed on the Jenkins node.

    The tests actually pass in the https://ci-beam.apache.org/job/beam_PostCommit_Python39/lastCompletedBuild/testReport/apache_beam.ml.inference.pytorch_inference_it_test/PyTorchInference/. It can be found in the console
    Screen Shot 2022-08-24 at 12 11 19 AM

  6. AnandInguva commented on Aug 23, 2022

    @AnandInguva
    ContributorAuthor

    #22825. Added a PR to unskip the change. Once thats merged, we can close this.

  7. TheNeuralBit commented on Aug 23, 2022

    @TheNeuralBit
    Member

    Thank you for the detailed explanation!

    I think it's possible for the Jenkins UI to display the output of multiple test suites. e.g. in the Python PreCommit we see duplicate runs of each test, one for each environment:
    image

    I'm not sure what is actually enabling this, but we should do it in these PostCommits too.

  8. tvalentyn commented on Aug 30, 2022

    @tvalentyn
    Contributor

    @AnandInguva could you please file an issue to see if/how we can export test signal from the RunInference tests and combine it with the PostCommit signal?

  9. tvalentyn commented on Aug 30, 2022

    @tvalentyn
    Contributor

    Actually, we can just reuse #22858

  10. added
    done & done
    on Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2coredone & donepythonrun-inferencestaletask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions