On Mon, Nov 25, 2019 at 8:34 AM Santosh Math <
[email protected]> wrote:

> Okay. I just fetched latest code from develop branch and the build is
> failed again. Attached the error log.
>

I dont know what is wrong here. I just build the latest code on develop and
it runs in Dev Mode. Can you clone a fresh copy of Fineract backend and run
again..cus I dont know how we are hacing mixed results.

>
> Can we update our following staging servers for testing?
>
> https://mobile.openmf.org/
> https://staging.openmf.org/
>
> On Mon, Nov 25, 2019 at 12:48 PM Michael Vorburger <[email protected]>
> wrote:
>
>> On Sun, Nov 24, 2019 at 11:14 PM Santosh Math <
>> [email protected]> wrote:
>>
>>> Hi Michael,
>>> I fetched latest code from Apache Fineract develop branch on Friday.
>>> Later, I run "./gradlew clean tomcatrunwar" in Fineract folder. I did it in
>>> an empty database and the build was successful. Later, I cherry-picked some
>>> commits build was failing and then removed those commits and again I
>>> run "./gradlew clean tomcatrunwar" and it was successful.
>>> When I tried today morning. The  build failed.
>>>
>>
>> Strange, because on Travis CI it actually passes (now; after another
>> problem was just fixed).
>>
>>
>> On Mon, Nov 25, 2019 at 10:54 AM Michael Vorburger <[email protected]>
>>> wrote:
>>>
>>>> On Sun, Nov 24, 2019 at 9:05 PM Santosh Math <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Awasum,
>>>>> Thank you.  By the way, today I pulled the fresh code from develop
>>>>> branch of Apache Fineract and the build is getting failed. I was able to
>>>>> build develop branch code successfully on Friday.
>>>>> I attached the error log.
>>>>>
>>>>
>>>> I'm trying to reproduce this, but so far cannot... the "build" as in
>>>> "./gradlew clean war" works, right? And "./gradlew tomcatRunWAR" also seems
>>>> to start fine, for me. (Haven't actually used it, just saying there are no
>>>> errors on start up.) Even "./gradlew clean integrationTest" passes, for me.
>>>>
>>>> Note that I'm running with the latest develop, including the Spring
>>>> upgrade PR from Ivan, which I merged a few hours ago.
>>>>
>>>> Perhaps you'd like to share details / steps of what commands you are
>>>> running?
>>>>
>>>>
>>>>
>>>>> On Mon, Nov 25, 2019 at 8:01 AM Michael Vorburger <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> I merged the Spring upgrade PR a few hours ago today, so this is now
>>>>>> on develop.
>>>>>>
>>>>>> On Fri, 22 Nov 2019, 04:40 Awasum Yannick, <[email protected]> wrote:
>>>>>>
>>>>>>> Hi Santosh,
>>>>>>>
>>>>>>> On the develop branch of Fineract on your machine, run the following
>>>>>>> to get the Spring Boot upgrade PR:
>>>>>>>
>>>>>>> 1.) git checkout -b ivan333m-develop develop
>>>>>>> 2.) git pull https://github.com/ivan333m/fineract.git develop
>>>>>>> You should now be on the branch : ivan333m-develop
>>>>>>>
>>>>>>> make sure your DB is clean so flyway migration can happen as this PR
>>>>>>> has a migration update. If you already have mifos x installed on your 
>>>>>>> local
>>>>>>> system, this wont work as Mifos X has DB migration number reaching V5000
>>>>>>> and Fineract ends at Db V352 or something like that. Use Docker to spin 
>>>>>>> up
>>>>>>> a new mysql instance and stop your host mysql if it contains important 
>>>>>>> data
>>>>>>> for other tests.
>>>>>>>
>>>>>>> You should now be able to run the following if your DBs have been
>>>>>>> created:
>>>>>>> ./gradlew clean build and ./gradlew clean tomcatRunWar
>>>>>>>
>>>>>>> This will pull a new gradle version and new spring 2.1.7 packages
>>>>>>> and dependencies to your local system. if all goes well, you should have
>>>>>>> your system up in a dev env setting.
>>>>>>>
>>>>>>> I hope this helps you review easily. Is there a better way to do
>>>>>>> this PR reviews on Fineract 1.x?
>>>>>>>
>>>>>>> Thanks.
>>>>>>> Awasum
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Nov 22, 2019 at 1:17 PM Santosh Math <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi Awasum,
>>>>>>>> First, I fetched the latest code from develop branch of
>>>>>>>> Apache/Fineract into my local machine. Then, I cherry-picked the
>>>>>>>> following commits into my local machine before running integration 
>>>>>>>> test.
>>>>>>>>
>>>>>>>> https://github.com/ivan333m/fineract/commit/1e0e6ca3e749c7408c610f54791f7ec68910e655
>>>>>>>>
>>>>>>>> https://github.com/ivan333m/fineract/commit/1d9176505b1aec16c6c7a5065f73775728e31dab
>>>>>>>>
>>>>>>>> https://github.com/ivan333m/fineract/commit/33acc37a764b5b30fce5cbfa8b34239680d2c381
>>>>>>>>
>>>>>>>> However, I checked build.gradle file and it's still 1.x as you
>>>>>>>> said. How to upgrade it? I did "./gradlew -Penv=dev clean cleanEclipse
>>>>>>>> eclipse"
>>>>>>>>  and getting the following error:
>>>>>>>>
>>>>>>>>  FAILURE: Build failed with an exception.
>>>>>>>>
>>>>>>>> * Where:
>>>>>>>> Script
>>>>>>>> '/home/conflux/fineract/fineract/fineract-provider/dev-dependencies.gradle'
>>>>>>>> line: 30
>>>>>>>>
>>>>>>>> * What went wrong:
>>>>>>>> A problem occurred evaluating script.
>>>>>>>> > Could not find method providedCompile() for arguments [] on
>>>>>>>> object of type
>>>>>>>> org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
>>>>>>>>
>>>>>>>> * Try:
>>>>>>>> Run with --stacktrace option to get the stack trace. Run with
>>>>>>>> --info or --debug option to get more log output. Run with --scan to get
>>>>>>>> full insights.
>>>>>>>>
>>>>>>>> * Get more help at https://help.gradle.org
>>>>>>>>
>>>>>>>> BUILD FAILED in 7s
>>>>>>>>
>>>>>>>> On Fri, Nov 22, 2019 at 5:20 PM Awasum Yannick <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Santosh,
>>>>>>>>>
>>>>>>>>> Your logs show you are using spring boot 1.x and spring 4.x. I am
>>>>>>>>> not sure you are using right PR. we have not yet merged the PR for the
>>>>>>>>> upgrade. See here: https://github.com/apache/fineract/pull/642
>>>>>>>>>
>>>>>>>>> We simply requested more people to test the PR to make sure most
>>>>>>>>> things are working correctly before we merge, especially the spring
>>>>>>>>> security aspect of things.
>>>>>>>>>
>>>>>>>>> So pull the PR locally and test to see if all is fine.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>> Awasum
>>>>>>>>>
>>>>>>>>> On Fri, Nov 22, 2019 at 12:35 PM Santosh Math <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>> I am doing  Integration test locally and the commit,
>>>>>>>>>> "FINERACT-724 disable csrf on oauth configuration" causing the build 
>>>>>>>>>> to
>>>>>>>>>> fail and I have attached the error log with this mail.
>>>>>>>>>>
>>>>>>>>>> However, the other two commits - "FINERACT-724 fix oauth
>>>>>>>>>> configuration" & "FINERACT-724 fix travis build after spring version
>>>>>>>>>> migration" - Currently, Integration test is going on and let you 
>>>>>>>>>> know soon.
>>>>>>>>>>
>>>>>>>>>> Let me know if I am missing anything.
>>>>>>>>>>
>>>>>>>>>> On Thu, Nov 21, 2019 at 5:17 PM Awasum Yannick <[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi All,
>>>>>>>>>>>
>>>>>>>>>>> We now have Travis passing again for
>>>>>>>>>>> https://github.com/apache/fineract/pull/642
>>>>>>>>>>>
>>>>>>>>>>> This is ready to go, I think.
>>>>>>>>>>>
>>>>>>>>>>> One thing I have not done is to test the security aspect to make
>>>>>>>>>>> sure the upgrade to spring boot 2.1.7 has not caused any problems.
>>>>>>>>>>>
>>>>>>>>>>> Please, will a few people help to test the PR locally,
>>>>>>>>>>> especially the spring security side of things. Probably by end of 
>>>>>>>>>>> day or
>>>>>>>>>>> tomorrow, I will merge the PR and if there are any subsequent 
>>>>>>>>>>> issues, we
>>>>>>>>>>> can fix in the coming days and weeks.
>>>>>>>>>>>
>>>>>>>>>>> This is critical for Fineract 1.x, we have always been using
>>>>>>>>>>> spring boot 1.2 (Spring 4.x). This new PR upgrades Fineract 1.x to 
>>>>>>>>>>> Spring
>>>>>>>>>>> Boot 2.1.7 (Spring 5.x). This is a major change and I encourage 
>>>>>>>>>>> more people
>>>>>>>>>>> to test this.
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>> Awasum
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Nov 21, 2019 at 12:37 PM Awasum Yannick <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Ivan,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Nov 21, 2019 at 10:26 AM Ivan Bondarenko <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi, Ed, Awasum, All
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1) My tests are passing locally, I have ran it many times.
>>>>>>>>>>>>> 2) My local machine has really powerful configuration. I think
>>>>>>>>>>>>> there is some race conditions in the integration tests that cause 
>>>>>>>>>>>>> the
>>>>>>>>>>>>> random test fail.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> I noticed this. Even on Travis you see some Optimistic locking
>>>>>>>>>>>> problems once in  a while. Maybe an issue should be created for 
>>>>>>>>>>>> this?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> 3) Awasum, I have just connected mifos-comunity app to the
>>>>>>>>>>>>> upgraded version of the back-endand it works fine.
>>>>>>>>>>>>> Do you use basic auth mode? If not please update the code. I
>>>>>>>>>>>>> have just committed fix for oauth config, hope it helps.
>>>>>>>>>>>>> If you use basic - could you confirm that
>>>>>>>>>>>>> `V353__migrate_passwords_to_ss_5.sql` was executed on startup?
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Yes,..I missed this..I was using my old DB for testing which
>>>>>>>>>>>> had flyway versions above 353 and so could not log in. I used a 
>>>>>>>>>>>> clean DB
>>>>>>>>>>>> now and i can login from UI. Thanks Ivan.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> PS: Unfortunately I have found that integration tests have
>>>>>>>>>>>>> bugs and some critical cases are not covered, examples :
>>>>>>>>>>>>> 1) As I can see
>>>>>>>>>>>>> `HookIntegrationTest.shouldSendOfficeCreationNotification` will 
>>>>>>>>>>>>> pas in any
>>>>>>>>>>>>> case, it has no assertions(just "sout" logging)
>>>>>>>>>>>>> 2) I can't find tests with oauth config
>>>>>>>>>>>>> 3) Can't find test for documents and image uploads
>>>>>>>>>>>>> 4) I think there is some race conditions on job execution and
>>>>>>>>>>>>> job's status checks in integration tests. (I hope get it wrong)
>>>>>>>>>>>>>
>>>>>>>>>>>>> I will create jira issues for found problems, but a little bit
>>>>>>>>>>>>> later. (If someone confirm the described issues it would be really
>>>>>>>>>>>>> helpfull)
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> You are right on all the above. Go ahead and create issues on
>>>>>>>>>>>> Jira for these.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks for your contributions and patience, Ivan.
>>>>>>>>>>>>
>>>>>>>>>>>> чт, 21 нояб. 2019 г. в 09:51, Awasum Yannick <[email protected]
>>>>>>>>>>>>> >:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I left some review comments here:
>>>>>>>>>>>>>> https://github.com/apache/fineract/pull/642#issuecomment-556962459
>>>>>>>>>>>>>> on why Travis is failing and also problems when connecting
>>>>>>>>>>>>>> the front end to the upgraded (Spring 5.x) Fineract branch/PR.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Any ideas?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wed, Nov 20, 2019 at 11:18 PM Ed Cable <[email protected]>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I just wanted to follow up on this as we're trying to wrap
>>>>>>>>>>>>>>> up the 1.4 release and bring it to a vote.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Ed
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Nov 15, 2019 at 12:01 PM Ed Cable <[email protected]>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Michael and Ivan,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So we can ship the 1.4 release on time, I wanted to inquire
>>>>>>>>>>>>>>>> about the status of merging
>>>>>>>>>>>>>>>> https://github.com/apache/fineract/pull/642
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Is there anything blocking it? It looks like Ivan's test
>>>>>>>>>>>>>>>> are passing locally but the build is still failing.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Once that's merged, I believe we can then merge
>>>>>>>>>>>>>>>> https://github.com/apache/fineract/pull/649
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> THanks,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Ed
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Ed Cable*
>>>>>>>>>>>>>>> President/CEO, Mifos Initiative
>>>>>>>>>>>>>>> [email protected] | Skype: edcable | Mobile: +1.484.477.8649
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *Collectively Creating a World of 3 Billion Maries | *
>>>>>>>>>>>>>>> http://mifos.org  <http://facebook.com/mifos>
>>>>>>>>>>>>>>> <http://www.twitter.com/mifos>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks & Regards
>>>>>>>>>>
>>>>>>>>>> Santosh Math
>>>>>>>>>>
>>>>>>>>>> *QA Engineer*
>>>>>>>>>>
>>>>>>>>>> *Conflux Technologies Pvt Ltd
>>>>>>>>>> <http://www.confluxtechnologies.com/>*
>>>>>>>>>> | *Office*: +91-080-41208662 |
>>>>>>>>>>
>>>>>>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st
>>>>>>>>>> Block, Bengaluru, Karnataka, 560043 INDIA
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks & Regards
>>>>>>>>
>>>>>>>> Santosh Math
>>>>>>>>
>>>>>>>> *QA Engineer*
>>>>>>>>
>>>>>>>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
>>>>>>>> | *Office*: +91-080-41208662 |
>>>>>>>>
>>>>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>>>>>>>> Bengaluru, Karnataka, 560043 INDIA
>>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards
>>>>>
>>>>> Santosh Math
>>>>>
>>>>> *QA Engineer*
>>>>>
>>>>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
>>>>> | *Office*: +91-080-41208662 |
>>>>>
>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>>>>> Bengaluru, Karnataka, 560043 INDIA
>>>>>
>>>>
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Santosh Math
>>>
>>> *QA Engineer*
>>>
>>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
>>> | *Office*: +91-080-41208662 |
>>>
>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>>> Bengaluru, Karnataka, 560043 INDIA
>>>
>>
>
> --
> Thanks & Regards
>
> Santosh Math
>
> *QA Engineer*
>
> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
> | *Office*: +91-080-41208662 |
>
> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
> Bengaluru, Karnataka, 560043 INDIA
>

Reply via email to