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

✅ Fixes flaky test api-server #3569 #4205

Merged
merged 22 commits into from
May 11, 2023

Conversation

pcrespov
Copy link
Member

@pcrespov pcrespov commented May 8, 2023

What do these changes do?

  • ✅ ♻️ cleanup test/public-api
  • 🐛 fixes failing docker log dumps issue that avoided producing container log artifacts.
  • Temporary disables failing test until logs policy in the director-v2 is clarified

Insight on Failing Test

Related issue/s

How to test

cd tests/public-api
make install-dev
pytest -vv test_solvers_jobs_api.py

@pcrespov pcrespov self-assigned this May 8, 2023
@pcrespov pcrespov added t:maintenance Some planned maintenance work a:apiserver api-server service labels May 8, 2023
@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch from 090c6c5 to 80ea1a1 Compare May 8, 2023 13:26
@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #4205 (d507c0c) into master (c4bb1ef) will increase coverage by 7.2%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #4205     +/-   ##
========================================
+ Coverage    73.1%   80.3%   +7.2%     
========================================
  Files         838     952    +114     
  Lines       35246   41354   +6108     
  Branches      953     953             
========================================
+ Hits        25766   33213   +7447     
+ Misses       9276    7924   -1352     
- Partials      204     217     +13     
Flag Coverage Δ
integrationtests 68.6% <100.0%> (+8.5%) ⬆️
unittests 77.3% <66.6%> (-3.2%) ⬇️

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

Impacted Files Coverage Δ
...k/src/simcore_sdk/node_ports_common/filemanager.py 81.6% <100.0%> (+54.9%) ⬆️
...core_service_api_server/api/routes/solvers_jobs.py 60.1% <100.0%> (+1.3%) ⬆️

... and 239 files with indirect coverage changes

@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch 3 times, most recently from ef0fd64 to a0c4a78 Compare May 9, 2023 14:23
@pcrespov pcrespov changed the title Fixes flaky test api-server #3569 ✅ Fixes flaky test api-server #3569 May 9, 2023
@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch from 4e7a55b to e60ad44 Compare May 10, 2023 10:51
@pcrespov pcrespov added this to the Pastel de Nata milestone May 10, 2023
@pcrespov pcrespov marked this pull request as ready for review May 10, 2023 10:52
@pcrespov pcrespov requested a review from sanderegg as a code owner May 10, 2023 10:52
tests/public-api/test_it.py Outdated Show resolved Hide resolved
tests/public-api/test_solvers_jobs_api.py Outdated Show resolved Hide resolved
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

ok cool. and let's check this question tomorrow.

@pcrespov pcrespov requested a review from GitHK May 10, 2023 12:36
@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch from 41e0566 to f3f9566 Compare May 10, 2023 12:36
Copy link
Contributor

@GitHK GitHK left a comment

Choose a reason for hiding this comment

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

👍

@pcrespov pcrespov enabled auto-merge (squash) May 10, 2023 14:00
@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch 3 times, most recently from 41d072b to a51ef00 Compare May 11, 2023 07:18
@pcrespov pcrespov force-pushed the is3569/flaky-api-server branch from ac70927 to d507c0c Compare May 11, 2023 09:30
@codeclimate
Copy link

codeclimate bot commented May 11, 2023

Code Climate has analyzed commit d507c0c and detected 0 issues on this pull request.

View more on Code Climate.

@sonarcloud
Copy link

sonarcloud bot commented May 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pcrespov pcrespov merged commit 65e6eb8 into ITISFoundation:master May 11, 2023
@pcrespov pcrespov deleted the is3569/flaky-api-server branch May 11, 2023 11:51
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request May 30, 2023
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:apiserver api-server service t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky tests/public-api/test_solvers_jobs_api.py::test_run_job[FAILED]
4 participants