Jonathan Sinovassin-Naïk created UNOMI-746:
----------------------------------------------
Summary: Error when generating jacoco report
Key: UNOMI-746
URL: https://issues.apache.org/jira/browse/UNOMI-746
Project: Apache Unomi
Issue Type: Bug
Reporter: Jonathan Sinovassin-Naïk
After the the integrations tests in JAVA 11, the execution is blocked when
called the script to generate the jacoco-report.
It makes the whole execution to take more than 1 hour 50 minutes to finish the
execution.
Have a look to the following logs to see where the execution is stuck.
{code:java}
2023-03-08T11:48:07.3775454Z [INFO] Results:
2023-03-08T11:48:07.3776047Z [INFO]
2023-03-08T11:48:07.3776402Z [INFO] Tests run: 173, Failures: 0, Errors: 0,
Skipped: 0
2023-03-08T11:48:07.3776647Z [INFO]
2023-03-08T11:48:07.3948141Z [INFO]
2023-03-08T11:48:07.3948727Z [INFO] --- elasticsearch:6.23:stop
(stop-elasticsearch) @ unomi-itests ---
2023-03-08T11:48:07.4026352Z [INFO] Stopping Elasticsearch
[com.github.alexcojocaru.mojo.elasticsearch.v2.InstanceConfiguration@25e844ef[id=0,baseDir=/home/runner/work/unomi/unomi/itests/target/elasticsearch0,httpPort=0,transportPort=0,pathData=<null>,pathLogs=<null>,settings=<null>,startupTimeout=0]]
2023-03-08T11:48:07.4048429Z [INFO] Elasticsearch[0]: Executing command '[kill,
6256]' with input '' in directory
'/home/runner/work/unomi/unomi/itests/target/elasticsearch0'
2023-03-08T11:48:07.4119998Z [INFO] Elasticsearch[0]: The process finished with
exit code 0
2023-03-08T11:48:07.4125567Z [INFO] Elasticsearch [0] stopped
2023-03-08T11:48:07.4126370Z [INFO]
2023-03-08T11:48:07.4127535Z [INFO] --- failsafe:3.0.0-M4:verify (verify) @
unomi-itests ---
2023-03-08T11:48:07.4154782Z [WARNING] Parameter 'encoding' (user property
'encoding') is deprecated: since of 2.20.1
2023-03-08T11:48:07.4193490Z [2023-03-08T11:48:07,418][INFO ][o.e.n.Node
] [fv-az216-293] stopping ...
2023-03-08T11:48:07.4255487Z [2023-03-08T11:48:07,425][INFO
][o.e.x.w.WatcherService ] [fv-az216-293] stopping watch service, reason
[shutdown initiated]
2023-03-08T11:48:07.4266572Z [2023-03-08T11:48:07,426][INFO
][o.e.x.w.WatcherLifeCycleService] [fv-az216-293] watcher has stopped and
shutdown
2023-03-08T11:48:07.4345222Z [2023-03-08T11:48:07,433][INFO
][o.e.x.m.p.l.CppLogMessageHandler] [fv-az216-293] [controller/6423]
[Main.cc@169] ML controller exiting
2023-03-08T11:48:07.4419765Z [2023-03-08T11:48:07,441][INFO
][o.e.x.m.p.NativeController] [fv-az216-293] Native controller process has
stopped - no new native processes can be started
2023-03-08T11:48:07.4997400Z [INFO]
2023-03-08T11:48:07.4998405Z [INFO] --- exec:3.1.0:exec (Generate code coverage
report) @ unomi-itests ---
2023-03-08T11:48:07.8965023Z [2023-03-08T11:48:07,896][INFO ][o.e.n.Node
] [fv-az216-293] stopped
2023-03-08T11:48:07.8967607Z [2023-03-08T11:48:07,896][INFO ][o.e.n.Node
] [fv-az216-293] closing ...
2023-03-08T11:48:07.9203304Z [2023-03-08T11:48:07,920][INFO ][o.e.n.Node
] [fv-az216-293] closed
2023-03-08T13:06:51.5506564Z [INFO]
------------------------------------------------------------------------
2023-03-08T13:06:51.5507351Z [INFO] Reactor Summary for Apache Unomi :: Root
Project 2.2.0-SNAPSHOT:
2023-03-08T13:06:51.5507703Z [INFO]
2023-03-08T13:06:51.5513008Z [INFO] Apache Unomi :: Root Project
....................... SUCCESS [ 4.135 s]
2023-03-08T13:06:51.5513448Z [INFO] Apache Unomi :: Specification API
.................. SUCCESS [ 5.285 s]
2023-03-08T13:06:51.5513862Z [INFO] Apache Unomi :: Common Classes
..................... SUCCESS [ 1.436 s]
2023-03-08T13:06:51.5514319Z [INFO] Apache Unomi :: Persistence :: SPI (Service
Provider Interface) SUCCESS [ 1.484 s]
2023-03-08T13:06:51.5514986Z [INFO] Apache Unomi :: Metrics
............................ SUCCESS [ 20.633 s]
2023-03-08T13:06:51.5515396Z [INFO] Apache Unomi :: Scripting Services
................. SUCCESS [ 1.136 s]
2023-03-08T13:06:51.5515818Z [INFO] Apache Unomi :: Main Lifecycle Watcher
............. SUCCESS [ 2.091 s]
2023-03-08T13:06:51.5516223Z [INFO] Apache Unomi :: Persistence ::
ElasticSearch ....... SUCCESS [ 0.020 s]
2023-03-08T13:06:51.5516659Z [INFO] Apache Unomi :: Persistence ::
ElasticSearch :: Core SUCCESS [ 30.070 s]
2023-03-08T13:06:51.5517059Z [INFO] Apache Unomi :: Core Services
...................... SUCCESS [ 6.449 s]
2023-03-08T13:06:51.5517478Z [INFO] Apache Unomi :: Extensions
......................... SUCCESS [ 0.018 s]
2023-03-08T13:06:51.5517872Z [INFO] Apache Unomi :: Extensions :: JSON Schema
.......... SUCCESS [ 0.016 s]
2023-03-08T13:06:51.5518274Z [INFO] Apache Unomi :: Extensions :: JSON Schema
:: Service SUCCESS [ 1.226 s]
2023-03-08T13:06:51.5518669Z [INFO] Apache Unomi :: REST API
........................... SUCCESS [ 3.299 s]
2023-03-08T13:06:51.5519048Z [INFO] Apache Unomi :: Extensions :: Lists
................ SUCCESS [ 0.015 s]
2023-03-08T13:06:51.5519427Z [INFO] Apache Unomi :: Extensions :: Lists ::
Service ..... SUCCESS [ 0.242 s]
2023-03-08T13:06:51.5522749Z [INFO] Apache Unomi :: GraphQL API
........................ SUCCESS [ 0.018 s]
2023-03-08T13:06:51.5523217Z [INFO] Apache Unomi :: GraphQL API :: CDP
Implementation .. SUCCESS [ 4.041 s]
2023-03-08T13:06:51.5523648Z [INFO] Apache Unomi :: GraphQL API :: GraphQL
Playground .. SUCCESS [ 23.770 s]
2023-03-08T13:06:51.5524204Z [INFO] Apache Unomi :: GraphQL API :: Karaf
Feature ....... SUCCESS [ 3.264 s]
2023-03-08T13:06:51.5524620Z [INFO] Apache Unomi :: Core Web Application
............... SUCCESS [ 1.049 s]
2023-03-08T13:06:51.5525005Z [INFO] Apache Unomi :: Plugins
............................ SUCCESS [ 0.018 s]
2023-03-08T13:06:51.5566521Z [INFO] Apache Unomi :: Plugins :: Base Actions and
Conditions SUCCESS [01:00 min]
2023-03-08T13:06:51.5567084Z [INFO] Apache Unomi :: Plugins :: Request reading
actions . SUCCESS [01:09 min]
2023-03-08T13:06:51.5567778Z [INFO] Apache Unomi :: Plugins :: Mail
notifications actions SUCCESS [ 0.751 s]
2023-03-08T13:06:51.5568282Z [INFO] Apache Unomi :: Plugins :: Rules and
Actions for optimization tests (A/B testing) SUCCESS [ 0.114 s]
2023-03-08T13:06:51.5568756Z [INFO] Apache Unomi :: Plugins :: Hover event
support ..... SUCCESS [ 0.356 s]
2023-03-08T13:06:51.5569202Z [INFO] Apache Unomi :: Plugins :: Conditions based
on past events SUCCESS [ 0.231 s]
2023-03-08T13:06:51.5569680Z [INFO] Apache Unomi :: Plugins :: Conditions for
events that need to be tracked SUCCESS [ 0.168 s]
2023-03-08T13:06:51.5570175Z [INFO] Apache Unomi :: Plugins :: Kafka Injector
.......... SUCCESS [ 1.119 s]
2023-03-08T13:06:51.5570592Z [INFO] Apache Unomi :: Extensions :: Lists :: REST
API .... SUCCESS [ 0.397 s]
2023-03-08T13:06:51.5571002Z [INFO] Apache Unomi :: Extensions :: Lists ::
Actions ..... SUCCESS [ 0.140 s]
2023-03-08T13:06:51.5571401Z [INFO] Apache Unomi :: Extensions :: Privacy
.............. SUCCESS [ 0.017 s]
2023-03-08T13:06:51.5571799Z [INFO] Apache Unomi :: Extensions :: Privacy ::
Services .. SUCCESS [ 0.202 s]
2023-03-08T13:06:51.5572200Z [INFO] Apache Unomi :: Extensions :: Privacy ::
REST API .. SUCCESS [ 0.815 s]
2023-03-08T13:06:51.5572603Z [INFO] Apache Unomi :: Extensions :: Geonames
Database .... SUCCESS [ 0.015 s]
2023-03-08T13:06:51.5573022Z [INFO] Apache Unomi :: Extensions :: Geonames
Database :: Service SUCCESS [ 0.424 s]
2023-03-08T13:06:51.5573460Z [INFO] Apache Unomi :: Extensions :: Geonames
Database :: REST API SUCCESS [ 0.309 s]
2023-03-08T13:06:51.5573886Z [INFO] Apache Unomi :: Extensions :: Router
............... SUCCESS [ 0.015 s]
2023-03-08T13:06:51.5574286Z [INFO] Apache Unomi :: Extensions :: Router :: API
........ SUCCESS [ 0.149 s]
2023-03-08T13:06:51.5574675Z [INFO] Apache Unomi :: Extensions :: Router ::
Services ... SUCCESS [ 0.392 s]
2023-03-08T13:06:51.5575148Z [INFO] Apache Unomi :: Extensions :: Router ::
Core ....... SUCCESS [ 2.427 s]
2023-03-08T13:06:51.5575556Z [INFO] Apache Unomi :: Extensions :: Router ::
REST API ... SUCCESS [ 0.344 s]
2023-03-08T13:06:51.5575983Z [INFO] Apache Unomi :: Extensions :: Router ::
Apache Karaf Feature SUCCESS [ 3.115 s]
2023-03-08T13:06:51.5594268Z [INFO] Apache Unomi :: Extensions :: Salesforce
connector . SUCCESS [ 0.022 s]
2023-03-08T13:06:51.5642717Z [INFO] Apache Unomi :: Extensions :: Salesforce
connector :: Service SUCCESS [ 2.529 s]
2023-03-08T13:06:51.5643307Z [INFO] Apache Unomi :: Extensions :: Salesforce
connector :: REST API SUCCESS [ 0.389 s]
2023-03-08T13:06:51.5643775Z [INFO] Apache Unomi :: Extensions :: Salesforce
connector :: Rule Actions SUCCESS [ 0.174 s]
2023-03-08T13:06:51.5644285Z [INFO] Apache Unomi :: Extensions :: Salesforce
connector :: Apache Karaf Feature and KAR archive SUCCESS [ 0.985 s]
2023-03-08T13:06:51.5644847Z [INFO] Apache Unomi :: Extensions :: MailChimp
Connector .. SUCCESS [ 0.015 s]
2023-03-08T13:06:51.5647719Z [INFO] Apache Unomi :: Extensions :: MailChimp
Connector :: Services SUCCESS [ 0.354 s]
2023-03-08T13:06:51.5648188Z [INFO] Apache Unomi :: Extensions :: MailChimp
Connector :: REST API SUCCESS [ 0.310 s]
2023-03-08T13:06:51.5648646Z [INFO] Apache Unomi :: Extensions :: MailChimp
Connector :: Actions SUCCESS [ 0.143 s]
2023-03-08T13:06:51.5649140Z [INFO] Apache Unomi :: Extensions :: MailChimp
Connector :: Apache Karaf Feature and KAR archive SUCCESS [ 0.457 s]
2023-03-08T13:06:51.5649601Z [INFO] Apache Unomi :: Extension :: Weather Update
........ SUCCESS [ 0.007 s]
2023-03-08T13:06:51.5650022Z [INFO] Apache Unomi :: Extension :: Weather Update
:: Core SUCCESS [ 0.151 s]
2023-03-08T13:06:51.5650488Z [INFO] Apache Unomi :: Extension :: Weather Update
:: Apache Karaf Feature and KAR archive SUCCESS [ 0.546 s]
2023-03-08T13:06:51.5650941Z [INFO] Apache Unomi :: Extension :: Web Tracker
........... SUCCESS [ 0.013 s]
2023-03-08T13:06:51.5651330Z [INFO] Apache Unomi :: Extension :: Web Tracker ::
Wab .... SUCCESS [ 11.240 s]
2023-03-08T13:06:51.5651920Z [INFO] Apache Unomi :: Extensions :: Groovy
Actions ....... SUCCESS [ 0.010 s]
2023-03-08T13:06:51.5652361Z [INFO] Apache Unomi :: Extensions :: Groovy
Actions :: Service SUCCESS [ 0.602 s]
2023-03-08T13:06:51.5652802Z [INFO] Apache Unomi :: Extensions :: Groovy
Actions :: REST API SUCCESS [ 0.252 s]
2023-03-08T13:06:51.5653263Z [INFO] Apache Unomi :: Extensions :: Groovy
Actions :: Apache Karaf Feature and KAR archive SUCCESS [ 0.952 s]
2023-03-08T13:06:51.5653716Z [INFO] Apache Unomi :: Extensions :: JSON Schema
:: REST API SUCCESS [ 0.237 s]
2023-03-08T13:06:51.5654123Z [INFO] Apache Unomi :: Tools
.............................. SUCCESS [ 0.012 s]
2023-03-08T13:06:51.5654515Z [INFO] Apache Unomi :: Tools :: Shell commands
............ SUCCESS [ 0.566 s]
2023-03-08T13:06:51.5654932Z [INFO] Apache Unomi :: Tools :: Shell Dev commands
........ SUCCESS [ 0.379 s]
2023-03-08T13:06:51.5655937Z [INFO] Apache Unomi :: Manual
............................. SUCCESS [ 41.678 s]
2023-03-08T13:06:51.5656263Z [INFO] Apache Unomi :: Karaf KAR package
.................. SUCCESS [ 7.476 s]
2023-03-08T13:06:51.5656572Z [INFO] Apache Unomi :: Samples
............................ SUCCESS [ 0.011 s]
2023-03-08T13:06:51.5656884Z [INFO] Apache Unomi :: Samples :: Tweet Button
plugin ..... SUCCESS [ 0.152 s]
2023-03-08T13:06:51.5657207Z [INFO] Apache Unomi :: Samples :: External Login
plugin ... SUCCESS [ 0.192 s]
2023-03-08T13:06:51.5657526Z [INFO] Apache Unomi :: Samples :: Test Groovy
Action ...... SUCCESS [ 0.393 s]
2023-03-08T13:06:51.5657837Z [INFO] Apache Unomi :: Samples :: Training plugin
......... SUCCESS [ 0.124 s]
2023-03-08T13:06:51.5658148Z [INFO] Apache Unomi :: Samples :: Graphql
Providers ....... SUCCESS [ 0.200 s]
2023-03-08T13:06:51.5658495Z [INFO] Apache Unomi :: Samples :: Graphql
Providers :: Karaf Feature SUCCESS [ 0.466 s]
2023-03-08T13:06:51.5658938Z [INFO] Apache Unomi :: Distribution Package
............... SUCCESS [ 34.907 s]
2023-03-08T13:06:51.5659254Z [INFO] Apache Unomi :: Integration Tests
.................. FAILURE [ 01:49 h]
2023-03-08T13:06:51.5659799Z [INFO]
------------------------------------------------------------------------
2023-03-08T13:06:51.5660075Z [INFO] BUILD FAILURE
2023-03-08T13:06:51.5660418Z [INFO]
------------------------------------------------------------------------
2023-03-08T13:06:51.5660682Z [INFO] Total time: 01:55 h
2023-03-08T13:06:51.5661011Z [INFO] Finished at: 2023-03-08T13:06:51Z
2023-03-08T13:06:51.5661380Z [INFO]
------------------------------------------------------------------------
2023-03-08T13:06:51.5702742Z [ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (Generate code coverage report)
on project unomi-itests: Execution Generate code coverage report of goal
org.codehaus.mojo:exec-maven-plugin:3.1.0:exec failed: Plugin
org.codehaus.mojo:exec-maven-plugin:3.1.0 or one of its dependencies could not
be resolved: Failed to collect dependencies at
org.codehaus.mojo:exec-maven-plugin:jar:3.1.0 ->
org.codehaus.plexus:plexus-utils:jar:3.4.2: Failed to read artifact descriptor
for org.codehaus.plexus:plexus-utils:jar:3.4.2: Could not transfer artifact
org.codehaus.plexus:plexus-utils:pom:3.4.2 from/to central
(https://repo.maven.apache.org/maven2): Connection timed out (Read failed) ->
[Help 1]
2023-03-08T13:06:51.5703851Z [ERROR]
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)