Re: [FOSSology] Wondering which are OSI approved licenses

2011-02-11 Thread Jeroen Baten
Hi,

I found the page on buckets and see that it is a 'work in progess'.
No problem. I will see if I can help. Thanks for the heads-up.

kind regards,

On Thu, 2011-02-10 at 20:36 +0200, Raino Lintulampi wrote:
 Hi Jeroen,
 I think buckets are what you are looking for. With  buckets you can classify
 licenses as you want f.ex. for OSI approved, and with colors.
 
 br Raino

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Weird scan of fossology-1.3.0.tar.gz fails Package Scan

2011-02-11 Thread Jeroen Baten
Don't know if this helps, but this is a relevant piece of the log:

2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
host=localhost ' state=SPAWNED(4) @ Thu Feb 10 13:42:27 2011
2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
host=localhost ' state=READY(5) @ Thu Feb 10 13:42:27 2011
2011-02-10 13:42:27 scheduler[716] : Child[6] 'agent=buckets
host=localhost ' state=FREE(1) @ Thu Feb 10 13:42:27 2011
2011-02-10 13:45:52 scheduler[716] : ERROR: Child[15] died prematurely
(was state RUNNING, signal was 11)
2011-02-10 13:45:52 scheduler[716] : 
Thread 15:
2011-02-10 13:45:52 scheduler[716] :   PID:   1736
2011-02-10 13:45:52 scheduler[716] :   Pipes: in=8-9 / out=13-12
2011-02-10 13:45:52 scheduler[716] :   Attr:  'agent=pkgagent
host=localhost '
2011-02-10 13:45:52 scheduler[716] :   Command:
'/usr/local/lib/fossology/agents/pkgagent'
2011-02-10 13:45:52 scheduler[716] :   Parm:  'pfile_pk=87202
pfilename=BE9651C3D92B8A76FD3D0C03FF5597411E8FF860.A0FD8E3774FED62ABEB6C2CDA3362862.2639
 mimetype=application/x-rpm
'
2011-02-10 13:45:52 scheduler[716] :   Heartbeat:  Thu Feb 10 13:45:42
2011
2011-02-10 13:45:52 scheduler[716] :   State:  Thu Feb 10 13:45:42
2011
2011-02-10 13:45:52 scheduler[716] :   Status: 6 (RUNNING)
2011-02-10 13:45:52 scheduler[716] :   Spawn:  1 at Thu Feb 10
13:42:27 2011
2011-02-10 13:45:52 scheduler[716] :   DB:
2011-02-10 13:45:52 scheduler[716] : IsDB: 2
2011-02-10 13:45:52 scheduler[716] : DBJobKey: 128
2011-02-10 13:45:52 scheduler[716] : DBMSQrow: 1
2011-02-10 13:45:52 scheduler[716] : DBagent:  29
2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
host=localhost ' state=FREEING(2) @ Thu Feb 10 13:45:52 2011
2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
host=localhost ' state=FREE(1) @ Thu Feb 10 13:45:52 2011


On Thu, 2011-02-10 at 11:37 -0700, Bob Gobeille wrote:
 Hi Jeroen,
 The best place to see why an agent failed is in the fossology log file 
 (/var/log/fossology/fossology.log).
 If you look there and see a spawning too fast error, that is a known 
 (major) bug.  See:
 
 http://bugs.linux-foundation.org/show_bug.cgi?id=636
 
 If it is something different than what is in the bug report, please let us 
 know.
 
 Thanks,
 Bob Gobeille
 
 
 On Feb 10, 2011, at 5:49 AM, Jeroen Baten wrote:
 
  
  This is the info I found. Maybe it helps you people.
  
  
  Kind regards, Jeroen Baten
  
  jq_pk   128
  jq_job_fk   108
  job_namePackage Scan
  jq_type pkgagent
  job_priority0
  jq_args SELECT pfile_pk as pfile_pk, pfile_sha1 || '.' || pfile_md5 ||
  '.' || pfile_size AS pfilename, mimetype_name AS mimetype FROM
  uploadtree INNER JOIN pfile ON upload_fk = '7' INNER JOIN mimetype ON
  (mimetype_pk = '1' OR mimetype_pk = '2' OR mimetype_pk = '3') AND
  uploadtree.pfile_fk = pfile_pk AND pfile.pfile_mimetypefk =
  mimetype.mimetype_pk AND pfile_pk NOT IN (SELECT pkg_rpm.pfile_fk FROM
  pkg_rpm) AND pfile_pk NOT IN (SELECT pkg_deb.pfile_fk FROM pkg_deb)
  LIMIT 5000;
  jq_runonpfile   pfile_pk
  jq_starttime2011-02-10 13:45:42.098366+01
  jq_endtime  2011-02-10 13:45:52.166725+01
  jq_end_bits 2
  jq_endtext  Failed: Failed: Agent terminated prematurely
  jq_elapsedtime  00:02:44
  jq_processedtime00:00:01
  jq_itemsprocessed   29
  job_submitter   
  job_queued  2011-02-10 13:40:11.799265+01
  job_email_notifyfossy
  job_upload_fk   7
  depends on  40
  required by 127, 129
  ___
  fossology mailing list
  fossology@fossology.org
  http://fossology.org/mailman/listinfo/fossology
 

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Weird scan of fossology-1.3.0.tar.gz fails Package Scan

2011-02-11 Thread Bob Gobeille
This was supposed to be fixed on January 13.
http://bugs.linux-foundation.org/show_bug.cgi?id=596

1.3.0 was released January 19.  Mary, did this fix get into 1.3.0?

Bob Gobeille

On Feb 11, 2011, at 1:47 AM, Jeroen Baten wrote:

 Don't know if this helps, but this is a relevant piece of the log:
 
 2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
 host=localhost ' state=SPAWNED(4) @ Thu Feb 10 13:42:27 2011
 2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
 host=localhost ' state=READY(5) @ Thu Feb 10 13:42:27 2011
 2011-02-10 13:42:27 scheduler[716] : Child[6] 'agent=buckets
 host=localhost ' state=FREE(1) @ Thu Feb 10 13:42:27 2011
 2011-02-10 13:45:52 scheduler[716] : ERROR: Child[15] died prematurely
 (was state RUNNING, signal was 11)
 2011-02-10 13:45:52 scheduler[716] : 
 Thread 15:
 2011-02-10 13:45:52 scheduler[716] :   PID:   1736
 2011-02-10 13:45:52 scheduler[716] :   Pipes: in=8-9 / out=13-12
 2011-02-10 13:45:52 scheduler[716] :   Attr:  'agent=pkgagent
 host=localhost '
 2011-02-10 13:45:52 scheduler[716] :   Command:
 '/usr/local/lib/fossology/agents/pkgagent'
 2011-02-10 13:45:52 scheduler[716] :   Parm:  'pfile_pk=87202
 pfilename=BE9651C3D92B8A76FD3D0C03FF5597411E8FF860.A0FD8E3774FED62ABEB6C2CDA3362862.2639
  mimetype=application/x-rpm
 '
 2011-02-10 13:45:52 scheduler[716] :   Heartbeat:  Thu Feb 10 13:45:42
 2011
 2011-02-10 13:45:52 scheduler[716] :   State:  Thu Feb 10 13:45:42
 2011
 2011-02-10 13:45:52 scheduler[716] :   Status: 6 (RUNNING)
 2011-02-10 13:45:52 scheduler[716] :   Spawn:  1 at Thu Feb 10
 13:42:27 2011
 2011-02-10 13:45:52 scheduler[716] :   DB:
 2011-02-10 13:45:52 scheduler[716] : IsDB: 2
 2011-02-10 13:45:52 scheduler[716] : DBJobKey: 128
 2011-02-10 13:45:52 scheduler[716] : DBMSQrow: 1
 2011-02-10 13:45:52 scheduler[716] : DBagent:  29
 2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
 host=localhost ' state=FREEING(2) @ Thu Feb 10 13:45:52 2011
 2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
 host=localhost ' state=FREE(1) @ Thu Feb 10 13:45:52 2011
 
 
 On Thu, 2011-02-10 at 11:37 -0700, Bob Gobeille wrote:
 Hi Jeroen,
 The best place to see why an agent failed is in the fossology log file 
 (/var/log/fossology/fossology.log).
 If you look there and see a spawning too fast error, that is a known 
 (major) bug.  See:
 
 http://bugs.linux-foundation.org/show_bug.cgi?id=636
 
 If it is something different than what is in the bug report, please let us 
 know.
 
 Thanks,
 Bob Gobeille
 

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Weird scan of fossology-1.3.0.tar.gz fails Package Scan

2011-02-11 Thread Laser, Mary
The fix for the bug referenced below (#596) is in 1.3.0.  However, I don't 
think that bug is the same problem Jeroen is having, based on what I see below. 
 The problem description for #596 includes:

On fedora/rhel system, ununpack agent get the wrong mimetype for debian binary
package, it set debian binary packages as application/x-7z-w-compressed, so
pkgagent didn't process these debian binary packages and cannot get the package
info.

The problem below shows the pkgagent dying.

Mary



 -Original Message-
 From: Gobeille, Robert
 Sent: Friday, February 11, 2011 7:23 AM
 To: Jeroen Baten; Laser, Mary
 Cc: fossology@fossology.org
 Subject: Re: [FOSSology] Weird scan of fossology-1.3.0.tar.gz fails
 Package Scan

 This was supposed to be fixed on January 13.
 http://bugs.linux-foundation.org/show_bug.cgi?id=596

 1.3.0 was released January 19.  Mary, did this fix get into 1.3.0?

 Bob Gobeille

 On Feb 11, 2011, at 1:47 AM, Jeroen Baten wrote:

  Don't know if this helps, but this is a relevant piece of the log:
 
  2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
  host=localhost ' state=SPAWNED(4) @ Thu Feb 10 13:42:27 2011
  2011-02-10 13:42:27 scheduler[716] : Child[15] 'agent=pkgagent
  host=localhost ' state=READY(5) @ Thu Feb 10 13:42:27 2011
  2011-02-10 13:42:27 scheduler[716] : Child[6] 'agent=buckets
  host=localhost ' state=FREE(1) @ Thu Feb 10 13:42:27 2011
  2011-02-10 13:45:52 scheduler[716] : ERROR: Child[15] died
 prematurely
  (was state RUNNING, signal was 11)
  2011-02-10 13:45:52 scheduler[716] :
  Thread 15:
  2011-02-10 13:45:52 scheduler[716] :   PID:   1736
  2011-02-10 13:45:52 scheduler[716] :   Pipes: in=8-9 / out=13-
 12
  2011-02-10 13:45:52 scheduler[716] :   Attr:  'agent=pkgagent
  host=localhost '
  2011-02-10 13:45:52 scheduler[716] :   Command:
  '/usr/local/lib/fossology/agents/pkgagent'
  2011-02-10 13:45:52 scheduler[716] :   Parm:  'pfile_pk=87202
 
 pfilename=BE9651C3D92B8A76FD3D0C03FF5597411E8FF860.A0FD8E3774FED62ABEB
 6C2CDA3362862.2639 mimetype=application/x-rpm
  '
  2011-02-10 13:45:52 scheduler[716] :   Heartbeat:  Thu Feb 10
 13:45:42
  2011
  2011-02-10 13:45:52 scheduler[716] :   State:  Thu Feb 10
 13:45:42
  2011
  2011-02-10 13:45:52 scheduler[716] :   Status: 6 (RUNNING)
  2011-02-10 13:45:52 scheduler[716] :   Spawn:  1 at Thu Feb 10
  13:42:27 2011
  2011-02-10 13:45:52 scheduler[716] :   DB:
  2011-02-10 13:45:52 scheduler[716] : IsDB: 2
  2011-02-10 13:45:52 scheduler[716] : DBJobKey: 128
  2011-02-10 13:45:52 scheduler[716] : DBMSQrow: 1
  2011-02-10 13:45:52 scheduler[716] : DBagent:  29
  2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
  host=localhost ' state=FREEING(2) @ Thu Feb 10 13:45:52 2011
  2011-02-10 13:45:52 scheduler[716] : Child[15] 'agent=pkgagent
  host=localhost ' state=FREE(1) @ Thu Feb 10 13:45:52 2011
 
 
  On Thu, 2011-02-10 at 11:37 -0700, Bob Gobeille wrote:
  Hi Jeroen,
  The best place to see why an agent failed is in the fossology log
 file (/var/log/fossology/fossology.log).
  If you look there and see a spawning too fast error, that is a
 known (major) bug.  See:
 
  http://bugs.linux-foundation.org/show_bug.cgi?id=636
 
  If it is something different than what is in the bug report, please
 let us know.
 
  Thanks,
  Bob Gobeille
 


___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology


Re: [FOSSology] Wondering which are OSI approved licenses

2011-02-11 Thread Bob Gobeille
Everything is a work in progress. ;-)
But buckets are used today.  The only work going on with buckets is a new tool 
that lets you compare buckets between files.

Bob Gobeille

On Feb 11, 2011, at 1:45 AM, Jeroen Baten wrote:

 Hi,
 
 I found the page on buckets and see that it is a 'work in progess'.
 No problem. I will see if I can help. Thanks for the heads-up.
 
 kind regards,
 
 On Thu, 2011-02-10 at 20:36 +0200, Raino Lintulampi wrote:
 Hi Jeroen,
 I think buckets are what you are looking for. With  buckets you can classify
 licenses as you want f.ex. for OSI approved, and with colors.
 
 br Raino

___
fossology mailing list
fossology@fossology.org
http://fossology.org/mailman/listinfo/fossology