[jbossts-issues] [JBoss JIRA] (JBTM-1647) narayana.sh expects DB drivers to be available locally
Tom Jenkinson (JIRA)
jira-events at lists.jboss.org
Tue May 7 06:00:55 EDT 2013
[ https://issues.jboss.org/browse/JBTM-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson updated JBTM-1647:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> narayana.sh expects DB drivers to be available locally
> ------------------------------------------------------
>
> Key: JBTM-1647
> URL: https://issues.jboss.org/browse/JBTM-1647
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: Paul Robinson
> Assignee: Tom Jenkinson
> Fix For: 5.0.0.M3
>
>
> From talking to Jonathan and Mike, my understanding is that narayana.sh should wget the DB drivers from albany. Instead it relies on them being available in /home/hudson/dbdrivers. The problem with this approach is that it requires setting up every time we add a new machine in the pool, or add new drivers.
> Here's what happens when you run the Oracle JDBC job on a machine with no /home/hudson/dbdrivers:
> {code}
> Started by upstream project "jbossts-EAP61-jdbcobjectstore-haverstraw-oracle" build number 1
> originally caused by:
> Started by user anonymous
> Building remotely on haverstraw in workspace /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw
> Checkout:haverstraw / /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw - hudson.remoting.Channel at 4376502f:haverstraw
> Using strategy: Default
> Cloning the remote Git repository
> Cloning repository git://github.com/jbosstm/narayana.git
> git --version
> git version 1.7.1
> Fetching upstream changes from origin
> Commencing build of Revision dc53acf1f5faffeb92ecabba85a6877bc699ada0 (origin/4.17)
> Checking out Revision dc53acf1f5faffeb92ecabba85a6877bc699ada0 (origin/4.17)
> No change to record in branch origin/4.17
> [haverstraw] $ /bin/bash -xe /tmp/hudson5928481526507148318.sh
> + export ANT_HOME=/home/hudson/apache-ant-1.8.2
> + ANT_HOME=/home/hudson/apache-ant-1.8.2
> + export PATH=/home/hudson/apache-ant-1.8.2/bin:/usr/local/jdk1.6.0_37/bin:/usr/local/jdk1.6.0_37/bin:/usr/local/jdk1.7.0_09/bin:/usr/local/bin:/bin:/usr/bin
> + PATH=/home/hudson/apache-ant-1.8.2/bin:/usr/local/jdk1.6.0_37/bin:/usr/local/jdk1.6.0_37/bin:/usr/local/jdk1.7.0_09/bin:/usr/local/bin:/bin:/usr/bin
> + export MFACTOR=2
> + MFACTOR=2
> + rm -rf /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/ext/../qa/dbdrivers/
> + cd /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/
> + ant get.drivers -Ddriver.url=file:///home/hudson/dbdrivers
> Buildfile: /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/build.xml
> clean-dbdrivers:
> get.drivers:
> [mkdir] Created dir: /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/dbdrivers/oracle_10_2_0_4
> [get] Getting: file:/home/hudson/dbdrivers/ojdbc14.jar
> [get] To: /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/dbdrivers/oracle_10_2_0_4/ojdbc14.jar
> [get] Error getting file:/home/hudson/dbdrivers/ojdbc14.jar to /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/dbdrivers/oracle_10_2_0_4/ojdbc14.jar
> BUILD FAILED
> /home/hudson/workspace/jbossts-EAP61-jdbcobjectstore-haverstraw-oracle/DB_TYPE/oracle/jdk/jdk6.latest/slave/haverstraw/qa/build.xml:66: java.io.FileNotFoundException: /home/hudson/dbdrivers/ojdbc14.jar (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:120)
> at java.io.FileInputStream.<init>(FileInputStream.java:79)
> at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
> at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:660)
> at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
> at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)
> Total time: 0 seconds
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
> Sending e-mails to: gtrikler at redhat.com
> Finished: FAILURE
> {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
More information about the jbossts-issues
mailing list