You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2006/07/19 00:43:14 UTC

[vfs] build failing

Any idea why VFS isn't building (passing its tests) at the moment?

Is it solveable?

Task for the nightly scripts - email when something fails :)

Hen

On 7/18/06, Henri Yandell (JIRA) <ji...@apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/VFS-71?page=comments#action_12421989 ]
>
> Henri Yandell commented on VFS-71:
> ----------------------------------
>
> Looks like it currently builds using Ant because the Maven build has the test errors you mentioned. I'm getting the same thing on my machine.
>
> I'll aim to get a snapshot jar into the repo tonight; either by hand or by telling the build to ignore errors or an outside chance of fixing errors (unlikely - I've never looked at the VFS code).
>
> Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Phil Steitz <ph...@gmail.com>.
On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> On 7/18/06, Phil Steitz <ph...@gmail.com> wrote:
> > On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> > > (Okay, so it has maven.test.failure.ignore=true already....question
> > > being why it's not passing its tests then?)
> > >
> > > On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> > > > Any idea why VFS isn't building (passing its tests) at the moment?
> > > >
> > > > Is it solveable?
> > > >
> > > > Task for the nightly scripts - email when something fails :)
> >
> > I thought about that, but a) I don't want us to get too comfortable
> > with this setup (would rather see us to get moving to m2 and channel
> > energy into Continuum)
>
> Yeah agreed. Any idea if anyone has ever tried to load the Commons
> stuff up into Continuum?
>
I did.  I got as far as trying to script the Ant builds and could not
get it to work quickly or figure out how to script loading all of the
metadata for the m1 builds or get the scheduler to work, so I punted
and hacked the current shell script to run under cron.  This should
all be very doable if someone has the time to play with it a little.
I just ran out of time on my "vacation" and wanted to get something
functional in place so reverted to bash + cron, mostly out of
ignorance of Continuum.

> > and b) I detest CI spam (personal preference).
>
> I detest things in SVN that don't build :)
>
> > That's why I made the logs available here
> > http://people.apache.org/~psteitz/commons-nightlies/
> > which is really what you want to look at when something fails.
>
> You have to know they're failing though.
>

Yes, yes, you are right, build failure notifications are good for the soul ;-)

> > Looks to me like VFS is still set up to run under Ant.
>
> I changed it earlier today.
>
> Hen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Henri Yandell <fl...@gmail.com>.
On 7/18/06, Phil Steitz <ph...@gmail.com> wrote:
> On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> > (Okay, so it has maven.test.failure.ignore=true already....question
> > being why it's not passing its tests then?)
> >
> > On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> > > Any idea why VFS isn't building (passing its tests) at the moment?
> > >
> > > Is it solveable?
> > >
> > > Task for the nightly scripts - email when something fails :)
>
> I thought about that, but a) I don't want us to get too comfortable
> with this setup (would rather see us to get moving to m2 and channel
> energy into Continuum)

Yeah agreed. Any idea if anyone has ever tried to load the Commons
stuff up into Continuum?

> and b) I detest CI spam (personal preference).

I detest things in SVN that don't build :)

> That's why I made the logs available here
> http://people.apache.org/~psteitz/commons-nightlies/
> which is really what you want to look at when something fails.

You have to know they're failing though.

> Looks to me like VFS is still set up to run under Ant.

I changed it earlier today.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Phil Steitz <ph...@gmail.com>.
On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> (Okay, so it has maven.test.failure.ignore=true already....question
> being why it's not passing its tests then?)
>
> On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> > Any idea why VFS isn't building (passing its tests) at the moment?
> >
> > Is it solveable?
> >
> > Task for the nightly scripts - email when something fails :)

I thought about that, but a) I don't want us to get too comfortable
with this setup (would rather see us to get moving to m2 and channel
energy into Continuum) and b) I detest CI spam (personal preference).
That's why I made the logs available here
http://people.apache.org/~psteitz/commons-nightlies/
which is really what you want to look at when something fails.

Looks to me like VFS is still set up to run under Ant.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Henri Yandell <fl...@gmail.com>.
(Okay, so it has maven.test.failure.ignore=true already....question
being why it's not passing its tests then?)

On 7/18/06, Henri Yandell <fl...@gmail.com> wrote:
> Any idea why VFS isn't building (passing its tests) at the moment?
>
> Is it solveable?
>
> Task for the nightly scripts - email when something fails :)
>
> Hen
>
> On 7/18/06, Henri Yandell (JIRA) <ji...@apache.org> wrote:
> >     [ http://issues.apache.org/jira/browse/VFS-71?page=comments#action_12421989 ]
> >
> > Henri Yandell commented on VFS-71:
> > ----------------------------------
> >
> > Looks like it currently builds using Ant because the Maven build has the test errors you mentioned. I'm getting the same thing on my machine.
> >
> > I'll aim to get a snapshot jar into the repo tonight; either by hand or by telling the build to ignore errors or an outside chance of fixing errors (unlikely - I've never looked at the VFS code).
> >
> > Hen
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Mario Ivankovits <ma...@ops.co.at>.
Hi Phil!

Sorry for being late, too much happened lately.

> Another thing we can look into is getting the vmbuild server
> configured so that the tests will run.  As long as this can be done
> securely, and you have some docs (or script) on what to do, I can help
> with that.
Yes, this will be great.
I'll setup a documentation and send it to you through pm if you don't mind.

Generally I think this VM should not use a persistent filesytem, its no
problem if it starts over every time it is restarted - in fact, I'd
appreciate this behavior.

Security might be a little problem. I have to setup a properties file
with username/password which will be used to login to the various
services. So the best will be if the vm is not reachable from anything
else than the build system. I can setup its own firewall for this.
Though, if it is not persistent it should not be that a problem.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Phil Steitz <ph...@gmail.com>.
On 7/19/06, Mario Ivankovits <ma...@ops.co.at> wrote:
> Hi Henri!
> > Any idea why VFS isn't building (passing its tests) at the moment?
> The VFS tests require a special server setup with some services active
> like samba, ftp, etc.
> I have a VMWare image with all setup, but didnt find a location in
> Apache were we can start it for the build tests.
>
> So for VFS we have to disable the tests. I propose to use
> -Dmaven.test.skip=true for now. Maybe later we can have a look to create
> a maven profile to separate the local tests and network tests. Then we
> can have at least the local tests with the nightly builds.

The build nightly build script could be hacked to do this for VFS, but
I would prefer to see it fixed in svn, or made to work in one of the
following ways

1) Change project.xml or project.properties to omit the tests that fail
2) Change the tests classes to detect the necessary environment setup
and skip the test cases depending on missing services
3) Find a way to mock the required services

I think 2) or 3) would be helpful for developers who want to build VFS.

Another thing we can look into is getting the vmbuild server
configured so that the tests will run.  As long as this can be done
securely, and you have some docs (or script) on what to do, I can help
with that.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] build failing

Posted by Mario Ivankovits <ma...@ops.co.at>.
Hi Henri!
> Any idea why VFS isn't building (passing its tests) at the moment?
The VFS tests require a special server setup with some services active
like samba, ftp, etc.
I have a VMWare image with all setup, but didnt find a location in
Apache were we can start it for the build tests.

So for VFS we have to disable the tests. I propose to use
-Dmaven.test.skip=true for now. Maybe later we can have a look to create
a maven profile to separate the local tests and network tests. Then we
can have at least the local tests with the nightly builds.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org