--
You received this message because you are subscribed to a topic in the Google Groups "droid-list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/droid-list/6uDZ2ljJams/unsubscribe.
To unsubscribe from this group and all its topics, send an email to droid-list+...@googlegroups.com.
To post to this group, send email to droid...@googlegroups.com.
Visit this group at https://groups.google.com/group/droid-list.
For more options, visit https://groups.google.com/d/optout.
It shouldn't be permission issues since I am running this locally on my machine and have full root. As for which Github source, I took your suggestion and switched to g...@github.com:snail1966/droid.git
On Wed, Feb 17, 2016 at 10:04 AM, Brian O'Reilly wrote:
Hi John
Your build appears to fail on the same tests as before - have you ruled out permissions issues? Also, which Github source code location did you use last time round? You may get more information on the failure message if you run the maven build with the -e and -X switches.
Regards, Brian
On Tuesday, February 9, 2016 at 1:41:11 PM UTC, John Scancella wrote:
Sorry for getting back to you so late, work has been busy. I still get errors trying to build it using java 7 on my mac. Attached is the maven output.
On Tue, Feb 2, 2016 at 10:55 AM, Brian O'Reilly wrote:Also, these tests creates temporary directories (profiles and tmp) with files under droid-results - you'll need permission to create these directories and their contents.Regards, BrianOn Wednesday, January 27, 2016 at 2:35:46 PM UTC, John Scancella wrote:I tried to build DROID using maven and java 7 on my mac but it is failing tests. Attached are the results and the maven output during the build.--
You received this message because you are subscribed to a topic in the Google Groups "droid-list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/droid-list/6uDZ2ljJams/unsubscribe.
To unsubscribe from this group and all its topics, send an email to droid-list+...@googlegroups.com.
To post to this group, send email to droid...@googlegroups.com.
Visit this group at https://groups.google.com/group/droid-list.
For more options, visit https://groups.google.com/d/optout.
--~John Scancella
--
You received this message because you are subscribed to a topic in the Google Groups "droid-list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/droid-list/6uDZ2ljJams/unsubscribe.
To unsubscribe from this group and all its topics, send an email to droid-list+...@googlegroups.com.
To post to this group, send email to droid...@googlegroups.com.
Visit this group at https://groups.google.com/group/droid-list.
For more options, visit https://groups.google.com/d/optout.
--~John Scancella
Running uk.gov.nationalarchives.droid.profile.ProfileSpecToXmlPersistenceTest 2016-02-09 08:23:36,088 INFO [main] ProfileInstance:304 - Attempting state change [INITIALISING] to [STOPPED] 2016-02-09 08:23:36,091 INFO [pool-3-thread-1] ProfileInstance:304 - Attempting state change [RUNNING] to [FINISHED] 2016-02-09 08:23:36,289 INFO [main] ProfileInstance:304 - Attempting state change [INITIALISING] to [STOPPED] 2016-02-09 08:23:36,353 INFO [main] ProfileInstance:304 - Attempting state change [INITIALISING] to [STOPPED] Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.305 sec <<< FAILURE!
I have commented on the GitHub in the past that I (no an independent working with DROID) have also had issues building - in some cases due to regional differences, in others check style was failing.
First, within the code if you can find the specific test class: https://github.com/digital-preservation/droid/blob/1288e5b084ccb853d1efc779aecb3d279d2989cd/droid-results/src/test/java/uk/gov/nationalarchives/droid/profile/ProfileSpecToXmlPersistenceTest.java
As you do lots of Java development, I only write this for the benefit of others but can put an @ignore tag at the top of the tests there. This is at least better than skipping all tests across the project.
Second, looking at the code, I can see that there are a few places where the tests in that class are trying to write to the file system. Perhaps there are some permission issues there worth checking.
A suggestion is just to see if you can download the binary for DROID as a test and try to run the GUI - specifically once loaded - try and identify some files. A common issue is not being able to access the .droid six folder within your user directory. On Linux this is just /home/{user}/.droid6 - if this doesn't work you'll see the 'profile initializing' bar continue to work away - a sure sign there are permissions issues somewhere!
And so, if you can't write there it might be a clue as to why these two tests are failing.
If not then square one! ;) - As other tests are passing then I do have my doubts this will be the cause, but just to offer something constructive.
I'll be interested to know. I've been monitoring the thread with great interest.
Cheers,
Ross
221 Diff diff = new Diff(new StringReader(control), test);
222 assertTrue(diff.similar()); //This is where it is failing
--
You received this message because you are subscribed to a topic in the Google Groups "droid-list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/droid-list/6uDZ2ljJams/unsubscribe.
To unsubscribe from this group and all its topics, send an email to droid-list+...@googlegroups.com.
To post to this group, send email to droid...@googlegroups.com.
Visit this group at https://groups.google.com/group/droid-list.
For more options, visit https://groups.google.com/d/optout.