[ODLPARENT-11] features-tests take too long to install Created: 26/Feb/15  Updated: 24/Jan/18  Resolved: 26/Jun/15

Status: Resolved
Project: odlparent
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Tony Tkacik
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2761

 Description   

With a populated local repository, installing a simple feature takes around 27 seconds:

2015-02-26 10:15:30,123 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Attempting to add repository file:/home/nite/odl/bgpcep/features/extras/target/classes/features.xml
2015-02-26 10:15:30,137 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Successfully loaded repository file:/home/nite/odl/bgpcep/features/extras/target/classes/features.xml
2015-02-26 10:15:30,137 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Attempting to install feature odl-bgpcep-dependencies 0.4.0-SNAPSHOT
2015-02-26 10:15:57,151 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Successfull installed feature odl-bgpcep-dependencies 0.4.0-SNAPSHOT
2015-02-26 10:15:57,557 | WARN | FelixShutdown | core | 75 - org.apache.aries.jmx.core - 1.1.2 | Task rejected for JMX Notification dispatch of event [org.osgi.framework.ServiceEvent[source=[javax.management.MBeanServer]]] - Dispatcher may have been shutdown
2015-02-26 10:16:01,984 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Attempting to add repository file:/home/nite/odl/bgpcep/features/extras/target/classes/features.xml
2015-02-26 10:16:02,003 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Successfully loaded repository file:/home/nite/odl/bgpcep/features/extras/target/classes/features.xml
2015-02-26 10:16:02,003 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Attempting to install feature odl-bgpcep-data-change-counter 0.4.0-SNAPSHOT
2015-02-26 10:17:24,952 | INFO | ion(3)-127.0.0.1 | SingleFeatureTest | 84 - PAXEXAM-PROBE-77788935-bb79-4359-bd8c-bad7645bff6d - 0.0.0 | Successfull installed feature odl-bgpcep-data-change-counter 0.4.0-SNAPSHOT

It seems that karaf is going out to network to fetch stuff, which slows it down. The cause needs to be found and fixed, so that we never really touch the network.



 Comments   
Comment by Tony Tkacik [ 26/Feb/15 ]

https://git.opendaylight.org/gerrit/#/c/15773/1

Comment by RichardHill [ 26/Feb/15 ]

Since build 2015-02-25 approx 15:01 UTC the time taken for all ODL loaded features to become available has increased from under one minute to over a minute.

Request

localhost:8181//modules/module/opendaylight-md-sal-binding/2013-10-28/schema

HTTP 406 is returned.

Generated at Wed Feb 07 20:27:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.