Bug 1326562 - TypeError: task is null - Recipe link results in blank page instead of access to logs
Summary: TypeError: task is null - Recipe link results in blank page instead of access...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: 23.0
Assignee: Roman Joost
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 05:17 UTC by Roman Joost
Modified: 2016-07-07 23:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-07 23:10:24 UTC


Attachments (Terms of Use)

Description Roman Joost 2016-04-13 05:17:46 UTC
Description of problem:

When I run my job with the following XML:

<job retention_tag="scratch">
  <whiteboard>Beaker Hello World job</whiteboard>
  <recipeSet priority="Normal">
    <recipe whiteboard="" role="None" ks_meta="harness=restraint" kernel_options="" kernel_options_post="">
      <autopick random="false"/>
      <watchdog panic="None"/>
      <packages/>
      <ks_appends/>
      <repos/>
      <distroRequires/>
      <hostRequires>
        <system_type value="Machine"/>
      </hostRequires>
      <partitions/>
      <task name="/distribution/install" role="STANDALONE">
        <params>
          <param name="RHTS_OPTION_COMPATIBLE" value=""/>
          <param name="RHTS_OPTION_COMPAT_SERVICE" value=""/>
        </params>
      </task>
      <task name="/Sanity/test-hello-world" role="None">
        <fetch url="git://git.engineering.redhat.com/users/rjoost/beaker_sample_task.git"/>
      </task>
    </recipe>
  </recipeSet>
</job>

using restraint as a harness, the job gets aborted and I have no way of finding out.

Version-Release number of selected component (if applicable):

develop

How reproducible:

100%

Steps to Reproduce:
1. Run or clone the job (https://beaker-devel.app.eng.bos.redhat.com/jobs/9456)
2. Wait until it is aborted
3. Click on the recipe link and you'll face a blank page

Actual results:

Blank page

Expected results:

Access to logs and task information

Additional info:

The job uses restraint and the task uses fetch_url instead of having pointers to the task library.

Comment 1 Roman Joost 2016-04-14 00:36:48 UTC
Patch available on gerrit:

https://gerrit.beaker-project.org/#/c/4808/

Comment 4 Dan Callaghan 2016-07-07 23:10:24 UTC
Beaker 23.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.