int-dummy-pgsql - Build # 1627 - Still Unstable:

Check console output at https://ci.openbravo.com/job/int-dummy-pgsql/1627/ to 
view the results.


Committers since last success:

Changes for Build #1626

    Carlos Aristu <[email protected]> null
    fixes issue 34514: CachedPreference should implement Serializable
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java

    Carlos Aristu <[email protected]> null
    fixes issue 34499: CachedPreference feature does not support clustering

The CachedPreference was being used as a singleton which was keeping a set of 
preferences defined at System Level in a cache. Those values can be refreshed 
with the PreferenceEventHandler every time it detects a change. This mechanism 
was not valid for clustered environments because changes were being detected 
just on the node (JVM) where the event handler was executed.

To fix this problem we have modified the scope of the class from application to 
session. Thus, the cache will be initialized on every new session created on 
each node of the cluster.
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java

Changes for Build #1627

    Asier LostalĂ© <[email protected]> null
    fixed issue 34518: [clustering] different nodes detected as clones

  When working in a clustered environment, sys admin logins in different
  nodes where detected as cloned instances.

  MAC identifier is used as part of clone identifier, in case of clustering
  different nodes can have different MAC ids, so they were always detected
  as clones.

  Added a new "cluster" property, when it is set MAC address is not computed
  beacause it was not relevant in this situation.
        src/org/openbravo/erpCommon/utility/SystemInfo.java

    Carlos Aristu <[email protected]> null
    related to issue 34514: Prevent Null Pointer Exception
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java

    Carlos Aristu <[email protected]> null
    related to issue 34514: declare cachedPreference map as transient

By marking cachedPreference as transient we are preventing it to be transferred 
through the network as it will be lost intentionally when serialization 
converts the object state to serial bytes
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/CachedPreference.java




Last 20 lines of the console output:

[...truncated 3389 lines...]
   ...done.

executing script 'Check openbravo log'
[int-dummy-pgsql] $ /bin/bash /tmp/build_step_template8720407476608632615.sh 
ENABLE
DEBUG: Check openbravo log called with parameters: ENABLED=ENABLE

Errors in openbravo log (artifact: int-dummy-pgsql.log):
2016-11-15 14:15:07,340 [DefaultQuartzScheduler_Worker-2] ERROR 
org.openbravo.costing.CostingBackground - WELD-001303 No active contexts for 
scope type javax.enterprise.context.SessionScoped
2016-11-15 14:30:07,486 [DefaultQuartzScheduler_Worker-1] ERROR 
org.openbravo.costing.CostingBackground - WELD-001303 No active contexts for 
scope type javax.enterprise.context.SessionScoped

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-dummy-pgsql/SANDBOX/openbravo.log:
2016-11-15 14:15:07,340 [DefaultQuartzScheduler_Worker-2] ERROR 
org.openbravo.costing.CostingBackground - WELD-001303 No active contexts for 
scope type javax.enterprise.context.SessionScoped
2016-11-15 14:30:07,486 [DefaultQuartzScheduler_Worker-1] ERROR 
org.openbravo.costing.CostingBackground - WELD-001303 No active contexts for 
scope type javax.enterprise.context.SessionScoped
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to