gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <aj...@apache.org>
Subject Re: Logging insights for Gump3 please
Date Tue, 19 Apr 2005 19:34:15 GMT
> I dunno. Could be. Could you be a little more specific about what you're
> seeing and when what pauses? On every 'run' invocation the 'gump' shell
> scripts removes *.pyc then recompiles and re-imports, that's part of the
> delay.

It seems like the program runs, and only once done I see output. Basically I
get a long wait, and then a super fast spew of output, and it is done.

> > 2)  Why do some things (like "DEBUG -   Outputting all log data (a
lot)...")
> > come out to the console, but not the rest of the logging information?
>
> That's configured in the log config, console and file use slightly
different
> formatters. What do you think it should be?

I thought this was a line from within plugin, which ought run within the
'proper' logging. I thought what was coming to the screen was the gump bash
script output (and the 'proper' to the log file) and I didn't understand why
this'd be in there. Perhaps I just have that backwards.

> > [I see that rather than fork another process for the "pygump engine run"
we
> > import and run it. I assume that and SVN run (updating the
pygump/.../*.py
> > file) ought not be imported at that point, but I feel like I'm seeing
what
> > feels like a log 'bleed' that suggests otherwise.]
>
> I don't get the above. What?

Gump2 did the main checks, did the SVN update, and then launched Python
again (in the hope of ensuring that no *.pyc was cached frmo prior to a *.py
SVN update.) I see Gump3 isn't doing that. I was wondering if somehow the
two logs were bleeding into each other, via the shared Python runtime.

> Eh, no. Could you send run.log and gump_log_xxx along with console output?
> I've got a feeling you're not seeing the same thing I'm seeing...

In doing this, I realize that the "gap" before the Gump banner, combined
with the "quick spew", combined with the size of my terminal window, meant I
was only really noticing what was after the banner. Still it seems to be
missing some nice details. Also, I've attach the contents of the work/log
directory below the asterisk line.

$ bash gump run --debug
DEBUG: logdir is f:\data\Python\Gump3-SVN\pygump\work\log
DEBUG: Pygump version 3.0-alpha-3 starting...
DEBUG:   (the detailed log is written to
f:\data\Python\Gump3-SVN\pygump\work\lo
g\gump_log_20050419_132247.txt)
DEBUG:   - hostname           : tsws1
DEBUG:   - homedir            : f:\data\Python\Gump3-SVN
DEBUG:   - current time       : 19 Apr 2005 13:22:47
DEBUG:   - current time (UTC) : 19 Apr 2005 19:22:47
DEBUG:   - python version     : 2.4 (#60, Feb  9 2005, 19:03:27) [MSC v.1310
32
bit (Intel)]
DEBUG:   - python command     : /cygdrive/c/Python24/python
DEBUG:   - environment variables:
DEBUG:       TMP="c:\DOCUME~1\ajack\LOCALS~1\Temp"
DEBUG:       DEPOT_UPDATE_HOME="F:\data\OSS\depot-update"
DEBUG:       COMPUTERNAME="TSWS1"
DEBUG:       USER="ajack"
DEBUG:       USERDOMAIN="TSWS1"
DEBUG:       COMMONPROGRAMFILES="C:\Program Files\Common Files"
DEBUG:       PROCESSOR_IDENTIFIER="x86 Family 6 Model 8 Stepping 3,
GenuineIntel
"
DEBUG:       CVS_RSH="/bin/ssh"
DEBUG:       PROGRAMFILES="C:\Program Files"
DEBUG:       PROCESSOR_REVISION="0803"
DEBUG:       HOME="c:\"
DEBUG:       SYSTEMROOT="C:\WINNT"
DEBUG:       CATALINA_HOME="F:\apps\Apache\jakarta-tomcat-5.0.19"
DEBUG:       MA_AGENT="c:\PROGRA~1\sybase\MANAGE~1\rstate.exe"
DEBUG:
INFOPATH="/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/d
evel/info:/usr/autotool/stable/info:"
DEBUG:       GUMP_HOME="f:\data\Python\Gump3-SVN"
DEBUG:       PRINTER="HP OfficeJet"
DEBUG:       TEMP="c:\DOCUME~1\ajack\LOCALS~1\Temp"
DEBUG:       SHLVL="2"
DEBUG:       PROCESSOR_ARCHITECTURE="x86"
DEBUG:       J2EE_HOME="F:\apps\j2sdkee1.3.1"
DEBUG:       APR_ICONV_PATH="F:\apps\Subversion\iconv"
DEBUG:       ALLUSERSPROFILE="C:\Documents and Settings\All Users"
DEBUG:       ROOTDIR="F:/apps/mks"
DEBUG:       BPE_HOME="F:\apps\Sybase\bpee"
DEBUG:       _="/cygdrive/c/Python24/python"
DEBUG:
MANPATH="/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel
/man:"
DEBUG:       HOMEPATH="\Documents and Settings\ajack"
DEBUG:       GUMP_HOSTNAME="tsws1"
DEBUG:       GUMP_WORKDIR="f:\data\Python\Gump3-SVN\pygump\work"
DEBUG:       JAVA_HOME="c:\j2sdk1.4.2_08"
DEBUG:       USERNAME="ajack"
DEBUG:       LOGONSERVER="\\TSWS1"
DEBUG:       PROMPT="$P$G"
DEBUG:       COMSPEC="C:\WINNT\system32\cmd.exe"
DEBUG:       MAKE_MODE="unix"
DEBUG:
PYTHONPATH="f:\data\Python\Gump3-SVN\pygump\python;f:\data\Python\G
ump3-SVN\pygump"
DEBUG:       XINDICE_HOME="F:\data\OSS\xml-xindice"
DEBUG:       TERM="cygwin"
DEBUG:
PATH="C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin
\usr\X11R6\bin;c:\Python24\;f:\apps\Sybase\Shared\ASA802\win32;c:\Python23\;
c:\P
ython23\Scripts;f:\apps\javasoft\j2sdk1.4.2\bin;f:\Perl\bin\;f:\apps\mks\mks
nt;c
:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;f:\apps\Subversion\bin;f:\a
pps\
Sybase\SQL Anywhere 9\drivers;f:\apps\Sybase\Shared\Sybase Central
4.3\win32;c:\
PROGRA~1\COMMON~1\MGISHA~1\Video;c:\Program Files\Common Files\Adaptec
Shared\Sy
stem;c:\PROGRA~1\COMMON~1\MGISHA~1\Video;f:\apps\mysql\bin"
DEBUG:       SHELL="F:/apps/mks/mksnt/sh.exe"
DEBUG:
PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;
.pyo;.pyw;.pys"
DEBUG:       TMPDIR="c:\WINNT\TEMP"
DEBUG:       WINDIR="C:\WINNT"
DEBUG:       SVN_EDITOR="vi"
DEBUG:       JAGUAR="F:\apps\Sybase\EAServer"
DEBUG:       HOMEDRIVE="C:"
DEBUG:       APPDATA="C:\Documents and Settings\ajack\Application Data"
DEBUG:
GUMP_ENV_FILE="/cygdrive/f/data/Python/Gump3-SVN/tsws1-settings.sh"

DEBUG:       OLDPWD="/cygdrive/f/data/Python/Gump3-SVN"
DEBUG:       HOSTNAME="tsws1"
DEBUG:       NUMBER_OF_PROCESSORS="1"
DEBUG:       GUMP_CYGWIN="yes"
DEBUG:       PWD="/cygdrive/f/data/Python/Gump3-SVN/pygump"
DEBUG:       GUMP_PYTHON="/cygdrive/c/Python24/python"
DEBUG:       PROCESSOR_LEVEL="6"
DEBUG:       OS2LIBPATH="C:\WINNT\system32\os2\dll;"
DEBUG:       OS="Windows_NT"
DEBUG:       SYSTEMDRIVE="C:"
DEBUG:       USERPROFILE="C:\Documents and Settings\ajack"
DEBUG:
DEBUG:   - command line arguments:
DEBUG:       ['-c', '--debug']
DEBUG: No projects to build set, defaulting to 'all'


      _____
     |   __|_ Apache_ ___
     |  |  | | |     | . |
     |_____|___|_|_|_|  _|
                     |_|     ~ v. 3.0-alpha-3 ~


DEBUG - Pre : <gump.plugins.instrumentation.TimerPlugin instance at
0x00A7E170>

DEBUG - Proc: <gump.plugins.dirbuilder.RmdirBuilderPlugin instance at
0x00A88DC8
>
DEBUG - Proc: <gump.plugins.dirbuilder.MkdirBuilderPlugin instance at
0x00A88DF0
>
DEBUG - Proc: <gump.plugins.builder.ScriptBuilderPlugin instance at
0x00A88E18>

DEBUG - Post: <gump.plugins.instrumentation.TimerPlugin instance at
0x00A88FA8>

DEBUG - Post: <gump.plugins.dynagumper.Dynagumper instance at 0x00A8F3C8>
DEBUG - Post: <gump.plugins.logreporter.LogReporterPlugin instance at
0x00A8F490
>
DEBUG - Converting repository definition 'ant' into object form.
DEBUG - Converting module definition 'ant' into object form.
DEBUG - Converting project definition 'bootstrap-ant' into object form.
DEBUG - Converting project definition 'bogus' into object form.
DEBUG - Executing SQL statement: SELECT * FROM hosts WHERE address = 'tsws1'
AND
 name = 'tsws1';
DEBUG -    ...1 rows affected.
DEBUG - --------------------------------------------------------------------
----

DEBUG -   Outputting all log data (a lot)...
DEBUG - --------------------------------------------------------------------
----

DEBUG: Run completed!
DEBUG: Cleaning up child processes. This may take up to a little over 400
second
s


****************************************************************************
* Next in log dirs...





ajack@tsws1 /cygdrive/f/data/Python/Gump3-SVN
$ cat  pygump/work/log/g*
DEBUG: Pygump version 3.0-alpha-3 starting...
DEBUG:   (the detailed log is written to
f:\data\Python\Gump3-SVN\pygump\work\lo
g\gump_log_20050419_132247.txt)
DEBUG:   - hostname           : tsws1
DEBUG:   - homedir            : f:\data\Python\Gump3-SVN
DEBUG:   - current time       : 19 Apr 2005 13:22:47
DEBUG:   - current time (UTC) : 19 Apr 2005 19:22:47
DEBUG:   - python version     : 2.4 (#60, Feb  9 2005, 19:03:27) [MSC v.1310
32
bit (Intel)]
DEBUG:   - python command     : /cygdrive/c/Python24/python
DEBUG:   - environment variables:
DEBUG:       TMP="c:\DOCUME~1\ajack\LOCALS~1\Temp"
DEBUG:       DEPOT_UPDATE_HOME="F:\data\OSS\depot-update"
DEBUG:       COMPUTERNAME="TSWS1"
DEBUG:       USER="ajack"
DEBUG:       USERDOMAIN="TSWS1"
DEBUG:       COMMONPROGRAMFILES="C:\Program Files\Common Files"
DEBUG:       PROCESSOR_IDENTIFIER="x86 Family 6 Model 8 Stepping 3,
GenuineIntel
"
DEBUG:       CVS_RSH="/bin/ssh"
DEBUG:       PROGRAMFILES="C:\Program Files"
DEBUG:       PROCESSOR_REVISION="0803"
DEBUG:       HOME="c:\"
DEBUG:       SYSTEMROOT="C:\WINNT"
DEBUG:       CATALINA_HOME="F:\apps\Apache\jakarta-tomcat-5.0.19"
DEBUG:       MA_AGENT="c:\PROGRA~1\sybase\MANAGE~1\rstate.exe"
DEBUG:
INFOPATH="/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/d
evel/info:/usr/autotool/stable/info:"
DEBUG:       GUMP_HOME="f:\data\Python\Gump3-SVN"
DEBUG:       PRINTER="HP OfficeJet"
DEBUG:       TEMP="c:\DOCUME~1\ajack\LOCALS~1\Temp"
DEBUG:       SHLVL="2"
DEBUG:       PROCESSOR_ARCHITECTURE="x86"
DEBUG:       J2EE_HOME="F:\apps\j2sdkee1.3.1"
DEBUG:       APR_ICONV_PATH="F:\apps\Subversion\iconv"
DEBUG:       ALLUSERSPROFILE="C:\Documents and Settings\All Users"
DEBUG:       ROOTDIR="F:/apps/mks"
DEBUG:       BPE_HOME="F:\apps\Sybase\bpee"
DEBUG:       _="/cygdrive/c/Python24/python"
DEBUG:
MANPATH="/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel
/man:"
DEBUG:       HOMEPATH="\Documents and Settings\ajack"
DEBUG:       GUMP_HOSTNAME="tsws1"
DEBUG:       GUMP_WORKDIR="f:\data\Python\Gump3-SVN\pygump\work"
DEBUG:       JAVA_HOME="c:\j2sdk1.4.2_08"
DEBUG:       USERNAME="ajack"
DEBUG:       LOGONSERVER="\\TSWS1"
DEBUG:       PROMPT="$P$G"
DEBUG:       COMSPEC="C:\WINNT\system32\cmd.exe"
DEBUG:       MAKE_MODE="unix"
DEBUG:
PYTHONPATH="f:\data\Python\Gump3-SVN\pygump\python;f:\data\Python\G
ump3-SVN\pygump"
DEBUG:       XINDICE_HOME="F:\data\OSS\xml-xindice"
DEBUG:       TERM="cygwin"
DEBUG:
PATH="C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin
\usr\X11R6\bin;c:\Python24\;f:\apps\Sybase\Shared\ASA802\win32;c:\Python23\;
c:\P
ython23\Scripts;f:\apps\javasoft\j2sdk1.4.2\bin;f:\Perl\bin\;f:\apps\mks\mks
nt;c
:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;f:\apps\Subversion\bin;f:\a
pps\
Sybase\SQL Anywhere 9\drivers;f:\apps\Sybase\Shared\Sybase Central
4.3\win32;c:\
PROGRA~1\COMMON~1\MGISHA~1\Video;c:\Program Files\Common Files\Adaptec
Shared\Sy
stem;c:\PROGRA~1\COMMON~1\MGISHA~1\Video;f:\apps\mysql\bin"
DEBUG:       SHELL="F:/apps/mks/mksnt/sh.exe"
DEBUG:
PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;
.pyo;.pyw;.pys"
DEBUG:       TMPDIR="c:\WINNT\TEMP"
DEBUG:       WINDIR="C:\WINNT"
DEBUG:       SVN_EDITOR="vi"
DEBUG:       JAGUAR="F:\apps\Sybase\EAServer"
DEBUG:       HOMEDRIVE="C:"
DEBUG:       APPDATA="C:\Documents and Settings\ajack\Application Data"
DEBUG:
GUMP_ENV_FILE="/cygdrive/f/data/Python/Gump3-SVN/tsws1-settings.sh"

DEBUG:       OLDPWD="/cygdrive/f/data/Python/Gump3-SVN"
DEBUG:       HOSTNAME="tsws1"
DEBUG:       NUMBER_OF_PROCESSORS="1"
DEBUG:       GUMP_CYGWIN="yes"
DEBUG:       PWD="/cygdrive/f/data/Python/Gump3-SVN/pygump"
DEBUG:       GUMP_PYTHON="/cygdrive/c/Python24/python"
DEBUG:       PROCESSOR_LEVEL="6"
DEBUG:       OS2LIBPATH="C:\WINNT\system32\os2\dll;"
DEBUG:       OS="Windows_NT"
DEBUG:       SYSTEMDRIVE="C:"
DEBUG:       USERPROFILE="C:\Documents and Settings\ajack"
DEBUG:
DEBUG:   - command line arguments:
DEBUG:       ['-c', '--debug']
DEBUG: No projects to build set, defaulting to 'all'
DEBUG: Run completed!
DEBUG: Cleaning up child processes. This may take up to a little over 400
second
s.

ajack@tsws1 /cygdrive/f/data/Python/Gump3-SVN
$ cat  pygump/work/log/r*
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:140:
 Pre : <gump.plugins.instrumentation.TimerPlugin instance at 0x00A7E170>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:141:
 Proc: <gump.plugins.dirbuilder.RmdirBuilderPlugin instance at 0x00A88DC8>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:141:
 Proc: <gump.plugins.dirbuilder.MkdirBuilderPlugin instance at 0x00A88DF0>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:141:
 Proc: <gump.plugins.builder.ScriptBuilderPlugin instance at 0x00A88E18>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:142:
 Post: <gump.plugins.instrumentation.TimerPlugin instance at 0x00A88FA8>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:142:
 Post: <gump.plugins.dynagumper.Dynagumper instance at 0x00A8F3C8>
DEBUG [plugin] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\config.py:142:
 Post: <gump.plugins.logreporter.LogReporterPlugin instance at 0x00A8F490>
DEBUG [modeller] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\engine\model
ler.py:775: Converting repository definition 'ant' into object form.
DEBUG [modeller] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\engine\model
ler.py:879: Converting module definition 'ant' into object form.
DEBUG [modeller] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\engine\model
ler.py:937: Converting project definition 'bootstrap-ant' into object form.
DEBUG [modeller] 2005-04-19@13:22:48:
f:\data\python\gump3-svn\gump\engine\model
ler.py:937: Converting project definition 'bogus' into object form.
DEBUG [util] 2005-04-19@13:22:49:
f:\data\python\gump3-svn\gump\util\mysql.py:79
: Executing SQL statement: SELECT * FROM hosts WHERE address = 'tsws1' AND
name
= 'tsws1';
DEBUG [util] 2005-04-19@13:22:50:
f:\data\python\gump3-svn\gump\util\mysql.py:86
:    ...1 rows affected.
DEBUG [plugin.logger] 2005-04-19@13:22:50:
f:\data\python\gump3-svn\gump\plugins
\logreporter.py:30: --------------------------------------------------------
----
------------
DEBUG [plugin.logger] 2005-04-19@13:22:50:
f:\data\python\gump3-svn\gump\plugins
\logreporter.py:31:   Outputting all log data (a lot)...
DEBUG [plugin.logger] 2005-04-19@13:22:50:
f:\data\python\gump3-svn\gump\plugins
\logreporter.py:32: --------------------------------------------------------
----
------------

ajack@tsws1 /cygdrive/f/data/Python/Gump3-SVN


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message