Skip to content

Bump types-toml from 0.10.3 to 0.10.4#5805

Merged
Pierre-Sassoulas merged 1 commit intomainfrom
dependabot/pip/types-toml-0.10.4
Feb 21, 2022
Merged

Bump types-toml from 0.10.3 to 0.10.4#5805
Pierre-Sassoulas merged 1 commit intomainfrom
dependabot/pip/types-toml-0.10.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 14, 2022

Bumps types-toml from 0.10.3 to 0.10.4.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added the dependency Label for github dependabot label Feb 14, 2022
@Pierre-Sassoulas
Copy link
Copy Markdown
Member

Seems like we hit the timeout when we change a dependency. With pytest we could have some doubt but I don't think this new version of types-toml make the test that much slower.

@DanielNoord
Copy link
Copy Markdown
Collaborator

Pff.. This is becoming very difficult to debug. Why would updating a dependency lead to hanging on 2 specific tests on 3 specific versions/environments... I have no clue where to start debugging this..

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

This is a github actions issue imo. We can't know what machine is used physical or virtual that will be a little slower and there also might be an issue with having to rebuild the cache for new dependencies. We should probably make the timeout longer, and move on ?

@DanielNoord
Copy link
Copy Markdown
Collaborator

Let's try with 90 minutes. I wonder if it will pass this time though, it seemed to be completely stuck when I did a little investigation previously.

@DanielNoord
Copy link
Copy Markdown
Collaborator

Still fails... I don't think this is due to the recent timeout change.

Timeouts were added in #5752 and changed in #5755. Seven days later we merged #5777, where all tests passed without issue in 4 minutes. So the failure is not consistent for all dependencies upgrades...
I also managed to make the fail on my personal fork when I just merged main in to it. See https://github.com/DanielNoord/pylint/runs/5126516580?check_suite_focus=true.

I'm actually going to try and see if reverting #5777 helps here.

@DanielNoord
Copy link
Copy Markdown
Collaborator

Well... Now 3.7 fails as well. I'm out of ideas 😭

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 17, 2022

Pull Request Test Coverage Report for Build 1863301639

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 93.994%

Totals Coverage Status
Change from base Build 1863297921: 0.02%
Covered Lines: 14931
Relevant Lines: 15885

💛 - Coveralls

@DanielNoord
Copy link
Copy Markdown
Collaborator

@dependabot recreate

Bumps [types-toml](https://github.com/python/typeshed) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/types-toml-0.10.4 branch from c11aa76 to 0d3500e Compare February 18, 2022 08:14
@DanielNoord
Copy link
Copy Markdown
Collaborator

Hmm... The test are clearly getting further than without the change. But one still times out.

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

But one still times out.

Are you sure ? It seems everything worked.

@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.13.0 milestone Feb 18, 2022
@DanielNoord
Copy link
Copy Markdown
Collaborator

DanielNoord commented Feb 18, 2022

@Pierre-Sassoulas Not sure if we want to merge this (same goes for the pytest one). First try failed, second try passed. Thus, tests are still flaky.

We did get a little further (50% into the tests) than without my recent "fix".
What's strange is that any PR which just changes code does not seem to run into any issues... So perhaps we're fine with going ahead and just having to retry dependency upgrades sometimes, but it also feels like this can cause headaches down the line.
We have not completely identified the root cause of these tests sometimes taking much longer on Linux.

Edit: Failed attempt: https://github.com/PyCQA/pylint/actions/runs/1863301639/attempts/1

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

What's strange is that any PR which just changes code does not seem to run into any issues...

Yeah, maybe we need to have a little more leeway with the timeout ?

(The link you gave has all tests passing ?)

@DanielNoord
Copy link
Copy Markdown
Collaborator

DanielNoord commented Feb 18, 2022

What's strange is that any PR which just changes code does not seem to run into any issues...

Yeah, maybe we need to have a little more leeway with the timeout ?

I mean, that doesn't really solve the issue though. Tests normally are <5 minutes, so 30 minutes should be more than enough to account for slow runners and tests taking a bit longer than normal. An increase of factor 6 in test time is a try abnormality that should probably be solved.

(The link you gave has all tests passing ?)

Linux 3.8 doesn't pass. It also skips the coverage step because of it.
Edit: There seems to be something wrong with link resolver in Github. You need to search a little but if you go to attempt # 1 and check the Linux 3.8 job it actually timed out.

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

An increase of factor 6 in test time is a try abnormality that should probably be solved.

👍 You're right, I did not see the difference was this large.

Here's a screenshot on my side :
attempt1

@DanielNoord
Copy link
Copy Markdown
Collaborator

Opened actions/runner#1696 for the bug in the attempts view. That's quite annoying.

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

OK, I went to the job directly and it did timeout. Could it be because there was a single core on the runner and we still run jobs using two cores ?

@DanielNoord
Copy link
Copy Markdown
Collaborator

According to this https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners they should always have two cores...
Third attempt also succeeded. Perhaps I was too quick to rebase? Although I don't think that's likely.

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

Perhaps I was too quick to rebase? Although I don't think that's likely.

No I checked we have the commit to remove 2+ core tests.

@DanielNoord
Copy link
Copy Markdown
Collaborator

I just did a new run and it passed as well. I would be okay with merging this.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 6b14139 into main Feb 21, 2022
@Pierre-Sassoulas Pierre-Sassoulas deleted the dependabot/pip/types-toml-0.10.4 branch February 21, 2022 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Label for github dependabot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants