Comments (16)
Here are the test report files in the 'upstream job' (see parallel-test-executor).
from junit-plugin.
Do you have an example project this can be with reproduced with? / can you provide one?
and what type of project are you using? maven, freestyle, pipeline?
from junit-plugin.
Do you have an example project this can be with reproduced with? / can you provide one?
I'm trying to create a demo situation for reproduction. I'll let you know. It has definitely something to do with the Parallel Test Executor plugin.
what type of project are you using? maven, freestyle, pipeline?
I'm using a freestyle project.
from junit-plugin.
If you could bisect what change introduced this it would help otherwise I’ll try to get to it in the next couple of weeks
from junit-plugin.
@timja What is the best way of doing this. When I clone this repo I do not even see the 'src' directory for example.
from junit-plugin.
if you run mvn package -P quick-build
you will get an hpi that you can load into your Jenkins.
or you can run: mvn hpi:run -P quick-build
which will start up a Jenkins server based on your commit
from junit-plugin.
Cool thanks. That's fast. Since I do not see the sources, how can I bisect?
from junit-plugin.
is this in your IDE you don't see them? when you checkout the code it's in the src folder
from junit-plugin.
Revision 3a90162 is causing this issue.
from junit-plugin.
Thanks and do you have an example project that you can reproduce this with? and a pipeline?
(it'll make it much easier for me or others to look at a fix if we have that)
from junit-plugin.
@timja @oosterholt
Any progress on this? We have upgraded to the 1.43 version and now we are seeing this issue as well.
from junit-plugin.
@rpjesivac do you have the same job setup; are you also using the Parallel Test Executor plugin?
from junit-plugin.
@rpjesivac in your folder all the XMLs are duplicated: see
reports\2\report\test\TEST-our.package.activiti.connector.ActivitiPTBConnectorTest.xml
vs
reports\2\report\test\TEST-out.package.activiti.connector.ActivitiPTBConnectorTest.xml
Any idea what causes that?
Also, the following pipeline downloads your test results and runs them through the plugin, but I couldn't reproduce the bug:
pipeline {
agent any
stages {
stage('Example') {
steps {
sh '''
wget https://github.com/jenkinsci/junit-plugin/files/5318011/reports.zip
rm -rf reports
unzip reports.zip
find reports | sed 's/.*/sleep .1 \\&\\& touch &/' | sh
'''
junit '**/test/*.xml'
}
}
}
}
from junit-plugin.
The 'Test-out.*' files are faulty. Files got duplicated while 'obfuscating' test reports. I've updated the reports.zip with the duplicated files removed. These are not the reason of the duplicated test results.
from junit-plugin.
Still no clue what is going on. I've added a archive artefacts post build step with the same pattern
as the publish test result. The artefacts do not show any duplicated test report files. A text search on any of the duplicate reported test only results in one match.
There are no changes in the archived test report file artefacts in a test run with the 1.29 version of the plugin and a test run with any of the newer plugin versions.
from junit-plugin.
Additional information to clarify the situation.
All tests are reported twice; see test result chart:
Also see any of the test suites; all test methods are reported twice:
All test are reported once with their normal name:
...lastCompletedBuild/testReport/our.package.activiti/DocumentApprovalQuickTest/cancelWorkflow
and once with a nummer appended:
...lastCompletedBuild/testReport/our.package.activiti/DocumentApprovalQuickTest/cancelWorkflow_2
from junit-plugin.
Related Issues (20)
- Dependency Dashboard
- Build failure when enforcing RequireUpperBoundDeps for kotlin
- Publish Junit Report throws java.io.FileNotFoundException: /opt/jdk/openJDK8/jre/lib/resources.jar HOT 1
- JavaScript browser console error: showFailuresLink is null HOT 7
- [failed-to-read] result.xml on Github
- make order of test execution obvious when viewing results HOT 1
- Allow grouping results by the "testsuite" tag
- Stacktrace after moving Junit results to external storage and cannot load graph of previous results
- In Permalinks, "Latest Test Result" field is not even shown for builds not completed in "lastCompletedBuild/testReport/" HOT 5
- Illegal XML characters in test output not handled correctly
- AggregatedTestResultPublisherTest fails with Jenkins 2.434 HOT 2
- Support multi-line failure/error messages
- Allow old test reports via configuration HOT 4
- Support multiple system-out tags per testcase HOT 2
- Pass FlowNode to TestDataPublisher HOT 1
- Conditionally disable "History" and "Test Result Trend"
- Doesn't handle ANSI colors HOT 2
- Environmental variable as junitxml path
- Failed to download 1265.v65b_14fa_f12f0 version HOT 2
- Recent refactoring broke test stability history plugin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from junit-plugin.