Skip to content

Reorganized test-users privileges#950

Merged
jgebal merged 3 commits intodevelopfrom
feature/fix_privs_for_dbms_crypto
Jun 21, 2019
Merged

Reorganized test-users privileges#950
jgebal merged 3 commits intodevelopfrom
feature/fix_privs_for_dbms_crypto

Conversation

@jgebal
Copy link
Copy Markdown
Member

@jgebal jgebal commented Jun 20, 2019

No description provided.

jgebal added 2 commits June 19, 2019 21:50
This is only needed for the duration of the install process.
We also re-enable this privilege to allow for tests to disable/enable trigger.
@jgebal jgebal added this to the v3.1.8 milestone Jun 20, 2019
@jgebal jgebal changed the title Feature/fix privs for dbms crypto Reorganized test-users privileges Jun 20, 2019
@jgebal jgebal marked this pull request as ready for review June 20, 2019 00:22
@lwasylow
Copy link
Copy Markdown
Member

lwasylow commented Jun 20, 2019

Since you working already in install I've noticed that uninstall got some error:

In command -
drop trigger ut_trigger_annotation_parsing
Error report -
ORA-04080: trigger 'UT_TRIGGER_ANNOTATION_PARSING' does not exist

Is that expected?

@jgebal
Copy link
Copy Markdown
Member Author

jgebal commented Jun 20, 2019

@lwasylow - is this on Travos or local error?
If local, did you install wirh trigger?

@lwasylow
Copy link
Copy Markdown
Member

It's on Travis

@jgebal
Copy link
Copy Markdown
Member Author

jgebal commented Jun 20, 2019

Odd.
Looking into Travis logs I see the trigger is getting dropped successfully.
https://travis-ci.org/utPLSQL/utPLSQL/jobs/547976502#L2275
https://travis-ci.org/utPLSQL/utPLSQL/jobs/547960863#L2270

The only thing that is not getting dropped cleanly is a synonym (as it doesn't exist at that time yet)

@lwasylow
Copy link
Copy Markdown
Member

Line 2714 of log https://travis-ci.org/utPLSQL/utPLSQL/jobs/547976502
Error starting at line : 177 File @ /home/travis/build/utPLSQL/utPLSQL/source/uninstall_objects.sql
In command -
drop trigger ut_trigger_annotation_parsing
Error report -
ORA-04080: trigger 'UT_TRIGGER_ANNOTATION_PARSING' does not exist

@jgebal
Copy link
Copy Markdown
Member Author

jgebal commented Jun 21, 2019

@lwasylow - this one is resolved now - the drop trigger was there twice in uninstall script.
Maybe we should make uninstall fail on any error in Travis just to make sure it always works without issues.

@lwasylow
Copy link
Copy Markdown
Member

Yes agree, it should fail in build env.

@jgebal
Copy link
Copy Markdown
Member Author

jgebal commented Jun 21, 2019

This is done as part of #953
So I'm merging this PR.

@jgebal jgebal merged commit fdbc3b4 into develop Jun 21, 2019
@jgebal jgebal deleted the feature/fix_privs_for_dbms_crypto branch November 10, 2019 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants