Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133959 - dvdrip-0.97.10 dvdrip-master does not start when there are not enoug not 'stopped' nodes
Summary: dvdrip-0.97.10 dvdrip-master does not start when there are not enoug not 'sto...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-21 10:02 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2006-10-03 05:35 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 DEMAINE Benoît-Pierre, aka DoubleHP 2006-05-21 10:02:28 UTC
I have 9 nodes. One is master:

$ cat localhost.node
$data = bless( {
  'test_result' => undef,
  'name' => 'localhost',
  'is_master' => 1,
  'hostname' => 'localhost',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => undef,
  'test_finished' => 1,
  'assigned_job' => undef,
  'filename' => '/home/dhp/.dvdrip-master/nodes/localhost.node',
  'data_is_local' => 1,
  'tc_options' => undef,
  'data_base_dir' => '/mnt/big/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );


localhost is always stopped.

When amongst other nodes, I have only one, or no node not in 'stopped', then I get error:
Can't restore job state due to data type mismatch: Job type=group, Data type= at /usr/lib/perl5/vendor_perl/5.8.8/Event/ExecFlow/Job.pm line 456.

As soon as I have two or more nodes in any other state (one of 'unknown' or 'idle', can be mixed or all the same state), it stopped bugging.

Deleting nodes also helps fireing the bug.

my nodes are described in following section. If I change any of the unkown to stopped, then it bugs. Lets do it with z_dummy.node . If then I mode 'z' node to parent folder, or just remove the file, then master can start ok.

I also did EXACTLY the same test on node p3_barebone_ip55_cpu01.node instead of z_dummy.node, and had the same result !

Let now change state of node p3_mercure_DVD_ip52_cpu01.node to stopped, it bugs again !

Move mercure to parent folder, and master can start.

Seems if we have 8 stopped nodes (or more) master cant start. I stop here for digging this bug, cause I already spend hours in manipulation files, cheking file encodings, node name length ... and this limit of 8 stopped node now seems to me the key of the problem. Hope that what I think *is* what happends :S

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

dhp@moon_gen:~/.dvdrip-master/nodes$ ls *
alpha_beta_ip22_cpu01.node       alpha_piou_ip24_cpu01.node  p3_barebone_ip55_cpu01.node  p3_KPC_noDVD_ip54_cpu01.node    z_dummy.node
alpha_centaure_ip_23_cpu01.node  localhost.node              p3__dell43_ip53_cpu01.node   p3_mercure_DVD_ip52_cpu01.node
dhp@moon_gen:~/.dvdrip-master/nodes$ cat *
$data = bless( {
  'test_result' => undef,
  'name' => 'alpha_beta_ip22_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.22',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/alpha_beta_ip22_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'alpha_centaure_ip_23_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.23',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/alpha_centaure_ip_23_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'alpha_piou_ip24_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.24',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/alpha_piou_ip24_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'localhost',
  'is_master' => 1,
  'hostname' => 'localhost',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => undef,
  'test_finished' => 1,
  'assigned_job' => undef,
  'filename' => '/home/dhp/.dvdrip-master/nodes/localhost.node',
  'data_is_local' => 1,
  'tc_options' => undef,
  'data_base_dir' => '/mnt/big/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'p3_barebone_ip55_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.55',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'tc_options' => undef,
  'assigned_job' => undef,
  'filename' => '/home/dhp/.dvdrip-master/nodes/p3_barebone_ip55_cpu01.node',
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'p3__dell43_ip53_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.53',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/p3__dell43_ip53_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'p3_KPC_noDVD_ip54_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.54',
  'answered_last_ping' => 0,
  'state' => 'stopped',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/p3_KPC_noDVD_ip54_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'p3_mercure_DVD_ip52_cpu01',
  'is_master' => undef,
  'hostname' => '192.168.0.52',
  'answered_last_ping' => 0,
  'state' => 'offline',
  'username' => 'dhp',
  'filename' => '/home/dhp/.dvdrip-master/nodes/p3_mercure_DVD_ip52_cpu01.node',
  'tc_options' => undef,
  'assigned_job' => undef,
  'data_base_dir' => '/mnt/moon/dhp/dvdrip/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );
$data = bless( {
  'test_result' => undef,
  'name' => 'z_dummy',
  'is_master' => undef,
  'hostname' => '192.168.0.251',
  'answered_last_ping' => 0,
  'state' => 'offline',
  'username' => 'dhp',
  'tc_options' => undef,
  'assigned_job' => undef,
  'filename' => '/home/dhp/.dvdrip-master/nodes/z_dummy.node',
  'data_base_dir' => '/',
  'alive' => 0
}, 'Video::DVDRip::Cluster::Node' );


*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

Gentoo Base System version 1.12.0_pre19
Portage 2.1_rc1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r7-Gentoo-moon_05 i686)
=================================================================
System uname: 2.6.16-gentoo-r7-Gentoo-moon_05 i686 AMD Athlon(tm) 4 Processor
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
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/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks keeptemp keepwork metadata-transfer noclean sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.ISO-8859-15"
LC_ALL="en_GB.ISO-8859-15"
MAKEOPTS="-j2"
PKGDIR="/tmp"
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="/mnt/big"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa amr amuled ao apache2 apic apm arts audiofile avi bash-completion berkdb bidi binfilter bitmap-fonts bl bonjour bootsplash cdda cdparanoia cdr cjk cli cmov cpudetection crypt cups curl cx8 dbus de dga directfb dmi doc dri dts dv dvb dvd dvdread dynamic eds emboss encode esd ethereal examples fbcon ffmpeg flac flash foomaticdb fortran fping fpu freetype fxsr gdbm ggi gif gnome gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq idea idn ieee1394 imagemagick imlib ipv6 irc isdnlog jabber jack java javascript jpeg kde lcms libcaca libg++ libwww lirc listentcp live lj logrotate lzo mad matrox mca mce mikmod mmx mmxext mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv ncurses network nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pae pam pat pcre pdflib perl pge png pppd pse pse36 python qt quicktime rar readline real reflection rss rtc rtsp samba screen sdl sensord sep server session silc skey skins sndfile speex spell spl sse ssl startup-notification stream subtitles svg svga swat symlink tcpd tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode urandom usb v4l v4l2 vcd vim vlm vme vorbis win32codecs wmf wxwindows x264 xanim xinerama xml2 xmms xorg xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_apm video_cards_chips video_cards_cirrus video_cards_fbdev video_cards_-i810 video_cards_i128 video_cards_mga video_cards_nv video_cards_-nvidia video_cards_s3 video_cards_s3virge video_cards_sis video_cards_tga video_cards_trident video_cards_v4l video_cards_vesa video_cards_vga video_cards_-via"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2006-05-21 10:05:28 UTC
by the way, I started to seek problem using GUI of dvdrip, but using terminal editor and CLI start of daemon was way faster than full use of GUI.
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-09-27 13:14:38 UTC
Please test with latest version, and report back if its still an issue.

Thanks
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2006-10-03 05:33:36 UTC
Conditions of test are not exactly the same as before since I have actually no rip on way to resume, but I can not either reproduce the bug ATM.
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2006-10-03 05:34:40 UTC
grr, need to reopen to close it !
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2006-10-03 05:35:14 UTC
Fixed for media-video/dvdrip-0.98.1