Comments (4)
May be related to:
https://issues.apache.org/jira/browse/SUREFIRE-1509
https://issues.apache.org/jira/browse/SUREFIRE-1927
Possible solutions:
- Workaround is to disable forking.
<configuration>
<forkCount>0</forkCount>
</configuration>
from carina.
Got error: OutOfMemoryError: Container killed due to memory usage
Plugins:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<release>${java.version}</release>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>copy</id>
<phase>initialize</phase>
<goals>
<goal>copy</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.zebrunner</groupId>
<artifactId>agent-core</artifactId>
<version>${zebrunner-agent.version}</version>
<outputDirectory>${project.build.directory}/agent</outputDirectory>
<destFileName>zebrunner-agent.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M6</version>
<configuration>
<forkCount>1</forkCount>
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
<argLine>-javaagent:${project.build.directory}/agent/zebrunner-agent.jar -Dtestng.strict.parallel=true -Dtestng.limit.threadcount=true -Xmx2560m</argLine>
<useSystemClassLoader>false</useSystemClassLoader>
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/test-classes/testng_suites/${suite}.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
from carina.
Issue reproduced starting from 3.0.0-M5 version
from carina.
Solution: upgrade plugin versions to:
maven-surefire-plugin 3.1.0
maven-dependency-plugin 3.6.0
maven-compiler-plugin 3.11.0
If there are other apache plugins in the project, bump up such plugins versions to the latest versions
from carina.
Related Issues (20)
- java.io.IOException: No such file or directory when max_screen_history=1
- 7.4.x: add support of the mcloud-grid:2.2 slotCapabilitites parser HOT 2
- keep only message about upgrading hardware if retry_interval >= 1000ms HOT 2
- Disable netty logs for DEBUG log level
- register infor about branch if any as label HOT 1
- Testing Windows applications with Carina Framework and Selenium 4 HOT 2
- Add opportunity to read parameters from the xml suite
- add readme.md files for all carina sub modules
- Environment from config properties should be displayed in Zebrunner reporting without usage of env parameter from agent.yaml file
- Migration guide
- Generate report about new session startup errors and attach it to the test run
- Investigate an opportunity to control TestNG current thread count HOT 1
- Add an opportunity to filter tests by country HOT 1
- Bump up carina-webdriver to 1.2.9
- Bump up carina-webdriver to 1.2.10
- Errors and extra tests reported at Zebrunner reporting when attempting to disable entire test class via @Test(enabled = false)
- Bump up carina-webdriver to 1.2.11
- `ReportContext.getTestDirectory` method should return test directory in configuration methods
- Update archetype project
- Refactor test filter logic
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 carina.