It should work compiling after 12:00 (at least in my tz). I suppose the
error could be connected to the regions which timezone changed and jodatime
doesn't "know" about it. Unfortunately, I don't remember the exact reason
of bug. But the failing test is of 10 lines length and can be fixed very
straightly with native Java calendar functions.

15 нояб. 2017 г. 6:28 ПП пользователь "Rafael Weingärtner" <
rafaelweingart...@gmail.com> написал:

> Thanks Ivan. When I have sometime I will take a look to change that.
> Semih, for now you can run:
>
> mvn clean install -Dmaven.test.skip=true
>
>
> On Wed, Nov 15, 2017 at 9:24 AM, Ivan Kudryavtsev <
> kudryavtsev...@bw-sw.com>
> wrote:
>
> > I know the bug, actually. Jodatime related bug. This test fails if
> > compiling before 12am, and stops fail after. It's really worth rewriting.
> > Our devs shown be the cause, but it's from java6 when time functions were
> > bad and jodatime required. They suggested rewrite to regular java from
> > jodatime.
> >
> >
> >
> > 15 нояб. 2017 г. 6:16 ПП пользователь "Rafael Weingärtner" <
> > rafaelweingart...@gmail.com> написал:
> >
> > > I checked the code and could not reproduce your error.
> > > Can you try to build again and see if it happens once more?
> > >
> > > On Wed, Nov 15, 2017 at 9:07 AM, Semih Tolga DEMİR <
> > > semihtolgade...@gmail.com> wrote:
> > >
> > > > Hi Rafael,
> > > >
> > > > I am not a developer but i like compile my own Ubuntu packages for
> 4.10
> > > > release, this is a standard 4.10 vanilla source code from cloudstack
> > web
> > > > site.
> > > >
> > > > Is there a way to skip this tests?
> > > >
> > > > Or how could i check this test case could you give me a clue?
> > > >
> > > > Or are there any difference for 4.9 source compile and 4.10 source
> > > compile
> > > > because i could successfully compile 4.9 on this server.
> > > >
> > > > Thanks,
> > > > Tolga
> > > >
> > > > 2017-11-15 13:38 GMT+03:00 Rafael Weingärtner <
> > > rafaelweingart...@gmail.com
> > > > >:
> > > >
> > > > > here is your error:
> > > > > > [ERROR] Failed to execute goal
> > > > > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
> > > > (default-test)
> > > > > on project cloud-plugin-database-quota: There are test failures.
> > > > > Then if you roll up, there is:
> > > > > > org.apache.cloudstack.api.response.QuotaResponseBuilderImplTest
> > > > > >
> > > > > testStartOfNextDay(org.apache.cloudstack.api.response.
> > > > > QuotaResponseBuilderImplTest)
> > > > > Time elapsed: 0.026 sec <<< FAILURE!
> > > > >
> > > > > And then:
> > > > > > Failed tests:
> > > > > > QuotaResponseBuilderImplTest.testStartOfNextDay:225 null
> > > > >
> > > > > Can you check this "test case" and see if it is relying on
> something
> > of
> > > > the
> > > > > environment, such as using "sleeps" or system calls?
> > > > >
> > > > > On Wed, Nov 15, 2017 at 7:00 AM, Semih Tolga DEMİR <
> > > > > semihtolgade...@gmail.com> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > You can see more details on this link.
> > > > > >
> > > > > > https://jpst.it/17vmL
> > > > > >
> > > > > > Thanks,
> > > > > > Tolga
> > > > > >
> > > > > > 2017-11-14 17:50 GMT+03:00 Rafael Weingärtner <
> > > > > rafaelweingart...@gmail.com
> > > > > > >:
> > > > > >
> > > > > > > Can you share more log entries with us?
> > > > > > >
> > > > > > > On Tue, Nov 14, 2017 at 12:45 PM, Semih Tolga DEMİR <
> > > > > > > semihtolgade...@gmail.com> wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I used source code compile guide for ACS 4.9 to compile ACS
> > 4.10
> > > > from
> > > > > > > > source code. I used jdk1.8 and I have a problem.
> > > > > > > >
> > > > > > > > Failure results are shown in below.
> > > > > > > > ...
> > > > > > > > [INFO] Apache CloudStack Developer Mode ..................
> > > SUCCESS
> > > > > > > [8.158s]
> > > > > > > > [INFO] Apache CloudStack Developer Tools .................
> > > SUCCESS
> > > > > > > [1.726s]
> > > > > > > > [INFO] Apache CloudStack apidocs .........................
> > > FAILURE
> > > > > > > > [12.202s]
> > > > > > > > [INFO] Apache CloudStack marvin ..........................
> > > SKIPPED
> > > > > > > > [INFO] Apache CloudStack DevCloud4 .......................
> > > SUCCESS
> > > > > > > [3.391s]
> > > > > > > > [INFO] Apache CloudStack DevCloud-KVM ....................
> > > SUCCESS
> > > > > > > [1.643s]
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------
> > > > > > ------------
> > > > > > > > [INFO] BUILD FAILURE
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------
> > > > > > ------------
> > > > > > > > [INFO] Total time: 22:59.584s (Wall Clock)
> > > > > > > > [INFO] Finished at: Tue Nov 14 16:49:43 EET 2017
> > > > > > > > [INFO] Final Memory: 103M/241M
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------
> > > > > > ------------
> > > > > > > > [ERROR] Failed to execute goal
> > > > > > > > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on
> > > > project
> > > > > > > > cloud-apidoc: Command execution failed. Process exited with
> an
> > > > > error: 1
> > > > > > > > (Exit value: 1) -> [Help 1]
> > > > > > > > [ERROR]
> > > > > > > > [ERROR] To see the full stack trace of the errors, re-run
> Maven
> > > > with
> > > > > > the
> > > > > > > -e
> > > > > > > > switch.
> > > > > > > > [ERROR] Re-run Maven using the -X switch to enable full debug
> > > > > logging.
> > > > > > > > [ERROR]
> > > > > > > > [ERROR] For more information about the errors and possible
> > > > solutions,
> > > > > > > > please read the following articles:
> > > > > > > > [ERROR] [Help 1]
> > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/
> > > > > > MojoExecutionException
> > > > > > > > [ERROR]
> > > > > > > > [ERROR] After correcting the problems, you can resume the
> build
> > > > with
> > > > > > the
> > > > > > > > command
> > > > > > > > [ERROR]   mvn <goals> -rf :cloud-apidoc
> > > > > > > > make[1]: *** [override_dh_auto_build] Error 1
> > > > > > > > make[1]: Leaving directory `/root/apache-cloudstack-4.10.
> > > 0.0-src'
> > > > > > > > make: *** [binary] Error 2
> > > > > > > > dpkg-buildpackage: error: debian/rules binary gave error exit
> > > > status
> > > > > 2
> > > > > > > > root@ubuntu14045ACS410jdk8:~/apache-cloudstack-4.10.0.0-src#
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Tolga
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Rafael Weingärtner
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Rafael Weingärtner
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> >
>
>
>
> --
> Rafael Weingärtner
>

Reply via email to