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

Test that pbs driver ignores qstat flakiness #7414

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

jonathan-eq
Copy link
Contributor

@jonathan-eq jonathan-eq commented Mar 11, 2024

Issue
Resolves #7357

Approach
Short description of the approach

(Screenshot of new behavior in GUI if applicable)

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure tests pass locally (after every commit!)

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@jonathan-eq jonathan-eq force-pushed the fix-pbs_iff branch 2 times, most recently from 0831ed8 to 4ceb026 Compare March 11, 2024 07:56
@jonathan-eq jonathan-eq self-assigned this Mar 11, 2024
@jonathan-eq jonathan-eq force-pushed the fix-pbs_iff branch 5 times, most recently from 6a88089 to 22f416c Compare March 11, 2024 09:31
@jonathan-eq
Copy link
Contributor Author

jonathan-eq commented Mar 12, 2024

Blocked by #7420

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.24%. Comparing base (ffae27e) to head (eb157fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7414      +/-   ##
==========================================
+ Coverage   84.78%   85.24%   +0.46%     
==========================================
  Files         386      386              
  Lines       22993    22993              
  Branches      883      878       -5     
==========================================
+ Hits        19495    19601     +106     
+ Misses       3384     3278     -106     
  Partials      114      114              

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

@jonathan-eq jonathan-eq force-pushed the fix-pbs_iff branch 5 times, most recently from 82e13a7 to f7f5226 Compare March 15, 2024 11:52
@jonathan-eq jonathan-eq changed the title Have pbs driver ignore qstat flakiness Test that pbs driver ignores qstat flakiness Mar 15, 2024
@jonathan-eq jonathan-eq added testing release-notes:skip If there should be no mention of this in release notes scheduler labels Mar 18, 2024
@jonathan-eq jonathan-eq requested a review from berland March 19, 2024 09:38
@jonathan-eq jonathan-eq force-pushed the fix-pbs_iff branch 2 times, most recently from 636e3b1 to fc451e3 Compare March 19, 2024 14:53
@jonathan-eq jonathan-eq requested a review from berland March 19, 2024 14:58
@jonathan-eq
Copy link
Contributor Author

@berland Should I squash all commits in this PR, or merge with rebase?

@berland
Copy link
Contributor

berland commented Apr 2, 2024

It looks like the first and the fourth at least should be squashed. You may squash all of them if that is the easiest then.

@jonathan-eq jonathan-eq enabled auto-merge (squash) April 2, 2024 07:29
@xjules
Copy link
Contributor

xjules commented Apr 2, 2024

You need to rebase @jonathan-eq

@berland
Copy link
Contributor

berland commented Apr 3, 2024

When auto-merging with squash, I would like the squash to be done manually upfront to ensure the commit message is sound.

This commit:
* Moves QSTAT_HEADER stub constants to tests/conftests.py
* Adds tests for OpenPBS driver ignoring qstat flakiness
* Updates the qstat mocked binary to mimick the qstat wide option
* Makes the OpenPBS tests use the common qstat fixture
@jonathan-eq jonathan-eq merged commit 7145a29 into equinor:main Apr 8, 2024
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:skip If there should be no mention of this in release notes testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

PBS driver gives error message "pbs_iff: cannot connect to host". Solve or mute.
4 participants