You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David James <ja...@gmail.com> on 2005/10/15 22:35:34 UTC

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

On 10/15/05, svntest@jaa.iki.fi <sv...@jaa.iki.fi> wrote:
> swig-rb: trunk r16724 on x86_64-unknown-linux-gnu shared
> TIME: 2005-10-15 02:19:11 -0600
>
> PASS: swig-rb::check build type
>
> /srv/svntest/svntest/config.shared:
> #!/bin/sh
> # /srv/svntest/svntest/config.shared
> #
>     "/srv/svntest/svntest/svn/svn_trunk/configure" \
>         "--prefix=/srv/svntest/svntest/inst/svn_trunk" \
>         "--with-apr=/srv/svntest/svntest/inst/apr-0.9.x/bin/apr-config" \
>         "--with-apr-util=/srv/svntest/svntest/inst/apu-0.9.x-db43/bin/apu-config" \
>         "--with-apxs=/srv/svntest/svntest/inst/httpd-2.0.x/bin/apxs" \
>         "--with-pic" \
>         "--with-swig" \
>         "--enable-javahl" \
>         "--with-junit=/opt/junit/3.8.1/junit.jar" \
>         "$@"
>
> PASS: swig-rb::build
>
> Last 100 lines of the log file follow:
> cd /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby; \
>   /usr/bin/ruby -I /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby \
>     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/run-test.rb \
>     --verbose=normal
> Loaded suite test
> Started
> .....................FF....F................................................................................E..........
> Finished in 297.127981 seconds.
>   1) Failure:
> test_merge(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:701]:
> <false> is not true.
>
>   2) Failure:
> test_merge_peg(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:748]:
> <false> is not true.
It looks like these failures were caused by the wc-replacements branch merge.

Here's a test case:
  rm -rf repo wc
  svnadmin create repo
  svn co file://`pwd`/repo wc
  cd wc
  touch sample.txt
  svn add sample.txt
  svn commit -m ""
  svn rm sample.txt
  svn revert sample.txt
  svn commit -m ""

After running the above commands, we delete sample.txt (even though we
reverted the delete).

>   3) Failure:
> test_move_force(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:964]:
> <["/svntest/obj-sh/subversion/bindings/swig/ruby/test/wc/sample2.txt",
>  "test/wc/sample1.txt",
>  "test/wc/sample2.txt"]> expected but was
> <["test/wc/sample1.txt", "test/wc/sample2.txt"]>.
Anyone know what causes this problem?

>   4) Error:
> test_adm_access(SvnWcTest):
> Svn::Error::WC_BAD_ADM_LOG: /srv/svntest/svntest/svn/svn_trunk/subversion/libsvn_wc/log.c:346 In directory 'test/wc/dir'
> Error processing command 'set-timestamp' in 'test/wc/dir'
> Missing 'timestamp' attribute in 'test/wc/dir'
>     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `svn_wc_revert2'
>     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `revert2'
>     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in `revert'
>     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in `test_adm_access'

This looks like it's related to the bug in revert.


--
David James -- http://www.cs.toronto.edu/~james

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/16/05, Philip Martin <ph...@codematters.co.uk> wrote:
> Erik Huelsmann <eh...@gmail.com> writes:
>
> > On 10/16/05, David James <ja...@gmail.com> wrote:
> >> This looks like it's related to the bug in revert.
> >
> > Does r16740 fix the problem?
>
> It would be better if this was covered by the main regression tests,
> perhaps basic_revert in basic_tests.py?

Absolutely. I'm busy fixing another bug, but will see to write a test
after that.

Invitation to *any*body else: please write the testcase for me, I'm
actually very busy doing something different.


bye,


Erik.

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by Philip Martin <ph...@codematters.co.uk>.
Erik Huelsmann <eh...@gmail.com> writes:

> On 10/16/05, David James <ja...@gmail.com> wrote:
>> This looks like it's related to the bug in revert.
>
> Does r16740 fix the problem?

It would be better if this was covered by the main regression tests,
perhaps basic_revert in basic_tests.py?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by David James <ja...@gmail.com>.
On 10/16/05, Erik Huelsmann <eh...@gmail.com> wrote:
> > > > >   4) Error:
> > > > > test_adm_access(SvnWcTest):
> > > > > Svn::Error::WC_BAD_ADM_LOG: /srv/svntest/svntest/svn/svn_trunk/subversion/libsvn_wc/log.c:346 In directory 'test/wc/dir'
> > > > > Error processing command 'set-timestamp' in 'test/wc/dir'
> > > > > Missing 'timestamp' attribute in 'test/wc/dir'
> > > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `svn_wc_revert2'
> > > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `revert2'
> > > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in `revert'
> > > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in `test_adm_access'
> > > >
> > > > This looks like it's related to the bug in revert.
> > >
> > > Does r16740 fix the problem?
> > It helps! There are only two errors left now. Reverting the
> > wc-replacements branch merge solves them.
>
> Ok. r16743 should fix the other revert-related failure. (Does it?)
Yes, it is fixed!

> I don't understand the last failure though.

There is only one problem now. The Ruby bindings replaces a file
called sample2.txt with a file called sample1.txt, and builds a list
of files which are affected by a commit using the "notify_func2"
callback. Before wc-replacements, this list of files was
  /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/wc/sample2.txt
  test/wc/sample1.txt
  test/wc/sample2.txt

After wc-replacements, this list of files is:
  test/wc/sample1.txt
  test/wc/sample2.txt

It looks like you fixed a bug in commit, and the tests have detected
this. If so, I will fix this by simply marking the new list of files
as correct. Should I do this?

Cheers,

David


--
David James -- http://www.cs.toronto.edu/~james

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by Erik Huelsmann <eh...@gmail.com>.
> > > >   4) Error:
> > > > test_adm_access(SvnWcTest):
> > > > Svn::Error::WC_BAD_ADM_LOG: /srv/svntest/svntest/svn/svn_trunk/subversion/libsvn_wc/log.c:346 In directory 'test/wc/dir'
> > > > Error processing command 'set-timestamp' in 'test/wc/dir'
> > > > Missing 'timestamp' attribute in 'test/wc/dir'
> > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `svn_wc_revert2'
> > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `revert2'
> > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in `revert'
> > > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in `test_adm_access'
> > >
> > > This looks like it's related to the bug in revert.
> >
> > Does r16740 fix the problem?
> It helps! There are only two errors left now. Reverting the
> wc-replacements branch merge solves them.

Ok. r16743 should fix the other revert-related failure. (Does it?)

I don't understand the last failure though.

bye,


Erik.

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by David James <ja...@gmail.com>.
On 10/15/05, Erik Huelsmann <eh...@gmail.com> wrote:
> On 10/16/05, David James <ja...@gmail.com> wrote:
> > On 10/15/05, svntest@jaa.iki.fi <sv...@jaa.iki.fi> wrote:
> > > swig-rb: trunk r16724 on x86_64-unknown-linux-gnu shared
> > > TIME: 2005-10-15 02:19:11 -0600
> > >
> > > PASS: swig-rb::check build type
> > >
> > > /srv/svntest/svntest/config.shared:
> > > #!/bin/sh
> > > # /srv/svntest/svntest/config.shared
> > > #
> > >     "/srv/svntest/svntest/svn/svn_trunk/configure" \
> > >         "--prefix=/srv/svntest/svntest/inst/svn_trunk" \
> > >         "--with-apr=/srv/svntest/svntest/inst/apr-0.9.x/bin/apr-config" \
> > >         "--with-apr-util=/srv/svntest/svntest/inst/apu-0.9.x-db43/bin/apu-config" \
> > >         "--with-apxs=/srv/svntest/svntest/inst/httpd-2.0.x/bin/apxs" \
> > >         "--with-pic" \
> > >         "--with-swig" \
> > >         "--enable-javahl" \
> > >         "--with-junit=/opt/junit/3.8.1/junit.jar" \
> > >         "$@"
> > >
> > > PASS: swig-rb::build
> > >
> > > Last 100 lines of the log file follow:
> > > cd /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby; \
> > >   /usr/bin/ruby -I /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby \
> > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/run-test.rb \
> > >     --verbose=normal
> > > Loaded suite test
> > > Started
> > > .....................FF....F................................................................................E..........
> > > Finished in 297.127981 seconds.
> > >   1) Failure:
> > > test_merge(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:701]:
> > > <false> is not true.
> > >
> > >   2) Failure:
> > > test_merge_peg(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:748]:
> > > <false> is not true.
> > It looks like these failures were caused by the wc-replacements branch merge.
> >
> > Here's a test case:
> >   rm -rf repo wc
> >   svnadmin create repo
> >   svn co file://`pwd`/repo wc
> >   cd wc
> >   touch sample.txt
> >   svn add sample.txt
> >   svn commit -m ""
> >   svn rm sample.txt
> >   svn revert sample.txt
> >   svn commit -m ""
> >
> > After running the above commands, we delete sample.txt (even though we
> > reverted the delete).
> >
> > >   3) Failure:
> > > test_move_force(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:964]:
> > > <["/svntest/obj-sh/subversion/bindings/swig/ruby/test/wc/sample2.txt",
> > >  "test/wc/sample1.txt",
> > >  "test/wc/sample2.txt"]> expected but was
> > > <["test/wc/sample1.txt", "test/wc/sample2.txt"]>.
> > Anyone know what causes this problem?
> >
> > >   4) Error:
> > > test_adm_access(SvnWcTest):
> > > Svn::Error::WC_BAD_ADM_LOG: /srv/svntest/svntest/svn/svn_trunk/subversion/libsvn_wc/log.c:346 In directory 'test/wc/dir'
> > > Error processing command 'set-timestamp' in 'test/wc/dir'
> > > Missing 'timestamp' attribute in 'test/wc/dir'
> > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `svn_wc_revert2'
> > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `revert2'
> > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in `revert'
> > >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in `test_adm_access'
> >
> > This looks like it's related to the bug in revert.
>
> Does r16740 fix the problem?
It helps! There are only two errors left now. Reverting the
wc-replacements branch merge solves them.

