Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11337 > unrolled thread

NatTable, running tests

Started byVincent Prat <vinceprat@free.fr>
First post2019-08-26 18:10 +0200
Last post2019-09-03 23:30 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.java


Contents

  NatTable, running tests Vincent Prat <vinceprat@free.fr> - 2019-08-26 18:10 +0200
    NatTable, ready for review and upload Vincent Prat <vinceprat@free.fr> - 2019-08-31 20:10 +0200
      Re: NatTable, ready for review and upload Emmanuel Bourg <ebourg@apache.org> - 2019-09-02 13:10 +0200
        Re: NatTable, ready for review and upload Vincent Prat <vinceprat@free.fr> - 2019-09-03 23:30 +0200

#11337 — NatTable, running tests

FromVincent Prat <vinceprat@free.fr>
Date2019-08-26 18:10 +0200
SubjectNatTable, running tests
Message-ID<yzpJ7-6AC-3@gated-at.bofh.it>
Dear all,

I managed to build the tests, and now I am trying to run them during the
packaging process with pbuilder.
For information, I use xvfb to run the tests on a virtual X server.
The last issue I encountered is that some tests (I would say a
significant fraction) seem to require a session manager:

[junit] ------------- Standard Error -----------------
[junit] SWT SessionManagerDBus: Failed to connect to
org.gnome.SessionManager: Could not         connect: Connection refused
[junit] SWT SessionManagerDBus: Failed to connect to
org.xfce.SessionManager: Could not             connect: Connection refused
[junit] ------------- ---------------- ---------------

Any idea of how to solve this?

Best regards,
Vincent

[toc] | [next] | [standalone]


#11348 — NatTable, ready for review and upload

FromVincent Prat <vinceprat@free.fr>
Date2019-08-31 20:10 +0200
SubjectNatTable, ready for review and upload
Message-ID<yBfYZ-55E-7@gated-at.bofh.it>
In reply to#11337
Dear all,

Since I am not able to run the tests at build time, I guess they will
not run in the CI pipeline either.
Therefore, I think it is reasonable not to include the tests in the package.

The package is thus now ready for review and eventually upload, if
someone wants to sponsor it.
Feel free to have a look at https://salsa.debian.org/java-team/nattable.git.

Best regards,
Vincent

Le 26/08/2019 à 18:01, Vincent Prat a écrit :
> Dear all,
>
> I managed to build the tests, and now I am trying to run them during the
> packaging process with pbuilder.
> For information, I use xvfb to run the tests on a virtual X server.
> The last issue I encountered is that some tests (I would say a
> significant fraction) seem to require a session manager:
>
> [junit] ------------- Standard Error -----------------
> [junit] SWT SessionManagerDBus: Failed to connect to
> org.gnome.SessionManager: Could not         connect: Connection refused
> [junit] SWT SessionManagerDBus: Failed to connect to
> org.xfce.SessionManager: Could not             connect: Connection refused
> [junit] ------------- ---------------- ---------------
>
> Any idea of how to solve this?
>
> Best regards,
> Vincent
>
>

[toc] | [prev] | [next] | [standalone]


#11350 — Re: NatTable, ready for review and upload

FromEmmanuel Bourg <ebourg@apache.org>
Date2019-09-02 13:10 +0200
SubjectRe: NatTable, ready for review and upload
Message-ID<yBSnD-53N-3@gated-at.bofh.it>
In reply to#11348
Hi Vincent,

Did you consider disabling the tests requiring a session manager instead
of excluding the tests completely?

Emmanuel Bourg


Le 31/08/2019 à 20:00, Vincent Prat a écrit :
> Dear all,
> 
> Since I am not able to run the tests at build time, I guess they will
> not run in the CI pipeline either.
> Therefore, I think it is reasonable not to include the tests in the package.
> 
> The package is thus now ready for review and eventually upload, if
> someone wants to sponsor it.
> Feel free to have a look at https://salsa.debian.org/java-team/nattable.git.
> 
> Best regards,
> Vincent
> 
> Le 26/08/2019 à 18:01, Vincent Prat a écrit :
>> Dear all,
>>
>> I managed to build the tests, and now I am trying to run them during the
>> packaging process with pbuilder.
>> For information, I use xvfb to run the tests on a virtual X server.
>> The last issue I encountered is that some tests (I would say a
>> significant fraction) seem to require a session manager:
>>
>> [junit] ------------- Standard Error -----------------
>> [junit] SWT SessionManagerDBus: Failed to connect to
>> org.gnome.SessionManager: Could not         connect: Connection refused
>> [junit] SWT SessionManagerDBus: Failed to connect to
>> org.xfce.SessionManager: Could not             connect: Connection refused
>> [junit] ------------- ---------------- ---------------
>>
>> Any idea of how to solve this?
>>
>> Best regards,
>> Vincent
>>
>>
> 
> 

[toc] | [prev] | [next] | [standalone]


#11361 — Re: NatTable, ready for review and upload

FromVincent Prat <vinceprat@free.fr>
Date2019-09-03 23:30 +0200
SubjectRe: NatTable, ready for review and upload
Message-ID<yCoxb-2wF-7@gated-at.bofh.it>
In reply to#11350
Hi Emmanuel,

I did consider the option. However, there are several issues.

The main one is that the tests do not explicitly require a session manager.
The requirement comes from one of the dependencies.
Therefore, there is no clear way to determine a priori if a test needs a
session manager.
Of course, this could be done a posteriori, but given the large number
of tests, this would be a very tedious task.

Another problem is that the tests are automatically collected and run by
ant, so even if I managed to identify which tests require a session
manager, I would not know how to disable them specifically.

Finally, from what I have seen, a large fraction of the tests do require
a session manager.
Disabling them would likely lead to a significantly restricted set of
tests that are not very relevant, since NatTable is a graphical library.

Best regards,
Vincent

Le 02/09/2019 à 13:03, Emmanuel Bourg a écrit :
> Hi Vincent,
>
> Did you consider disabling the tests requiring a session manager instead
> of excluding the tests completely?
>
> Emmanuel Bourg
>
>
> Le 31/08/2019 à 20:00, Vincent Prat a écrit :
>> Dear all,
>>
>> Since I am not able to run the tests at build time, I guess they will
>> not run in the CI pipeline either.
>> Therefore, I think it is reasonable not to include the tests in the package.
>>
>> The package is thus now ready for review and eventually upload, if
>> someone wants to sponsor it.
>> Feel free to have a look at https://salsa.debian.org/java-team/nattable.git.
>>
>> Best regards,
>> Vincent
>>
>> Le 26/08/2019 à 18:01, Vincent Prat a écrit :
>>> Dear all,
>>>
>>> I managed to build the tests, and now I am trying to run them during the
>>> packaging process with pbuilder.
>>> For information, I use xvfb to run the tests on a virtual X server.
>>> The last issue I encountered is that some tests (I would say a
>>> significant fraction) seem to require a session manager:
>>>
>>> [junit] ------------- Standard Error -----------------
>>> [junit] SWT SessionManagerDBus: Failed to connect to
>>> org.gnome.SessionManager: Could not         connect: Connection refused
>>> [junit] SWT SessionManagerDBus: Failed to connect to
>>> org.xfce.SessionManager: Could not             connect: Connection refused
>>> [junit] ------------- ---------------- ---------------
>>>
>>> Any idea of how to solve this?
>>>
>>> Best regards,
>>> Vincent
>>>
>>>
>>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web