[
https://issues.jboss.org/browse/JBTM-1199?page=com.atlassian.jira.plugin....
]
Tom Jenkinson commented on JBTM-1199:
-------------------------------------
The only way I have found to check an old version of the AS (but still having our commits
from 5_BRANCH) is as follows:
0. cd jboss-as
1. git checkout 5_BRANCH (assumes you haven't checked this out yet, if you already
have this such as by having ran scripts/hudson/narayana.sh
git checkout master
git branch -D 5-BRANCH
git checkout 5_BRANCH)
2. git pull --rebase --ff-only upstream master (to get up to date)
3. Go to:
https://github.com/jbossas/jboss-as/commits/master and find a commit you want to
check against, e.g one from July 3rd when build was still working:
https://github.com/jbossas/jboss-as/commit/55fca1401f399591d009c211205f2e...
4. Use this in a git rebase: git rebase -i 55fca1401f399591d009c211205f2e6ef94f876b^ (you
need the ^ to include that commit in the rebase)
5. delete all the commits after that commit (dd in vi) but leave our commits in at the
bottom of the rebase
6. You will get a rebase issue on the first one, simply open pom.xml and remove the
jbossjts part of pom.xml which came from HEAD -- grep in pom.xml for an "="
sign), then:
git add pom.xml
git rebase --continue
7. You should now be able to build the AS as per that commit but with our commits on top
MAVEN_OPTS=-XX:MaxPermSize=256m ./build.sh "$@" clean install -DskipTests
8. cd ../
9. export JBOSS_HOME=${WORKSPACE}/jboss-as/build/target/`ls -1
${WORKSPACE}/jboss-as/build/target | grep jboss-as`
10. ./build.sh -f XTS/localjunit/pom.xml --projects xtstest,crash-recovery-tests -Parq
"$@" clean install
-Dtest=TestATCrashDuringCommit#MultiParticipantPrepareAndCommitTest
After you have verified that that version works, try a later revision of AS, however you
will need to delete your local branch first! This will be tedious, so to reduce the number
of checks, the first thing to do is identify the day where a commit was added that broke
our build, then use a binary tree search style to cut down the options on that day.
Suggested commits to try:
https://github.com/jbossas/jboss-as/commit/2e2f1a7dfcebebb282987d2d8e2df4...
https://github.com/jbossas/jboss-as/commit/f2d65c311d67c61d953bd17c079f41...
Tom
XTS crash rec tests fail as "cannot shutdown jboss-as"
------------------------------------------------------
Key: JBTM-1199
URL:
https://issues.jboss.org/browse/JBTM-1199
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: XTS
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Fix For: 5.0.0.M2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira