Problem running Apache Gump [vmgump]

2020-05-06 Thread gump
There is a problem with run 'vmgump' (06052020_01), location : 
http://gump-vm.apache.org/

The log ought be at:
   http://gump-vm.apache.org/gump_log.txt

The last (up to) 50 lines of the log are :
SQL Error on [INSERT INTO gump_public.gump_repository_stats (repository_name, 
sequence_in_state) VALUES ('pcre', 195)] : (1292, "Incorrect datetime value: 
'-00-00 00:00:00' for column 'first' at row 1")
Traceback (most recent call last):
  File "/srv/gump/public/gump/python/gump/util/mysql.py", line 244, in insert
affected = cursor.execute(statement)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 250, in 
execute
self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 50, in 
defaulterrorhandler
raise errorvalue
OperationalError: (1292, "Incorrect datetime value: '-00-00 00:00:00' for 
column 'first' at row 1")
Traceback (most recent call last):
  File "bin/integrate.py", line 114, in 
irun()
  File "bin/integrate.py", line 91, in irun
result = getRunner(run).perform()
  File "/srv/gump/public/gump/python/gump/core/runner/runner.py", line 262, in 
perform
return self.performRun()
  File "/srv/gump/public/gump/python/gump/core/runner/demand.py", line 214, in 
performRun
self.finalize()
  File "/srv/gump/public/gump/python/gump/core/runner/runner.py", line 240, in 
finalize
self.run._dispatchEvent(FinalizeRunEvent(self.run))
  File "/srv/gump/public/gump/python/gump/core/run/gumprun.py", line 186, in 
_dispatchEvent
actor._processEvent(event)
  File "/srv/gump/public/gump/python/gump/core/run/actor.py", line 83, in 
_processEvent
self.processEvent(event)
  File "/srv/gump/public/gump/python/gump/core/run/actor.py", line 127, in 
processEvent
self._processOtherEvent(event)
  File "/srv/gump/public/gump/python/gump/core/run/actor.py", line 184, in 
_processOtherEvent
self.processOtherEvent(event)
  File "/srv/gump/public/gump/python/gump/actor/stats/statistician.py", line 
66, in processOtherEvent
self.updateStatistics()
  File "/srv/gump/public/gump/python/gump/actor/stats/statistician.py", line 
133, in updateStatistics
self.db.putRepositoryStats(rs) 
  File "/srv/gump/public/gump/python/gump/actor/stats/mysql/statsdb.py", line 
134, in putRepositoryStats
self._putStats('gump_repository_stats', 'repository_name', stats)
  File "/srv/gump/public/gump/python/gump/actor/stats/mysql/statsdb.py", line 
198, in _putStats
self._with_reconnect_on_error(setter)
  File "/srv/gump/public/gump/python/gump/actor/stats/mysql/statsdb.py", line 
272, in _with_reconnect_on_error
return command(self._get_helper())
  File "/srv/gump/public/gump/python/gump/actor/stats/mysql/statsdb.py", line 
194, in setter
helper.set(table_name, column_name, stats.name, settings)
  File "/srv/gump/public/gump/python/gump/util/mysql.py", line 213, in set
self.insert(table_name, settings)
  File "/srv/gump/public/gump/python/gump/util/mysql.py", line 244, in insert
affected = cursor.execute(statement)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 250, in 
execute
self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 50, in 
defaulterrorhandler
raise errorvalue
_mysql_exceptions.OperationalError: (1292, "Incorrect datetime value: 
'-00-00 00:00:00' for column 'first' at row 1")
Process Exit Code : 1
--
Gump Version: 2.0.2-alpha-0003

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



Re: Problem running Apache Gump [vmgump]

2020-05-06 Thread Mark Thomas
On 06/05/2020 09:48, g...@gump-vm.apache.org wrote:
> There is a problem with run 'vmgump' (06052020_01), location : 
> http://gump-vm.apache.org/
> 
> The log ought be at:
>http://gump-vm.apache.org/gump_log.txt
> 
> The last (up to) 50 lines of the log are :
> SQL Error on [INSERT INTO gump_public.gump_repository_stats (repository_name, 
> sequence_in_state) VALUES ('pcre', 195)] : (1292, "Incorrect datetime value: 
> '-00-00 00:00:00' for column 'first' at row 1")

The sql_mode has changed again. I've just restored the correct value.
Puppet is meant to be setting this. I'll look into that.

Mark

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