Opened 2 months ago

Last modified 2 weeks ago

#37136 assigned Cleanup/optimization

Integrate Oracle Test Pilot into CI

Reported by: Tim Schilling Owned by: Loïc LEFEVRE
Component: Core (Other) Version: dev
Severity: Normal Keywords: GitHub Actions, Oracle
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

As per this forum post, there's a new tool from Oracle that's being built which is designed to help open source projects support Oracle.

The goal here is to be able to run the oracle tests with GitHub Actions using Oracle Test Pilot. Based on that, the support and reliability, we can later investigate a complete migration to the tool.

Change History (15)

comment:1 by Loïc LEFEVRE, 2 months ago

Which workflow would be the best to target for Oracle Test Pilot integration?

I've tested with schedule_tests.yml by adding a new Job but please confirm.

in reply to:  1 comment:2 by Jacob Walls, 2 months ago

Component: UncategorizedCore (Other)
Owner: set to Loïc LEFEVRE
Status: newassigned
Triage Stage: UnreviewedAccepted

Thanks, let's evaluate this.

Replying to Loïc LEFEVRE:

Which workflow would be the best to target for Oracle Test Pilot integration?

I've tested with schedule_tests.yml by adding a new Job but please confirm.

Yep, a new job next to the postgresql job seems logical. We can always port to the PR workflow later.

comment:3 by Loïc LEFEVRE, 2 months ago

Hi Tim,
you can find an example of a job run here: https://github.com/loiclefevre/django-otp/actions/runs/26885786028/job/79297503877

I've just commented the other jobs for the time being.

Feel free to comment.
Thanks

comment:5 by Loïc LEFEVRE, 2 months ago

Quick question: is there any possibility that Connection(s) open to the test database(s) (defaut, other) may not be closed properly while running the tests? (at the very end, in the case there are no errors)

comment:6 by Loïc LEFEVRE, 2 months ago

Reason for asking is that I've enabled Autonomous databases 19c and 26ai and the database cleanup process fail with following errors:

  • ORA-01940: cannot drop a user that is currently connected
  • ORA-01940: cannot drop a user that is currently connected

see: https://github.com/loiclefevre/django-otp/actions/runs/26998861078

comment:7 by Loïc LEFEVRE, 5 weeks ago

Some updates:

comment:9 by Loïc LEFEVRE, 4 weeks ago

Has patch: set

comment:10 by Jacob Walls, 3 weeks ago

Patch needs improvement: set

comment:11 by Loïc LEFEVRE, 3 weeks ago

Comments provided within the PR review have been implemented. Only remains the one related to Spatial tests which I believe could be done through another ticket so that we don't mix topics :)

comment:12 by Jacob Walls, 3 weeks ago

Patch needs improvement: unset

in reply to:  11 comment:13 by Jacob Walls, 3 weeks ago

Replying to Loïc LEFEVRE:

Comments provided within the PR review have been implemented. Only remains the one related to Spatial tests which I believe could be done through another ticket so that we don't mix topics :)

Done, see #37136

comment:14 by Jacob Walls, 3 weeks ago

Triage Stage: AcceptedReady for checkin

comment:15 by Jacob Walls, 2 weeks ago

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted

Blocked pending a discussion with Ops Team about sandboxing.

Note: See TracTickets for help on using tickets.
Back to Top