Comments (10)
Good question! I am facing the same issue.
Personally, I think that the CI test is fundamentally broken. If and which errors occur seems to be more or less random. I guess that's the reason why the -DskipTests was the default before the BIRT reboot.
from birt.
Maybe it could be worth doing the build with -fn instead of -DskipTests. This will report all failing tests instead of skipping them, and make it easier to identify which tests are failing randomly and which tests are failing more consistently.
from birt.
Using PR 650 as a test, I reverted it to the code that existed when PR 643 (issue 642) passed successfully, and it fails with
Failures:
org.eclipse.birt.report.model.metadata.ElementDefnTest.testGetGroupNames(org.eclipse.birt.report.model.metadata.ElementDefnTest)
Run 1: ElementDefnTest.testGetGroupNames:84 expected:<6> but was:<0>
Run 2: PASS
Run 3: PASS
If I run the same mvn commands that are in ci.yml locally it fails with different errors, so that's not going to be a good way to troubleshoot this. What I can do is make changes to PR 650 to see what effect they have. I don't fully understand what's happening when CI is executed, but it's pretty clear that something is different from April 23 when PR 643 CI succeeded.
When CI executes, does it use the ci.yml that's in the PR or the one that's in master? I'll find out experimentally.
from birt.
When CI executes, does it use the ci.yml that's in the PR or the one that's in master?
It should use the ci.yml and all the rest from the PR's branch
from birt.
@ruspl-afed Yes I just verified that it does. So I can make it work by just getting rid of the tests, haha.
from birt.
@ruspl-afed Yes I just verified that it does. So I can make it work by just getting rid of the tests, haha.
Firm but fair, sir :)
from birt.
The particular error I'm getting in PR 650 is caused by MetaDataDictionary not containing the correct objects. MetaDataDictionary is a static object that normally gets loaded from a file named rom.def, however it also gets loaded with other files as part of some unit tests. The failure in CI may be caused by the order in which unit tests are executed. I'm continuing to research this...
from birt.
Thank you @SteveSchafer-Innovent for investing so much of your time to this issue
from birt.
I was able to fix it with a line of code. I submitted a PR (658) which passes the CI tests. Hopefully once this PR is merged, the other PR's will work.
from birt.
PR merged and closed so closing this issue.
from birt.
Related Issues (20)
- Excel, the text option line-through should be supported HOT 2
- BIRT 4.16 202405030536, Designer-Crashed: topic depended on JRE 17 vs. 21 HOT 19
- Excel & Indent: implementation of the "indent"-option for excel output HOT 2
- High CVE-2022-41852 for commons-jxpath version 1.3 HOT 5
- An "end" is missing to close the "begin" in Postscript emitter HOT 6
- Fixing of eclipse warnings noted at change of #1667 HOT 1
- "lakhs format" is not being applied correctly when used with aggregate functions. HOT 9
- Birt Report Calling Problem from JSP
- Data Binding Refresh Button disappeared HOT 5
- Designer preview not working when installation path contains space(s) HOT 2
- ECMAScript 6, additional change to improve the "syntax highlighting" (based on 1574) HOT 1
- Excel, error on file opening when large column-width used at tables-/grid-definition HOT 1
- BIRT-designer/Nightly Build 4.16.0-202405152028, Report invisible & error on opening of reports - GraphicalEditorWithFlyoutPalette.getGraphicalViewer() throws NPE HOT 12
- Query text: enhance syntax highlighting to support more the sql standard data types HOT 2
- Sorting Column Bindings HOT 3
- Enhance the SQL-DataSet-Editor with a search option - see #1584 HOT 8
- BIRT 4.15 can't be used under Eclipse RAP HOT 4
- Can't generate Excel file: Could not auto-size column. Make sure the column was tracked prior to auto-sizing the column. HOT 1
- How to initialize Date picker in report parameters in birt HOT 6
- Need help with Serial No. HOT 1
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 birt.