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

(DEV VERSION ) Fix issue with the wrapper attribute #2033

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

dbeltrankyl
Copy link
Contributor

Discovered in the t-suite week 50

What happens?

  • Autosubmit 4.1.12 dev crash in local jobs if the job was exiting from an older version

How to reproduce it

  • Create a list of jobs with the local platform with 4.1.11 or older. autosubmit create $expid
  • Change version, and perform autosubmit run $expid

@dbeltrankyl dbeltrankyl requested a review from kinow December 16, 2024 13:46
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.95%. Comparing base (156b6e7) to head (d3950c3).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2033      +/-   ##
==========================================
+ Coverage   48.93%   48.95%   +0.02%     
==========================================
  Files          72       72              
  Lines       17525    17533       +8     
  Branches     3408     3410       +2     
==========================================
+ Hits         8575     8583       +8     
  Misses       8150     8150              
  Partials      800      800              
Flag Coverage Δ
fast-tests 48.95% <100.00%> (+0.02%) ⬆️

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

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

@kinow
Copy link
Member

kinow commented Dec 17, 2024

Was going to review this one, but it's showing a conflict in test_job_pytest.py now. Would you like to fix that before I review, or should I just review it as-is, @dbeltrankyl ?

@dbeltrankyl
Copy link
Contributor Author

@kinow

Hm, I didn't get a message about "the branch could not be merged anymore" like in gitlab

Rebased

@dbeltrankyl
Copy link
Contributor Author

I see you approved it,

Ready to merge, then?

@kinow
Copy link
Member

kinow commented Dec 17, 2024

Yup! An easy one :)

@dbeltrankyl dbeltrankyl merged commit e8877c9 into master Dec 17, 2024
8 checks passed
@kinow kinow deleted the is-wrapper branch December 17, 2024 10:19
isimo00 pushed a commit that referenced this pull request Dec 23, 2024
* Fix issue with the wrapper attribute

* Fix issue with the wrapper attribute
isimo00 pushed a commit that referenced this pull request Dec 27, 2024
author Irene Simo Munoz <irene.simomunoz@bsc.es> 1730215488 +0100
committer Irene Simo Munoz <irene.simomunoz@bsc.es> 1735301072 +0100

Add all expid_dir_path functions to autosubmit.py and fix tests !509

All previous definitions all expid_path, tmp_path, log_path and
aslogs_path (and similar) have been removed and their calls have been
switched for BasicConfig.foo() calls. Impacted tests are mainly affected
in terms of adding Mock objects since BasicConfig.foo() functions are
not available in autosubmitconfigparser yet. No new tests added

Fix batch of linter suggestions

 Fix issue with the is_wrapper attribute (#2033)

* Fix issue with the wrapper attribute

* Fix issue with the wrapper attribute

Changed the Log so it display what retrials it downloaded when it is a vertical wrapper (#2038)

Fixes wrapper warning message at the end closes #2035 (#2037)

* Fixes wrapper warning message at the end

* Added typing suggestion

updated timeout for pipeline

Fix batch of linter suggestions

Type checking and some fixes in mail functions

Changed the Log so it display what retrials it downloaded when it is a vertical wrapper (#2038)

Fixes wrapper warning message at the end closes #2035 (#2037)

* Fixes wrapper warning message at the end

* Added typing suggestion

updated timeout for pipeline

Add some other suggestions

Mail notifier BaseException to Exception
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.

3 participants