Bug 640447

Summary: RHEL5 pulp build errors
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: rel-engAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cperry, pkilambi, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

Description Jay Dobies 2010-10-05 20:24:17 UTC
Saw the following errors pop up on a RPM build of pulp on RHEL5. I snipped out the fluff between them to isolate the actual errors. I'm guessing most if not all of these are related to RHEL5 using python 2.4 instead of 2.6.t


byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py to product.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py", line 30
    class ProductEvent(EventHandler):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py to repo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py", line 30
    class RepoEvent(EventHandler):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/auditing.py to auditing.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/auditing.py", line 90
    self.params = params if params is not None else list(args)
                          ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/async.py to async.pyc
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py to fifo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py", line 86
    finally:
          ^
SyntaxError: invalid syntax
/pulp/client/core/core_repo.py to core_repo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/core/core_repo.py", line 263
    last_sync = 'never' if repo['last_sync'] is None else str(repo['last_sync'])
                         ^
SyntaxError: invalid syntax
/pulp/client/agent/plugins/actions.py to actions.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/actions.py", line 33
    class TestAction(Action):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py to remote.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py", line 33
    class Repo:
        ^
SyntaxError: invalid syntax

  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py", line 30
    class ProductEvent(EventHandler):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py", line 30
    class RepoEvent(EventHandler):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/auditing.py", line 90
    self.params = params if params is not None else list(args)
                          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py", line 86
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/core/core_repo.py", line 263
    last_sync = 'never' if repo['last_sync'] is None else str(repo['last_sync'])
                         ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/actions.py", line 33
    class TestAction(Action):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py", line 33
    class Repo:
        ^
SyntaxError: invalid syntax

Comment 1 Pradeep Kilambi 2010-10-06 16:01:07 UTC
scoped for sprint 16

Comment 2 Sayli Karmarkar 2010-12-03 08:19:24 UTC
All these errors are fixed now. Replacing class decorators task is added to this sprint and Jeff is working on it. Moving to modified.

Comment 3 Jay Dobies 2010-12-03 18:24:16 UTC
Fixed in build 0.111.

Comment 4 Jay Dobies 2011-02-04 16:32:46 UTC
Marking as VERIFIED, we've been building for a few weeks now.

Comment 5 Preethi Thomas 2011-08-16 14:20:28 UTC
Closing with Community Release 15

pulp-0.0.223-4.