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

[AUTOCUT] OS Distribution Build Failed for job-scheduler-3.0.0 #308

Closed
opensearch-ci-bot opened this issue Jan 26, 2023 · 2 comments
Closed

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building job-scheduler, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component job-scheduler.
The distribution build for job-scheduler has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/7001/consoleFull

@saratvemulapalli
Copy link
Member

> Task :opensearch-job-scheduler-spi:compileJava
/tmp/tmpepj2c291/job-scheduler/spi/src/main/java/org/opensearch/jobscheduler/spi/LockModel.java:176: error: incompatible types: LockModel cannot be converted to MediaType
        return Strings.toString(this, false, true);
                                ^
/tmp/tmpepj2c291/job-scheduler/spi/src/main/java/org/opensearch/jobscheduler/spi/schedule/CronSchedule.java:183: error: incompatible types: CronSchedule cannot be converted to MediaType
        return Strings.toString(this, false, true);
                                ^
/tmp/tmpepj2c291/job-scheduler/spi/src/main/java/org/opensearch/jobscheduler/spi/schedule/IntervalSchedule.java:191: error: incompatible types: IntervalSchedule cannot be converted to MediaType
        return Strings.toString(this, false, true);
                                ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors

> Task :opensearch-job-scheduler-spi:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':opensearch-job-scheduler-spi:compileJava'.
> Compilation failed; see the compiler error output for details.

The core changed the mediaType with this PR as a larger refactoring effort and JS is yet to consume those changes[1].
[1] opensearch-project/OpenSearch#6009

@derek-ho
Copy link
Contributor

This is causing reporting and observability main CI to break since we are depending on job scheduler: example CI:
https://github.com/opensearch-project/reporting/actions/runs/3906689654/jobs/6748058389
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants