[R-pkg-team] Bug#983748: dh-r: pkg-r-autopkgtest breaks autopkgtests

Andreas Tille tille at debian.org
Wed Mar 3 10:12:27 GMT 2021


Hi Graham,

sorry for all the mess.  My motivation for the change was that for
example in r-bioc-mutationalpatterns (see bug #983027) the
autopkgtest-pkg-r script failed to install all needed packages
to run its test.  This was not the only package that was affected.

I perfectly agree that this was one of my worst ideas regarding
its timing.

My only instant solution right now is to make

  https://salsa.debian.org/r-pkg-team/dh-r/-/blob/master/scripts/pkg-r-autopkgtest#L16

unconditional or just do

--- a/scripts/pkg-r-autopkgtest
+++ b/scripts/pkg-r-autopkgtest
@@ -11,6 +11,9 @@ bioc=$(grep-dctrl -s biocViews -n '' DESCRIPTION)
 echo "Test: Try to load the R library ${pkgname}"
 R --no-save -e "library('${pkgname}')"
 
+# Do not run any more detailed tests for the moment
+exit 0
+
 ##########
 # Test pkg-r-autopkgtest on Bioconductor packages only for now
 if [ "$bioc" = "" ] ; then


I'd like to discuss this quickly whether I'm again on the wrong track.
The effect would be that *a few* tests in r-bioc- packages will become
superfluid but that should be bearable for the moment.

What do you think?

Kind regards

     Andreas.

On Mon, Mar 01, 2021 at 04:50:10PM +0200, Graham Inggs wrote:
> Control: reopen -1
> 
> Hi Andreas
> 
> This didn't work [1].  You need root in order to run 'apt-get install':
> 
> E: No packages found
> E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13:
> Permission denied)
> E: Unable to acquire the dpkg frontend lock
> (/var/lib/dpkg/lock-frontend), are you root?
> autopkgtest [14:31:55]: test pkg-r-autopkgtest: -----------------------]
> autopkgtest [14:31:55]: test pkg-r-autopkgtest:  - - - - - - - - - -
> results - - - - - - - - - -
> pkg-r-autopkgtest    FAIL non-zero exit status 100
> 
> Please revert the entire commit [2] and upload so we can fast track
> dh-r back into testing to fix pkg-r-autopkgtests there.  Maybe speak
> to debci team about whatever problem it is you are trying to solve,
> and whether it is needed at this stage of the freeze.
> 
> Regards
> Graham
> 
> 
> [1] https://ci.debian.net/packages/r/r-bioc-affy/unstable/amd64/
> [2] https://salsa.debian.org/r-pkg-team/dh-r/-/commit/62a4128c07a17de845e9d7260504fae187c3d193
> 
> _______________________________________________
> R-pkg-team mailing list
> R-pkg-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/r-pkg-team
> 

-- 
http://fam-tille.de



More information about the R-pkg-team mailing list