Skip to content

Fix intermittent CI failure in evp_kdf_test for non_caching build. - #15516

Closed
slontis wants to merge 1 commit into
openssl:masterfrom
slontis:ci_fix_evp_kdf_test
Closed

slontis wants to merge 1 commit into
openssl:masterfrom
slontis:ci_fix_evp_kdf_test

Conversation

@slontis

@slontis slontis commented May 28, 2021 •

Copy link
Copy Markdown
Member

Another case of the order that tests run in causes a failure.
A new test was loading "legacy" into the default lib ctx. If it
ran first then everything fails. The test now has its own lib ctx.

Note that everything does depend on the order..
If a fetch happens then the default provider gets loaded..
If another test then loads the legacy provider then both providers are active..

If the legacy provider gets loaded first then any fetch will not cause the default provider to
be loaded after this.

Checklist
  • documentation is added or updated
  • tests are added or updated

Another case of the order that tests run in causes a failure.
A new test was loading "legacy" into the default lib ctx. If it
ran first then everything fails. The test now has its own lib ctx.
@slontis slontis added branch: master Applies to master branch approval: review pending This pull request needs review by a committer labels May 28, 2021
@slontis

slontis commented May 28, 2021

Copy link
Copy Markdown
Member Author

@jon-oracle Something to keep in mind..

@slontis

slontis commented May 28, 2021

Copy link
Copy Markdown
Member Author

Is this urgent?

@t8m t8m left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am OK with marking it urgent as it is just changing the test.

@t8m t8m added approval: done This pull request has the required number of approvals severity: urgent Fixes an urgent issue (exempt from 24h grace period) and removed approval: review pending This pull request needs review by a committer labels May 28, 2021
@t8m

t8m commented May 28, 2021

Copy link
Copy Markdown
Member

Fixes #15515

openssl-machine pushed a commit that referenced this pull request May 28, 2021
Fixes #15515

Another case of the order that tests run in causes a failure.
A new test was loading "legacy" into the default lib ctx. If it
ran first then everything fails. The test now has its own lib ctx.

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from #15516)
@slontis

slontis commented May 28, 2021

Copy link
Copy Markdown
Member Author

Ta. Merged to master. (Added Fixes to commit message)

@slontis slontis closed this May 28, 2021
devnexen pushed a commit to devnexen/openssl that referenced this pull request Jul 7, 2021
Fixes openssl#15515

Another case of the order that tests run in causes a failure.
A new test was loading "legacy" into the default lib ctx. If it
ran first then everything fails. The test now has its own lib ctx.

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from openssl#15516)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: master Applies to master branch severity: urgent Fixes an urgent issue (exempt from 24h grace period)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants