ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: ACE-trunk #251
Date Fri, 12 Sep 2014 12:36:22 GMT
See <https://builds.apache.org/job/ACE-trunk/251/changes>

Changes:

[marrs] Small update to ensure errors in configuration get communicated better.

------------------------------------------
[...truncated 4422 lines...]
    [javac] ----------
    [javac] ----------
    [javac] 27. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/servlet/Activator.java>
(at line 75)
    [javac] 	public void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 28. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/store/impl/Activator.java>
(at line 84)
    [javac] 	public synchronized void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                             ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 29. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/store/impl/LogStoreImpl.java>
(at line 39)
    [javac] 	import java.util.concurrent.locks.LockSupport;
    [javac] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import java.util.concurrent.locks.LockSupport is never used
    [javac] ----------
    [javac] 30. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/store/impl/LogStoreImpl.java>
(at line 261)
    [javac] 	Collections.sort(list);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: Unchecked invocation sort(List<Event>) of the generic method
sort(List<T>) of type Collections
    [javac] ----------
    [javac] ----------
    [javac] 31. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/store/mongo/MongoLogStore.java>
(at line 52)
    [javac] 	private int m_maxEvents = 0;
    [javac] 	            ^^^^^^^^^^^
    [javac] The value of the field MongoLogStore.m_maxEvents is not used
    [javac] ----------
    [javac] ----------
    [javac] 32. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/server/task/Activator.java>
(at line 66)
    [javac] 	public synchronized void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                             ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 33. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogConfigurator.java>
(at line 39)
    [javac] 	private final Map /*<String, Component>*/ m_logInstances = new HashMap();
    [javac] 	              ^^^
    [javac] Map is a raw type. References to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] 34. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogConfigurator.java>
(at line 39)
    [javac] 	private final Map /*<String, Component>*/ m_logInstances = new HashMap();
    [javac] 	                                                               ^^^^^^^
    [javac] HashMap is a raw type. References to generic type HashMap<K,V> should be
parameterized
    [javac] ----------
    [javac] 35. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogConfigurator.java>
(at line 53)
    [javac] 	public synchronized void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                             ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 36. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogConfigurator.java>
(at line 73)
    [javac] 	m_logInstances.put(pid, log);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Map. References
to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 37. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogImpl.java>
(at line 32)
    [javac] 	public void log(int type, Dictionary properties) {
    [javac] 	                          ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 38. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogImpl.java>
(at line 38)
    [javac] 	m_log.log(LogService.LOG_WARNING, "Could not store event: " + (new Event("",
0, 0, 0, type, properties)).toRepresentation(), e);
    [javac] 	                                                                            
               ^^^^^^^^^^
    [javac] Type safety: The expression of type Dictionary needs unchecked conversion to conform
to Dictionary<String,String>
    [javac] ----------
    [javac] 39. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogImpl.java>
(at line 42)
    [javac] 	m_log.log(LogService.LOG_WARNING, "Could not store event: " + (new Event("",
0, 0, 0, type, properties)).toRepresentation(), e);
    [javac] 	                                                                            
               ^^^^^^^^^^
    [javac] Type safety: The expression of type Dictionary needs unchecked conversion to conform
to Dictionary<String,String>
    [javac] ----------
    [javac] ----------
    [javac] 40. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 44)
    [javac] 	private final Map /*<String, Component>*/ m_syncInstances = new HashMap();
    [javac] 	              ^^^
    [javac] Map is a raw type. References to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] 41. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 44)
    [javac] 	private final Map /*<String, Component>*/ m_syncInstances = new HashMap();
    [javac] 	                                                                ^^^^^^^
    [javac] HashMap is a raw type. References to generic type HashMap<K,V> should be
parameterized
    [javac] ----------
    [javac] 42. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 58)
    [javac] 	public synchronized void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                             ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 43. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 68)
    [javac] 	Dictionary properties = new Properties();
    [javac] 	^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 44. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 90)
    [javac] 	properties.put(MA_NAME, ma);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Dictionary.
References to generic type Dictionary<K,V> should be parameterized
    [javac] ----------
    [javac] 45. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 93)
    [javac] 	properties.put(SchedulerConstants.SCHEDULER_NAME_KEY, schedulerName);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Dictionary.
References to generic type Dictionary<K,V> should be parameterized
    [javac] ----------
    [javac] 46. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 94)
    [javac] 	properties.put(SchedulerConstants.SCHEDULER_DESCRIPTION_KEY, description);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Dictionary.
References to generic type Dictionary<K,V> should be parameterized
    [javac] ----------
    [javac] 47. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 95)
    [javac] 	properties.put(SchedulerConstants.SCHEDULER_RECIPE, "2000");
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Dictionary.
References to generic type Dictionary<K,V> should be parameterized
    [javac] ----------
    [javac] 48. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/LogSyncConfigurator.java>
(at line 105)
    [javac] 	m_syncInstances.put(pid, sync);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Map. References
to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 49. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/LogStore.java>
(at line 45)
    [javac] 	public Event put(int type, Dictionary props) throws IOException;
    [javac] 	                           ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 50. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/LogStore.java>
(at line 54)
    [javac] 	public List/*<Event>*/get(long logID) throws IOException;
    [javac] 	       ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 51. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/LogStore.java>
(at line 66)
    [javac] 	public List/*<Event>*/get(long logID, long from, long to) throws IOException;
    [javac] 	       ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 52. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/Activator.java>
(at line 44)
    [javac] 	private final Map /*<String, Component>*/ m_instances = new HashMap();
    [javac] 	              ^^^
    [javac] Map is a raw type. References to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] 53. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/Activator.java>
(at line 44)
    [javac] 	private final Map /*<String, Component>*/ m_instances = new HashMap();
    [javac] 	                                                            ^^^^^^^
    [javac] HashMap is a raw type. References to generic type HashMap<K,V> should be
parameterized
    [javac] ----------
    [javac] 54. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/Activator.java>
(at line 91)
    [javac] 	public void updated(String pid, Dictionary dict) throws ConfigurationException
{
    [javac] 	                                ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 55. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/Activator.java>
(at line 120)
    [javac] 	m_instances.put(pid, component);
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method put(Object, Object) belongs to the raw type Map. References
to generic type Map<K,V> should be parameterized
    [javac] ----------
    [javac] ----------
    [javac] 56. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 152)
    [javac] 	public synchronized List get(long logID, long from, long to)
    [javac] 	                    ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 57. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 155)
    [javac] 	List result = new ArrayList();
    [javac] 	^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 58. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 155)
    [javac] 	List result = new ArrayList();
    [javac] 	                  ^^^^^^^^^
    [javac] ArrayList is a raw type. References to generic type ArrayList<E> should
be parameterized
    [javac] ----------
    [javac] 59. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 164)
    [javac] 	result.add(new Event(new String(store.read())));
    [javac] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Type safety: The method add(Object) belongs to the raw type List. References to
generic type List<E> should be parameterized
    [javac] ----------
    [javac] 60. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 228)
    [javac] 	public List get(long logID) throws IOException {
    [javac] 	       ^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 61. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 257)
    [javac] 	public synchronized Event put(int type, Dictionary dict) throws IOException {
    [javac] 	                                        ^^^^^^^^^^
    [javac] Dictionary is a raw type. References to generic type Dictionary<K,V> should
be parameterized
    [javac] ----------
    [javac] 62. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 260)
    [javac] 	Enumeration keys = dict.keys();
    [javac] 	^^^^^^^^^^^
    [javac] Enumeration is a raw type. References to generic type Enumeration<E> should
be parameterized
    [javac] ----------
    [javac] 63. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 445)
    [javac] 	long id = m_store.readLong();
    [javac] 	     ^^
    [javac] The value of the local variable id is not used
    [javac] ----------
    [javac] 64. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 502)
    [javac] 	long id = m_store.readLong();
    [javac] 	     ^^
    [javac] The value of the local variable id is not used
    [javac] ----------
    [javac] 65. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/store/impl/LogStoreImpl.java>
(at line 528)
    [javac] 	long current = m_store.getFilePointer();
    [javac] 	     ^^^^^^^
    [javac] The value of the local variable current is not used
    [javac] ----------
    [javac] ----------
    [javac] 66. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/task/LogSyncTask.java>
(at line 152)
    [javac] 	List events = m_LogStore.get(logID, lowest, highestLocal > highest ? highest
: highestLocal);
    [javac] 	^^^^
    [javac] List is a raw type. References to generic type List<E> should be parameterized
    [javac] ----------
    [javac] 67. WARNING in <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/src/org/apache/ace/log/target/task/LogSyncTask.java>
(at line 153)
    [javac] 	Iterator iter = events.iterator();
    [javac] 	^^^^^^^^
    [javac] Iterator is a raw type. References to generic type Iterator<E> should be
parameterized
    [javac] ----------
    [javac] 67 problems (67 warnings)
     [copy] Copying 3 files to <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/bin>
     [copy] Copied 1 empty directory to 1 empty directory under <https://builds.apache.org/job/ACE-trunk/ws/org.apache.ace.log/bin>

build:
      [bnd] 1 Errors
      [bnd]  org.apache.ace.log:org.apache.ace.log.server.servlet: The bundle version 1.0.1
is too low, must be at least 1.0.2

BUILD FAILED
<https://builds.apache.org/job/ACE-trunk/ws/cnf/build.xml>:39: The following error occurred
while executing this line:
<https://builds.apache.org/job/ACE-trunk/ws/cnf/build-template.xml>:117: Command build
failed

Total time: 2 minutes 17 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/ACE-trunk/builds/2014-09-12_12-33-39/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Mime
View raw message