[JBoss JIRA] (JBTM-1900) Add test profiles to narayana.sh
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1900?page=com.atlassian.jira.plugin.... ]
Work on JBTM-1900 started by Gytis Trikleris.
> Add test profiles to narayana.sh
> --------------------------------
>
> Key: JBTM-1900
> URL: https://issues.jboss.org/browse/JBTM-1900
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M5
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Take example from narayana multi-job:
> {code}
> if [ "$TESTS" == "MAIN" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=1 RTS_AS_TESTS=1 RTS_TESTS=1 JTA_CDI_TESTS=1 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=0 BLACKTIE=0
> elif [ "$TESTS" == "XTS" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=1 XTS_TESTS=1 XTS_AS_TESTS=1 txbridge=1 QA_TESTS=0 BLACKTIE=0
> elif [ "$TESTS" == "QA_JTA" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=1 JAC_ORB=0 QA_TARGET=ci-tests-nojts BLACKTIE=0
> elif [ "$TESTS" == "QA_JTS_JACORB" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=0 JAC_ORB=1 QA_TARGET=ci-jts-tests BLACKTIE=0
> elif [ "$TESTS" == "QA_JTS_JDKORB" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=1 JAC_ORB=0 QA_TARGET=ci-jts-tests BLACKTIE=0
> elif [ "$TESTS" == "BLACKTIE" ]; then
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=0 BLACKTIE=1
> if [ "$label" == "linux64el5" ]; then
> export SKIP_VALGRIND=-Duse.valgrind=false
> fi
> fi
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (JBTM-1698) Make 2PC response body optional
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1698?focusedWorklogId=12429601&page=... ]
Gytis Trikleris logged work on JBTM-1698:
-----------------------------------------
Author: Gytis Trikleris
Created on: 28/Aug/13 10:58 AM
Start Date: 28/Aug/13 10:58 AM
Worklog Time Spent: 2 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 2 hours)
Time Spent: 2 hours
Worklog Id: (was: 12429601)
> Make 2PC response body optional
> -------------------------------
>
> Key: JBTM-1698
> URL: https://issues.jboss.org/browse/JBTM-1698
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: REST
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.0.0.M5
>
> Original Estimate: 2 hours
> Time Spent: 2 hours
> Remaining Estimate: 0 minutes
>
> If commit response body is empty but status=200, transaction should still be committed successfully.
> See: RESTRecord.doCommit
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (JBTM-1867) Confusing error logged after crash recovery on prepare when hornetq object store used
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-1867?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-1867:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Confusing error logged after crash recovery on prepare when hornetq object store used
> -------------------------------------------------------------------------------------
>
> Key: JBTM-1867
> URL: https://issues.jboss.org/browse/JBTM-1867
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JTS
> Affects Versions: 4.17.7, 5.0.0.M3
> Reporter: Ondřej Chaloupka
> Assignee: Michael Musgrove
> Fix For: 4.17.9, 5.0.0.M5
>
>
> There is logged an confusing error after crash recovery happens when server crashed in prepare phase.
> {code}
> 14:47:59,697 ERROR [stderr] (RequestProcessor-10) com.arjuna.ats.arjuna.exceptions.ObjectStoreException: java.lang.IllegalStateException: Cannot find add info 3
> 14:47:59,698 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqJournalStore.remove_committed(HornetqJournalStore.java:153)
> 14:47:59,698 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqObjectStoreAdaptor.remove_committed(HornetqObjectStoreAdaptor.java:186)
> 14:47:59,698 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ats.internal.jta.resources.jts.orbspecific.XAResourceRecord.destroyState(XAResourceRecord.java:1271)
> 14:47:59,699 INFO [org.jboss.as.test.jbossts.common.TestXAResourceCommon] (Periodic Recovery) TestXAResourceCommon.isSameRM(xaResource=TestXAResourceRecovered(TestXAResourceCommon(0, null)))
> 14:47:59,699 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ats.internal.jta.resources.jts.orbspecific.XAResourceRecord.rollback(XAResourceRecord.java:411)
> 14:47:59,699 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ArjunaOTS.OTSAbstractRecordPOA._invoke(OTSAbstractRecordPOA.java:213)
> 14:47:59,699 ERROR [stderr] (RequestProcessor-10) at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:306)
> 14:47:59,699 ERROR [stderr] (RequestProcessor-10) at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:626)
> 14:47:59,699 ERROR [stderr] (RequestProcessor-10) at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:769)
> 14:47:59,700 ERROR [stderr] (RequestProcessor-10) Caused by: java.lang.IllegalStateException: Cannot find add info 3
> 14:47:59,700 ERROR [stderr] (RequestProcessor-10) at org.hornetq.core.journal.impl.JournalImpl.appendDeleteRecord(JournalImpl.java:904)
> 14:47:59,700 ERROR [stderr] (RequestProcessor-10) at org.hornetq.core.journal.impl.JournalBase.appendDeleteRecord(JournalBase.java:163)
> 14:47:59,700 ERROR [stderr] (RequestProcessor-10) at org.hornetq.core.journal.impl.JournalImpl.appendDeleteRecord(JournalImpl.java:82)
> 14:47:59,701 ERROR [stderr] (RequestProcessor-10) at com.arjuna.ats.internal.arjuna.objectstore.hornetq.HornetqJournalStore.remove_committed(HornetqJournalStore.java:151)
> 14:47:59,701 ERROR [stderr] (RequestProcessor-10) ... 7 more
> {code}
> This happens when hornetq object store is used. This is caused because of the rollback is called on resource two times. This is ok - this matches to OTS spec (https://bugzilla.redhat.com/show_bug.cgi?id=988724).
> But after the second call of rollback the TM tries to remove Xid from object store. But as the xid does not exist anymore the hornetq object store implementation throws exception that is logged directly on stderr:
> XAResourceRecord.destroyState does e.printStackTrace()
> I would propose to put this exception to debug or trace as it does not mean error in fact.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (JBTM-1645) Allow pull requests to configure some parameters in scripts/hudson/narayana.sh
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1645?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1645:
----------------------------------
Remaining Estimate: 1 hour (was: 0 minutes)
> Allow pull requests to configure some parameters in scripts/hudson/narayana.sh
> ------------------------------------------------------------------------------
>
> Key: JBTM-1645
> URL: https://issues.jboss.org/browse/JBTM-1645
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M5
>
> Original Estimate: 4 hours
> Time Spent: 1 hour
> Remaining Estimate: 1 hour
>
> If the pull description has something like this:
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=1 TXF_TESTS=1 XTS_TESTS=1 XTS_AS_TESTS=1 txbridge=1 QA_TESTS=1 [SUN_ORB=0] [JAC_ORB=1] [QA_TARGET=ci-jts-tests]
> We could use it in scripts/hudson/narayana.sh if we detect it is a pull build. We might need to white list users we apply this to.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (JBTM-1645) Allow pull requests to configure some parameters in scripts/hudson/narayana.sh
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1645?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris updated JBTM-1645:
----------------------------------
Status: Open (was: Pull Request Sent)
> Allow pull requests to configure some parameters in scripts/hudson/narayana.sh
> ------------------------------------------------------------------------------
>
> Key: JBTM-1645
> URL: https://issues.jboss.org/browse/JBTM-1645
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: Tom Jenkinson
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M5
>
> Original Estimate: 4 hours
> Time Spent: 1 hour
> Remaining Estimate: 1 hour
>
> If the pull description has something like this:
> export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=1 TXF_TESTS=1 XTS_TESTS=1 XTS_AS_TESTS=1 txbridge=1 QA_TESTS=1 [SUN_ORB=0] [JAC_ORB=1] [QA_TARGET=ci-jts-tests]
> We could use it in scripts/hudson/narayana.sh if we detect it is a pull build. We might need to white list users we apply this to.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (JBTM-1900) Add test profiles to narayana.sh
by Gytis Trikleris (JIRA)
Gytis Trikleris created JBTM-1900:
-------------------------------------
Summary: Add test profiles to narayana.sh
Key: JBTM-1900
URL: https://issues.jboss.org/browse/JBTM-1900
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Build System
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Fix For: 5.0.0.M5
Take example from narayana multi-job:
{code}
if [ "$TESTS" == "MAIN" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=1 RTS_AS_TESTS=1 RTS_TESTS=1 JTA_CDI_TESTS=1 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=0 BLACKTIE=0
elif [ "$TESTS" == "XTS" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=1 XTS_TESTS=1 XTS_AS_TESTS=1 txbridge=1 QA_TESTS=0 BLACKTIE=0
elif [ "$TESTS" == "QA_JTA" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=1 JAC_ORB=0 QA_TARGET=ci-tests-nojts BLACKTIE=0
elif [ "$TESTS" == "QA_JTS_JACORB" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=0 JAC_ORB=1 QA_TARGET=ci-jts-tests BLACKTIE=0
elif [ "$TESTS" == "QA_JTS_JDKORB" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=1 SUN_ORB=1 JAC_ORB=0 QA_TARGET=ci-jts-tests BLACKTIE=0
elif [ "$TESTS" == "BLACKTIE" ]; then
export NARAYANA_BUILD=1 AS_BUILD=1 NARAYANA_TESTS=0 RTS_AS_TESTS=0 RTS_TESTS=0 JTA_CDI_TESTS=0 TXF_TESTS=0 XTS_TESTS=0 XTS_AS_TESTS=0 txbridge=0 QA_TESTS=0 BLACKTIE=1
if [ "$label" == "linux64el5" ]; then
export SKIP_VALGRIND=-Duse.valgrind=false
fi
fi
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months