IQSS logo

IRC log for #dataverse, 2019-08-19

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
08:13 stefankasberger joined #dataverse
10:13 pdurbin joined #dataverse
10:52 pdurbin stefankasberger: hi. I sent someone your way last week: http://irclog.iq.harvard.edu/dataverse/2019-08-16#i_102569 :)
11:04 stefankasberger Thanks!
11:04 pdurbin Sure. I'm still (slowly) hacking on the API Guide. I got distracted by a conference last week.
13:00 donsizemore joined #dataverse
13:13 pdurbin donsizemore: mornin'
13:13 donsizemore @pdurbin good morning sir, how are you
13:14 pdurbin Good! I went to an amazing demo of Quarkus on Saturday: https://devconfus2019.sched.com/event/RknJ/quarkus-brings-serverless-to-java-developers
13:15 donsizemore is it online anywhere?
13:16 pdurbin They recorded all the talks. I can't point you to the bits on GitHub he used if you want.
13:20 pdurbin donsizemore: oh, do you have any ideas on this "Failed to locate and/or open physical file" thread? https://groups.google.com/d/msg/dataverse-community/RwJg1v17DrE/WQcixjCtEAAJ
13:20 pdurbin I mean, I think the error is pretty descriptive.
13:20 pdurbin I more mean... how do we explain how to fix it?
13:31 donsizemore it reads like a bug report. but it isn't(?)
13:32 pdurbin Both Obi and Jamie are confused. I'm not surprised. I'm confused too. :)
13:37 pdurbin Are there any troubleshooting steps we could suggest?
13:39 donsizemore i'd want to see storageidentifier from dvobject for any file in question
13:39 pdurbin Sure.
13:40 donsizemore they're right to check files.dir, but are we to assume things worked prior to their upgrade?
13:40 pdurbin I'd hard to say. I'll reply about storageidentifier.
13:40 donsizemore let me try to reproduce this locally
13:41 donsizemore when you've got a minute, i do have a question
13:41 pdurbin Sent. Hit me.
13:42 donsizemore integration tests. i start here http://guides.dataverse.org/en/latest/developers/testing.html#integration-tests
13:43 donsizemore first subheading is API tests. check. second is the burrito key. dataverse-ansible can set that
13:43 donsizemore then...? we're firing off everything specified in the mvn call
13:44 pdurbin Heh. This is confusing too. We might need to back up a bit.
13:44 donsizemore this is why i don't have it running on dataverse-jenkins ;)
13:45 pdurbin Would it make sense to back up and work on https://github.com/IQSS/dataverse-ansible/issues/65 ?
13:46 donsizemore well, i can make ansible do that, but we've already got the api test suite firing in jenkins/docker
13:47 pdurbin Sure, I was just wondering if we should make sure we have the ansible version working first. I see something got merged but I don't remember trying it.
13:47 donsizemore there is also https://github.com/IQSS/dataverse-ansible/blob/master/tasks/dataverse-api-testsuite.yml
13:47 donsizemore i can fire that off now if you'd like. yes i'd like to unclear the logjam with testing, but wasn't sure exactly where to start.
13:48 pdurbin Sure, if it's easy, please go ahead and fire it off. Then we can see if you get similar test result artifacts that we get on the phoenix server stuff.
13:48 pdurbin Huh, our main Jenkins server seems to be down. :(
13:49 pdurbin anyway, I think stuff gets dumped in target/surefire-reports
14:09 donsizemore updated #65
14:10 pdurbin donsizemore: cool but that screenshot is of unit tests
14:12 donsizemore bah. it's pulling from target/surefire-reports/*.xml
14:14 pdurbin Gotcha. With phoenix I run the unit tests and integration tests in separate Jenkins jobs. I suppose this might mean that the "target" directory is different.
14:14 pdurbin Separate staged jobs, chained jobs, that only continue if the previous job passes.
14:15 donsizemore so is this an either/or, or do you want both?
14:16 pdurbin We already have a fair amount of automation of running unit tests. Travis builds pull requests, for example. What we don't have is much automation around integration tests.
14:17 pdurbin If you told me, "We now have automated integration tests but I don't the unit tests along the way" that would still be an enormous win.
14:17 pdurbin whoops
14:17 pdurbin If you told me, "We now have automated integration tests but I don't run the unit tests along the way" that would still be an enormous win.
14:25 donsizemore i tried wedging them both into the same job. testing now.
14:28 pdurbin sweet
17:53 donsizemore @pdurbin we're back on this again: [ERROR]   DatasetsIT.testCreateDeleteDatasetLink:1602 Expected status code <200> doesn't match actual status code <500>.  [INFO]  [ERROR] Tests run: 97, Failures: 1, Errors: 0, Skipped: 4
17:53 pdurbin 500 errors, bah
17:57 pdurbin So now what do we do? Do you want to try running it with fewer tests? They are enumerated in that "run api tests" script.
17:58 donsizemore i'm retracing step regarding the host OS since that's really the only difference
18:01 pdurbin Ok, I'm just thinking if you can complete a run with 3-5 of the IT test classes instead of all of them, it would be interested.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.