#7833 Flatpak container builds fail due to a timeout
Closed: Fixed a year ago by mizdebsk. Opened a year ago by kalev.

$ fedpkg flatpak-build
Created task: 35027293
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=35027293
Watching tasks (this may be safely interrupted)...
35027293 buildContainer (noarch): free
35027293 buildContainer (noarch): free -> open (buildvm-17.phx2.fedoraproject.org)
35027293 buildContainer (noarch): open (buildvm-17.phx2.fedoraproject.org) -> FAILED: Fault: <Fault 2001: "Image build failed. Error in plugin resolve_module_compose: RuntimeError('Retrieving https://odcs.fedoraproject.org/api/1/composes/321 timed out after 1800 seconds'). OSBS build id: flatpak-runtime-f29-5c4cc-37">
  0 free  0 open  0 done  1 failed

35027293 buildContainer (noarch) failed

Metadata Update from @cverna:
- Issue tagged with: odcs

a year ago

I've restarted failed service on ODCS. Please retry.

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

a year ago

Thanks! The error now changed to:

$ fedpkg flatpak-build
Created task: 35029500
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=35029500
Watching tasks (this may be safely interrupted)...
35029500 buildContainer (noarch): free
35029500 buildContainer (noarch): free -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin resolve_module_compose: RuntimeError("Failed request for compose_id=322: Error while generating compose: Command \'[\'pungi-koji\', \'--config=/tmp/tmpi_wpe1st/pungi.conf\', \'--target-dir=/srv/odcs\', \'--nightly\']\' returned non-zero value 1\\nCompose run failed: constructor returned NULL\\n"). OSBS build id: flatpak-runtime-f29-5c4cc-38'>
  0 free  0 open  0 done  1 failed

35029500 buildContainer (noarch) failed

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on Assignee (was: Waiting on Reporter)

a year ago

pung and libmodulemd1 seem to be outdated on odcs_backend and probably need to be updated.

odcs_backend has:

  • pungi-4.1.35-1.fc28.noarch
  • libmodulemd1-1.8.2-3.fc28.x86_64

releng_compose machines have:

  • pungi-4.1.36-5.fc30.noarch
  • libmodulemd1-1.8.10-1.fc30.x86_64

Metadata Update from @mizdebsk:
- Issue tagged with: factory2

a year ago

@mizdebsk Do you know who I should ask to install the updates on odcs_backend?

@kalev Primary contact for ODCS is Factory 2.0 team (factory2 group in FAS). They were already notified about this ticket.

I am running into the exact same issue when building feedreader flatpak: https://koji.fedoraproject.org/koji/taskinfo?taskID=35098623

I tried upgrading and downgrading pungi and it didn't seem to matter, so factory2 folks will need to look more closely...

Another instance of TypeError: constructor returned NULL can be observed in MBS too, issue #7844

I've hotfixed MBS database, @kalev can you check whether the issue is fixed now?

Metadata Update from @mizdebsk:
- Issue assigned to mizdebsk
- Issue priority set to: Waiting on Reporter (was: Waiting on Assignee)

a year ago

Still fails in a similar way:

$ fedpkg flatpak-build
Created task: 35107438
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=35107438
Watching tasks (this may be safely interrupted)...
35107438 buildContainer (noarch): free
35107438 buildContainer (noarch): free -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin resolve_module_compose: RuntimeError("Failed request for compose_id=334: Error while generating compose: Command \'[\'pungi-koji\', \'--config=/tmp/tmpek2uon1i/pungi.conf\', \'--target-dir=/srv/odcs\', \'--nightly\']\' returned non-zero value 1\\nCompose run failed: constructor returned NULL\\n"). OSBS build id: flatpak-runtime-f29-5c4cc-40'>
  0 free  0 open  0 done  1 failed

35107438 buildContainer (noarch) failed

I'm debugging it. Will write once you can try again :).

Metadata Update from @mizdebsk:
- Issue assigned to jkaluza (was: mizdebsk)
- Issue priority set to: Waiting on Assignee (was: Waiting on Reporter)

a year ago

I've upgraded Pungi to latest upstream version.
@kalev or @pwalter, can you please check whether this fixes the issue?

odcs-backend01.phx2.fedoraproject.org | CHANGED => {
    "changed": true, 
    "msg": "", 
    "rc": 0, 
    "results": [
        "Installed: pungi", 
        "Installed: python3-pungi-4.1.37-1.fc28.infra.noarch", 
        "Installed: pungi-4.1.37-1.fc28.infra.noarch", 
        "Removed: pungi-4.1.36-1.fc28.noarch", 
        "Removed: python3-pungi-4.1.36-1.fc28.noarch"
    ]
}

Metadata Update from @mizdebsk:
- Issue priority set to: Waiting on Reporter (was: Waiting on Assignee)

a year ago

Yep, seems to work now. Thanks a lot both of you, @mizdebsk and @jkaluza!

Good, thanks for confirmation.

Metadata Update from @mizdebsk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata