Red Hat Quay builders fail with error: '>' not supported between instances of 'NoneType' and 'int' on RHOCP 4

Solution Verified - Updated -

Issue

  • Quay builders fail with TypeError: '>;' not supported between instances of 'NoneType' and 'int' error:

    builder stdout | 2022-11-23 12:12:44,239 [60] [ERROR] [buildman.manager.ephemeral] Exception when scheduling job xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: '>' not supported between instances of 'NoneType' and 'int'
    builder stdout | Traceback (most recent call last):
    builder stdout |   File "/quay-registry/buildman/manager/ephemeral.py", line 915, in _work_checker
    builder stdout |     schedule_success, retry_timeout = self.schedule(build_id)
    builder stdout |   File "/quay-registry/buildman/manager/ephemeral.py", line 659, in schedule
    builder stdout |     if executor.minimum_retry_threshold > build_job.retries_remaining:
    builder stdout | TypeError: '>' not supported between instances of 'NoneType' and 'int'
    

Environment

  • Red Hat Quay (Quay)
    • 3.7
  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content