Skip to content

Conversation

@biozit
Copy link

@biozit biozit commented Sep 22, 2022

No description provided.

@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Base: 47.20% // Head: 47.65% // Increases project coverage by +0.44% 🎉

Coverage data is based on head (1f13980) compared to base (16e1751).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #441      +/-   ##
==========================================
+ Coverage   47.20%   47.65%   +0.44%     
==========================================
  Files          54       54              
  Lines        2896     2894       -2     
  Branches      523      522       -1     
==========================================
+ Hits         1367     1379      +12     
+ Misses       1428     1409      -19     
- Partials      101      106       +5     
Flag Coverage Δ
python-3.6 47.65% <100.00%> (+0.44%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ngine_modules/glideinwms/glide_frontend_element.py 11.02% <ø> (ø)
...ules/glideinwms/transforms/grid_figure_of_merit.py 89.65% <100.00%> (+2.55%) ⬆️
...ionengine_modules/htcondor/publishers/publisher.py 57.14% <100.00%> (+13.33%) ⬆️
src/decisionengine_modules/util/retry_function.py 64.28% <0.00%> (-3.58%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@vitodb vitodb left a comment

Choose a reason for hiding this comment

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

@biozit Fabio, thank you for testing DE on OSG and for the PR.
Some of the changes in this PR were addressed by other PR and one can be superseded by changes in configuration.
While the change in glideinwms is something that needs to be addressed.

Comment on lines +27 to 31
# _SUPPORTED_ENTRY_TYPES = ["LCF", "AWS", "Grid", "GCE"]
_SUPPORTED_ENTRY_TYPES = ["Grid"]

METRICS = {
"NUMBER_OF_JOBS": Gauge("de_jobs_total", "Number of jobs seen by the Decision Engine"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This has been addressed by PR #440

Comment on lines +90 to +92
entries = pandas.DataFrame(
pandas.concat([factory_entries.xs(et) for et in _SUPPORTED_ENTRY_TYPES], ignore_index=True, sort=True)
)
Copy link
Contributor

Choose a reason for hiding this comment

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

This has been addressed by PR #440

entries = pandas.DataFrame([])
if "Grid" in self.Factory_Entries(datablock).index:
entries = self.Factory_Entries(datablock).xs("Grid")
entries = self.Factory_Entries(datablock).xs("Grid")
Copy link
Contributor

Choose a reason for hiding this comment

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

This has been addressed by PR #440

Comment on lines +32 to +35
# self.max_retries = config.get("max_retries")
self.max_retries = 10
# self.retry_interval = config.get("retry_interval")
self.retry_interval = 1
Copy link
Contributor

Choose a reason for hiding this comment

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

These changes are better addressed with changes in the configurations.
Current config_template have been updated to address this

self.default_glidein_params = {
# TODO: Remove this classad once token/proxy hybrid configurations are no longer supported
"CONTINUE_IF_NO_PROXY": "False"
"CONTINUE_IF_NO_PROXY": "True"
Copy link
Contributor

Choose a reason for hiding this comment

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

Checking with @mambelli, this change would require a full token setup, while the current one works with an hybrid X509 cert/token setup. We could end up to have two versions of DE depending on the specific setup.

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