Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140561 - make test (make check) fails for mono-1.1.16.1
Summary: make test (make check) fails for mono-1.1.16.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 14:13 UTC by Attila Stehr
Modified: 2007-06-26 22:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2006-07-15 14:13:05 UTC
When the tests are done, mono complains about not being authorisied to access (read/write) /root .

here's an example:
------------------------------snip------------------
KeyHandler error while creating directory /root/.mono/registry/CurrentUser/e7cb8e43-ebe9-4b68-a6da-7e27a6a77ae4:
System.UnauthorizedAccessException: Access to the path "/root/.mono/registry/CurrentUser/e7cb8e43-ebe9-4b68-a6da-7e27a6a77ae4" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00066] in /var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/System.IO/Directory.cs:109
  at System.IO.Directory.CreateDirectory (System.String path) [0x0007e] in /var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/System.IO/Directory.cs:80
  at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00011] in /var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs:63
------------------------------snip------------------
35) MonoTests.System.Security.Cryptography.RSACryptoServiceProviderTest.ConstructorCspParameters : System.Security.Cryptography.CryptographicException : Could not create user key store '/root/.config/.mono/keypairs'.
  ----> System.UnauthorizedAccessException : Access to the path "/root/.config" is denied.
------------------------------snip-------------------
37) MonoTests.System.Security.Cryptography.RSACryptoServiceProviderTest.Persistence_PersistKeyInCsp_False : System.Security.Cryptography.CryptographicException : Could not create user key store '/root/.config/.mono/keypairs'.
  ----> System.UnauthorizedAccessException : Access to the path "/root/.config" is denied.
------------------------------snip-------------------


There is at least one other failing test:
------------------------------snip-------------------
Failures:
1) MonoTests.System.Reflection.BinderTest.TestExactBinding : 

	expected:<(null)>

	 but was:<Void MethodWithLongParam(Int64)>

  at MonoTests.System.Reflection.BinderTest.TestExactBinding () [0x00014] in /var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/Test/System.Reflection/BinderTests.cs:304 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00040] in /var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:130 
---------------------------------snip--------------------



magic atti # ls -al /
[...]
drwx------  45 root root  2048 15. Jul 20:45 root
[...]
magic atti # cat /etc/mtab
[...]
/dev/hdc2 /usr ext3 rw,nodev,noatime 0 0
[..]
magic atti #



Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O1 -pipe -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon64 -O1 -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer nostrip sandbox severe sfperms splitdebug strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 amr artworkextra asf audiofile avi bash-completion berkdb bidi bitmap-fonts bzlib cairo cdda cdio cdparanoia cdr cli cpudetection crypt css cups custom-cflags dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode exif fame fat fbcon ffmpeg firefox foomaticdb freetype gcj ggi gif gimpprint gnome gnutls gpm gs gstreamer gtk gtk2 hal hardened howl hpn httpd imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate linuxthreads-tls live lzo lzw lzw-tiff mad matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mp4 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg on-the-fly-crypt openal openexr opengl pam pcre pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection reiserfs rle sasl screen sdl session sndfile spell spl ssl stream svg symlink tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd video_cards_nvidia videos vlm vorbis wmf wxwindows x264 xine xml xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Brant Gurganus 2006-09-01 08:39:16 UTC
I had an additional test fail:
2) MonoTests.System.TimeZoneTest.TestCtors : B03 
        String lengths are both 19.
        Strings differ at index 1.
        expected:<"04/07/2002 02:00:00">
         but was:<"01/01/0001 00:00:00">
        ------------^
  at MonoTests.System.TimeZoneTest.EST (System.TimeZone t1) [0x0000c] in
/var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/Test/System/TimeZoneTest.cs:72 
  at MonoTests.System.TimeZoneTest.TestCtors () [0x00049] in
/var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/Test/System/TimeZoneTest.cs:150 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00040] in
/var/tmp/portage/mono-1.1.16.1/work/mono-1.1.16.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:130 
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-02-16 06:53:03 UTC
Reproducible with 1.2.2.1 or 1.2.3?
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-02-16 06:53:21 UTC
Reproducible with 1.2.2.1 or 1.2.3?
Comment 4 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-26 22:49:00 UTC
Those problems have been fixed in portage since 1.2.4, thanks