yaobinshi / test1

test for scratch
MIT License
0 stars 0 forks source link

scheduler - incorrect status reported #235

Open yaobinshi opened 9 years ago

yaobinshi commented 9 years ago

Author Name: Bob Gobeille Original Redmine Issue: 429, http://www.fossology.org/issues/429 Original Date: 2012/02/07 Original Assignee: Bob Gobeille


Logfile shows ununpack was invalidated:

2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.760: JOB[672].pkgagent[16566]: agent closed unexpectedly, agent status was AG_SPAWNED
2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.760: JOB[674].?o?[16567]: agent closed unexpectedly, agent status was AG_SPAWNED
2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.760: JOB[675].06?[16569]: agent closed unexpectedly, agent status was AG_SPAWNED
2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.276: agent pkgagent has been invalidated, removing from agents
2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.276: agent copyright has been invalidated, removing from agents
2012-01-11 14:33:16 scheduler [22175] :: ERROR agent.c.276: agent mimetype has been invalidated, removing from agents
2012-01-11 14:45:30 scheduler [22175] :: FATAL scheduler.c.147: scheduler received a segmentation fault (i.e. the scheduler crashed
2012-01-11 14:45:30 scheduler [22175] :: FATAL errno is: Success
2012-01-11 14:45:30 scheduler [22175] :: ERROR agent.c.760: JOB[676].???[16643]: agent closed unexpectedly, agent status was AG_SPAWNED
2012-01-11 14:45:30 scheduler [22175] :: ERROR agent.c.276: agent ununpack has been invalidated, removing from agents

However, mod=admin_scheduler reports ununpack as being checkedout rather than invalidated.

scheduler:22175 revision:(null) daemon:5 jobs:1 log:/var/log/fossology/fossology.log port:5555 verbose:2 job:-1 status:JOB_COMPLETE type:adj2nest, priority:0 running:0 finished:1 failed:0 job:663 status:JOB_COMPLETE type:adj2nest, priority:0 running:0 finished:1 failed:0 job:666 status:JOB_COMPLETE type:adj2nest, priority:0 running:0 finished:1 failed:0 job:670 status:JOB_COMPLETE type:adj2nest, priority:0 running:0 finished:1 failed:0 job:681 status:JOB_CHECKEDOUT type:ununpack, priority:0 running:0 finished:0 failed:0

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Alex Norton Original Date: 2012/01/20 23:09:23 +0000


I have been unable to reproduce this in addition to several things that could have fixed this bug have been checked in since it was created.

Bog, could you verify/reproduced this problem?

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Mary Laser Original Date: 2012/02/03 22:02:41 +0000


bob - please provide feedback to Alex and/or does this problem still exists (given it's quite old, now).

Thanks

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Mary Laser Original Date: 2012/02/07 00:16:52 +0000


bob will respond

yaobinshi commented 9 years ago

Original Redmine Comment Author Name: Bob Gobeille Original Date: 2012/02/07 18:39:29 +0000


This is hard to reproduce since the cause of the initial errors is gone. So I'm closing this issue.