I haven't figured out if these test results are correct or if they
point to a problem.

  1) Failure:
 test_move_force(SvnClientTest)
[/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/test_client.rb:966]:
<["/nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/wc/sample2.txt",
 "test/wc/sample1.txt",
 "test/wc/sample2.txt"]> expected but was
<["test/wc/sample1.txt", "test/wc/sample2.txt"]>.

  2) Error:
test_adm_access(SvnWcTest):
Svn::Error::WC_BAD_ADM_LOG: subversion/libsvn_wc/log.c:346 In
directory 'test/wc/dir'
Error processing command 'set-timestamp' in 'test/wc/dir'
Missing 'timestamp' attribute in 'test/wc/dir'
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in
`svn_wc_revert2'
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in
`revert2'
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in
`revert2'
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in
`revert'
    /nobackup/clgrp/james/trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in
`test_adm_access'

Cheers,

David
--
David James -- http://www.cs.toronto.edu/~james

Re: swig-rb trunk r16724: FAIL (x86_64-unknown-linux-gnu shared)

Posted by Erik Huelsmann <eh...@gmail.com>.
On 10/16/05, David James <ja...@gmail.com> wrote:
> On 10/15/05, svntest@jaa.iki.fi <sv...@jaa.iki.fi> wrote:
> > swig-rb: trunk r16724 on x86_64-unknown-linux-gnu shared
> > TIME: 2005-10-15 02:19:11 -0600
> >
> > PASS: swig-rb::check build type
> >
> > /srv/svntest/svntest/config.shared:
> > #!/bin/sh
> > # /srv/svntest/svntest/config.shared
> > #
> >     "/srv/svntest/svntest/svn/svn_trunk/configure" \
> >         "--prefix=/srv/svntest/svntest/inst/svn_trunk" \
> >         "--with-apr=/srv/svntest/svntest/inst/apr-0.9.x/bin/apr-config" \
> >         "--with-apr-util=/srv/svntest/svntest/inst/apu-0.9.x-db43/bin/apu-config" \
> >         "--with-apxs=/srv/svntest/svntest/inst/httpd-2.0.x/bin/apxs" \
> >         "--with-pic" \
> >         "--with-swig" \
> >         "--enable-javahl" \
> >         "--with-junit=/opt/junit/3.8.1/junit.jar" \
> >         "$@"
> >
> > PASS: swig-rb::build
> >
> > Last 100 lines of the log file follow:
> > cd /srv/svntest/svntest/obj-sh/subversion/bindings/swig/ruby; \
> >   /usr/bin/ruby -I /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby \
> >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/run-test.rb \
> >     --verbose=normal
> > Loaded suite test
> > Started
> > .....................FF....F................................................................................E..........
> > Finished in 297.127981 seconds.
> >   1) Failure:
> > test_merge(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:701]:
> > <false> is not true.
> >
> >   2) Failure:
> > test_merge_peg(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:748]:
> > <false> is not true.
> It looks like these failures were caused by the wc-replacements branch merge.
>
> Here's a test case:
>   rm -rf repo wc
>   svnadmin create repo
>   svn co file://`pwd`/repo wc
>   cd wc
>   touch sample.txt
>   svn add sample.txt
>   svn commit -m ""
>   svn rm sample.txt
>   svn revert sample.txt
>   svn commit -m ""
>
> After running the above commands, we delete sample.txt (even though we
> reverted the delete).
>
> >   3) Failure:
> > test_move_force(SvnClientTest) [/srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_client.rb:964]:
> > <["/svntest/obj-sh/subversion/bindings/swig/ruby/test/wc/sample2.txt",
> >  "test/wc/sample1.txt",
> >  "test/wc/sample2.txt"]> expected but was
> > <["test/wc/sample1.txt", "test/wc/sample2.txt"]>.
> Anyone know what causes this problem?
>
> >   4) Error:
> > test_adm_access(SvnWcTest):
> > Svn::Error::WC_BAD_ADM_LOG: /srv/svntest/svntest/svn/svn_trunk/subversion/libsvn_wc/log.c:346 In directory 'test/wc/dir'
> > Error processing command 'set-timestamp' in 'test/wc/dir'
> > Missing 'timestamp' attribute in 'test/wc/dir'
> >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `svn_wc_revert2'
> >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/util.rb:58:in `revert2'
> >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/svn/wc.rb:333:in `revert'
> >     /srv/svntest/svntest/svn/svn_trunk/subversion/bindings/swig/ruby/test/test_wc.rb:109:in `test_adm_access'
>
> This looks like it's related to the bug in revert.

Does r16740 fix the problem?

bye,


Erik.