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

Prerelease #1423

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Prerelease #1423

wants to merge 8 commits into from

Conversation

drc38
Copy link
Collaborator

@drc38 drc38 commented Dec 9, 2024

No description provided.

@drc38 drc38 had a problem deploying to continuous-integration December 9, 2024 10:02 — with GitHub Actions Failure
@drc38
Copy link
Collaborator Author

drc38 commented Dec 9, 2024

@ars3niy can you take a look at why v2.0.1 tests fail with the latest ocpp release candidate please.

@drc38 drc38 temporarily deployed to continuous-integration December 12, 2024 07:12 — with GitHub Actions Inactive
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.31%. Comparing base (78a9f2a) to head (0baf9c0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1423   +/-   ##
=======================================
  Coverage   94.31%   94.31%           
=======================================
  Files          12       12           
  Lines        1935     1935           
=======================================
  Hits         1825     1825           
  Misses        110      110           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drc38 drc38 had a problem deploying to continuous-integration December 12, 2024 07:25 — with GitHub Actions Failure
This reverts commit 3c5c4bd.
@drc38 drc38 temporarily deployed to continuous-integration December 12, 2024 07:37 — with GitHub Actions Inactive
@drc38 drc38 temporarily deployed to continuous-integration December 12, 2024 07:47 — with GitHub Actions Inactive
@drc38 drc38 requested a review from lbbrhzn December 15, 2024 18:26
@ars3niy
Copy link
Contributor

ars3niy commented Dec 16, 2024

@ars3niy can you take a look at why v2.0.1 tests fail with the latest ocpp release candidate please.

It failed because _get_inventory from ocppv201.py appeared to return before NotifyReport without "tbc":true was received. How this was possible, I have no idea right now, it does not happen when I run locally.

@ars3niy
Copy link
Contributor

ars3niy commented Dec 16, 2024

This is where it waits for "tbc":true to disappear:

        if not kwargs.get("tbc", False):
            self._wait_inventory.set()

It is as if it did not see the tbc parameter when it was there.

@drc38
Copy link
Collaborator Author

drc38 commented Dec 16, 2024

This is where it waits for "tbc":true to disappear:

        if not kwargs.get("tbc", False):
            self._wait_inventory.set()

It is as if it did not see the tbc parameter when it was there.

It looks like it has something to do with threading and schema validation given disabling using the thread executor pool for validation resolves the error.

Could you please update your code to use the non-deprecated Action enums eg Action.get_base_report vs Action.GetBaseReport as they are going to be removed in release 2.0.0

@ars3niy
Copy link
Contributor

ars3niy commented Dec 16, 2024

Incidentally, since you consider this code to be mine, please send e-mail to arseniy.lartsev at qodes.se if there are any further issues. I may not immediately notice or else quickly forget things otherwise.

@drc38
Copy link
Collaborator Author

drc38 commented Dec 16, 2024

Incidentally, since you consider this code to be mine, please send e-mail to arseniy.lartsev at qodes.se if there are any further issues. I may not immediately notice or else quickly forget things otherwise.

Thanks @ars3niy, I get emailed directly when mentioned in a github comment do you not? Is there some other way to include your email in a comment to trigger an email?

@drc38 drc38 temporarily deployed to continuous-integration December 20, 2024 09:25 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants