See <https://builds.apache.org/job/incubator-brooklyn-pull-requests/8/changes>
Changes: [aled.sage] Fix failing tests (from jenkins) ------------------------------------------ [...truncated 1161 lines...] [ERROR] 53. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/internal/NonDeploymentManagementContext.java> (at line 574) [ERROR] public long getPriority() { [ERROR] ^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getPriority() of type NonDeploymentManagementContext.NonDeploymentHighAvailabilityManager must override or implement a supertype method [ERROR] ---------- [ERROR] ---------- [ERROR] 54. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/ManagementPlaneSyncRecordDeltaImpl.java> (at line 108) [ERROR] public String getExpectedMasterToClear() { [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getExpectedMasterToClear() of type ManagementPlaneSyncRecordDeltaImpl must override or implement a supertype method [ERROR] ---------- [ERROR] ---------- [ERROR] 55. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/location/basic/SshMachineLocation.java> (at line 390) [ERROR] public String getHostname() { [ERROR] ^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getHostname() of type SshMachineLocation must override or implement a supertype method [ERROR] ---------- [ERROR] 56. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/location/basic/SshMachineLocation.java> (at line 396) [ERROR] public Set<String> getPublicAddresses() { [ERROR] ^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getPublicAddresses() of type SshMachineLocation must override or implement a supertype method [ERROR] ---------- [ERROR] 57. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/location/basic/SshMachineLocation.java> (at line 401) [ERROR] public Set<String> getPrivateAddresses() { [ERROR] ^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getPrivateAddresses() of type SshMachineLocation must override or implement a supertype method [ERROR] ---------- [ERROR] ---------- [ERROR] 58. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/BasicMasterChooser.java> (at line 135) [ERROR] score.priority = contender.getPriority()!=null ? contender.getPriority() : 0; [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getPriority() is undefined for the type ManagementNodeSyncRecord [ERROR] ---------- [ERROR] 59. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/BasicMasterChooser.java> (at line 135) [ERROR] score.priority = contender.getPriority()!=null ? contender.getPriority() : 0; [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getPriority() is undefined for the type ManagementNodeSyncRecord [ERROR] ---------- [ERROR] 60. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/BasicMasterChooser.java> (at line 143) [ERROR] contender.getStatus()==ManagementNodeState.HOT_STANDBY ? 2 : [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 61. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/BasicMasterChooser.java> (at line 161) [ERROR] boolean statusOk = (contender.getStatus() == ManagementNodeState.STANDBY || contender.getStatus() == ManagementNodeState.HOT_STANDBY || contender.getStatus() == ManagementNodeState.MASTER); [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] ---------- [ERROR] 62. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindExceptionHandlerImpl.java> (at line 407) [ERROR] RuntimeException compoundException = Exceptions.create("Failure rebinding", allExceptions); [ERROR] ^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method create(Collection<? extends Throwable>) in the type Exceptions is not applicable for the arguments (String, List<Exception>) [ERROR] ---------- [ERROR] ---------- [ERROR] 63. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/management/ha/ManagementPlaneSyncRecordPersisterToObjectStore.java> (at line 254) [ERROR] persistMaster("", delta.getExpectedMasterToClear()); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getExpectedMasterToClear() is undefined for the type ManagementPlaneSyncRecordPersister.Delta [ERROR] ---------- [ERROR] ---------- [ERROR] 64. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/util/task/BasicExecutionContext.java> (at line 195) [ERROR] public boolean isShutdown() { [ERROR] ^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method isShutdown() of type BasicExecutionContext must override or implement a supertype method [ERROR] ---------- [ERROR] ---------- [ERROR] 65. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 231) [ERROR] this.persistenceRealChangeListener = new PeriodicDeltaChangeListener(managementContext.getServerExecutionContext(), persistenceStoreAccess, exceptionHandler, periodicPersistPeriod); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getServerExecutionContext() is undefined for the type ManagementContextInternal [ERROR] ---------- [ERROR] 66. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 246) [ERROR] public void startPersistence() { [ERROR] ^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method startPersistence() of type RebindManagerImpl must override or implement a supertype method [ERROR] ---------- [ERROR] 67. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 252) [ERROR] persistenceStoreAccess.enableWriteAccess(); [ERROR] ^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method enableWriteAccess() is undefined for the type BrooklynMementoPersister [ERROR] ---------- [ERROR] 68. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 257) [ERROR] public void stopPersistence() { [ERROR] ^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method stopPersistence() of type RebindManagerImpl must override or implement a supertype method [ERROR] ---------- [ERROR] 69. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 261) [ERROR] if (persistenceStoreAccess != null) persistenceStoreAccess.disableWriteAccess(true); [ERROR] ^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method disableWriteAccess(boolean) is undefined for the type BrooklynMementoPersister [ERROR] ---------- [ERROR] 70. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 267) [ERROR] public void startReadOnly() { [ERROR] ^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method startReadOnly() of type RebindManagerImpl must override or implement a supertype method [ERROR] ---------- [ERROR] 71. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 278) [ERROR] if (persistenceStoreAccess != null) persistenceStoreAccess.disableWriteAccess(true); [ERROR] ^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method disableWriteAccess(boolean) is undefined for the type BrooklynMementoPersister [ERROR] ---------- [ERROR] 72. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 283) [ERROR] rebind(null, null, ManagementNodeState.HOT_STANDBY); [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 73. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 293) [ERROR] rebind(null, null, ManagementNodeState.HOT_STANDBY); [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 74. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 318) [ERROR] readOnlyTask = (ScheduledTask) managementContext.getServerExecutionContext().submit( [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getServerExecutionContext() is undefined for the type ManagementContextInternal [ERROR] ---------- [ERROR] 75. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 323) [ERROR] public void stopReadOnly() { [ERROR] ^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method stopReadOnly() of type RebindManagerImpl must override or implement a supertype method [ERROR] ---------- [ERROR] 76. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 341) [ERROR] if (target==ManagementNodeState.HOT_STANDBY) { [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 77. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 405) [ERROR] public List<Application> rebind(ClassLoader classLoaderO, RebindExceptionHandler exceptionHandlerO, ManagementNodeState modeO) { [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method rebind(ClassLoader, RebindExceptionHandler, ManagementNodeState) of type RebindManagerImpl must override or implement a supertype method [ERROR] ---------- [ERROR] 78. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 417) [ERROR] if (mode!=ManagementNodeState.HOT_STANDBY && mode!=ManagementNodeState.MASTER) [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 79. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 422) [ERROR] ec = managementContext.getServerExecutionContext(); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getServerExecutionContext() is undefined for the type ManagementContextInternal [ERROR] ---------- [ERROR] 80. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 423) [ERROR] Task<List<Application>> task = ec.submit(new Callable<List<Application>>() { [ERROR] ^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method submit(TaskAdaptable<T>) in the type ExecutionContext is not applicable for the arguments (new Callable<List<Application>>(){}) [ERROR] ---------- [ERROR] 81. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 475) [ERROR] exceptionHandler.onStart(); [ERROR] ^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method onStart() is undefined for the type RebindExceptionHandler [ERROR] ---------- [ERROR] 82. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 479) [ERROR] if (mode==ManagementNodeState.HOT_STANDBY) { [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 83. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 510) [ERROR] if (mode==ManagementNodeState.HOT_STANDBY) [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 84. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 515) [ERROR] if (mode==ManagementNodeState.HOT_STANDBY) [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] 85. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/RebindManagerImpl.java> (at line 879) [ERROR] if (!isEmpty && mode!=ManagementNodeState.HOT_STANDBY) { [ERROR] ^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: HOT_STANDBY cannot be resolved or is not a field [ERROR] ---------- [ERROR] ---------- [ERROR] 86. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/PeriodicDeltaChangeListener.java> (at line 188) [ERROR] waitForPendingComplete(expiry.getDurationRemaining().minimum(Duration.ZERO).add(graceTimeoutForSubsequentOperations)); [ERROR] ^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method minimum(Duration) is undefined for the type Duration [ERROR] ---------- [ERROR] 87. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/PeriodicDeltaChangeListener.java> (at line 192) [ERROR] scheduledTask.blockUntilEnded(expiry.getDurationRemaining().minimum(Duration.ZERO).add(graceTimeoutForSubsequentOperations)); [ERROR] ^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method minimum(Duration) is undefined for the type Duration [ERROR] ---------- [ERROR] 88. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/PeriodicDeltaChangeListener.java> (at line 194) [ERROR] boolean reallyEnded = Tasks.blockUntilInternalTasksEnded(scheduledTask, expiry.getDurationRemaining().minimum(Duration.ZERO).add(graceTimeoutForSubsequentOperations)); [ERROR] ^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method minimum(Duration) is undefined for the type Duration [ERROR] ---------- [ERROR] 89. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/rebind/PeriodicDeltaChangeListener.java> (at line 252) [ERROR] return stopped || executionContext.isShutdown(); [ERROR] ^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method isShutdown() is undefined for the type ExecutionContext [ERROR] ---------- [ERROR] ---------- [ERROR] 90. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/entity/basic/Entities.java> (at line 1024) [ERROR] mgmt.getServerExecutionContext().submit(t).getUnchecked(); [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] [ERROR] no more tokens - could not parse error message: The method getServerExecutionContext() is undefined for the type ManagementContext [ERROR] ---------- [ERROR] ---------- [ERROR] 91. ERROR in <https://builds.apache.org/job/incubator-brooklyn-pull-requests/ws/core/src/main/java/brooklyn/util/internal/ssh/sshj/SshjTool.java> (at line 270) [ERROR] FileUtil.copyTo(contents, localFile); [ERROR] ^^^^^^ [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException channel stopped
