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
dependency: bump pitest-maven from 1.8.1 to 1.9.0 #11761
dependency: bump pitest-maven from 1.8.1 to 1.9.0 #11761
Conversation
|
I confirmed the issue on my local, but it is not clear why it is happening. I will report the issue.
|
0655c3f
to
d0b9f78
Compare
Things are passing better now, except:
Edit:
For me, Before upgrade, report says it was killed by |
I've taken a look at the surviving mutant. I managed to reproduce the issue once, but the mutant was killed on all subsequent runs. Looking at the code, I'm reasonable confident that this is an existing test order dependency issue in the checkstyle suite, rather than an issue introduced in pitest 1.9.0. The Depending on which tests have been run in the JVM before, the state required to make Although pitest aims to be fully deterministic, it cannot guarantee the same order of tests in every run. This is because the order is (partially) determined by test timings, which can be effected by external factors. Time outs due to (presumed) infinite loops also mean that pitest cannot gurantee that the same number of jvms launches occurs for each run. Assuming this is indeed an order dependency due to static state, it can be mitigated by ensuring the The simplest fix for this particular issue might be to add this to @BeforeEach
public void ensureCleanStartingState() {
new XpathFileGeneratorAstFilter() {
@Override
public void finishLocalSetup() {
super.finishLocalSetup();
}
}.finishLocalSetup();
} It's unfortunately a little messy as it needs to overcome the access restrictions on |
Bumps [pitest-maven](https://github.com/hcoles/pitest) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/hcoles/pitest/releases) - [Commits](hcoles/pitest@1.8.1...1.9.0) Bumps [pitest-junit5-plugin](https://github.com/pitest/pitest-junit5-plugin) from 0.16 to 1.0.0. - [Release notes](https://github.com/pitest/pitest-junit5-plugin/releases) - [Commits](pitest/pitest-junit5-plugin@0.16...1.0.0) --- updated-dependencies: - dependency-name: org.pitest:pitest-maven dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
d0b9f78
to
821a570
Compare
I feel pitest is now resolved and can be reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope one day we will migrate to BDD style completely.
So we will less likely run into such problems.
Bumps pitest-maven from 1.8.1 to 1.9.0.
Release notes
Sourced from pitest-maven's releases.
Commits
61eabfb
Merge pull request #1041 from hcoles/cleanup/maven_versions161d2f7
cleanup versions a little2f11641
Merge pull request #1038 from l0s/1037_maven-site-4.x37152be
update readme for 1.9.098b9f64
Merge pull request #1040 from hcoles/feature/junit5_style_discovery4875ec7
support mixed discovery/execution of testsc40f054
Downgrade maven-reporting to latest non-milestoned3c0bcd
remove dependency distance supportae8c498
Merge pull request #1035 from hcoles/feature/coverage_memory_consumptiona6179d7
write all blocks in xml outputDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)